xdx-2.4.3/0000755000175000017500000000000012275026166007333 500000000000000xdx-2.4.3/src/0000755000175000017500000000000012275026167010123 500000000000000xdx-2.4.3/src/utils.c0000644000175000017500000001530112275025546011347 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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); } /* * enable/disable menus */ void menu_set_sensitive (GtkUIManager *uim, const gchar * path, gboolean sens) { GtkAction *a; a = gtk_ui_manager_get_action (uim, path); gtk_action_set_sensitive (a, sens); } 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.4.3/src/gui_aboutdialog.c0000644000175000017500000001117012275025546013345 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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 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 Library General Public License for more details.\n" "\n" "You should have received a copy of the GNU General Public License\n" "along with this program; if not, write to the Free Software\n" "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_settingsdialog.c0000644000175000017500000013627412275025546014110 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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_selection_dialog_new (_("xdx - Select a font")); 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); } gtk_widget_destroy (GTK_FONT_SELECTION_DIALOG (fontselectiondialog)->apply_button); gtk_font_selection_dialog_set_preview_text (GTK_FONT_SELECTION_DIALOG (fontselectiondialog), _("How about this font?")); if (GPOINTER_TO_INT(user_data) == 1) gtk_font_selection_dialog_set_font_name (GTK_FONT_SELECTION_DIALOG(fontselectiondialog), preferences.dxfont); else gtk_font_selection_dialog_set_font_name (GTK_FONT_SELECTION_DIALOG(fontselectiondialog), preferences.allfont); gtk_widget_show_all (fontselectiondialog); response = gtk_dialog_run (GTK_DIALOG(fontselectiondialog)); if (response == GTK_RESPONSE_OK) { font = gtk_font_selection_dialog_get_font_name (GTK_FONT_SELECTION_DIALOG (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, *pcallsignframelabel, *ploginframe, *ploginvbox, *pautologincheckbutton, *ploginhseparator, *pcommandshbox, *pcommandslabel, *pcommandsentry, *ploginframelabel, *psavingframe, *psavingvbox, *psavedxcheckbutton, *psavewwvcheckbutton, *psavetoallcheckbutton, *psavewxcheckbutton, *psavinglabel, *psavinghbox, *psavingvbox2, *psavingvbox3, *phamlibframe, *phamlibvbox, *phamlibcheckbutton, *phamlibhseparator, *phamlibhbox, *priglabel, *prigentry, *phamliblabel, *pprogframe, *pprogvbox, *pproghbox1, *pprogbrowserlabel, *pprogbrowserentry, *pproghbox2, *pprogmaillabel, *pprogmailentry, *pproglabel, *pproghbox3, *pprogsoundlabel, *pprogsoundentry, *pechoframe, *pechocheckbutton, *pechovbox, *pecholabel, *plivecheckbutton, *pcolumnsframe, *pcolumnsvbox, *pcolumnsvboxlabel, *pcolumnslabel, *pcolumnshseparator, *pspottercheckbutton, *pqrgcheckbutton, *pdxcheckbutton, *premarkscheckbutton, *ptimecheckbutton, *pinfocheckbutton,*pcountrycheckbutton, *pcolumnshbox, *pcolumnsvbox2, *pcolumnsvbox3, *pfontsframe, *pfontslabel, *pfontsvbox, *pfontsdxlabel, *pfontsalllabel, *pfontsdxentry, *pfontsallentry, *pfontsdxbutton, *pfontsallbutton, *pfontshseparator, *pfontshbox1, *pfontshbox2, *phighframe, *phighframelabel, *phighvbox, *phighlabel, *phighseparator, *phighhbox, *phighvbox1, *phighhbox2, *phighlabel1, *colorbutton1, *phighbox3, *phighlabel2, *colorbutton2, *phighbox4, *phighlabel3, *colorbutton3, *phighbox5, *phighlabel4, *colorbutton4, *vseparator1, *phighvbox2, *phighbox6, *phighlabel5, *colorbutton5, *phighhbox7, *phighlabel6, *colorbutton6, *phighhbox8, *phighlabel7, *colorbutton7, *phighhbox9, *phighlabel8, *colorbutton8, *pcolorsframe, *pcolorsframelabel, *pcolorsvbox, *pcolorshbox, *promptcolorlabel, *promptcolorbutton, *sentcolorlabel, *sentcolorbutton, *wwvcolorlabel, *wwvcolorbutton, *wxcolorlabel, *wxcolorbutton; 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; // GtkTextTagTable *table; GdkColor 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, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); pdialog_vbox = GTK_DIALOG (preferencesdialog)->vbox; pnotebook = gtk_notebook_new (); pvbox1 = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pnotebook), pvbox1); pvbox2 = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pnotebook), pvbox2); pvbox3 = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pnotebook), pvbox3); pvbox4 = gtk_vbox_new (FALSE, 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); pcallsignframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox1), pcallsignframe, TRUE, TRUE, 0); pcallsignhbox = gtk_hbox_new (TRUE, 0); gtk_container_add (GTK_CONTAINER (pcallsignframe), pcallsignhbox); pcallsignlabel = gtk_label_new (_("Your callsign")); gtk_box_pack_start (GTK_BOX (pcallsignhbox), pcallsignlabel, FALSE, FALSE, 0); pcallsignentry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (pcallsignhbox), pcallsignentry, TRUE, TRUE, 5); gtk_entry_set_max_length (GTK_ENTRY (pcallsignentry), 15); ploginframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox1), ploginframe, TRUE, TRUE, 0); ploginvbox = gtk_vbox_new (FALSE, 0); 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_hseparator_new (); gtk_box_pack_start (GTK_BOX (ploginvbox), ploginhseparator, TRUE, TRUE, 0); pcommandshbox = gtk_hbox_new (TRUE, 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, 0); pcommandsentry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (pcommandshbox), pcommandsentry, TRUE, TRUE, 5); gtk_entry_set_max_length (GTK_ENTRY (pcommandsentry), 80); gtk_widget_set_tooltip_text(pcommandsentry, _("Comma separated list of commands to send at login")); gtk_widget_set_tooltip_text(pcallsignentry, _("Callsign to be used for login")); ploginframelabel = gtk_label_new (_("Login")); gtk_frame_set_label_widget (GTK_FRAME (ploginframe), ploginframelabel); pcallsignframelabel = gtk_label_new (_("Callsign")); gtk_frame_set_label_widget (GTK_FRAME (pcallsignframe), pcallsignframelabel); 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.callsign, "?")) gtk_entry_set_text (GTK_ENTRY(pcallsignentry), preferences.callsign); if (g_ascii_strcasecmp (preferences.commands, "?")) gtk_entry_set_text (GTK_ENTRY(pcommandsentry), preferences.commands); phamlibframe = gtk_frame_new (NULL); gtk_widget_show (phamlibframe); gtk_box_pack_start (GTK_BOX (pvbox1), phamlibframe, TRUE, TRUE, 0); phamlibvbox = gtk_vbox_new (FALSE, 0); 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_hseparator_new (); gtk_box_pack_start (GTK_BOX (phamlibvbox), phamlibhseparator, TRUE, TRUE, 0); phamlibhbox = gtk_hbox_new (TRUE, 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, 0); prigentry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (phamlibhbox), prigentry, TRUE, TRUE, 5); gtk_entry_set_max_length (GTK_ENTRY (prigentry), 80); phamliblabel = gtk_label_new (_("Hamlib")); gtk_frame_set_label_widget (GTK_FRAME (phamlibframe), phamliblabel); gtk_widget_set_tooltip_text(prigentry, _( "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)")); 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); pprogframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox1), pprogframe, TRUE, TRUE, 0); pprogvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pprogframe), pprogvbox); pproghbox1 = gtk_hbox_new (TRUE, 0); gtk_box_pack_start (GTK_BOX (pprogvbox), pproghbox1, TRUE, TRUE, 0); pprogbrowserlabel = gtk_label_new (_("Web browser")); gtk_box_pack_start (GTK_BOX (pproghbox1), pprogbrowserlabel, FALSE, FALSE, 0); pprogbrowserentry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (pproghbox1), pprogbrowserentry, TRUE, TRUE, 5); gtk_entry_set_max_length (GTK_ENTRY (pprogbrowserentry), 80); pproghbox2 = gtk_hbox_new (TRUE, 0); gtk_box_pack_start (GTK_BOX (pprogvbox), pproghbox2, TRUE, TRUE, 0); pprogmaillabel = gtk_label_new (_("Mail program")); gtk_box_pack_start (GTK_BOX (pproghbox2), pprogmaillabel, FALSE, FALSE, 0); pprogmailentry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (pproghbox2), pprogmailentry, TRUE, TRUE, 5); gtk_entry_set_max_length (GTK_ENTRY (pprogmailentry), 80); pproghbox3 = gtk_hbox_new (TRUE, 0); gtk_box_pack_start (GTK_BOX (pprogvbox), pproghbox3, TRUE, TRUE, 0); pprogsoundlabel = gtk_label_new (_("Sound playing")); gtk_box_pack_start (GTK_BOX (pproghbox3), pprogsoundlabel, FALSE, FALSE, 0); pprogsoundentry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (pproghbox3), pprogsoundentry, TRUE, TRUE, 5); gtk_entry_set_max_length (GTK_ENTRY (pprogmailentry), 80); pproglabel = gtk_label_new (_("Programs")); gtk_frame_set_label_widget (GTK_FRAME (pprogframe), pproglabel); 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); pechoframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox2), pechoframe, TRUE, TRUE, 0); pechovbox = gtk_vbox_new (FALSE, 0); 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, 0); plivecheckbutton = gtk_check_button_new_with_label (_("Send keepalive packets (read the manual)")); gtk_box_pack_start (GTK_BOX (pechovbox), plivecheckbutton, FALSE, FALSE, 0); pecholabel = gtk_label_new (_("General")); gtk_frame_set_label_widget (GTK_FRAME (pechoframe), pecholabel); 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); pcolumnsframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox2), pcolumnsframe, TRUE, TRUE, 0); pcolumnsvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pcolumnsframe), pcolumnsvbox); pcolumnslabel = gtk_label_new (_("Columns")); gtk_frame_set_label_widget (GTK_FRAME (pcolumnsframe), pcolumnslabel); pcolumnsvboxlabel = gtk_label_new (_("Columns to show on the screen")); gtk_box_pack_start (GTK_BOX (pcolumnsvbox), pcolumnsvboxlabel, FALSE, FALSE, 0); pcolumnshseparator = gtk_hseparator_new (); gtk_box_pack_start (GTK_BOX (pcolumnsvbox), pcolumnshseparator, FALSE, FALSE, 0); pcolumnshbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (pcolumnsvbox), pcolumnshbox, FALSE, FALSE, 0); pcolumnsvbox2 = gtk_vbox_new (FALSE, 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_vbox_new (FALSE, 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); psavingframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox2), psavingframe, TRUE, TRUE, 0); psavingvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (psavingframe), psavingvbox); psavinghbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (psavingvbox), psavinghbox); psavingvbox2 = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (psavinghbox), psavingvbox2); 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_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (psavinghbox), psavingvbox3); 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); psavinglabel = gtk_label_new (_("Saving")); gtk_frame_set_label_widget (GTK_FRAME (psavingframe), psavinglabel); pfontsframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox3), pfontsframe, FALSE, FALSE, 0); pfontslabel = gtk_label_new (_("Fonts")); gtk_frame_set_label_widget (GTK_FRAME (pfontsframe), pfontslabel); pfontsvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pfontsframe), pfontsvbox); pfontsdxlabel = gtk_label_new (_("Font for DX messages")); pfontshbox1 = gtk_hbox_new (FALSE, 0); pfontsdxentry = gtk_entry_new (); pfontsdxbutton = gtk_button_new_with_mnemonic (_("Select _DX Font")); gtk_box_pack_start (GTK_BOX (pfontsvbox), pfontsdxlabel, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (pfontsvbox), pfontshbox1, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (pfontshbox1), pfontsdxentry, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (pfontshbox1), pfontsdxbutton, FALSE, FALSE, 0); pfontshseparator = gtk_hseparator_new (); gtk_box_pack_start (GTK_BOX (pfontsvbox), pfontshseparator, FALSE, FALSE, 0); pfontsalllabel = gtk_label_new (_("Font for other messages")); pfontshbox2 = gtk_hbox_new (FALSE, 0); pfontsallentry = gtk_entry_new (); pfontsallbutton = gtk_button_new_with_mnemonic (_("Select _Other Fonts")); gtk_box_pack_start (GTK_BOX (pfontsvbox), pfontsalllabel, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (pfontsvbox), pfontshbox2, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (pfontshbox2), pfontsallentry, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (pfontshbox2), pfontsallbutton, FALSE, FALSE, 0); gtk_entry_set_text (GTK_ENTRY (pfontsdxentry), preferences.dxfont); gtk_entry_set_text (GTK_ENTRY (pfontsallentry), preferences.allfont); gtk_editable_set_editable (GTK_EDITABLE (pfontsdxentry), FALSE); gtk_editable_set_editable (GTK_EDITABLE (pfontsallentry), FALSE); phighframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox3), phighframe, FALSE, FALSE, 0); phighframelabel = gtk_label_new (_("Highlighting")); gtk_frame_set_label_widget (GTK_FRAME (phighframe), phighframelabel); phighvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (phighframe), phighvbox); phighlabel = gtk_label_new (_("Colors to use for highlighting")); gtk_label_set_line_wrap (GTK_LABEL (phighlabel), TRUE); gtk_box_pack_start (GTK_BOX (phighvbox), phighlabel, FALSE, FALSE, 10); phighseparator = gtk_hseparator_new (); gtk_box_pack_start (GTK_BOX (phighvbox), phighseparator, FALSE, FALSE, 0); phighhbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox), phighhbox, FALSE, FALSE, 0); phighvbox1 = gtk_vbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighhbox), phighvbox1, TRUE, TRUE, 0); phighhbox2 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox1), phighhbox2, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 1); phighlabel1 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighhbox2), phighlabel1, TRUE, TRUE, 0); colorbutton1 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighhbox2), colorbutton1, FALSE, FALSE, 0); phighbox3 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox1), phighbox3, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 2); phighlabel2 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighbox3), phighlabel2, TRUE, TRUE, 0); colorbutton2 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighbox3), colorbutton2, FALSE, FALSE, 0); phighbox4 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox1), phighbox4, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 3); phighlabel3 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighbox4), phighlabel3, TRUE, TRUE, 0); colorbutton3 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighbox4), colorbutton3, FALSE, FALSE, 0); phighbox5 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox1), phighbox5, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 4); phighlabel4 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighbox5), phighlabel4, TRUE, TRUE, 0); colorbutton4 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighbox5), colorbutton4, FALSE, FALSE, 0); vseparator1 = gtk_vseparator_new (); gtk_box_pack_start (GTK_BOX (phighhbox), vseparator1, TRUE, TRUE, 0); phighvbox2 = gtk_vbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighhbox), phighvbox2, TRUE, TRUE, 0); phighbox6 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox2), phighbox6, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 5); phighlabel5 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighbox6), phighlabel5, TRUE, TRUE, 0); colorbutton5 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighbox6), colorbutton5, FALSE, FALSE, 0); phighhbox7 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox2), phighhbox7, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 6); phighlabel6 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighhbox7), phighlabel6, TRUE, TRUE, 0); colorbutton6 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighhbox7), colorbutton6, FALSE, FALSE, 0); phighhbox8 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox2), phighhbox8, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 7); phighlabel7 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighhbox8), phighlabel7, TRUE, TRUE, 0); colorbutton7 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighhbox8), colorbutton7, FALSE, FALSE, 0); phighhbox9 = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (phighvbox2), phighhbox9, TRUE, TRUE, 0); str = g_strdup_printf (_("Color %d"), 8); phighlabel8 = gtk_label_new (str); gtk_box_pack_start (GTK_BOX (phighhbox9), phighlabel8, TRUE, TRUE, 0); colorbutton8 = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (phighhbox9), colorbutton8, FALSE, FALSE, 0); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton1), &preferences.highcolor1); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton2), &preferences.highcolor2); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton3), &preferences.highcolor3); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton4), &preferences.highcolor4); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton5), &preferences.highcolor5); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton6), &preferences.highcolor6); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton7), &preferences.highcolor7); gtk_color_button_set_color (GTK_COLOR_BUTTON(colorbutton8), &preferences.highcolor8); pcolorsframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (pvbox4), pcolorsframe, FALSE, FALSE, 0); pcolorsframelabel = gtk_label_new (_("Colors for the chat window")); gtk_frame_set_label_widget (GTK_FRAME (pcolorsframe), pcolorsframelabel); pcolorsvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (pcolorsframe), pcolorsvbox); pcolorshbox = gtk_hbox_new (TRUE, 0); gtk_container_add (GTK_CONTAINER (pcolorsvbox), pcolorshbox); promptcolorlabel = gtk_label_new (_("Prompt")); gtk_box_pack_start (GTK_BOX (pcolorshbox), promptcolorlabel, FALSE, FALSE, 0); promptcolorbutton = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (pcolorshbox), promptcolorbutton, FALSE, FALSE, 0); gtk_color_button_set_color (GTK_COLOR_BUTTON(promptcolorbutton), &preferences.promptcolor); pcolorshbox = gtk_hbox_new (TRUE, 0); gtk_container_add (GTK_CONTAINER (pcolorsvbox), pcolorshbox); sentcolorlabel = gtk_label_new (_("Sent text")); gtk_box_pack_start (GTK_BOX (pcolorshbox), sentcolorlabel, FALSE, FALSE, 0); sentcolorbutton = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (pcolorshbox), sentcolorbutton, FALSE, FALSE, 0); gtk_color_button_set_color (GTK_COLOR_BUTTON(sentcolorbutton), &preferences.sentcolor); pcolorshbox = gtk_hbox_new (TRUE, 0); gtk_container_add (GTK_CONTAINER (pcolorsvbox), pcolorshbox); wwvcolorlabel = gtk_label_new ("WWV / WCY"); gtk_box_pack_start (GTK_BOX (pcolorshbox), wwvcolorlabel, FALSE, FALSE, 0); wwvcolorbutton = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (pcolorshbox), wwvcolorbutton, FALSE, FALSE, 0); gtk_color_button_set_color (GTK_COLOR_BUTTON(wwvcolorbutton), &preferences.wwvcolor); pcolorshbox = gtk_hbox_new (TRUE, 0); gtk_container_add (GTK_CONTAINER (pcolorsvbox), pcolorshbox); wxcolorlabel = gtk_label_new ("WX"); gtk_box_pack_start (GTK_BOX (pcolorshbox), wxcolorlabel, FALSE, FALSE, 0); wxcolorbutton = gtk_color_button_new (); gtk_box_pack_start (GTK_BOX (pcolorshbox), wxcolorbutton, FALSE, FALSE, 0); gtk_color_button_set_color (GTK_COLOR_BUTTON(wxcolorbutton), &preferences.wxcolor); 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); 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); gtk_widget_modify_font (GTK_WIDGET(treeview), font_description); 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"); gtk_widget_modify_font (GTK_WIDGET(maintext), font_description); 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)); // table = gtk_text_buffer_get_tag_table (buffer); gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton1), &color); if (! gdk_color_equal(&color, &preferences.highcolor1)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high1tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high1tagname, "foreground", str, NULL); highentry1 = g_object_get_data (G_OBJECT (gui->window), "highentry1"); gtk_widget_modify_text (highentry1, GTK_STATE_NORMAL, &color); preferences.highcolor1 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton2), &color); if (! gdk_color_equal(&color, &preferences.highcolor2)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high2tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high2tagname, "foreground", str, NULL); highentry2 = g_object_get_data (G_OBJECT (gui->window), "highentry2"); gtk_widget_modify_text (highentry2, GTK_STATE_NORMAL, &color); preferences.highcolor2 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton3), &color); if (! gdk_color_equal(&color, &preferences.highcolor3)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high3tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high3tagname, "foreground", str, NULL); highentry3 = g_object_get_data (G_OBJECT (gui->window), "highentry3"); gtk_widget_modify_text (highentry3, GTK_STATE_NORMAL, &color); preferences.highcolor3 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton4), &color); if (! gdk_color_equal(&color, &preferences.highcolor4)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high4tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high4tagname, "foreground", str, NULL); highentry4 = g_object_get_data (G_OBJECT (gui->window), "highentry4"); gtk_widget_modify_text (highentry4, GTK_STATE_NORMAL, &color); preferences.highcolor4 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton5), &color); if (! gdk_color_equal(&color, &preferences.highcolor5)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high5tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high5tagname, "foreground", str, NULL); highentry5 = g_object_get_data (G_OBJECT (gui->window), "highentry5"); gtk_widget_modify_text (highentry5, GTK_STATE_NORMAL, &color); preferences.highcolor5 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton6), &color); if (! gdk_color_equal(&color, &preferences.highcolor6)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high6tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high6tagname, "foreground", str, NULL); highentry6 = g_object_get_data (G_OBJECT (gui->window), "highentry6"); gtk_widget_modify_text (highentry6, GTK_STATE_NORMAL, &color); preferences.highcolor6 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton7), &color); if (! gdk_color_equal(&color, &preferences.highcolor7)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high7tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high7tagname, "foreground", str, NULL); highentry7 = g_object_get_data (G_OBJECT (gui->window), "highentry7"); gtk_widget_modify_text (highentry7, GTK_STATE_NORMAL, &color); preferences.highcolor7 = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(colorbutton8), &color); if (! gdk_color_equal(&color, &preferences.highcolor8)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->high8tagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->high8tagname, "foreground", str, NULL); highentry8 = g_object_get_data (G_OBJECT (gui->window), "highentry8"); gtk_widget_modify_text (highentry8, GTK_STATE_NORMAL, &color); preferences.highcolor8 = color; } /* colors frame */ gtk_color_button_get_color (GTK_COLOR_BUTTON(promptcolorbutton), &color); if (! gdk_color_equal(&color, &preferences.promptcolor)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->prompttagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->prompttagname, "foreground", str, NULL); gui->calltagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->calltagname, "foreground", str, "weight", PANGO_WEIGHT_BOLD, NULL); preferences.promptcolor = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(sentcolorbutton), &color); if (! gdk_color_equal(&color, &preferences.sentcolor)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->senttagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->senttagname, "foreground", str, NULL); preferences.sentcolor = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(wwvcolorbutton), &color); if (! gdk_color_equal(&color, &preferences.wwvcolor)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->wwvtagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->wwvtagname, "foreground", str, NULL); preferences.wwvcolor = color; } gtk_color_button_get_color (GTK_COLOR_BUTTON(wxcolorbutton), &color); if (! gdk_color_equal(&color, &preferences.wxcolor)) { str = g_strdup_printf ("#%02X%02X%02X", color.red * 255 / 65535, color.green * 255 / 65535, color.blue * 255 / 65535); gui->wxtagname = g_strdup_printf ("%d", rand ()); gtk_text_buffer_create_tag (buffer, gui->wxtagname, "foreground", str, 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.4.3/src/gui_closedialog.c0000644000175000017500000000647512275025546013354 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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, *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, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); hbox = gtk_hbox_new (FALSE, 8); gtk_container_set_border_width (GTK_CONTAINER (hbox), 8); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (closedialog)->vbox), hbox, FALSE, FALSE, 0); stock = gtk_image_new_from_stock (GTK_STOCK_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.4.3/src/text.c0000644000175000017500000010150512275025546011175 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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; 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); if (messagetype == MESSAGE_RX) { /* beep if there is a bell */ if (g_strrstr(msg, "\a")) { gdk_beep(); 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.4.3/src/cmd_opts.h0000644000175000017500000000200012275025546012014 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_opendialog.h0000644000175000017500000000201212275025546013174 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/preferences.h0000644000175000017500000000455112275025546012522 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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; GdkColor highcolor1; GdkColor highcolor2; GdkColor highcolor3; GdkColor highcolor4; GdkColor highcolor5; GdkColor highcolor6; GdkColor highcolor7; GdkColor highcolor8; gchar *highmenu; gint sidebar; gint fbox; gint reconnect; gint playsound; gint keepalive; GdkColor promptcolor; GdkColor sentcolor; GdkColor wwvcolor; GdkColor 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.4.3/src/gui_manualdialog.c0000644000175000017500000000650112275025546013512 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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; 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, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); gtk_widget_set_size_request (manualdialog, 650, 300); swindow = gtk_scrolled_window_new (NULL, NULL); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (manualdialog)->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_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"); gtk_widget_modify_font (helptextview, font_desc); pango_font_description_free (font_desc); g_free (helpfile); gtk_widget_show_all(manualdialog); } xdx-2.4.3/src/types.h0000644000175000017500000000204212275025546011356 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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, N_COLUMNS }; #endif /* XDX_TYPES_H */ xdx-2.4.3/src/save.h0000644000175000017500000000201312275025546011146 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/hyperlink.h0000644000175000017500000000241312275025546012221 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/history.c0000644000175000017500000000772112275025546011717 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_settingsdialog.h0000644000175000017500000000203612275025546014101 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui.h0000644000175000017500000000517412275025546011007 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* * gui.h */ #ifndef XDX_GUI_H #define XDX_GUI_H typedef struct guitype { GtkWidget *window; GtkActionGroup *action_group; GtkUIManager *ui_manager; 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; 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); #endif /* XDX_GUI_H */ xdx-2.4.3/src/gui_logdialog.h0000644000175000017500000000200512275025546013016 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/cmd_opts.c0000644000175000017500000000610712275025546012023 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gtksourceiter.h0000644000175000017500000000374012275025546013112 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_aboutdialog.h0000644000175000017500000000201712275025546013352 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/utils.h0000644000175000017500000000272312275025546011360 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* * utils.h */ #ifndef XDX_UTILS_H #define XDX_UTILS_H void add_pixmap_directory (const gchar * directory); void updatestatusbar (GString * statusmessage, gboolean timeout); void menu_set_sensitive (GtkUIManager *uim, const gchar * path, gboolean sens); 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.4.3/src/net.c0000644000175000017500000002455612275025546011011 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Open", FALSE); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Close", 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); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Open", TRUE); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Close", 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.4.3/src/save.c0000644000175000017500000000727012275025546011153 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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 seperate 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.4.3/src/preferences.c0000644000175000017500000005057712275025546012526 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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_color_parse("red", &preferences.highcolor1); gdk_color_parse("red", &preferences.highcolor2); gdk_color_parse("red", &preferences.highcolor3); gdk_color_parse("red", &preferences.highcolor4); gdk_color_parse("red", &preferences.highcolor5); gdk_color_parse("red", &preferences.highcolor6); gdk_color_parse("red", &preferences.highcolor7); gdk_color_parse("red", &preferences.highcolor8); preferences.highmenu = g_strdup ("00000000"); preferences.sidebar = 1; preferences.fbox = 1; preferences.reconnect = 0; preferences.playsound = 0; preferences.keepalive = 0; gdk_color_parse("green", &preferences.promptcolor); gdk_color_parse("red", &preferences.sentcolor); gdk_color_parse("darkgreen", &preferences.wwvcolor); gdk_color_parse("magenta", &preferences.wxcolor); 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_color_parse(value, &preferences.highcolor1); else if (!g_ascii_strcasecmp(label, "highcolor2")) gdk_color_parse(value, &preferences.highcolor2); else if (!g_ascii_strcasecmp(label, "highcolor3")) gdk_color_parse(value, &preferences.highcolor3); else if (!g_ascii_strcasecmp(label, "highcolor4")) gdk_color_parse(value, &preferences.highcolor4); else if (!g_ascii_strcasecmp(label, "highcolor5")) gdk_color_parse(value, &preferences.highcolor5); else if (!g_ascii_strcasecmp(label, "highcolor6")) gdk_color_parse(value, &preferences.highcolor6); else if (!g_ascii_strcasecmp(label, "highcolor7")) gdk_color_parse(value, &preferences.highcolor7); else if (!g_ascii_strcasecmp(label, "highcolor8")) gdk_color_parse(value, &preferences.highcolor8); 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_color_parse(value, &preferences.promptcolor); else if (!g_ascii_strcasecmp(label, "sentcolor")) gdk_color_parse(value, &preferences.sentcolor); else if (!g_ascii_strcasecmp(label, "wwvcolor")) gdk_color_parse(value, &preferences.wwvcolor); else if (!g_ascii_strcasecmp(label, "wxcolor")) gdk_color_parse(value, &preferences.wxcolor); 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 #%04X%04X%04X\n", preferences.highcolor1.red, preferences.highcolor1.green, preferences.highcolor1.blue); fprintf(fp, "highcolor2 #%04X%04X%04X\n", preferences.highcolor2.red, preferences.highcolor2.green, preferences.highcolor2.blue); fprintf(fp, "highcolor3 #%04X%04X%04X\n", preferences.highcolor3.red, preferences.highcolor3.green, preferences.highcolor3.blue); fprintf(fp, "highcolor4 #%04X%04X%04X\n", preferences.highcolor4.red, preferences.highcolor4.green, preferences.highcolor4.blue); fprintf(fp, "highcolor5 #%04X%04X%04X\n", preferences.highcolor5.red, preferences.highcolor5.green, preferences.highcolor5.blue); fprintf(fp, "highcolor6 #%04X%04X%04X\n", preferences.highcolor6.red, preferences.highcolor6.green, preferences.highcolor6.blue); fprintf(fp, "highcolor7 #%04X%04X%04X\n", preferences.highcolor7.red, preferences.highcolor7.green, preferences.highcolor7.blue); fprintf(fp, "highcolor8 #%04X%04X%04X\n", preferences.highcolor8.red, preferences.highcolor8.green, preferences.highcolor8.blue); 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 #%04X%04X%04X\n", preferences.promptcolor.red, preferences.promptcolor.green, preferences.promptcolor.blue); fprintf(fp, "sentcolor #%04X%04X%04X\n", preferences.sentcolor.red, preferences.sentcolor.green, preferences.sentcolor.blue); fprintf(fp, "wwvcolor #%04X%04X%04X\n", preferences.wwvcolor.red, preferences.wwvcolor.green, preferences.wwvcolor.blue); fprintf(fp, "wxcolor #%04X%04X%04X\n", preferences.wxcolor.red, preferences.wxcolor.green, preferences.wxcolor.blue); 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.4.3/src/gtksourceiter.c0000644000175000017500000004276012275025546013112 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/main.c0000644000175000017500000004257312275025640011141 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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; GdkColormap *colormap; gchar *prompttagname, *calltagname; gchar *opt_cty_path = NULL; /* For -c or --cty_path options. */ int main (int argc, char *argv[]) { GtkWidget *treeview, *maintext, *vpaned, *sidemenu, *reconnectmenu, /* TODO: activate F keys */ /* *highframe, *fkeysmenu, *fvbox, */ *highframe, *fvbox, *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 *lang, **wsplit, *colorstr, *str; gchar **wsplit, *colorstr, *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"); // lang = gtk_set_locale (); /* don't free lang */ gtk_init (&argc, &argv); setlocale(LC_NUMERIC, "C"); parse_opts(&argc, &argv); colormap = gdk_colormap_get_system(); 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"); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor1.red * 255 / 65535, preferences.highcolor1.green * 255 / 65535, preferences.highcolor1.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high1tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor2.red * 255 / 65535, preferences.highcolor2.green * 255 / 65535, preferences.highcolor2.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high2tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor3.red * 255 / 65535, preferences.highcolor3.green * 255 / 65535, preferences.highcolor3.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high3tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor4.red * 255 / 65535, preferences.highcolor4.green * 255 / 65535, preferences.highcolor4.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high4tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor5.red * 255 / 65535, preferences.highcolor5.green * 255 / 65535, preferences.highcolor5.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high5tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor6.red * 255 / 65535, preferences.highcolor6.green * 255 / 65535, preferences.highcolor6.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high6tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor7.red * 255 / 65535, preferences.highcolor7.green * 255 / 65535, preferences.highcolor7.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high7tagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.highcolor8.red * 255 / 65535, preferences.highcolor8.green * 255 / 65535, preferences.highcolor8.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->high8tagname, "foreground", colorstr, 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"); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.promptcolor.red * 255 / 65535, preferences.promptcolor.green * 255 / 65535, preferences.promptcolor.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->prompttagname, "foreground", colorstr, NULL); gtk_text_buffer_create_tag (buffer, gui->calltagname, "foreground", colorstr, "weight", PANGO_WEIGHT_BOLD, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.wwvcolor.red * 255 / 65535, preferences.wwvcolor.green * 255 / 65535, preferences.wwvcolor.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->wwvtagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.wxcolor.red * 255 / 65535, preferences.wxcolor.green * 255 / 65535, preferences.wxcolor.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->wxtagname, "foreground", colorstr, NULL); colorstr = g_strdup_printf ("#%02X%02X%02X", preferences.sentcolor.red * 255 / 65535, preferences.sentcolor.green * 255 / 65535, preferences.sentcolor.blue * 255 / 65535); gtk_text_buffer_create_tag (buffer, gui->senttagname, "foreground", colorstr, NULL); g_free (colorstr); 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); gtk_widget_modify_text (highentry1, GTK_STATE_NORMAL, &preferences.highcolor1); gtk_widget_modify_text (highentry2, GTK_STATE_NORMAL, &preferences.highcolor2); gtk_widget_modify_text (highentry3, GTK_STATE_NORMAL, &preferences.highcolor3); gtk_widget_modify_text (highentry4, GTK_STATE_NORMAL, &preferences.highcolor4); gtk_widget_modify_text (highentry5, GTK_STATE_NORMAL, &preferences.highcolor5); gtk_widget_modify_text (highentry6, GTK_STATE_NORMAL, &preferences.highcolor6); gtk_widget_modify_text (highentry7, GTK_STATE_NORMAL, &preferences.highcolor7); gtk_widget_modify_text (highentry8, GTK_STATE_NORMAL, &preferences.highcolor8); 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); gtk_widget_modify_font (GTK_WIDGET(treeview), font_description); pango_font_description_free (font_description); font_description = pango_font_description_from_string (preferences.allfont); gtk_widget_modify_font (GTK_WIDGET(maintext), font_description); 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); fvbox = g_object_get_data (G_OBJECT (gui->window), "fvbox"); gtk_widget_hide (fvbox); /* TODO: activate F keys */ /* fkeysmenu = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu/SettingsMenu/Keybar"); if (preferences.fbox == 0) { gtk_widget_hide (fvbox); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(fkeysmenu), FALSE); } else { gtk_widget_show (fvbox); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM(fkeysmenu), TRUE); } */ highframe = g_object_get_data (G_OBJECT (gui->window), "highframe"); sidemenu = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu/SettingsMenu/Sidebar"); 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 = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu/SettingsMenu/Reconnect"); 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); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Close", FALSE); /* do not translate */ g_string_printf (greeting, _("Welcome to %s"), PACKAGE); updatestatusbar(greeting, FALSE); g_string_free (greeting, TRUE); gtk_main (); return 0; } xdx-2.4.3/src/net.h0000644000175000017500000000275312275025546011011 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_manualdialog.h0000644000175000017500000000202412275025546013513 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/history.h0000644000175000017500000000204612275025546011717 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_closedialog.h0000644000175000017500000000201712275025546013345 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui_opendialog.c0000644000175000017500000001551512275025546013203 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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, *stock, *table, *hostlabel, *portlabel, *mainentry; gint i, num, response; GList *node; 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, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); hbox = gtk_hbox_new (FALSE, 8); gtk_container_set_border_width (GTK_CONTAINER (hbox), 8); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (opendialog)->vbox), hbox, FALSE, FALSE, 0); stock = gtk_image_new_from_stock (GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG); gtk_box_pack_start (GTK_BOX (hbox), stock, FALSE, FALSE, 0); table = gtk_table_new (2, 2, FALSE); gtk_table_set_row_spacings (GTK_TABLE (table), 4); gtk_table_set_col_spacings (GTK_TABLE (table), 4); gtk_box_pack_start (GTK_BOX (hbox), table, TRUE, TRUE, 0); hostlabel = gtk_label_new_with_mnemonic (_("_Hostname")); gtk_table_attach_defaults (GTK_TABLE (table), hostlabel, 0, 1, 0, 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_table_attach_defaults (GTK_TABLE (table), hostnamecombo, 1, 2, 0, 1); portlabel = gtk_label_new_with_mnemonic (_("_Port")); gtk_table_attach_defaults (GTK_TABLE (table), portlabel, 0, 1, 1, 2); 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_table_attach_defaults (GTK_TABLE (table), portcombo, 1, 2, 1, 2); 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)); if (response == GTK_RESPONSE_OK) { cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); cluster->host = gtk_editable_get_chars (GTK_EDITABLE (GTK_BIN(hostnamecombo)->child), 0, -1); cluster->port = gtk_editable_get_chars (GTK_EDITABLE (GTK_BIN(portcombo)->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); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Open", FALSE); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Close", 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) { menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Open", TRUE); menu_set_sensitive (gui->ui_manager, "/MainMenu/HostMenu/Close", FALSE); } } xdx-2.4.3/src/Makefile.in0000644000175000017500000004517212275025717012121 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } 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 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 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/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) 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_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) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__depfiles_maybe = depfiles 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_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ 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_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; 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 ETAGS = etags CTAGS = ctags 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 \ -DGDK_DISABLE_DEPRECATED \ -DGDK_PIXBUF_DISABLE_DEPRECATED \ -DGTK_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@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ 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@ 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@ 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_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 .PRECIOUS: 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__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 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@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtksourceiter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_aboutdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_closedialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_logdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_manualdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_opendialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_settingsdialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/history.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hyperlink.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preferences.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/save.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ .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: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ 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 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ 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" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(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 -rf ./$(DEPDIR) -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 -rf ./$(DEPDIR) -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 all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags 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 uninstall \ uninstall-am uninstall-binPROGRAMS # 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.4.3/src/gui_logdialog.c0000644000175000017500000000757012275025546013025 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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, *vbox, *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, GTK_STOCK_CLEAR, GTK_RESPONSE_CANCEL, GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL); gtk_widget_set_size_request (logdialog, 600, 300); vbox = gtk_vbox_new (FALSE, 8); gtk_container_set_border_width (GTK_CONTAINER (vbox), 8); gtk_container_add (GTK_CONTAINER (GTK_DIALOG (logdialog)->vbox), vbox); logdialog_scrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_box_pack_start (GTK_BOX (vbox), 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 = fopen(filename, "r"))) { 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.4.3/src/Makefile.am0000644000175000017500000000163612275025546012105 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_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.4.3/src/text.h0000644000175000017500000000325112275025546011201 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/src/gui.c0000644000175000017500000013136612275025640011000 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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_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->action_group = NULL; gui->ui_manager = 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 (GtkWidget *window, GtkWidget **menubar) { GtkAccelGroup *accel_group; static GtkActionEntry entries[] = { { "ProgramMenu", NULL, N_("_Program") }, { "HostMenu", NULL, N_("_Host") }, { "SettingsMenu", NULL, N_("_Settings") }, { "HelpMenu", NULL, N_("H_elp") }, { "HighMenu", NULL, N_("Highlights") }, { "Quit", GTK_STOCK_QUIT, N_("Quit"), "Q", "Quit Program", G_CALLBACK(on_quit_activate) }, { "Open", GTK_STOCK_CONNECT, N_("Connect..."), "O", "Open Connection", G_CALLBACK(on_open_activate) }, { "Close", GTK_STOCK_DISCONNECT, N_("Disconnect"), "C", "Close Connection", G_CALLBACK(on_close_activate) }, { "ShowLog", GTK_STOCK_OPEN, N_("Connection Log"), "L", "Show connection log", G_CALLBACK(on_log_activate) }, { "Preferences", GTK_STOCK_PREFERENCES, N_("Preferences..."), "P", "Settings for xdx", G_CALLBACK(on_settings_activate) }, { "Manual", GTK_STOCK_HELP, N_("Manual"), "H", "Read the manual", G_CALLBACK(on_manual_activate) }, { "About", GTK_STOCK_HELP, N_("About"), "A", "About xdx", G_CALLBACK(on_about_activate) }, }; static GtkToggleActionEntry toggle_entries[] = { /* TODO: activate F keys */ /* { "Keybar", NULL, N_("Function keys bar"), "K", "Function keys on/off", G_CALLBACK(on_fkeys_activate) }, */ { "Reconnect", NULL, N_("Auto Reconnect"), "R", "Auto Reconnect on/off", G_CALLBACK(on_reconnect_activate) }, { "Sidebar", NULL, N_("Chat sidebar"), "S", "Chat sidebar on/off", G_CALLBACK(on_sidebar_activate) }, }; static const char *ui_description = "" " " " " " " " " " " " " " " " " " " " " /* TODO: activate F keys */ /*" " */ " " " " " " " " " " " " " " " " " " " " ""; accel_group = gtk_accel_group_new (); gui->action_group = gtk_action_group_new ("MenuActions"); gtk_action_group_set_translation_domain (gui->action_group, PACKAGE); gtk_action_group_add_actions (gui->action_group, entries, G_N_ELEMENTS (entries), window); gtk_action_group_add_toggle_actions (gui->action_group, toggle_entries, G_N_ELEMENTS (toggle_entries), window); gtk_window_add_accel_group (GTK_WINDOW (window), accel_group); gui->ui_manager = gtk_ui_manager_new (); gtk_ui_manager_insert_action_group (gui->ui_manager, gui->action_group, 0); accel_group = gtk_ui_manager_get_accel_group (gui->ui_manager); gtk_window_add_accel_group (GTK_WINDOW (window), accel_group); gtk_ui_manager_add_ui_from_string (gui->ui_manager, ui_description, -1, NULL); *menubar = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu"); } void create_mainwindow (void) { GtkWidget *mainvbox, *handlebox, *mainmenubar, *vpaned, *clistscrolledwindow, *mainscrolledwindow, *maintext, *mainentry, *mainstatusbar, *treeview, *frame, *chathbox, *highvbox, *hbox, *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, *fvbox, *fhbox1, *fhbox2; 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); 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); } mainhbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (gui->window), mainhbox); mainvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (mainhbox), mainvbox); handlebox = gtk_handle_box_new (); gtk_box_pack_start (GTK_BOX (mainvbox), handlebox, FALSE, TRUE, 0); get_main_menu (gui->window, &mainmenubar); gtk_container_add (GTK_CONTAINER (handlebox), mainmenubar); fvbox = gtk_vbox_new (TRUE, 0); fhbox1 = gtk_hbox_new (TRUE, 0); fhbox2 = gtk_hbox_new (TRUE, 0); gtk_container_add (GTK_CONTAINER (fvbox), fhbox1); gtk_container_add (GTK_CONTAINER (fvbox), fhbox2); f1button = gtk_button_new_with_label (""); f2button = gtk_button_new_with_label (""); f3button = gtk_button_new_with_label (""); f4button = gtk_button_new_with_label (""); gtk_container_add (GTK_CONTAINER (fhbox1), f1button); gtk_container_add (GTK_CONTAINER (fhbox1), f2button); gtk_container_add (GTK_CONTAINER (fhbox1), f3button); gtk_container_add (GTK_CONTAINER (fhbox1), f4button); f5button = gtk_button_new_with_label (""); f6button = gtk_button_new_with_label (""); f7button = gtk_button_new_with_label (""); f8button = gtk_button_new_with_label (""); gtk_container_add (GTK_CONTAINER (fhbox2), f5button); gtk_container_add (GTK_CONTAINER (fhbox2), f6button); gtk_container_add (GTK_CONTAINER (fhbox2), f7button); gtk_container_add (GTK_CONTAINER (fhbox2), f8button); gtk_box_pack_start (GTK_BOX (mainvbox), fvbox, FALSE, TRUE, 0); clistscrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (clistscrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); model = gtk_tree_store_new (N_COLUMNS + 1, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,G_TYPE_STRING, GDK_TYPE_COLOR ); 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", "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, 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); chathbox = gtk_hbox_new (FALSE, 0); mainscrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (mainscrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); maintext = gtk_text_view_new (); 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); gtk_box_pack_start (GTK_BOX (chathbox), mainscrolledwindow, TRUE, TRUE, 0); highframe = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (mainhbox), highframe, FALSE, FALSE, 0); highvbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highframe), highvbox); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry1 = gtk_entry_new (); gtk_widget_set_size_request (highentry1, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry1, FALSE, FALSE, 0); highcheck1 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck1, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry2 = gtk_entry_new (); gtk_widget_set_size_request (highentry2, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry2, FALSE, FALSE, 0); highcheck2 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck2, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry3 = gtk_entry_new (); gtk_widget_set_size_request (highentry3, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry3, FALSE, FALSE, 0); highcheck3 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck3, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry4 = gtk_entry_new (); gtk_widget_set_size_request (highentry4, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry4, FALSE, FALSE, 0); highcheck4 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck4, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry5 = gtk_entry_new (); gtk_widget_set_size_request (highentry5, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry5, FALSE, FALSE, 0); highcheck5 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck5, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry6 = gtk_entry_new (); gtk_widget_set_size_request (highentry6, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry6, FALSE, FALSE, 0); highcheck6 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck6, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry7 = gtk_entry_new (); gtk_widget_set_size_request (highentry7, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry7, FALSE, FALSE, 0); highcheck7 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck7, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); highentry8 = gtk_entry_new (); gtk_widget_set_size_request (highentry8, 60, -1); gtk_box_pack_start (GTK_BOX (hbox), highentry8, FALSE, FALSE, 0); highcheck8 = gtk_check_button_new (); gtk_box_pack_start (GTK_BOX (hbox), highcheck8, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (highvbox), hbox); soundcheck = gtk_check_button_new_with_label (_("Sound")); gtk_box_pack_start (GTK_BOX (hbox), soundcheck, FALSE, FALSE, 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_1, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck2, "clicked", key_toggle, GDK_2, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck3, "clicked", key_toggle, GDK_3, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck4, "clicked", key_toggle, GDK_4, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck5, "clicked", key_toggle, GDK_5, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck6, "clicked", key_toggle, GDK_6, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck7, "clicked", key_toggle, GDK_7, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck8, "clicked", key_toggle, GDK_8, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(soundcheck, "clicked", key_toggle, GDK_0, GDK_CONTROL_MASK, 0); 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_1, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry2, "grab-focus", grab_focus, GDK_2, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry3, "grab-focus", grab_focus, GDK_3, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry4, "grab-focus", grab_focus, GDK_4, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry5, "grab-focus", grab_focus, GDK_5, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry6, "grab-focus", grab_focus, GDK_6, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry7, "grab-focus", grab_focus, GDK_7, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry8, "grab-focus", grab_focus, GDK_8, GDK_MOD1_MASK, 0); vpaned = gtk_vpaned_new (); 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_text_view_set_wrap_mode (GTK_TEXT_VIEW(mainentry), GTK_WRAP_WORD); frame = gtk_frame_new (NULL); gtk_box_pack_start (GTK_BOX (mainvbox), frame, FALSE, TRUE, 0); gtk_container_add (GTK_CONTAINER (frame), mainentry); gtk_widget_add_accelerator(mainentry, "grab-focus", grab_focus, GDK_0, GDK_MOD1_MASK, 0); /* height of the frame is 2 times font size */ font_description = pango_font_description_copy (gtk_widget_get_style (GTK_WIDGET(mainentry))->font_desc); 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 (mainvbox), 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), "fvbox", fvbox); 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; gui->action_group = NULL; gui->ui_manager = NULL; 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 user_data) { GtkWidget *fkeysmenu, *fvbox;; gboolean state; fkeysmenu = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu/SettingsMenu/Keybar"); state = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM(fkeysmenu)); fvbox = g_object_get_data (G_OBJECT (gui->window), "fvbox"); if (state) { preferences.fbox = 1; gtk_widget_show (fvbox); } else { preferences.fbox = 0; gtk_widget_hide (fvbox); } } void on_reconnect_activate (GtkAction * action, gpointer user_data) { GtkWidget *reconnectmenu; gboolean state; servertype *cluster; reconnectmenu = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu/SettingsMenu/Reconnect"); state = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM(reconnectmenu)); 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 user_data) { GtkWidget *sidemenu, *highframe; gboolean state; sidemenu = gtk_ui_manager_get_widget (gui->ui_manager, "/MainMenu/SettingsMenu/Sidebar"); highframe = g_object_get_data (G_OBJECT (gui->window), "highframe"); state = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM(sidemenu)); 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); } void on_fbutton_clicked (GtkButton *button, gpointer user_data) { g_print("%d ", GPOINTER_TO_INT(user_data)); } 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_Up: g_signal_stop_emission_by_name (GTK_OBJECT(widget), "key_press_event"); tx_previous(); break; case GDK_Down: g_signal_stop_emission_by_name (GTK_OBJECT(widget), "key_press_event"); tx_next(); break; default: break; } } switch (event->keyval) { case GDK_F1: f1button = g_object_get_data (G_OBJECT (gui->window), "f1button"); g_signal_emit_by_name (G_OBJECT (f1button), "activate"); break; case GDK_F2: f2button = g_object_get_data (G_OBJECT (gui->window), "f2button"); g_signal_emit_by_name (G_OBJECT (f2button), "activate"); break; case GDK_F3: f3button = g_object_get_data (G_OBJECT (gui->window), "f3button"); g_signal_emit_by_name (G_OBJECT (f3button), "activate"); break; case GDK_F4: f4button = g_object_get_data (G_OBJECT (gui->window), "f4button"); g_signal_emit_by_name (G_OBJECT (f4button), "activate"); break; case GDK_F5: f5button = g_object_get_data (G_OBJECT (gui->window), "f5button"); g_signal_emit_by_name (G_OBJECT (f5button), "activate"); break; case GDK_F6: f6button = g_object_get_data (G_OBJECT (gui->window), "f6button"); g_signal_emit_by_name (G_OBJECT (f6button), "activate"); break; case GDK_F7: f7button = g_object_get_data (G_OBJECT (gui->window), "f7button"); g_signal_emit_by_name (G_OBJECT (f7button), "activate"); break; case GDK_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, *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, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); editvbox = gtk_vbox_new (TRUE, 0); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (editdialog)->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.4.3/src/hyperlink.c0000644000175000017500000001456412275025546012226 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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; gchar *word; buffer = gtk_text_view_get_buffer (text_view); gtk_text_view_get_iter_at_location (text_view, &iter, x, y); hand_cursor = gdk_cursor_new (GDK_HAND2); normal_cursor = gdk_cursor_new (GDK_XTERM); 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); gdk_cursor_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(""); gdk_cursor_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(NULL, 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) { // GdkWindow *window; gint x, y; GdkModifierType state; if (event->is_hint) // window = gdk_window_get_pointer (event->window, &x, &y, &state); gdk_window_get_pointer (event->window, &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.4.3/MANUAL0000644000175000017500000001700012275025546010152 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. 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 send 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 anouncements 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 seperated 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. 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 prefences 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.4.3/INSTALL0000644000175000017500000000215012275025546010303 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.4.3, Xdx requires Gtk+ 2.24.0 or later. 3. Type `make install' to install the programs and any data files and documentation (root/adminstrator 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.4.3/build-aux/0000755000175000017500000000000012275026161011220 500000000000000xdx-2.4.3/build-aux/config.rpath0000755000175000017500000004401212275025674013461 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-2010 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,' ;; darwin*) case $cc_basename in xlc*) wl='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; newsos6) ;; linux* | k*bsd*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; pgcc | pgf77 | pgf90) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) wl='-Wl,' ;; 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*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we cannot use # them. ld_shlibs=no ;; 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 ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | k*bsd*-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*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; 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 test "$GCC" = yes ; then : else case $cc_basename in xlc*) ;; *) ld_shlibs=no ;; esac fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd1*) ld_shlibs=no ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) 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=: ;; 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*) library_names_spec='$libname.a' ;; 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' ;; freebsd1*) ;; freebsd* | dragonfly*) case "$host_os" in freebsd[123]*) library_names_spec='$libname$shrext$versuffix' ;; *) library_names_spec='$libname$shrext' ;; esac ;; gnu*) 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) 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' ;; 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. # 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 # A tabulation character. tab=' ' # A newline character. nl=' ' 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" # 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 informations. 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 -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## 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). ## - 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 -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## 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. tr ' ' "$nl" < "$tmpdepfile" | ## 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. 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 -eq 0; then : else 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 # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#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. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` 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 -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependent.h'. # Do two passes, one to just change these to # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. # However on # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\': # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... # tcc 0.9.26 (FIXME still under development at the moment of writing) # will emit a similar output, but also prepend the continuation lines # with horizontal tabulation characters. "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else 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 -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ < "$tmpdepfile" > "$depfile" sed ' s/[ '"$tab"'][ '"$tab"']*/ /g s/^ *// s/ *\\*$// s/^[^:]*: *// /^$/d /:$/d s/$/ :/ ' < "$tmpdepfile" >> "$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. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` 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 -eq 0; then : else 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,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#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. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # 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.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; 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" = 0; then : else 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" 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" tr ' ' "$nl" < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. 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" sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. 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 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: xdx-2.4.3/build-aux/install-sh0000755000175000017500000003325612275025716013162 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # 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. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # 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_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= 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 the last 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. -s $stripprog installed files. -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 " 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 *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done 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 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=$? 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; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # 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 case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/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-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or 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 eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob 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=$dstdir/_inst.$$_ rmtmp=$dstdir/_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 && $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` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # 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 -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$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 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: xdx-2.4.3/build-aux/missing0000755000175000017500000002415212275025716012550 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally 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 run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch] 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 # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: xdx-2.4.3/build-aux/config.guess0000755000175000017500000012743212275025716013476 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-02-10' # 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 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, 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 Per Bothner. Please send patches (context # diff format) to and include a ChangeLog # entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -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 (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 # 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=`(/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 ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in 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 # 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/[-_].*/\./'` ;; 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}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${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 ;; 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 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; 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/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` 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:BSD:*) 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) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 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 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-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-gnu`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 '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-gnu 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="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${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-gnu else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-gnueabi else echo ${UNAME_MACHINE}-unknown-linux-gnueabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu 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-gnu"; exit; } ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu 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-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu 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.*:* | i*86:SYSTEM_V: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 configury 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 ;; 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 ;; 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 case $UNAME_PROCESSOR in i386) eval $set_cc_for_build 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 UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac 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 ;; *: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 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp 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` /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-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xdx-2.4.3/build-aux/config.sub0000755000175000017500000010532712275025716013140 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-04-18' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # 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 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, 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. # Please send patches to . Submit a context # diff and a properly formatted GNU ChangeLog entry. # # 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: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # 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 $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -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 (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 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-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ 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/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -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 | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | 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 \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | 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 \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | 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 ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; 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-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | 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-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | 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-* \ | 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-unknown 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 ;; 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* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; 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 ;; hppa-next) os=-nextstep3 ;; 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 ;; i386-vsta | 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 ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze) basic_machine=microblaze-xilinx ;; mingw32) basic_machine=i386-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 ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i386-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 ;; 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 | ppc-le | powerpc-little) 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 | ppc64-le | powerpc64-little) 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) 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 ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | 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 ;; 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 ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; 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 ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; 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 ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; 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 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First 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* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -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* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # 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 | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -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 ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -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 ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -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 ;; 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 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-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 ;; *-next) os=-nextstep3 ;; *-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-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xdx-2.4.3/pixmaps/0000755000175000017500000000000012275026160011006 500000000000000xdx-2.4.3/pixmaps/sad.png0000644000175000017500000000055212275025546012214 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.4.3/pixmaps/bigsmile.png0000644000175000017500000000050012275025546013231 00000000000000PNG  IHDRrP6bKGD pHYs  ~tIME  {HIDATxTm ݈߀&dFJ-ʔ9DSl@;,8cm/>7%Pk@oiɉ,\ɾmavGSEXtΎY-69c_y!"zQ|3 oFJ~E6ṷ:dG9Q6i5)W#$4و*_|z_IENDB`xdx-2.4.3/pixmaps/wink.png0000644000175000017500000000047112275025546012415 00000000000000PNG  IHDRrP6bKGD pHYs  ~tIME  ,IDATxTA!#}Sz@\\Qkg@ 5!9(fABro#aKnknoU1B۝*RL7E6'#1d5i:?H`:xzFO2(!}Y1Fghm:S[)9Ee$!{G0Z(lz+Me"zIENDB`xdx-2.4.3/pixmaps/cry.png0000644000175000017500000000053612275025546012244 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.4.3/pixmaps/smile.png0000644000175000017500000000046412275025546012560 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.4.3/pixmaps/xdx.xpm0000644000175000017500000000330712275025546012271 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 ", " &]}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.4.3/pixmaps/xdx-logo.png0000644000175000017500000001672312275025546013215 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.4.3/README0000644000175000017500000000177212275025546010143 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 (EB8AKF) 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, de Nate >> xdx-2.4.3/COPYING0000644000175000017500000004311012275025546010306 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 Library 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 Library General Public License instead of this License. xdx-2.4.3/include/0000755000175000017500000000000012275026160010750 500000000000000xdx-2.4.3/include/config.h.in0000644000175000017500000001231012275025715012715 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 MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the MacOS 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.4.3/MANUAL.fr0000644000175000017500000001605312275025546010567 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.4.3/TODO0000644000175000017500000000025412275025546007745 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.4.3/ABOUT-NLS0000644000175000017500000026713312275025674010521 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. 1.1 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. Installers may use special options at configuration time for changing the default behaviour. The command: ./configure --disable-nls will _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl' library and will decide to use it. If not, you may have to to use the `--with-libintl-prefix' option to tell `configure' where to look for it. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.2 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. If you happen to have the `LC_ALL' or some other `LC_xxx' environment variables set, you should unset them before setting `LANG', otherwise the setting of `LANG' will not have the desired effect. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.3 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `coordinator@translationproject.org' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.4 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of June 2010. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca +--------------------------------------------------+ a2ps | [] [] | aegis | | ant-phone | | anubis | | aspell | [] [] | bash | | bfd | | bibshelf | [] | binutils | | bison | | bison-runtime | [] | bluez-pin | [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] [] | cpio | | cppi | | cpplib | [] | cryptsetup | | dfarc | | dialog | [] [] | dico | | diffutils | [] | dink | | doodle | | e2fsprogs | [] | enscript | [] | exif | | fetchmail | [] | findutils | [] | flex | [] | freedink | | gas | | gawk | [] [] | gcal | [] | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] [] | gettext-tools | [] [] | gip | [] | gjay | | gliv | [] | glunarclock | [] [] | gnubiff | | gnucash | [] | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | | gold | | gpe-aerial | | gpe-beam | | gpe-bluetooth | | gpe-calendar | | gpe-clock | [] | gpe-conf | | gpe-contacts | | gpe-edit | | gpe-filemanager | | gpe-go | | gpe-login | | gpe-ownerinfo | [] | gpe-package | | gpe-sketchbook | | gpe-su | [] | gpe-taskmanager | [] | gpe-timesheet | [] | gpe-today | [] | gpe-todo | | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | [] [] | gsasl | | gss | | gst-plugins-bad | [] | gst-plugins-base | [] | gst-plugins-good | [] | gst-plugins-ugly | [] | gstreamer | [] [] [] | gtick | | gtkam | [] | gtkorphan | [] | gtkspell | [] [] [] | gutenprint | | hello | [] | help2man | | hylafax | | idutils | | indent | [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | | iso_639 | [] [] [] [] | iso_639_3 | | jwhois | | kbd | | keytouch | [] | keytouch-editor | | keytouch-keyboa... | [] | klavaro | [] | latrine | | ld | [] | leafpad | [] [] | libc | [] [] | libexif | () | libextractor | | libgnutls | | libgpewidget | | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | [] | libidn | | lifelines | | liferea | [] [] | lilypond | | linkdr | [] | lordsawar | | lprng | | lynx | [] | m4 | | mailfromd | | mailutils | | make | | man-db | | man-db-manpages | | minicom | | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | | psmisc | | pspp | [] | pwdutils | | radius | [] | recode | [] [] | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] [] | sed | [] [] | sharutils | [] [] | shishi | | skencil | | solfege | | solfege-manual | | soundtracker | | sp | | sysstat | | tar | [] | texinfo | | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] [] | wyslij-po | | xchat | [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] | +--------------------------------------------------+ af am an ar as ast az be be@latin bg bn_IN bs ca 6 0 1 2 3 19 1 10 3 28 3 1 38 crh cs da de el en en_GB en_ZA eo es et eu fa +-------------------------------------------------+ a2ps | [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] () | anubis | [] [] | aspell | [] [] [] [] [] | bash | [] [] [] | bfd | [] | bibshelf | [] [] [] | binutils | [] | bison | [] [] | bison-runtime | [] [] [] [] | bluez-pin | [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] [] [] | cflow | [] [] | clisp | [] [] [] [] | coreutils | [] [] [] [] | cpio | | cppi | | cpplib | [] [] [] | cryptsetup | [] | dfarc | [] [] [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] | dink | [] [] [] | doodle | [] | e2fsprogs | [] [] [] | enscript | [] [] [] | exif | () [] [] | fetchmail | [] [] () [] [] [] | findutils | [] [] [] | flex | [] [] | freedink | [] [] [] | gas | [] | gawk | [] [] [] | gcal | [] | gcc | [] [] | gettext-examples | [] [] [] [] | gettext-runtime | [] [] [] [] | gettext-tools | [] [] [] | gip | [] [] [] [] | gjay | [] | gliv | [] [] [] | glunarclock | [] [] | gnubiff | () | gnucash | [] () () () () | gnuedu | [] [] | gnulib | [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] | gpe-aerial | [] [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] | gpe-conf | [] [] [] | gpe-contacts | [] [] [] | gpe-edit | [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] () [] [] [] | gprof | [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] | grub | [] [] | gsasl | [] | gss | | gst-plugins-bad | [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] () [] | gtkam | [] [] () [] [] | gtkorphan | [] [] [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | [] [] [] | hello | [] [] [] [] | help2man | [] | hylafax | [] [] | idutils | [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] [] [] [] () [] [] [] () | iso_3166_2 | () | iso_4217 | [] [] [] () [] [] | iso_639 | [] [] [] [] () [] [] | iso_639_3 | [] | jwhois | [] | kbd | [] [] [] [] [] | keytouch | [] [] | keytouch-editor | [] [] | keytouch-keyboa... | [] | klavaro | [] [] [] [] | latrine | [] () | ld | [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | [] [] | libgphoto2 | [] () | libgphoto2_port | [] () [] | libgsasl | | libiconv | [] [] [] [] [] | libidn | [] [] [] | lifelines | [] () | liferea | [] [] [] [] [] | lilypond | [] [] [] | linkdr | [] [] [] | lordsawar | [] | lprng | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] | make | [] [] [] | man-db | | man-db-manpages | | minicom | [] [] [] [] | mkisofs | | myserver | | nano | [] [] [] | opcodes | [] [] | parted | [] [] | pies | | popt | [] [] [] [] [] | psmisc | [] [] [] | pspp | [] | pwdutils | [] | radius | [] | recode | [] [] [] [] [] [] | rosegarden | () () () | rpm | [] [] [] | rush | | sarg | | screem | | scrollkeeper | [] [] [] [] [] | sed | [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | | skencil | [] () [] | solfege | [] [] [] | solfege-manual | [] [] | soundtracker | [] [] [] | sp | [] | sysstat | [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] | tin | [] [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] | vice | () () | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] | wyslij-po | | xchat | [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] [] | +-------------------------------------------------+ crh cs da de el en en_GB en_ZA eo es et eu fa 5 64 105 117 18 1 8 0 28 89 18 19 0 fi fr ga gl gu he hi hr hu hy id is it ja ka kn +----------------------------------------------------+ a2ps | [] [] [] [] | aegis | [] [] | ant-phone | [] [] | anubis | [] [] [] [] | aspell | [] [] [] [] | bash | [] [] [] [] | bfd | [] [] [] | bibshelf | [] [] [] [] [] | binutils | [] [] [] | bison | [] [] [] [] | bison-runtime | [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] | cflow | [] [] [] | clisp | [] | coreutils | [] [] [] [] [] | cpio | [] [] [] [] | cppi | [] [] | cpplib | [] [] [] | cryptsetup | [] [] [] | dfarc | [] [] [] | dialog | [] [] [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] [] [] [] | dink | [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] | exif | [] [] [] [] [] [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] [] | flex | [] [] [] | freedink | [] [] [] | gas | [] [] | gawk | [] [] [] [] () [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] [] | gip | [] [] [] [] [] [] | gjay | [] | gliv | [] () | glunarclock | [] [] [] [] | gnubiff | () [] () | gnucash | () () () () () [] | gnuedu | [] [] | gnulib | [] [] [] [] [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] [] | gpe-aerial | [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] [] [] | gpe-calendar | [] [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] [] [] | gpe-contacts | [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] [] | gpe-go | [] [] [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] [] [] [] [] | gprof | [] [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] [] | grub | [] [] [] [] | gsasl | [] [] [] [] [] | gss | [] [] [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] [] [] | gtkam | [] [] [] [] [] | gtkorphan | [] [] [] | gtkspell | [] [] [] [] [] [] [] [] [] | gutenprint | [] [] [] [] | hello | [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] [] | indent | [] [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | () [] [] [] | iso_4217 | [] () [] [] [] [] | iso_639 | [] () [] [] [] [] [] [] [] | iso_639_3 | () [] [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] [] [] [] [] [] | keytouch-editor | [] [] [] [] [] | keytouch-keyboa... | [] [] [] [] [] | klavaro | [] [] | latrine | [] [] [] | ld | [] [] [] [] | leafpad | [] [] [] [] [] [] [] () | libc | [] [] [] [] [] | libexif | [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] [] | libidn | [] [] [] [] | lifelines | () | liferea | [] [] [] [] | lilypond | [] [] | linkdr | [] [] [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] [] [] | m4 | [] [] [] [] [] [] | mailfromd | | mailutils | [] [] | make | [] [] [] [] [] [] [] [] [] | man-db | [] [] | man-db-manpages | [] | minicom | [] [] [] [] [] | mkisofs | [] [] [] [] | myserver | | nano | [] [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] [] | pies | | popt | [] [] [] [] [] [] [] [] [] | psmisc | [] [] [] | pspp | | pwdutils | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () () () () | rpm | [] [] | rush | | sarg | [] | screem | [] [] | scrollkeeper | [] [] [] [] | sed | [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] | shishi | [] | skencil | [] | solfege | [] [] [] [] | solfege-manual | [] [] | soundtracker | [] [] | sp | [] () | sysstat | [] [] [] [] [] | tar | [] [] [] [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux-ng | [] [] [] [] [] [] | vice | () () () | vmm | [] | vorbis-tools | [] | wastesedge | () () | wdiff | [] | wget | [] [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] | +----------------------------------------------------+ fi fr ga gl gu he hi hr hu hy id is it ja ka kn 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne +-----------------------------------------------+ a2ps | [] | aegis | | ant-phone | | anubis | [] [] | aspell | [] | bash | | bfd | | bibshelf | [] [] | binutils | | bison | [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] | cpio | | cppi | | cpplib | | cryptsetup | | dfarc | [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] | dink | | doodle | | e2fsprogs | | enscript | | exif | [] | fetchmail | | findutils | | flex | | freedink | [] | gas | | gawk | | gcal | | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] | gettext-tools | [] | gip | [] [] | gjay | | gliv | | glunarclock | [] | gnubiff | | gnucash | () () () () | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | [] | gold | | gpe-aerial | [] | gpe-beam | [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] | gpe-contacts | [] [] | gpe-edit | [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] | gpe-timesheet | [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | | gsasl | | gss | | gst-plugins-bad | [] [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] | gst-plugins-ugly | [] [] [] [] [] | gstreamer | | gtick | | gtkam | [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | | hello | [] [] [] | help2man | | hylafax | | idutils | | indent | | iso_15924 | [] [] | iso_3166 | [] [] () [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] | iso_639 | [] [] | iso_639_3 | [] | jwhois | [] | kbd | | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | klavaro | [] | latrine | [] | ld | | leafpad | [] [] [] | libc | [] | libexif | | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | | libidn | | lifelines | | liferea | | lilypond | | linkdr | | lordsawar | | lprng | | lynx | | m4 | | mailfromd | | mailutils | | make | [] | man-db | | man-db-manpages | | minicom | [] | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | [] [] [] | psmisc | | pspp | | pwdutils | | radius | | recode | | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] | sed | | sharutils | | shishi | | skencil | | solfege | [] | solfege-manual | | soundtracker | | sp | | sysstat | [] | tar | [] | texinfo | [] | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] | wyslij-po | | xchat | [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +-----------------------------------------------+ ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr +---------------------------------------------------+ a2ps | [] [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] [] | anubis | [] [] [] | aspell | [] [] [] [] [] | bash | [] [] | bfd | [] | bibshelf | [] [] | binutils | [] [] | bison | [] [] [] | bison-runtime | [] [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] () | buzztard | [] [] | cflow | [] | clisp | [] [] | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cppi | [] | cpplib | [] | cryptsetup | [] | dfarc | [] | dialog | [] [] [] [] | dico | [] | diffutils | [] [] [] [] [] [] | dink | () | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | exif | [] [] [] () [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] | flex | [] [] [] [] [] | freedink | [] [] | gas | | gawk | [] [] [] [] | gcal | | gcc | [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] | gip | [] [] [] [] [] | gjay | | gliv | [] [] [] [] [] [] | glunarclock | [] [] [] [] [] | gnubiff | [] () | gnucash | [] () () () | gnuedu | [] | gnulib | [] [] [] [] | gnunet | | gnunet-gtk | | gnutls | [] [] | gold | | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] [] | gphoto2 | [] [] [] [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] | gramadoir | [] [] | grep | [] [] [] [] | grub | [] [] [] | gsasl | [] [] [] [] | gss | [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] | gtkam | [] [] [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] [] [] | gutenprint | [] [] | hello | [] [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] [] [] [] | iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | iso_3166_2 | [] [] [] | iso_4217 | [] [] [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] [] [] [] | iso_639_3 | [] [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] [] [] | keytouch-editor | [] [] [] | keytouch-keyboa... | [] [] [] | klavaro | [] [] | latrine | [] [] | ld | | leafpad | [] [] [] [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] | libgphoto2_port | [] [] [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] | libidn | [] [] | lifelines | [] [] | liferea | [] [] [] [] [] () () [] | lilypond | [] | linkdr | [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailfromd | [] | mailutils | [] | make | [] [] [] [] | man-db | [] [] [] | man-db-manpages | [] [] [] | minicom | [] [] [] [] | mkisofs | [] [] [] | myserver | | nano | [] [] [] [] | opcodes | [] [] | parted | [] [] [] [] | pies | [] | popt | [] [] [] [] | psmisc | [] [] [] | pspp | [] [] | pwdutils | [] | radius | [] [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () | rpm | [] [] [] | rush | [] [] | sarg | | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | skencil | [] [] | solfege | [] [] [] [] | solfege-manual | [] [] [] | soundtracker | [] | sp | | sysstat | [] [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] [] | vice | [] | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +---------------------------------------------------+ nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW +---------------------------------------------------+ a2ps | [] [] [] [] [] | 27 aegis | [] | 9 ant-phone | [] [] [] [] | 9 anubis | [] [] [] [] | 15 aspell | [] [] [] | 20 bash | [] [] [] | 12 bfd | [] | 6 bibshelf | [] [] [] | 16 binutils | [] [] | 8 bison | [] [] | 12 bison-runtime | [] [] [] [] [] [] | 29 bluez-pin | [] [] [] [] [] [] [] [] | 37 bombono-dvd | [] | 4 buzztard | [] | 7 cflow | [] [] [] | 9 clisp | | 10 coreutils | [] [] [] [] | 22 cpio | [] [] [] [] [] [] | 13 cppi | [] [] | 5 cpplib | [] [] [] [] [] [] | 14 cryptsetup | [] [] | 7 dfarc | [] | 9 dialog | [] [] [] [] [] [] [] | 30 dico | [] | 2 diffutils | [] [] [] [] [] [] | 30 dink | | 4 doodle | [] [] | 7 e2fsprogs | [] [] [] | 11 enscript | [] [] [] [] | 17 exif | [] [] [] | 16 fetchmail | [] [] [] | 17 findutils | [] [] [] [] [] | 20 flex | [] [] [] [] | 15 freedink | [] | 10 gas | [] | 4 gawk | [] [] [] [] | 18 gcal | [] [] | 5 gcc | [] [] [] | 7 gettext-examples | [] [] [] [] [] [] [] | 34 gettext-runtime | [] [] [] [] [] [] [] | 29 gettext-tools | [] [] [] [] [] [] | 22 gip | [] [] [] [] | 22 gjay | [] | 3 gliv | [] [] [] | 14 glunarclock | [] [] [] [] [] | 19 gnubiff | [] [] | 4 gnucash | () [] () [] () | 10 gnuedu | [] [] | 7 gnulib | [] [] [] [] | 16 gnunet | [] | 1 gnunet-gtk | [] [] [] | 5 gnutls | [] [] [] | 10 gold | [] | 4 gpe-aerial | [] [] [] | 18 gpe-beam | [] [] [] | 19 gpe-bluetooth | [] [] [] | 13 gpe-calendar | [] [] [] [] | 12 gpe-clock | [] [] [] [] [] | 28 gpe-conf | [] [] [] [] | 20 gpe-contacts | [] [] [] | 17 gpe-edit | [] [] [] | 12 gpe-filemanager | [] [] [] [] | 16 gpe-go | [] [] [] [] [] | 25 gpe-login | [] [] [] | 11 gpe-ownerinfo | [] [] [] [] [] | 25 gpe-package | [] [] [] | 13 gpe-sketchbook | [] [] [] | 20 gpe-su | [] [] [] [] [] | 30 gpe-taskmanager | [] [] [] [] [] | 29 gpe-timesheet | [] [] [] [] [] | 25 gpe-today | [] [] [] [] [] [] | 30 gpe-todo | [] [] [] [] | 17 gphoto2 | [] [] [] [] [] | 24 gprof | [] [] [] | 15 gpsdrive | [] [] [] | 11 gramadoir | [] [] [] | 11 grep | [] [] [] | 10 grub | [] [] [] | 14 gsasl | [] [] [] [] | 14 gss | [] [] [] | 11 gst-plugins-bad | [] [] [] [] | 26 gst-plugins-base | [] [] [] [] [] | 24 gst-plugins-good | [] [] [] [] | 24 gst-plugins-ugly | [] [] [] [] [] | 29 gstreamer | [] [] [] [] | 22 gtick | [] [] [] | 13 gtkam | [] [] [] | 20 gtkorphan | [] [] [] | 14 gtkspell | [] [] [] [] [] [] [] [] [] | 45 gutenprint | [] | 10 hello | [] [] [] [] [] [] | 21 help2man | [] [] | 7 hylafax | [] | 5 idutils | [] [] [] [] | 17 indent | [] [] [] [] [] [] | 30 iso_15924 | () [] () [] [] | 16 iso_3166 | [] [] () [] [] () [] [] [] () | 53 iso_3166_2 | () [] () [] | 9 iso_4217 | [] () [] [] () [] [] | 26 iso_639 | [] [] [] () [] () [] [] [] [] | 38 iso_639_3 | [] () | 8 jwhois | [] [] [] [] [] | 16 kbd | [] [] [] [] [] | 15 keytouch | [] [] [] | 16 keytouch-editor | [] [] [] | 14 keytouch-keyboa... | [] [] [] | 14 klavaro | [] | 11 latrine | [] [] [] | 10 ld | [] [] [] [] | 11 leafpad | [] [] [] [] [] [] | 33 libc | [] [] [] [] [] | 21 libexif | [] () | 7 libextractor | [] | 1 libgnutls | [] [] [] | 9 libgpewidget | [] [] [] | 14 libgpg-error | [] [] [] | 9 libgphoto2 | [] [] | 8 libgphoto2_port | [] [] [] [] | 14 libgsasl | [] [] [] | 13 libiconv | [] [] [] [] | 21 libidn | () [] [] | 11 lifelines | [] | 4 liferea | [] [] [] | 21 lilypond | [] | 7 linkdr | [] [] [] [] [] | 17 lordsawar | | 1 lprng | [] | 3 lynx | [] [] [] [] | 17 m4 | [] [] [] [] | 19 mailfromd | [] [] | 3 mailutils | [] | 5 make | [] [] [] [] | 21 man-db | [] [] [] | 8 man-db-manpages | | 4 minicom | [] [] | 16 mkisofs | [] [] | 9 myserver | | 0 nano | [] [] [] [] | 21 opcodes | [] [] [] | 11 parted | [] [] [] [] [] | 15 pies | [] [] | 3 popt | [] [] [] [] [] [] | 27 psmisc | [] [] | 11 pspp | | 4 pwdutils | [] [] | 6 radius | [] [] | 9 recode | [] [] [] [] | 28 rosegarden | () | 0 rpm | [] [] [] | 11 rush | [] [] | 4 sarg | | 1 screem | [] | 3 scrollkeeper | [] [] [] [] [] | 27 sed | [] [] [] [] [] | 30 sharutils | [] [] [] [] [] | 22 shishi | [] | 3 skencil | [] [] | 7 solfege | [] [] [] [] | 16 solfege-manual | [] | 8 soundtracker | [] [] [] | 9 sp | [] | 3 sysstat | [] [] | 15 tar | [] [] [] [] [] [] | 23 texinfo | [] [] [] [] [] | 17 tin | | 4 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux-ng | [] [] [] [] | 20 vice | () () | 1 vmm | [] | 4 vorbis-tools | [] | 6 wastesedge | | 2 wdiff | [] [] | 7 wget | [] [] [] [] [] | 26 wyslij-po | [] [] | 8 xchat | [] [] [] [] [] [] | 36 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 xkeyboard-config | [] [] [] | 22 +---------------------------------------------------+ 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If June 2010 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. 1.5 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `coordinator@translationproject.org' to make the `.pot' files available to the translation teams. xdx-2.4.3/cty.dat0000644000175000017500000023305712275025546010557 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: 1S,9M0,BV9S; 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: =3D2C; Rotuma Island: 32: 56: OC: -12.48: -177.08: -12.0: 3D2/r: =3D2R,=3D2RI; Swaziland: 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,UF6V; 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,=4S7CGM/AVR; ITU HQ: 14: 28: EU: 46.17: -6.05: -1.0: 4U1I: 4U0I,4U1I,4U2I,4U3I,4U4I,4U5I,4U6I,4U7I,4U8I,4U9I,=4U1WRC; United Nations HQ: 05: 08: NA: 40.75: 73.97: 5.0: 4U1U: 4U1U; Vienna Intl Ctr: 15: 28: EU: 48.20: -16.30: -1.0: *4U1V: 4U1V; 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: 9M2,9M4,9W2,9W4,=9M8DX/2; East Malaysia: 28: 54: OC: 2.68: -113.32: -8.0: 9M6: 9M6,9M8,9M9,9W6,9W8,=9M4RSA,=9M4SAB; 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,=A41LD/ND,=A41MO/ND,=A47RS/ND; 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,=A61E/ND,=A61K/ND; Qatar: 21: 39: AS: 25.25: -51.13: -3.0: A7: A7; Bahrain: 21: 39: AS: 26.03: -50.53: -3.0: A9: A9,=A91ACC/GR; 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]; 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],=CE9/UA4WHX[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,CE0Z,XQ0Z,XR0Z; Antarctica: 13: 74: SA: -90.00: 0.00: 0.0: CE9: 3Y[73],ANT(29)[69],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],FT4Y(30)[70],FT5Y(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], =8J1RL(39)[67],=DP0GVN(38)[67],=DP1POL(38)[67],=IA/IZ3SUS(29)[70], =IA0MZ(30)[71],=KC4AAA(39),=KC4AAC[73],=KC4USA(30)[71],=KC4USV(30)[71], =OJ1ABOA(38)[67],=OR4TN(38)[67],=RI1ANC(29)[70],=RI1ANC/A(39)[69], =RI1ANP(39)[69],=RI1ANR(38)[67],=VP8ADE[73],=VP8ADE/B[73],=VP8DOI[73]; 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; 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: =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.37: 4.88: -1.0: EA: AM,AN,AO,EA,EB,EC,ED,EE,EF,EG,EH,=EA7URA/YOTA; Balearic Islands: 14: 37: EU: 39.60: -2.95: -1.0: EA6: AM6,AN6,AO6,EA6,EB6,EC6,ED6,EE6,EF6,EG6,EH6,=EA5RKB/6; Canary Islands: 33: 36: AF: 28.10: 15.40: 0.0: EA8: AM8,AN8,AO8,EA8,EB8,EC8,ED8,EE8,EF8,EG8,EH8; 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,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,=TO0MT,=TO6D,=TO8UFT; 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,=TX8B; Chesterfield Islands: 30: 56: OC: -19.87: -158.32: -11.0: FK/c: =FK8IK/C; Martinique: 08: 11: NA: 14.70: 61.03: 4.0: FM: FM,=TO3JA,=TO5A,=TO5K,=TO5T,=TO7A; 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: =TX5RV; Clipperton Island: 07: 10: NA: 10.28: 109.22: 8.0: FO/c: =TX5K; Marquesas Islands: 31: 63: OC: -8.92: 140.07: 9.5: FO/m: =FO/UT6UD; 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,=TO2R,=TO7CC; 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: FT5G; Juan de Nova, Europa: 39: 53: AF: -17.05: -42.72: -3.0: FT/j: FT5E,FT5J; Tromelin Island: 39: 53: AF: -15.88: -54.50: -4.0: FT/t: FT5T; Crozet Island: 39: 68: AF: -46.42: -51.75: -5.0: FT/w: FT0W,FT1W,FT2W,FT4W,FT5W,FT8W; Kerguelen Islands: 39: 68: AF: -49.00: -69.27: -5.0: FT/x: FT0X,FT1X,FT2X,FT4X,FT5X,FT8X; Amsterdam & St. Paul Is.: 39: 68: AF: -37.85: -77.53: -5.0: FT/z: FT0Z,FT1Z,FT2Z,FT4Z,FT5Z,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; 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,=GB0GPF,=GB0REL,=GB1SPD,=GB2AD,=GB4CSC,=GB4SPD,=GB5SPD; Jersey: 14: 27: EU: 49.22: 2.18: 0.0: GJ: 2J,GH,GJ,MH,MJ; Shetland and Fair Isle: 14: 27: EU: 60.50: 1.50: 0.0: *GM/s: 2Z,GZ,MZ,=2M0ZET,=2M1ANT,=2M1ASQ,=2M1ODL,=G0FBJ,=GB2ELH,=GB2ZET,=GB3LER, =GB3LER/B,=GB4LER,=GB4SI,=GM0CXQ,=GM0CYJ,=GM0DJI,=GM0EKM,=GM0GFL,=GM0ILB, =GM0JDB,=GM0MZD,=GM0OMV,=GM0VFA,=GM1BYL,=GM1CBQ,=GM1KKI,=GM1MXN,=GM1ZNR, =GM3KLA,=GM3KZH,=GM3RFR,=GM3SJA,=GM3STU,=GM3UPU,=GM3WCH,=GM3WHT,=GM3XPQ, =GM3ZET,=GM3ZNM,=GM3ZXH,=GM4AGX,=GM4CAQ,=GM4DQD,=GM4ENK,=GM4FNA,=GM4FNE, =GM4GPN,=GM4GPP,=GM4GQD,=GM4GQM,=GM4IPK,=GM4JPI,=GM4KJQ,=GM4LBE,=GM4LER, =GM4PXG,=GM4SLV,=GM4SRU,=GM4SSA,=GM4SWU,=GM4WXQ,=GM4YEL,=GM4ZHL,=GM6RTO, =GM6VZB,=GM6WVI,=GM6YQA,=GM7AFE,=GM7GWW,=GM7RKD,=GM8LNH,=GM8MMA,=GM8YEC, =GS3ZET,=MA1FJM,=MM0LSM,=MM0XAU,=MM0ZAL,=MM0ZCG,=MM1FJM,=MM3ZET,=MM5PSL, =MM6ACW,=MM6BDU,=MM6SJK,=MS0ZCG,=MS0ZET; Scotland: 14: 27: EU: 56.82: 4.18: 0.0: GM: 2A,2M,2S,2Z,GA,GM,GS,GZ,MA,MM,MS,MZ,=G0FBJ,=GB0GDS,=GB0GGR,=GB0NHL, =GB0SSB,=GB1OL,=GB1RB,=GB2ATC,=GB2BHM,=GB2CHC,=GB2ELH,=GB2GKR,=GB2GNL, =GB2LBN,=GB2LT,=GB2MOF,=GB2OL,=GB2OWM,=GB2SQN,=GB2VCB,=GB2ZET,=GB3ANG, =GB3LER,=GB3LER/B,=GB3ORK,=GB4GS,=GB4LER,=GB4SI,=GB5AG; 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: 2C,2W,2X,GC,GW,MC,MW,=GB0APS,=GB0MPA,=GB1BGS,=GB1BW,=GB1PD,=GB2FLB, =GB2GGM,=GB2IMD,=GB2LSA,=GB4CTC,=GB4MBC,=GB4MDI,=GB4OST,=GB4SDD,=GB5GEO, =GB6BLB; 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: 6.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: 5J0M,5K0M,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,=I4CQO/N,=II1RT/N,=IZ0DBA/N,=IZ1CLA/N,=IZ1POA/N,=4U0WFP,=4U1GSC; 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,=IQ0AG,=IQ0AH,=IQ0ID,=IQ0SS,=IW0HRI; Sicily: 15: 28: EU: 37.50: -14.00: -1.0: *IT9: IB9,ID9,IE9,IF9,II9,IJ9,IO9,IQ9,IR9,IT9,IU9,IW9; 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: =JD1BMM; 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: =JW2US,=JW9JKA; 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.53: 91.67: 5.0: K: AA,AB,AC,AD,AE,AF,AG,AI,AJ,AK,K,N,W,=4U1WB(5)[8],=AA4DD(4)[8],=AA4R(4)[8], =AA4YL(4)[8],=AB1U(3)[6],=AB4GG(4)[8],=AB4IQ(4)[8],=AB4KJ(4)[8], =AB5ZA(4)[6],=AC4CA(4)[7],=AC4G(4)[8],=AC4M(4)[8],=AC4YD(4)[8], =AC8DU(5)[8],=AC8Y(5)[8],=AD1C(4)[7],=AD4EB(4)[8],=AD7MQ(4)[7], =AD8J(5)[8],=AE5BR(4)[8],=AE7AP(4)[6],=AE9F(3)[6],=AF4AI(4)[8], =AF9T(4)[7],=AG3V(4)[7],=AG4W(4)[8],=AG5Z(4)[8],=AI4DB(4)[8],=AI9K(4)[7], =AJ4A(4)[8],=AJ7G(5)[8],=AK4QU(4)[8],=AL7RF(3)[6],=K0DQ(5)[8],=K0EJ(4)[8], =K0IP(3)[6],=K0JJ(3)[6],=K0LUZ(5)[8],=K0NW(3)[6],=K0PJ(4)[8],=K0TQ(4)[8], =K0TV(5)[8],=K0ZR(5)[8],=K1DW(4)[7],=K1GI(3)[6],=K1GU(4)[8],=K1KD(4)[7], =K1LT(4)[8],=K1TN(4)[8],=K2AVI(3)[6],=K2FF(4)[8],=K2HT(4)[7],=K2PO(3)[6], =K2RD(3)[6],=K2RP(3)[6],=K2UR(4)[8],=K3FIV(3)[6],=K3GP(4)[8],=K3IE(4)[8], =K3PA(4)[7],=K3WA(4)[8],=K3WT(4)[7],=K3YP(4)[8],=K4AB(4)[8],=K4AMC(4)[8], =K4AMQ(4)[8],=K4BP(4)[8],=K4BX(4)[8],=K4CX(4)[8],=K4DZR(4)[8], =K4EDI(4)[8],=K4EJQ(4)[8],=K4FT(4)[8],=K4FXN(4)[8],=K4HAL(4)[8], =K4IE(4)[8],=K4IQJ(4)[8],=K4IU(4)[7],=K4LTA(4)[8],=K4MGE(4)[8], =K4PP(4)[8],=K4RO(4)[8],=K4SPO(4)[8],=K4TCG(4)[8],=K4TD(4)[8],=K4UU(4)[8], =K4WI(4)[8],=K4WW(4)[8],=K4YJ(4)[8],=K4ZGB(4)[8],=K4ZHM(4)[8], =K5AUP(5)[8],=K5EK(5)[8],=K5KG(5)[8],=K5OA(3)[6],=K5RR(3)[6],=K5VIP(5)[8], =K5WP(4)[8],=K5ZD(5)[8],=K6ND(5)[8],=K6RM(5)[8],=K6RQT(4)[8],=K6SXA(4)[7], =K6XT(4)[7],=K7ABV(4)[6],=K7BG(4)[6],=K7CS(4)[8],=K7IA(4)[7],=K7KU(4)[7], =K7OM(5)[8],=K7RB(4)[7],=K7RE(4)[7],=K7SCX(4)[7],=K7SV(5)[8],=K7TD(4)[7], =K7VK(4)[6],=K7VU(4)[7],=K8CN(5)[8],=K8GU(5)[8],=K8IA(3)[6],=K8JQ(5)[8], =K8LF(5)[8],=K8MN(5)[8],=K8NYG(5)[8],=K8PO(5)[8],=K8TE(4)[7],=K8WT(5)[8], =K8YC(5)[8],=K9AIH(5)[8],=K9BWI(4)[7],=K9CHP(5)[8],=K9DR(4)[7], =K9DU(4)[7],=K9ES(5)[8],=K9FY(5)[8],=K9IA(5)[8],=K9JF(3)[6],=K9JM(3)[6], =K9JWV(3)[6],=K9MK(4)[7],=K9OM(5)[8],=K9QC(4)[7],=K9RS(5)[8],=K9SG(3)[6], =K9WA(4)[7],=K9WZB(3)[6],=K9YC(3)[6],=KA3DRR(3)[6],=KA4OTB(4)[8], =KA4R(4)[8],=KA8HDE(4)[7],=KA8Q(5)[8],=KA9FOX(4)[7],=KB5EZ(4)[8], =KB5JC(5)[8],=KB7FSC(4)[7],=KB7Q(4)[6],=KB8V(5)[8],=KB9S(4)[7], =KC4HW(4)[8],=KC4SAW(4)[8],=KC4WQ(4)[8],=KC8GCR(5)[8],=KC8R(4)[7], =KD4POJ(4)[7],=KD7DCR(4)[6],=KD9ST(4)[7],=KE1B(3)[6],=KE2VB(3)[6], =KE3D(4)[7],=KE4ETY(4)[8],=KE4KY(4)[8],=KE5PRL(4)[8],=KE7X(4)[6], =KE8UN(5)[8],=KG0F(3)[6],=KG4CUY(4)[8],=KG9JP(3)[6],=KH2D(5)[8], =KH6IDF(4)[7],=KH6OU(5)[8],=KI4EEY(4)[8],=KI4EZC(4)[8],=KI4SP(4)[8], =KI6DY(4)[7],=KI7MT(4)[6],=KJ4AOM(4)[8],=KJ4KKD(4)[8],=KJ4RAQ(4)[8], =KK4BJV(4)[8],=KK6MC(4)[7],=KK9A(5)[8],=KK9O(5)[8],=KL0ET(4)[8], =KL7FDQ(3)[6],=KL7HM(3)[6],=KL7QW(4)[7],=KL7WP(3)[6],=KL7WV(5)[8], =KM4JA(4)[8],=KO0Z(4)[8],=KO4OL(4)[8],=KO4PU(4)[8],=KO4XJ(4)[8], =KO7X(4)[7],=KR2E(3)[6],=KR4F(4)[8],=KR7C(4)[7],=KS4L(4)[8],=KS4X(4)[8], =KS5A(3)[6],=KS7T(4)[6],=KT0P(5)[8],=KT3M(4)[7],=KU1CW(4)[7],=KU4A(4)[8], =KU8E(5)[8],=KV1E(4)[7],=KW4J(4)[8],=KW7Q(4)[7],=KX2P(4)[7],=KX4WB(4)[8], =KX9X(5)[8],=KY0W(3)[6],=KY4F(4)[8],=KZ1W(3)[6],=KZ2V(3)[6],=N0EF(4)[6], =N0FCD(4)[8],=N1CC(4)[7],=N1JM(3)[6],=N1KW(4)[8],=N1WQ(4)[7],=N2BJ(4)[8], =N2IC(4)[7],=N2NS(3)[6],=N2OPW(4)[8],=N2WN(4)[8],=N3AIU(3)[6],=N3BB(4)[7], =N3BUO(4)[7],=N3PV(3)[6],=N3RC(4)[6],=N3ZZ(3)[6],=N4AAI(4)[8], =N4ARO(4)[8],=N4ART(4)[8],=N4AU(4)[8],=N4BCB(4)[8],=N4BCD(4)[8], =N4CC(3)[6],=N4CD(4)[7],=N4DW(4)[8],=N4FZ(4)[8],=N4HAI(4)[8],=N4IJ(4)[7], =N4IR(4)[8],=N4JF(4)[8],=N4KG(4)[8],=N4KH(4)[8],=N4MIK(4)[8],=N4NA(4)[8], =N4NM(4)[8],=N4NO(4)[8],=N4OGW(4)[8],=N4QS(4)[8],=N4TZ(4)[8],=N4UC(4)[8], =N4UW(4)[8],=N4VV(4)[8],=N4YHC(4)[8],=N4ZI(4)[8],=N4ZZ(4)[8],=N5CR(3)[6], =N5CW(4)[8],=N5IE(5)[8],=N5KO(3)[6],=N5LZ(3)[6],=N5PU(4)[8],=N5ZO(3)[6], =N6AR(5)[8],=N7DR(4)[7],=N7EO(5)[8],=N7FLT(4)[6],=N7FUL(4)[7],=N7GP(3)[7], =N7IP(4)[6],=N7IV(4)[7],=N7IX(4)[7],=N7KA(4)[7],=N7MB(4)[8],=N7MZW(4)[7], =N7NG(4)[7],=N7US(4)[8],=N7WY(4)[7],=N8CL(5)[8],=N8DEZ(3)[6],=N8HM(5)[8], =N8II(5)[8],=N8IK(5)[8],=N8NA(5)[8],=N8OO(4)[7],=N8PR(5)[8],=N8RA(5)[8], =N9ADG(3)[6],=N9CIQ(4)[7],=N9CM(5)[8],=N9DFD(5)[8],=N9HDE(4)[7], =N9MM(4)[7],=N9NA(3)[6],=N9NB(5)[8],=N9NC(5)[8],=N9RV(4)[6],=N9SB(4)[7], =N9TX(4)[7],=N9UY(5)[8],=N9VPV(4)[7],=NA2U(3)[6],=NA4C(4)[8],=NA4K(4)[8], =NA4M(4)[7],=NA5NN(4)[8],=NB0O(3)[6],=NB4M(4)[8],=ND2T(3)[6],=ND4X(4)[8], =NE4M(4)[8],=NE4RD(4)[7],=NF8I(5)[8],=NG7A(5)[8],=NG9R(4)[7],=NH6Z(3)[6], =NH7RO(4)[7],=NI5O(4)[8],=NJ4I(4)[8],=NK3L(3)[6],=NL7CO(4)[7], =NL7CQ(4)[7],=NL7XM(5)[8],=NN3V(3)[6],=NN4MM(4)[8],=NN7A(4)[7], =NO2D(4)[7],=NO7T(3)[7],=NO9E(5)[8],=NP2MR(5)[8],=NP3D(5)[8],=NP3ST(5)[8], =NQ6N(5)[8],=NR7DX(4)[6],=NS2X(4)[8],=NS4X(4)[8],=NU4B(4)[8],=NV4B(4)[8], =NW8U(5)[8],=NX1P(3)[6],=NY4N(4)[8],=NY6DX(5)[8],=W0BR(5)[8],=W0HI(4)[8], =W0IZ(4)[8],=W0PAN(3)[6],=W0PV(5)[8],=W0QQG(5)[8],=W0UCE(5)[8], =W0YK(3)[6],=W0YR(5)[8],=W1NN(4)[8],=W1RH(3)[6],=W1SRD(3)[6],=W1WMU(4)[7], =W1ZD(3)[6],=W2GS(4)[7],=W2OO(4)[8],=W2UP(4)[7],=W2VJN(3)[6],=W3HDH(4)[8], =W3IQ(4)[8],=W4BCG(4)[8],=W4BCU(4)[8],=W4BK(4)[8],=W4CDA(4)[8], =W4DAN(4)[8],=W4EEH(4)[8],=W4EF(3)[6],=W4GHD(4)[8],=W4GKM(4)[8], =W4HK(4)[8],=W4HOD(4)[8],=W4II(4)[8],=W4JHC(4)[7],=W4JSI(4)[8], =W4KW(4)[8],=W4LC(4)[8],=W4LSC(3)[6],=W4NBS(4)[8],=W4NI(4)[8],=W4NZ(4)[8], =W4PV(4)[8],=W4RK(4)[7],=W4RYW(4)[8],=W4TTM(4)[8],=W4UAL(4)[8], =W4UAT(3)[6],=W4UT(4)[8],=W5BEN(4)[8],=W5JR(5)[8],=W5MX(4)[8],=W5NZ(4)[8], =W5UE(4)[8],=W5XB(5)[8],=W6AAN(5)[8],=W6DVS(5)[8],=W6GMT(4)[7], =W6HGF(5)[8],=W6IHG(5)[8],=W6KGP(4)[7],=W6LFB(4)[7],=W6NWS(5)[8], =W6RLL(3)[7],=W6UB(4)[8],=W6XR(5)[8],=W7DO(5)[8],=W7HJ(5)[8],=W7IWW(4)[7], =W7KAM(4)[7],=W7KQZ(3)[7],=W7WZ(5)[8],=W8AKS(5)[8],=W8BFX(3)[6], =W8FJ(5)[8],=W8FN(4)[7],=W8HGH(5)[8],=W8HY(5)[8],=W8IDW(5)[8],=W8KA(3)[6], =W8KRZ(5)[8],=W8MHW(4)[7],=W8OHT(5)[8],=W8WEJ(5)[8],=W8ZA(5)[8], =W9CF(3)[6],=W9DKC(5)[8],=W9FZ(4)[7],=W9GE(5)[8],=W9GHX(4)[7],=W9JA(4)[7], =W9KB(5)[8],=W9LHG(4)[7],=W9MAF(4)[7],=W9NGA(3)[6],=W9PL(3)[6], =WA0WWW(3)[6],=WA1FCN(4)[8],=WA1PMA(3)[6],=WA1UJU(4)[8],=WA3C(4)[8], =WA4JA(4)[8],=WA5VGI(3)[6],=WA7BME(3)[7],=WA8KAN(5)[8],=WA8OJR(5)[8], =WA8QYJ(5)[8],=WA8ZBT(4)[7],=WB3JFS(3)[6],=WB4KDI(4)[8],=WB4YDL(4)[8], =WB4YDY(4)[8],=WB8BPU(5)[8],=WB8CQV(5)[8],=WB8EKG(5)[8],=WB8IMY(5)[8], =WB8YQJ(3)[6],=WB8YYY(5)[8],=WB9G(5)[8],=WB9JPS(3)[6],=WB9KPT(4)[7], =WC7S(4)[7],=WE6EZ(4)[7],=WF4U(3)[6],=WF7T(4)[8],=WG7Y(4)[7],=WJ9B(3)[6], =WL7OU(4)[7],=WM5DX(4)[8],=WP3ME(5)[8],=WQ5L(4)[8],=WQ9T(4)[7], =WR3O(4)[8],=WR5G(3)[6],=WS6K(4)[8],=WS7X(4)[7],=WS9M(5)[8],=WT5L(5)[8], =WU9B(3)[6],=WW4R(4)[8],=WY7SS(4)[7],=WZ4F(4)[8],=WZ7I(5)[8]; Guantanamo Bay: 08: 11: NA: 20.00: 75.00: 5.0: KG4: KG4; Mariana Islands: 27: 64: OC: 15.18: -145.72: -10.0: KH0: AH0,KH0,NH0,WH0,=AB2QH,=AE6OG,=N3QD,=NC6W,=WA6AC,=WE1J; 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,=KE6ATM,=KF5ULC,=KG6DX,=KG6JDX,=KJ6KCJ,=KK7AV,=NH7TL, =W0REP,=WD6DGS; Johnston Island: 31: 61: OC: 16.72: 169.53: 10.0: KH3: AH3,KH3,NH3,WH3,=KJ6BZ; 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; Kingman Reef: 31: 61: OC: 6.40: 162.40: 11.0: KH5K: AH5K,KH5K,NH5K,WH5K; Hawaii: 31: 61: OC: 21.15: 157.53: 10.0: KH6: AH6,AH7,KH6,KH7,NH6,NH7,WH6,WH7,=AC7N,=AE5LR,=K2GT,=K4EVR,=K7ZAR,=K9AGI, =KA8EBL,=KB7MEU,=KB7WUP,=KC0UUR,=KC2MIU,=KC2ZSG,=KC2ZSH,=KC2ZSI,=KC4HHS, =KC6HOX,=KC7ASJ,=KC7HNC,=KC9AUA,=KD0IRK,=KD0MSD,=KD0QLQ,=KD0QLR,=KD0WVZ, =KD4QWO,=KD5HX,=KD6EPD,=KD7UZG,=KD8QML,=KE6TIS,=KE7FJA,=KF5AHW,=KF5LBQ, =KF7GNP,=KF7TUU,=KG4SGV,=KG6JJP,=KG6NQI,=KG6OOB,=KG6RJI,=KG6SDD,=KG6TFI, =KG7CJI,=KI6CRL,=KI6VYB,=KI6ZRV,=KI7OS,=KJ4KND,=KJ6GYD,=KJ6QQT,=KJ6SKC, =KL1TP,=KM6RM,=KN6ZU,=KO6QT,=N0CAN,=N1IDP,=N2AL,=N3DJT,=N3RWD,=N6CGA, =N6QBK,=N7TSV,=N7WBX,=W7NX,=W7PEA,=W8JAY,=W8WH,=WB4JTT,=WB5C,=WB6SAA, =WB7BOR,=WD6GHJ,=WU0H; 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,=KD8TFY,=N8A,=W8A; Swains Island: 32: 62: OC: -11.05: 171.25: 11.0: KH8/s: =NH8S; Wake Island: 31: 65: OC: 19.28: -166.63: -12.0: KH9: AH9,KH9,NH9,WH9,=K9W; Alaska: 01: 01: NA: 63.87: 153.78: 8.0: KL: AL,KL,NL,WL,=AD7VV,=AE7LN,=AF5S,=AJ4MY,=AK2OR,=K5RSO,=K6GKW,=KB1NDE, =KB1SHE,=KB5UWU,=KB7DEL,=KB7VFZ,=KB7ZVZ,=KB8SBG,=KC2GVS,=KC7AFA,=KC7AFC, =KC7RXR,=KD5WEV,=KD7KRK,=KD7TWB,=KD7VXE,=KD8GMS,=KD8JOU,=KE5HHR,=KF5NDT, =KF5NHR,=KF6BMF,=KF6LGK,=KF7LUA,=KF7PFT,=KG4WNZ,=KG6RJE,=KG6TAL,=KH2YN, =KH7BW,=KI4WOI,=KJ4WDI,=KJ4ZWI,=KJ6KRG,=KK4LRE,=KK4RYG,=KK7STL,=KY7J, =N0LHN,=N0XCW,=N1KNK,=N6SPP,=N7UWT,=N7XNM,=N7ZYS,=N8ZPO,=N9UOM,=NA7WM, =NH2GZ,=NW9F,=NW9H,=W5TLB,=W6TN,=W8OES,=WA7PXH,=WA7USX,=WH6CYY,=WP4IYI; 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,=KD4SGB,=KH2XQ,=KH2XR,=KI4FOE,=KV4BT,=KV4CF,=KV4FZ,=WI7C; Puerto Rico: 08: 11: NA: 18.18: 66.55: 4.0: KP4: KP3,KP4,NP3,NP4,WP3,WP4,=AF4OU,=AF5IZ,=K4D,=KB1IJU,=KB1KDP,=KB2MMX, =KB3BPK,=KC2CYJ,=KC2LET,=KC2TE,=KC5DKT,=KE5LNG,=KF5IBN,=KH2RU,=KP2Z, =KX5DX,=N1VCW,=N4D,=N4JZD,=NB0G,=W4D; 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: -34.80: 65.92: 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],=LU5XP/D, =LU6FEC/T,=LU7DOT/D,=LU8DCH/D,=LU8DZE/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: 4U1V,OE; Finland: 15: 18: EU: 63.78: -27.08: -2.0: OH: OF,OG,OH,OI,OJ,=OH5LP/S,=OH6CT/S,=OH6G/S,=OH6GSR/S; 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: HM,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: PJ7; 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,PQ0F,PR0F,PS0F,PT0F,PU0F,PV0F,PW0F,PX0F,PY0F,PY0Z,ZV0F,ZW0F,ZX0F, ZY0F,ZY0Z,ZZ0F,PP0R,PQ0R,PR0R,PS0R,PT0R,PU0R,PV0R,PW0R,PX0R,PY0R,ZV0R, ZW0R,ZX0R,ZY0R,ZZ0R; St. Peter & St. Paul: 11: 13: SA: 0.00: 29.00: 2.0: PY0S: PP0S,PQ0S,PR0S,PS0S,PT0S,PU0S,PV0S,PW0S,PX0S,PY0S,ZV0S,ZW0S,ZX0S,ZY0S, ZZ0S; Trindade & Martim Vaz: 11: 15: SA: -20.50: 29.32: 2.0: PY0T: PP0M,PP0T,PQ0M,PQ0T,PR0M,PR0T,PS0M,PS0T,PT0M,PT0T,PU0M,PU0T,PV0M,PV0T, PW0M,PW0T,PX0M,PX0T,PY0M,PY0T,ZV0M,ZV0T,ZW0M,ZW0T,ZX0M,ZX0T,ZY0M,ZY0T, ZZ0M,ZZ0T; 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: FJL,RI1FJ; 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: 61.20: -14.57: -1.0: SM: 7S,8S,SA,SB,SC,SD,SE,SF,SG,SH,SI,SJ,SK,SL,SM; 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; Dodecanese: 20: 28: EU: 36.17: -27.93: -2.0: SV5: J45,SV5,SW5,SX5,SY5,SZ5,=SV0XCA/5; Crete: 20: 28: EU: 35.23: -24.78: -2.0: SV9: J49,SV9,SW9,SX9,SY9,SZ9,=SV0XCC/9; 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,=TA1BZ/2,=TA1HZ/2; European Turkey: 20: 39: EU: 41.02: -28.97: -2.0: *TA1: TA1,TB1,TC1,YM1; 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,RA22,U,R1N[19],R1O[19],R1P[20],R1Z[19],R4H[30],R4I[30],R4W[30], R8F(17)[30],R8G(17)[30],R8X(17)[19],R9F(17)[30],R9G(17)[30],R9X(17)[19], RA1N[19],RA1O[19],RA1P[20],RA1Z[19],RA4H[30],RA4I[30],RA4W[30], RA8F(17)[30],RA8G(17)[30],RA8X(17)[19],RA9F(17)[30],RA9G(17)[30], RA9X(17)[19],RC1N[19],RC1O[19],RC1P[20],RC1Z[19],RC4H[30],RC4I[30], RC4W[30],RC8F(17)[30],RC8G(17)[30],RC8X(17)[19],RC9F(17)[30],RC9G(17)[30], RC9X(17)[19],RD1N[19],RD1O[19],RD1P[20],RD1Z[19],RD4H[30],RD4I[30], RD4W[30],RD8F(17)[30],RD8G(17)[30],RD8X(17)[19],RD9F(17)[30],RD9G(17)[30], RD9X(17)[19],RF1N[19],RF1O[19],RF1P[20],RF1Z[19],RF4H[30],RF4I[30], RF4W[30],RF8F(17)[30],RF8G(17)[30],RF8X(17)[19],RF9F(17)[30],RF9G(17)[30], RF9X(17)[19],RG1N[19],RG1O[19],RG1P[20],RG1Z[19],RG4H[30],RG4I[30], RG4W[30],RG8F(17)[30],RG8G(17)[30],RG8X(17)[19],RG9F(17)[30],RG9G(17)[30], RG9X(17)[19],RI1N[19],RI1O[19],RI1P[20],RI1Z[19],RI4H[30],RI4I[30], RI4W[30],RI8F(17)[30],RI8G(17)[30],RI8X(17)[19],RI9F(17)[30],RI9G(17)[30], RI9X(17)[19],RJ1N[19],RJ1O[19],RJ1P[20],RJ1Z[19],RJ4H[30],RJ4I[30], RJ4W[30],RJ8F(17)[30],RJ8G(17)[30],RJ8X(17)[19],RJ9F(17)[30],RJ9G(17)[30], RJ9X(17)[19],RK1N[19],RK1O[19],RK1P[20],RK1Z[19],RK4H[30],RK4I[30], RK4W[30],RK8F(17)[30],RK8G(17)[30],RK8X(17)[19],RK9F(17)[30],RK9G(17)[30], RK9X(17)[19],RL1N[19],RL1O[19],RL1P[20],RL1Z[19],RL4H[30],RL4I[30], RL4W[30],RL8F(17)[30],RL8G(17)[30],RL8X(17)[19],RL9F(17)[30],RL9G(17)[30], RL9X(17)[19],RM1N[19],RM1O[19],RM1P[20],RM1Z[19],RM4H[30],RM4I[30], RM4W[30],RM8F(17)[30],RM8G(17)[30],RM8X(17)[19],RM9F(17)[30],RM9G(17)[30], RM9X(17)[19],RN1N[19],RN1O[19],RN1P[20],RN1Z[19],RN4H[30],RN4I[30], RN4W[30],RN8F(17)[30],RN8G(17)[30],RN8X(17)[19],RN9F(17)[30],RN9G(17)[30], RN9X(17)[19],RO1N[19],RO1O[19],RO1P[20],RO1Z[19],RO4H[30],RO4I[30], RO4W[30],RO8F(17)[30],RO8G(17)[30],RO8X(17)[19],RO9F(17)[30],RO9G(17)[30], RO9X(17)[19],RP1N[19],RP1O[19],RP1P[20],RP1Z[19],RP4H[30],RP4I[30], RP4W[30],RP8F(17)[30],RP8G(17)[30],RP8X(17)[19],RP9F(17)[30],RP9G(17)[30], RP9X(17)[19],RQ1N[19],RQ1O[19],RQ1P[20],RQ1Z[19],RQ4H[30],RQ4I[30], RQ4W[30],RQ8F(17)[30],RQ8G(17)[30],RQ8X(17)[19],RQ9F(17)[30],RQ9G(17)[30], RQ9X(17)[19],RR1N[19],RR1O[19],RR1P[20],RR1Z[19],RR4H[30],RR4I[30], RR4W[30],RR8F(17)[30],RR8G(17)[30],RR8X(17)[19],RR9F(17)[30],RR9G(17)[30], RR9X(17)[19],RT1N[19],RT1O[19],RT1P[20],RT1Z[19],RT4H[30],RT4I[30], RT4W[30],RT8F(17)[30],RT8G(17)[30],RT8X(17)[19],RT9F(17)[30],RT9G(17)[30], RT9X(17)[19],RU1N[19],RU1O[19],RU1P[20],RU1Z[19],RU4H[30],RU4I[30], RU4W[30],RU8F(17)[30],RU8G(17)[30],RU8X(17)[19],RU9F(17)[30],RU9G(17)[30], RU9X(17)[19],RV1N[19],RV1O[19],RV1P[20],RV1Z[19],RV4H[30],RV4I[30], RV4W[30],RV8F(17)[30],RV8G(17)[30],RV8X(17)[19],RV9F(17)[30],RV9G(17)[30], RV9X(17)[19],RW1N[19],RW1O[19],RW1P[20],RW1Z[19],RW4H[30],RW4I[30], RW4W[30],RW8F(17)[30],RW8G(17)[30],RW8X(17)[19],RW9F(17)[30],RW9G(17)[30], RW9X(17)[19],RX1N[19],RX1O[19],RX1P[20],RX1Z[19],RX4H[30],RX4I[30], RX4W[30],RX8F(17)[30],RX8G(17)[30],RX8X(17)[19],RX9F(17)[30],RX9G(17)[30], RX9X(17)[19],RY1N[19],RY1O[19],RY1P[20],RY1Z[19],RY4H[30],RY4I[30], RY4W[30],RY8F(17)[30],RY8G(17)[30],RY8X(17)[19],RY9F(17)[30],RY9G(17)[30], RY9X(17)[19],RZ1N[19],RZ1O[19],RZ1P[20],RZ1Z[19],RZ4H[30],RZ4I[30], RZ4W[30],RZ8F(17)[30],RZ8G(17)[30],RZ8X(17)[19],RZ9F(17)[30],RZ9G(17)[30], RZ9X(17)[19],U1N[19],U1O[19],U1P[20],U1Z[19],U4H[30],U4I[30],U4W[30], U8F(17)[30],U8G(17)[30],U8X(17)[19],U9F(17)[30],U9G(17)[30],U9X(17)[19], UA1N[19],UA1O[19],UA1P[20],UA1Z[19],UA4H[30],UA4I[30],UA4W[30], UA8F(17)[30],UA8G(17)[30],UA8X(17)[19],UA9F(17)[30],UA9G(17)[30], UA9X(17)[19],UB1N[19],UB1O[19],UB1P[20],UB1Z[19],UB4H[30],UB4I[30], UB4W[30],UB8F(17)[30],UB8G(17)[30],UB8X(17)[19],UB9F(17)[30],UB9G(17)[30], UB9X(17)[19],UC1N[19],UC1O[19],UC1P[20],UC1Z[19],UC4H[30],UC4I[30], UC4W[30],UC8F(17)[30],UC8G(17)[30],UC8X(17)[19],UC9F(17)[30],UC9G(17)[30], UC9X(17)[19],UD1N[19],UD1O[19],UD1P[20],UD1Z[19],UD4H[30],UD4I[30], UD4W[30],UD8F(17)[30],UD8G(17)[30],UD8X(17)[19],UD9F(17)[30],UD9G(17)[30], UD9X(17)[19],UE1N[19],UE1O[19],UE1P[20],UE1Z[19],UE4H[30],UE4I[30], UE4W[30],UE8F(17)[30],UE8G(17)[30],UE8X(17)[19],UE9F(17)[30],UE9G(17)[30], UE9X(17)[19],UF1N[19],UF1O[19],UF1P[20],UF1Z[19],UF4H[30],UF4I[30], UF4W[30],UF8F(17)[30],UF8G(17)[30],UF8X(17)[19],UF9F(17)[30],UF9G(17)[30], UF9X(17)[19],UG1N[19],UG1O[19],UG1P[20],UG1Z[19],UG4H[30],UG4I[30], UG4W[30],UG8F(17)[30],UG8G(17)[30],UG8X(17)[19],UG9F(17)[30],UG9G(17)[30], UG9X(17)[19],UH1N[19],UH1O[19],UH1P[20],UH1Z[19],UH4H[30],UH4I[30], UH4W[30],UH8F(17)[30],UH8G(17)[30],UH8X(17)[19],UH9F(17)[30],UH9G(17)[30], UH9X(17)[19],UI1N[19],UI1O[19],UI1P[20],UI1Z[19],UI4H[30],UI4I[30], UI4W[30],UI8F(17)[30],UI8G(17)[30],UI8X(17)[19],UI9F(17)[30],UI9G(17)[30], UI9X(17)[19],=R0000O[19],=R2014I(17)[19],=R95DOD,=R95NRL,=RA22KO(17)[19], =RA22XA(17)[19],=RA22XF(17)[19],=RN22OG(17)[19],=RN22OV(17)[19], =RV22PM(17)[30],=RY110RAEM(17)[19],=UE22A; Kaliningrad: 15: 29: EU: 54.72: -20.52: -3.0: UA2: R2F,R2K,RA2,RC2F,RC2K,RD2F,RD2K,RF2F,RF2K,RG2F,RG2K,RI2F,RI2K,RJ2F,RJ2K, RK2F,RK2K,RL2F,RL2K,RM2F,RM2K,RN2F,RN2K,RO2F,RO2K,RP2F,RP2K,RQ2F,RQ2K, RR2F,RR2K,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,=RD22FU, =RJ22DX; Asiatic Russia: 17: 30: AS: 55.88: -84.08: -7.0: UA9: R0,R8(17)[30],R9,RA0,RA8(17)[30],RA9,RB0,RB8(17)[30],RB9,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,RH0,RH8(17)[30],RH9,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,RP0,RP8(17)[30],RP9,RQ0,RQ8(17)[30], RQ9,RR0,RR8(17)[30],RR9,RS0,RS8(17)[30],RS9,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), 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), RI0T(18)[32],RI8H(18)[31],RI8I(18)[31],RI8O(18)[31],RI8P(18)[31], RI8S(16)[30],RI8T(16)[30],RI8U(18)[31],RI8V(18)[31],RI8W(16)[30], RI8Y(18)[31],RI8Z(18)[31],RI9I(18)[31],RI9M(17)[30],RI9P(18)[31],RI9S(16), RI9T(16),RI9V(18)[31],RI9W(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),RP0T(18)[32],RP8H(18)[31],RP8I(18)[31], RP8O(18)[31],RP8P(18)[31],RP8S(16)[30],RP8T(16)[30],RP8U(18)[31], RP8V(18)[31],RP8W(16)[30],RP8Y(18)[31],RP8Z(18)[31],RP9I(18)[31], RP9M(17)[30],RP9P(18)[31],RP9S(16),RP9T(16),RP9V(18)[31],RP9W(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),RR0T(18)[32],RR8H(18)[31],RR8I(18)[31], RR8O(18)[31],RR8P(18)[31],RR8S(16)[30],RR8T(16)[30],RR8U(18)[31], RR8V(18)[31],RR8W(16)[30],RR8Y(18)[31],RR8Z(18)[31],RR9I(18)[31], RR9M(17)[30],RR9P(18)[31],RR9S(16),RR9T(16),RR9V(18)[31],RR9W(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), =R110RAEM(18)[31],=R2013T(18)[31],=R2013TP(18)[31],=R2014Y,=R22BIA, =R22SKE,=R22SKJ,=R7378TM(16)[30],=R9/UN7JMO(18)[31],=RA/KE5JA(19)[34], =RA110RAEM(18)[32],=RA22MX(17)[30],=RA22QF,=RB110RAEM(18)[32], =RC110RAEM(19)[33],=RD110RAEM(18)[32],=RG110RAEM,=RN110RAEM(18)[32], =RQ110RAEM(18)[31],=RR110RAEM,=RT22CT(19)[33],=RT22MC(17)[30], =RT22MD(17)[30],=RT22SA(18)[32],=RT22TK(16),=RT22UA(18)[31],=RT22WF(16), =RT22ZS(19)[35],=RU110RAEM(16),=RU22AZ,=RU22CR,=RU22LR,=RU22WZ(16), =RV22WB(16),=RW110RAEM(19)[23],=RW22GO(19)[34],=RW22MW(17)[30],=RW22QA, =RW22QC,=RW22WR(19)[23],=RX22WN(16),=RY22MC(17)[30],=RY22RZ, =RZ22WW(18)[31],=UE44POL(19)[25]; 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],UN1F[31],UN1G[31], UN1J[31],UN1Q[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; 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,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,=VER20131229,=N5ZO/VE2(2)[4], =VA2PL(2)[4],=VC2R(2)[4],=VE2BZO[9],=VE2CSI(2)[4],=VE2DXY(2)[4], =VE2EKA(2)[4],=VE2ENB(2)[4],=VE2FK[9],=VE2GSO(2)[4],=VE2IM(2)[4], =VE2KK(2)[4],=VE3GNO/2[4],=VE9TEN/5(4)[3],=VY0PW(4)[3]; Australia: 30: 59: OC: -23.70: -132.33: -10.0: VK: AX,VH,VI,VJ,VK,VL,VM,VN,VZ,AX4[55],VH4[55],VI4[55],VJ4[55],VK4[55], VL4[55],VM4[55],VN4[55],VZ4[55]; Heard Island: 39: 68: AF: -53.08: -73.50: -5.0: VK0H: =VK0IR; Macquarie Island: 30: 60: OC: -54.60: -158.88: -10.0: VK0M: =AX/VK0TH; Cocos (Keeling) Islands: 29: 54: OC: -12.15: -96.82: -6.5: VK9C: AX9C,AX9Y,VH9C,VH9Y,VI9C,VI9Y,VJ9C,VJ9Y,VK9C,VK9Y,VL9C,VL9Y,VM9C,VM9Y, VN9C,VN9Y,VZ9C,VZ9Y; Lord Howe Island: 30: 60: OC: -31.55: -159.08: -10.5: VK9L: AX9L,VH9L,VI9L,VJ9L,VK9L,VL9L,VM9L,VN9L,VZ9L; Mellish Reef: 30: 56: OC: -17.40: -155.85: -10.0: VK9M: AX9M,VH9M,VI9M,VJ9M,VK9M,VL9M,VM9M,VN9M,VZ9M; Norfolk Island: 32: 60: OC: -29.03: -167.93: -11.5: VK9N: AX9,VH9,VI9,VJ9,VK9,VL9,VM9,VN9,VZ9; Willis Island: 30: 55: OC: -16.22: -150.02: -10.0: VK9W: AX9W,AX9Z,VH9W,VH9Z,VI9W,VI9Z,VJ9W,VJ9Z,VK9W,VK9Z,VL9W,VL9Z,VM9W,VM9Z, VN9W,VN9Z,VZ9W,VZ9Z; Christmas Island: 29: 54: OC: -10.48: -105.63: -7.0: VK9X: AX9X,VH9X,VI9X,VJ9X,VK9X,VL9X,VM9X,VN9X,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: =VP6DX; 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: =VP8SGK; South Shetland Islands: 13: 73: SA: -62.08: 58.67: 4.0: VP8/h: CE9,XR9,=HF0POL,=RI1ANF,=RI1ANF/P,=RI1ANU,=RI20ANT,=RI44ANT; South Orkney Islands: 13: 73: SA: -60.60: 45.55: 3.0: VP8/o: =LU1ZA; South Sandwich Islands: 13: 73: SA: -58.43: 26.33: 2.0: VP8/s: =VP8THU; 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,XF0,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,JZ,PK,PL,PM,PN,PO, YB,YC,YD,YE,YF,YG,YH,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; Macedonia: 15: 28: EU: 41.60: -21.65: -1.0: Z3: Z3; 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,=VERSION; 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: -41.83: -173.27: -12.0: ZL: ZK,ZL,ZM,=ZM90DX; 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; Auckland & Campbell Is.: 32: 60: OC: -51.62: -167.62: -12.0: ZL9: ZL9,ZM9; 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.4.3/MANUAL.nl0000644000175000017500000001272212275025546010570 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.4.3/MANUAL.es0000644000175000017500000001344312275025546010567 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 WWV, WCY, "To ALL" y otros mensajes del servidor. ¿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. 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 click 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 click 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 click sobre una URL: 'epiphany %s'. Ejecutar el mozilla-mail al hacer click en una dirección de correo: 'mozilla -compose "to=%s"'. Para destacar ============= 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. 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. Emoticones (smileys) ==================== Existe soporte para un número limitado de emoticones en la ventana de chat: :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Soporte y licencia ================== Xdx es libre y publicado bajo la licencia GNU GPL. Su autor es Joop Stakenborg . Por favor, envie un informe si encuentra fallos o si desea mejoras. xdx-2.4.3/NEWS0000644000175000017500000000034712275025640007752 00000000000000xdx-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.4.3/configure.ac0000644000175000017500000000337012275025675011550 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.4.3], [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_GNU_SOURCE AM_GNU_GETTEXT([external]) dnl Should work with at least the version of gettext in Debian Wheezy AM_GNU_GETTEXT_VERSION([0.18.1]) # 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 AC_TYPE_SIGNAL 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 2.24 PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.24.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.4.3/configure0000755000175000017500000106167712275025714011202 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for Xdx 2.4.3. # # 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.4.3' PACKAGE_STRING='Xdx 2.4.3' 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 XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote 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 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' 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' 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 ;; -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 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.4.3 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] --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.4.3:";; 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') --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --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.4.3 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.4.3, 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.11' # 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; } # Just in case sleep 1 echo timestamp > conftest.file # 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 ( 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 rm -f conftest.file 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 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; } 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 case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " 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}" != 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; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac 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 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.4.3' 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"} # We need awk for the "check" target. 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}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # 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" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # 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 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 8's {/usr,}/bin/sh. touch 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 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 8's {/usr,}/bin/sh. touch 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 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.18 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh 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 `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac 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 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh 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 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh 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 test -n "$localedir" || localedir='${datadir}/locale' 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 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 $as_echo_n "checking for ld used by GCC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac 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 ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do 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 GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$acl_cv_path_LD" 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; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $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 ld's 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 acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _LP64 sixtyfour bits #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "sixtyfour bits" >/dev/null 2>&1; then : gl_cv_solaris_64bit=yes else gl_cv_solaris_64bit=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 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\" 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\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi 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 dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$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"; 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"; 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"; 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 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"; 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"; 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"; 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"; 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"; 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" ;; 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*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; 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$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_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$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_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 CFLocaleCopyCurrent" >&5 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } if ${gt_cv_func_CFLocaleCopyCurrent+:} 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 () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyCurrent=yes else gt_cv_func_CFLocaleCopyCurrent=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_CFLocaleCopyCurrent" >&5 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = 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 $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; 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 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 int main () { /* 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 const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; 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, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } /* 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 const char input[] = "\263"; char buf[10]; 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, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #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 const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; 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, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes else am_cv_func_iconv_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 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\" 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\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi 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 dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$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"; 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"; 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"; 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 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"; 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"; 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"; 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"; 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"; 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" ;; 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*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; 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$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_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$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_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 $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; 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 $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; 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" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.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+-2.0 >= 2.24.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+-2.0 >= 2.24.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.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+-2.0 >= 2.24.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+-2.0 >= 2.24.0" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24.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+-2.0 >= 2.24.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 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.4.3, 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.4.3 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" ac_aux_dir="$ac_aux_dir" # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval '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"" || { # Autoconf 2.62 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. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "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" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/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"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval '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.4.3/m4/0000755000175000017500000000000012275026161007646 500000000000000xdx-2.4.3/m4/iconv.m40000644000175000017500000001653712275025675011173 00000000000000# iconv.m4 serial 11 (gettext-0.18.1) dnl Copyright (C) 2000-2002, 2007-2010 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_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_TRY_LINK will then fail, the second AC_TRY_LINK 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_TRY_LINK([#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_TRY_LINK([#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, HP-UX 11.11, Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi AC_TRY_RUN([ #include #include int main () { /* 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 const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; 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, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } /* 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 const char input[] = "\263"; char buf[10]; 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, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #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 const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; 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, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) 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])]], [[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_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || 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]) AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) fi ]) xdx-2.4.3/m4/ax_cflags_warn_all.m40000644000175000017500000001167112275025546013652 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.4.3/m4/lib-prefix.m40000644000175000017500000002042212275025675012102 00000000000000# lib-prefix.m4 serial 7 (gettext-0.18) dnl Copyright (C) 2001-2005, 2008-2010 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_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) 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_LIB_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 variable acl_libdirstem, containing the basename of the libdir, either dnl "lib" or "lib64" or "lib/64", dnl - a variable acl_libdirstem2, as a secondary possible value for dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. dnl On 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. We determine dnl the compiler's default mode by looking at the compiler's library search dnl path. If at least one of its elements ends in /lib64 or points to a dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. dnl Otherwise we use the default, 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]) acl_libdirstem=lib acl_libdirstem2= 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. AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], [AC_EGREP_CPP([sixtyfour bits], [ #ifdef _LP64 sixtyfour bits #endif ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ]) if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ]) xdx-2.4.3/m4/lib-link.m40000644000175000017500000010020212275025675011535 00000000000000# lib-link.m4 serial 21 (gettext-0.18) dnl Copyright (C) 2001-2010 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.54]) 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],[translit([$1],[./-], [___])]) pushdef([NAME],[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],[translit([$1],[./-], [___])]) pushdef([NAME],[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_TRY_LINK([$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_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [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],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [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],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl Autoconf >= 2.61 supports dots in --with options. pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)]) 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(P_A_C_K[-prefix], [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]P_A_C_K[[-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\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi 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 dir="$additional_libdir" 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"; 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"; 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"; 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"; 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 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"; 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"; 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"; 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"; 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"; 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" ;; 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*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_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$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; 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$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_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$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_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([P_A_C_K]) 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"; 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"; 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.4.3/m4/ax_append_flag.m40000644000175000017500000000530412275025546012770 00000000000000# =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_append_flag.html # =========================================================================== # # SYNOPSIS # # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) # # DESCRIPTION # # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space # added in between. # # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly # FLAG. # # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. # # LICENSE # # Copyright (c) 2008 Guido U. Draheim # 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.4.3/m4/intlmacosx.m40000644000175000017500000000457512275025705012227 00000000000000# intlmacosx.m4 serial 3 (gettext-0.18) dnl Copyright (C) 2004-2010 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 can be used in projects which are not available under dnl the GNU General Public License or the GNU Library 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 Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on MacOS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in MacOS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#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 MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in MacOS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFLocaleCopyCurrent();], [gt_cv_func_CFLocaleCopyCurrent=yes], [gt_cv_func_CFLocaleCopyCurrent=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyCurrent = yes; then AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) xdx-2.4.3/m4/po.m40000644000175000017500000004461612275025675010472 00000000000000# po.m4 serial 17 (gettext-0.18) dnl Copyright (C) 1995-2010 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 can be used in projects which are not available under dnl the GNU General Public License or the GNU Library 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 Library General Public License, and the rest of the GNU dnl gettext package 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.50]) 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([AM_PROG_MKDIR_P])dnl defined by automake 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.18]) 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 `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) 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 Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) 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" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/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"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval '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. But hide it # from automake < 1.5. eval '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" 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" <&1 conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL([acl_cv_path_LD], [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do 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 GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT([$LD]) else AC_MSG_RESULT([no]) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) xdx-2.4.3/m4/progtest.m40000644000175000017500000000557312275025675011722 00000000000000# progtest.m4 serial 6 (gettext-0.18) dnl Copyright (C) 1996-2003, 2005, 2008-2010 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 can be used in projects which are not available under dnl the GNU General Public License or the GNU Library 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 Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 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 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh 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.4.3/m4/Makefile.in0000644000175000017500000002530612275025717011647 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } 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 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 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/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) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = 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_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ 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 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@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ 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@ 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@ 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 iconv.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 .PRECIOUS: 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__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 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 TAGS: ctags: CTAGS CTAGS: distdir: $(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 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 uninstall uninstall-am # 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.4.3/m4/gettext.m40000644000175000017500000003513212275025675011531 00000000000000# gettext.m4 serial 63 (gettext-0.18) dnl Copyright (C) 1995-2010 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 can be used in projects which are not available under dnl the GNU General Public License or the GNU Library 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 Library General Public License, and the rest of the GNU dnl gettext package 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 can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. 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). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. 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], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) 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], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) 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 only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on MacOS 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_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], [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_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [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_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [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.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $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 If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi 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 configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST([DATADIRNAME]) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST([INSTOBJEXT]) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST([GENCAT]) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST([INTLOBJS]) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) ]) 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], []) xdx-2.4.3/m4/nls.m40000644000175000017500000000231512275025675010636 00000000000000# nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 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 dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library 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 Library General Public License, and the rest of the GNU dnl gettext package 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.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.4.3/m4/Makefile.am0000644000175000017500000000031212275025675011627 00000000000000## Please update this variable if any new macros are created/added EXTRA_DIST = gettext.m4 iconv.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.4.3/gnuplot/0000755000175000017500000000000012275026160011015 500000000000000xdx-2.4.3/gnuplot/wwv.gnuplot0000644000175000017500000000323412275025546013203 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 Library 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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.4.3/xdx.1.in0000644000175000017500000000346512275025640010551 00000000000000.\" .TH "XDX" "1" "@PACKAGE_STRING@" "Joop Stakenborg" "Hamradio" .SH "NAME" @PACKAGE_NAME@ \- TCP/IP DX-cluster client for Amateur Radio .SH SYNOPSIS .B @PACKAGE@ [\fIOPTION\fR]... .SH "DESCRIPTION" \fB@PACKAGE_NAME@\fR is a GUI DX-cluster client which shows a list with DX announcements and a separate text widget with WWV, WCY, "To ALL" and other server messages in a single Gtk+ window. DX Cluster hosts are remembered between sessions. .SH OPTIONS Here is a summary of the supported options: .TP .B \-c, \-\-cty_dat=path/to/cty.dat Set path for desired country file. .TP .B \-h, \-\-help Print short \fB@PACKAGE@\fP usage message detailing available options and exit. .TP .B \-V, \-\-version Print @PACKAGE_NAME@ version and short copyright information and exit. .SH "ENVIRONMENT" Instead of the \fB\-c\fP or \fB\-\-cty_dat\fP command line options, @PACKAGE_NAME@ will honor the \fBXDX_CTY\fP environment variable. However, when the command line option is given the environment varriable will be ignored. .SH "FILES" @PACKAGE_NAME@ will look for the country file in the preferences directory, normally \fI$HOME/.@PACKAGE@\fP, if a path is not given on the command line or the \fBXDX_CTY\fP environment variable is not set. This is a convenient way to keep an up-to-date or custom \fIcty.dat\fP for use just with @PACKAGE_NAME@. .SH "NOTES" Updated country files are available from: \fIhttp://www.country-files.com/cty/cty.dat\fP .PP Development is currently hosted at: \fI@PACKAGE_URL@\fP @PACKAGE_NAME@ has been translated into several languages. More translations are welcome. Please contact the maintainer for details. .SH "BUGS" @PACKAGE_NAME@ has a new maintainer, Nate Bargmann, N0NB. Please report bugs to \fI<@PACKAGE_BUGREPORT@>\fP. .SH "SEE ALSO" Select Help->Manual after starting @PACKAGE_NAME@ for a full manual. xdx-2.4.3/aclocal.m40000644000175000017500000012332412275025713011115 00000000000000# generated automatically by aclocal 1.11.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 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_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 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # 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. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- 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 ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # 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]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- 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 ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- 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 ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # 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 $1]) _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 ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 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. # serial 1 # 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.11' 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.11.6], [], [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.11.6])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, 2003, 2005, 2011 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. # serial 1 # 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], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # 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. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$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, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, # 2010, 2011 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. # serial 12 # 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", "GCJ", or "OBJC". # 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 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" 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 8's {/usr,}/bin/sh. touch 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, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) 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, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # 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. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 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. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _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. FIXME. This creates each `.P' file that we will # 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" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 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. # serial 16 # 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. # 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.62])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], [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], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [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([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. 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)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl 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 ]) 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, 2003, 2005, 2008, 2011 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. # serial 1 # 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}" != 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, 2005 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. # serial 2 # 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, 2002, 2003, 2005, 2009 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. # serial 4 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # 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. # serial 6 # 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 supports --run. # If it does, 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 case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006, 2011 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. # serial 1 # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 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. # serial 5 # _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])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # 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. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # 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 ( 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 rm -f conftest.file 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 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)]) # Copyright (C) 2009, 2011 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. # serial 2 # 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], [ --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0')]) 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, 2003, 2005, 2011 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. # serial 1 # 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, 2008, 2010 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. # serial 3 # _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, 2005, 2012 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. # serial 2 # _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}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. 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/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.4.3/po/0000755000175000017500000000000012275026166007751 500000000000000xdx-2.4.3/po/pl.po0000644000175000017500000002541612275026055010651 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. # Boguslaw Ciastek SQ5TB , 2004. # # msgid "" msgstr "" "Project-Id-Version: xdx 2.0\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2014-02-06 18:43-0600\n" "PO-Revision-Date: 2006-05-16 23:19+0200\n" "Last-Translator: Boguslaw Ciastek \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-2\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 "TCP/IP DX cluster i klient czat ON4KST dla radioamatorw" #: src/gui.c:116 msgid "_Program" msgstr "_Program" #: src/gui.c:117 msgid "_Host" msgstr "_Host" #: src/gui.c:118 msgid "_Settings" msgstr "_Ustawienia" #: src/gui.c:119 msgid "H_elp" msgstr "P_omoc" #: src/gui.c:120 msgid "Highlights" msgstr "Wyrnianie" #: src/gui.c:122 msgid "Quit" msgstr "Zakocz" #: src/gui.c:124 msgid "Connect..." msgstr "Pocz..." #: src/gui.c:126 msgid "Disconnect" msgstr "Rozcz" #: src/gui.c:128 msgid "Connection Log" msgstr "Historia pocze" #: src/gui.c:130 msgid "Preferences..." msgstr "Preferencje..." #: src/gui.c:132 msgid "Manual" msgstr "Podrcznik" #: src/gui.c:134 msgid "About" msgstr "O programie" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Ponowne czenie" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Panel czat" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Bd podczas wczytywania ikony: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Nadawca" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Uwagi" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Czas" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Info" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "" #: src/gui.c:425 msgid "Sound" msgstr "Dwik" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Wprowad wyrniane sowo" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "cznie z komunikatami [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Wcz/wycz dwik [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "" #: src/gui.c:1052 #, fuzzy msgid "xdx - edit function key" msgstr "xdx - otwrz poczenie" #: src/gui.c:1058 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Znak uywany do zalogowania" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - zakocz poczenie" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Zakoczy poczenie z %s ?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Poczenie zakoczone" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - podrcznik" #. 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:89 msgid "MANUAL" msgstr "MANUAL.pl" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - otwrz poczenie" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "Nazwa _hosta" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Port" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - historia pocze" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Wybierz czcionk" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "Soce wieci nad odzi" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - preferencje" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "Oglne" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Dane wyjciowe" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Czcionki" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Kolory" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Twj znak" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Wcz automatyczne logowanie" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Polecenia" #: src/gui_settingsdialog.c:302 msgid "Comma separated list of commands to send at login" msgstr "Oddzielona przecinkami lista polece do wysania po poczeniu." #: src/gui_settingsdialog.c:304 msgid "Callsign to be used for login" msgstr "Znak uywany do zalogowania" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Logowanie" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Znak" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Aktywuj hamlib" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Polecenie dla rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" msgstr "" "Gdy podwjnie klikniesz na spocie DX, ustawia czstotliwo w twoim radiu " "uywajc rigctl (%d = czstotliwo otrzymana ze spotu DX)" #: src/gui_settingsdialog.c:375 msgid "Web browser" msgstr "Przegldarka internetowa" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Program pocztowy" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Odtwarzacz dwiku" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programy" #: src/gui_settingsdialog.c:397 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "" "Przegldarka internetowa uruchamiana po klikniciu adresu www (%s = adres)" #: src/gui_settingsdialog.c:399 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Program pocztowy uruchamiany po klikniciu adresu pocztowego (%s = adres " "pocztowy)" #: src/gui_settingsdialog.c:401 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Program uywany do odtwarzania dwikw (%s = plik dwikowy)" #: src/gui_settingsdialog.c:415 msgid "Echo sent text to the screen" msgstr "Powtarzaj wysany tekst na ekranie" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Wysyaj pakiety podtrzymujce (przeczytaj podrcznik)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Kolumny" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Kolumny pokazywane na ekranie" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Zapisz spoty DX" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Zapisz WCY/WWV (informacje o propagacji)" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Zapisz \"To all\" (wiadomoci do wszystkich)" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Zapisz WX (informacje pogodowe)" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Zapisywanie" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Czcionka dla wiadomoci DX" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Wybierz czcionk dla _DX" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Czcionka dla pozostaych wiadomoci" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Wybierz czcionk dla _pozostaych" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Podwietlanie" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Kolory uywane przy wyrnianiu" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Kolor %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Kolory w oknie rozmw" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Komunikat" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Wysany tekst" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Witamy w %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Nawizywanie poczenia z %s..." #: src/net.c:124 #, c-format msgid "Resolve failed: %s" msgstr "Nawizanie poczenia nieudane: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "czenie z: %s" #: src/net.c:172 #, c-format msgid "Connected to %s" msgstr "Poczony z %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Poczenie zakoczone, ponowna prba poczenia za 10 sekund" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Poczenie zakoczone przez zdalny host." #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Poczenie zakoczone przez zdalny host (0 bajtw odebranych)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Nieudana prba zapisu: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Nic nie wysano, nie jeste poczony(a)" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Uruchamianie: %s" #~ msgid "Fork has failed: %s" #~ msgstr "Nieudana prba 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.4.3/po/LINGUAS0000644000175000017500000000010412275025546010712 00000000000000# Set of available languages. en@quot en@boldquot de nl fr es pl pt xdx-2.4.3/po/fr.po0000644000175000017500000002435412275026055010645 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: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "_Programme" #: src/gui.c:117 msgid "_Host" msgstr "_Hôte" #: src/gui.c:118 msgid "_Settings" msgstr "Para_mètres" #: src/gui.c:119 msgid "H_elp" msgstr "_Aide" #: src/gui.c:120 msgid "Highlights" msgstr "Mises en évidence" #: src/gui.c:122 msgid "Quit" msgstr "_Quitter" #: src/gui.c:124 msgid "Connect..." msgstr "_Connecter..." #: src/gui.c:126 msgid "Disconnect" msgstr "_Déconnecter" #: src/gui.c:128 msgid "Connection Log" msgstr "_Journal de connexion" #: src/gui.c:130 msgid "Preferences..." msgstr "_Préférences..." #: src/gui.c:132 msgid "Manual" msgstr "_Manuel" #: src/gui.c:134 msgid "About" msgstr "_À propos" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Reconnexion _automatique" #: src/gui.c:146 msgid "Chat sidebar" msgstr "_Barre latérale de messagerie instantannée" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Erreur lors du chargement de l'icône : %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Spotter" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Commentaires" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Heure" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Info" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "" #: src/gui.c:425 msgid "Sound" msgstr "Sons" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Entrer un mot à mettre en évidence" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Inclure l'invite [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Activer/désactiver les sons [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "" #: src/gui.c:1052 #, fuzzy msgid "xdx - edit function key" msgstr "xdx - connexion établie" #: src/gui.c:1058 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Indicatif à utiliser lors de la connexion" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - ferme la connexion" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Fermer la connexion vers %s ?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Connexion fermée" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - à propos" #. 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:89 msgid "MANUAL" msgstr "MANUAL.fr" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - connexion établie" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "Nom d'_hôte" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Port" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - journal de connexion" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Choisir une police" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "Que pensez-vous de cette police ?" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - préférences" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "Général" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Sortie" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Polices" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Couleurs" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Votre indicatif" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Activer la connexion automatique" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Commandes" #: src/gui_settingsdialog.c:302 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:304 msgid "Callsign to be used for login" msgstr "Indicatif à utiliser lors de la connexion" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Connexion" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Indicatif" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Activer la hamlib" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Commande pour rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" 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:375 msgid "Web browser" msgstr "Navigateur internet" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Programme de gestion du courriel" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Reproduction du son" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programmes" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, 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:415 msgid "Echo sent text to the screen" msgstr "Envoyer le texte émis à l'écran (« écho »)" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Envoyer des paquets de maintien de lien (lire le manuel)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Colonnes" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Colonnes à afficher sur l'écran" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Sauvegarder les spots DX" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Sauvegarder WCY/WWV" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Sauvegarder « To all »" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Sauvegarder WX" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Enregistrement" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Polices pour les messages de DX" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Police du _DX" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Police pour les autres messages" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Autres polices" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Mise en évidence" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Couleurs à utiliser pour la mise en évidence" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Couleur %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Couleurs pour la fenêtre de messagerie instantnnée" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Invite" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Texte envoyé" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Bienvenue sur %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Résolution de %s en cours..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Connecté à %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Connexion fermée, essai de reconnexion dans 10 secondes" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Connexion fermée par l'hôte distant" #: src/net.c:308 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:364 #, c-format msgid "Write failed: %s" msgstr "Erreur d'écriture : %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Rien à envoyer, vous n'êtes pas connecté" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Démarrage en cours : %s" #~ msgid "Fork has failed: %s" #~ msgstr "Erreur de fork : %s" xdx-2.4.3/po/en@boldquot.po0000644000175000017500000002560412275026054012510 00000000000000# English translations for xdx package. # Copyright (C) 2014 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Automatically generated, 2014. # # 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 # http://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.4.3\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2014-02-06 18:43-0600\n" "PO-Revision-Date: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "_Program" #: src/gui.c:117 msgid "_Host" msgstr "_Host" #: src/gui.c:118 msgid "_Settings" msgstr "_Settings" #: src/gui.c:119 msgid "H_elp" msgstr "H_elp" #: src/gui.c:120 msgid "Highlights" msgstr "Highlights" #: src/gui.c:122 msgid "Quit" msgstr "Quit" #: src/gui.c:124 msgid "Connect..." msgstr "Connect..." #: src/gui.c:126 msgid "Disconnect" msgstr "Disconnect" #: src/gui.c:128 msgid "Connection Log" msgstr "Connection Log" #: src/gui.c:130 msgid "Preferences..." msgstr "Preferences..." #: src/gui.c:132 msgid "Manual" msgstr "Manual" #: src/gui.c:134 msgid "About" msgstr "About" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Auto Reconnect" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Chat sidebar" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Error loading icon: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Spotter" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Remarks" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Time" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Info" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "Country" #: src/gui.c:425 msgid "Sound" msgstr "Sound" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Enter a word to highlight" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Include prompt [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Enable/disable sound [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "Right click to edit" #: src/gui.c:1052 msgid "xdx - edit function key" msgstr "xdx - edit function key" #: src/gui.c:1058 #, c-format msgid "Command to be used for F%d" msgstr "Command to be used for F%d" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - close connection" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Close connection to %s ?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Connection closed" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - manual" #. 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:89 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - open connection" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "_Hostname" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Port" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - connection log" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Select a font" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "How about this font?" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - preferences" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "General" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Fonts" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Colors" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Your callsign" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Enable autologin" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Commands" #: src/gui_settingsdialog.c:302 msgid "Comma separated list of commands to send at login" msgstr "Comma separated list of commands to send at login" #: src/gui_settingsdialog.c:304 msgid "Callsign to be used for login" msgstr "Callsign to be used for login" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Callsign" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Enable hamlib" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Command for rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" msgstr "" "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)" #: src/gui_settingsdialog.c:375 msgid "Web browser" msgstr "Web browser" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Mail program" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Sound playing" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programs" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Program used to play sound (%s = sound file)" #: src/gui_settingsdialog.c:415 msgid "Echo sent text to the screen" msgstr "Echo sent text to the screen" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Send keepalive packets (read the manual)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Columns" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Columns to show on the screen" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Save DX spots" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Save WCY/WWV" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Save “To all”" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Save WX" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Saving" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Font for DX messages" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Select _DX Font" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Font for other messages" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Select _Other Fonts" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Highlighting" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Colors to use for highlighting" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Color %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Colors for the chat window" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Sent text" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Welcome to %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Resolving %s..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Connected to %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Connection closed, trying reconnect in 10 seconds" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Connection closed by remote host" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Connection closed by remote host (0 bytes received)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Write failed: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Nothing to send, you are not connected" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Cannot read cty.dat in %s\n" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "Loading %s\n" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Starting: %s" xdx-2.4.3/po/en@quot.gmo0000644000175000017500000001424212275026056012011 00000000000000b,<HIQWfo   1> p       3 1J |       5 J b h p v }      B 1 &8 _ f ,u           ' . > (R {   D  7 <J   -DY q~f'/5DMk 1Na|  31(Zb | (@FNT [ hs  B&=D,S    (4 ]g m{ D 7 ,   &; S`v8<b>O^23a`%6Q!C4+IF#VPGJ;U :TWD$/A,\LE70"1M9XN  @ .KS&[]_-Z '?5YR)=HB*(%s: %s AboutAuto ReconnectCallsignCallsign to be used for loginCannot read cty.dat in %s Chat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - edit function keyxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.4.3 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 PO-Revision-Date: 2014-02-06 18:43-0600 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 AboutAuto ReconnectCallsignCallsign to be used for loginCannot read cty.dat in %s Chat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - edit function keyxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.xdx-2.4.3/po/pl.gmo0000644000175000017500000001401712275026057011012 00000000000000Z $+Fem1   ' 3H 1|      . H _ t          B O &V }  ,         ) 1 8 H (\    7           +ASdm  7@G]}?   *<(R={<":Wf"#   ,8 Qr w R (#2=A "*(G gs!5  %*JC  9C IV\ eqUS6D,)@W*QRN:G23/%459HJM 7#+ ZLY E&FOXK$-.I"8>AVTBC'(!;0P 1?<= AboutAuto ReconnectCallsignCallsign to be used for loginChat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 PO-Revision-Date: 2006-05-16 23:19+0200 Last-Translator: Boguslaw Ciastek Language-Team: Polish Language: pl MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit O programiePonowne czenieZnakZnak uywany do zalogowaniaPanel czatZakoczy poczenie z %s ?Kolor %dKoloryKolory w oknie rozmwKolory uywane przy wyrnianiuKolumnyKolumny pokazywane na ekranieOddzielona przecinkami lista polece do wysania po poczeniu.Polecenie dla rigctlPoleceniaPocz...Poczony z %sczenie z: %sHistoria poczePoczenie zakoczonePoczenie zakoczone przez zdalny host.Poczenie zakoczone przez zdalny host (0 bajtw odebranych)Poczenie zakoczone, ponowna prba poczenia za 10 sekundTworzenie katalogu ~/.%sRozczPowtarzaj wysany tekst na ekranieWcz automatyczne logowanieAktywuj hamlibWcz/wycz dwik [Ctrl+%d]Wprowad wyrniane sowoBd podczas wczytywania ikony: %sCzcionka dla wiadomoci DXCzcionka dla pozostaych wiadomociCzcionkiOglneP_omocHamlibPodwietlanieWyrnianieSoce wieci nad odzicznie z komunikatami [Ctrl+%d]InfoLogowanieMANUAL.plProgram pocztowyProgram pocztowy uruchamiany po klikniciu adresu pocztowego (%s = adres pocztowy)PodrcznikNic nie wysano, nie jeste poczony(a)Dane wyjciowePreferencje...Program uywany do odtwarzania dwikw (%s = plik dwikowy)ProgramyKomunikatZakoczUwagiNawizanie poczenia nieudane: %sNawizywanie poczenia z %s...Zapisz "To all" (wiadomoci do wszystkich)Zapisz spoty DXZapisz WCY/WWV (informacje o propagacji)Zapisz WX (informacje pogodowe)ZapisywanieWybierz czcionk dla _DXWybierz czcionk dla _pozostaychWysyaj pakiety podtrzymujce (przeczytaj podrcznik)Wysany tekstDwikOdtwarzacz dwikuNadawcaUruchamianie: %sCzasPrzegldarka internetowaPrzegldarka internetowa uruchamiana po klikniciu adresu www (%s = adres)Witamy w %sGdy podwjnie klikniesz na spocie DX, ustawia czstotliwo w twoim radiu uywajc rigctl (%d = czstotliwo otrzymana ze spotu DX)Nieudana prba zapisu: %sTwj znak_HostNazwa _hosta_Port_Program_Ustawieniaxdx - Wybierz czcionkxdx - zakocz poczeniexdx - historia poczexdx - podrcznikxdx - otwrz poczeniexdx - preferencje~/.%s nie jest katalogiem.xdx-2.4.3/po/nl.gmo0000644000175000017500000001432312275026056011007 00000000000000^  5B[dk1 + 4 ? O a p 3 1   + 6 S d r          " 7 P U [ b Bo  &   , # , 3 8 @ S c w     (   " / 4 7@ x   , 2<B KUi | # &+R'[:$  !:I]4r8-EYj.  #,29AIc} O,' .I<    '2:N.e < .   3LaXV8G.+C[,UQ<!J451'67;KMP 9%- ZTO] H(IR\N=& /0L$:ADYWEF)^*#>2S"3B?@ AboutAuto ReconnectCallsignCallsign to be used for loginChat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - edit function keyxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 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); InfoAutomatisch opnieuw verbindenRoeplettersRoepletters te gebruiken voor loginChat zijvensterVerbinding naar %s sluiten ?Kleur %dKleurenKleuren voor het chat vensterKleuren te gebruiken voor het opvallenKolommenKolommen die te zien zijn op het schermCommando's te versturen na login gescheiden door een kommaAanroepen van rigctlCommando dat gebruikt wordt voor F%dCommando'sVerbinden...Verbonden met %sVerbinding maken met: %sVerbindingslogVerbinding geslotenVerbinding verbrokenVerbinding verbroken door server (0 bytes ontvangen)Verbinding verbroken, opnieuw verbinden over 10 secondenLandMaken van ~/.%s bestandsmap.Verbinding verbrekenVerzonden 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: %sLettertype voor DX berichtenLettertype voor andere berichtenLettertypesAlgemeen_HulpHamlibKleurenKleurenWat 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)HandboekKan niets versturen, je hebt geen verbindingOutputVoorkeuren...Programma dat gebruikt wordt om geluid af te spelen (%s = geluidsbestand)Programma'sPromptAfsluitenOpmerkingenResolver 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 %sWanneer je dubbelklikt op een dx-spot zal dit commando de frequentie van je ontvanger veranderen met rigctl (%d = de frequentie van de dx-spot)Schrijven faalt: %sUw roepletters_Station_Hostnaam_Poort_Programma_Instellingenxdx - Selekteer een lettertypexdx - verbinding sluitenxdx - verbindingslogxdx - functietoets veranderen xdx - handboekxdx - verbinding openenxdx - voorkeuren~/.%s is geen bestandsmap.xdx-2.4.3/po/POTFILES.in0000644000175000017500000000045412275025546011452 00000000000000# List of source files containing translable strings. src/gui_aboutdialog.c src/gui.c src/gui_closedialog.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.4.3/po/de.gmo0000644000175000017500000001403012275026056010761 00000000000000^ 5 P]v1 + 4 ? O a p 3 1   + 6 S d r          " 7 P U a g n B{  &   , / 8 ? D L _ o     (    & . ; @ 7L  *8 >HN Wau rci } 19LN  (<8=u # #:Yx   &, 3PA*5 # (4GWk~  1!'7 ?J O@[t#@O U_ eo~YW9H/+D[,VR=!K562'78< LNQ :B%-^P] I(JS\O>& 01M$;EZXFG)U*.#?3T"4C@A AboutAuto ReconnectCallsignCallsign to be used for loginCannot read cty.dat in %s Chat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.4.1 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 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); AboutAutom. NeuverbindenRufzeichenRufzeichen fuer das LoginKann cty.dat in %s nicht lesen Chat sidebarVerbindung zu %s schliessen?Farbe %dFarbenFarben fuer das Chat-FensterFarben zur HervorhebungSpaltenanzuzeigende SpaltenListe von Kommandos, die beim Login gesendet werden (durch Kommata getrennt)Kommando fuer rigctlKommandosVerbinden...Verbunden mit %sVerbinde mit %sVerbindungs LogVerbindung geschlossenVerbindung durch Remote Host geschlossenVerbindung durch Remote Host geschlossen (0 bytes empfangen)Verbindung geschlossen, versuche Neuverbindung in 10 SekundenLandLege Verzeichnis ~/.%s an.Trennen...Echo sendet Text auf den BildschirmAutologin erlaubenHamlib nutzenSound an/aus [Ctrl+%d]Hervorzuhebendes Wort eingebenFehler beim Laden des Icon: %sFont fuer DX NachrichtenFont fuer andere NachrichtenFontsAllgemeinesH_ilfeHamlibHervorhebungHighlightsTesttext zur FontauswahlInclude prompt [Ctrl+%d]InfoLade %s LoginMANUALMail ProgrammMail Programm welches bei Klick auf eine Mail URL (%s = Mail url) zu starten istHandbuchNichts zu senden, Sie sind nicht verbundenOutputPreferences...Programm zum Abspielen eines Sound (%s = Sound Datei)ProgrammePromptQuitBemerkungenResolve failed: %sResolving %s...Right click to editSpeichere "To all"Speichere DX SpotsSpeichere WCY/WWVSpeichere WXSpeichernWaehle _DX FontWaehle andere F_ontsSende Keepalive Pakete (bitte Handbuch nachlesen)Gesendeter TextSoundSound abspielenSpotterStarte: %sZeitWeb BrowserWeb Browser der bei Klick auf eine URL (%s = url) zu starten istWillkommen bei %sDoppelclick auf einen DX-Spot setzt die Frequenz mittels rigctl (%d = Frequenz, die aus dem DX-Spot entnommen wurde)Schreiben fehlgeschlagen: %sIhr Rufzeichen_Host_Hostname_Port_Programm_Einstellungenxdx - Fontauswahlxdx - Verbindung schliessenxdx - Verbindungs Logxdx - Handbuchxdx - Verbindung oeffnenxdx - preferences~/.%s ist kein Verzeichnis.xdx-2.4.3/po/stamp-po0000644000175000017500000000001212275026057011344 00000000000000timestamp xdx-2.4.3/po/en@quot.header0000644000175000017500000000226312275025674012464 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 # http://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.4.3/po/remove-potcdate.sin0000644000175000017500000000066012275025674013507 00000000000000# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # 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.4.3/po/en@quot.po0000644000175000017500000002536212275026053011647 00000000000000# English translations for xdx package. # Copyright (C) 2014 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Automatically generated, 2014. # # 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 # http://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.4.3\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2014-02-06 18:43-0600\n" "PO-Revision-Date: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "_Program" #: src/gui.c:117 msgid "_Host" msgstr "_Host" #: src/gui.c:118 msgid "_Settings" msgstr "_Settings" #: src/gui.c:119 msgid "H_elp" msgstr "H_elp" #: src/gui.c:120 msgid "Highlights" msgstr "Highlights" #: src/gui.c:122 msgid "Quit" msgstr "Quit" #: src/gui.c:124 msgid "Connect..." msgstr "Connect..." #: src/gui.c:126 msgid "Disconnect" msgstr "Disconnect" #: src/gui.c:128 msgid "Connection Log" msgstr "Connection Log" #: src/gui.c:130 msgid "Preferences..." msgstr "Preferences..." #: src/gui.c:132 msgid "Manual" msgstr "Manual" #: src/gui.c:134 msgid "About" msgstr "About" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Auto Reconnect" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Chat sidebar" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Error loading icon: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Spotter" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Remarks" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Time" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Info" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "Country" #: src/gui.c:425 msgid "Sound" msgstr "Sound" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Enter a word to highlight" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Include prompt [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Enable/disable sound [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "Right click to edit" #: src/gui.c:1052 msgid "xdx - edit function key" msgstr "xdx - edit function key" #: src/gui.c:1058 #, c-format msgid "Command to be used for F%d" msgstr "Command to be used for F%d" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - close connection" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Close connection to %s ?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Connection closed" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - manual" #. 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:89 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - open connection" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "_Hostname" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Port" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - connection log" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Select a font" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "How about this font?" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - preferences" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "General" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Fonts" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Colors" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Your callsign" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Enable autologin" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Commands" #: src/gui_settingsdialog.c:302 msgid "Comma separated list of commands to send at login" msgstr "Comma separated list of commands to send at login" #: src/gui_settingsdialog.c:304 msgid "Callsign to be used for login" msgstr "Callsign to be used for login" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Callsign" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Enable hamlib" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Command for rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" msgstr "" "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)" #: src/gui_settingsdialog.c:375 msgid "Web browser" msgstr "Web browser" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Mail program" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Sound playing" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programs" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Program used to play sound (%s = sound file)" #: src/gui_settingsdialog.c:415 msgid "Echo sent text to the screen" msgstr "Echo sent text to the screen" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Send keepalive packets (read the manual)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Columns" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Columns to show on the screen" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Save DX spots" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Save WCY/WWV" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Save “To all”" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Save WX" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Saving" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Font for DX messages" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Select _DX Font" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Font for other messages" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Select _Other Fonts" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Highlighting" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Colors to use for highlighting" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Color %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Colors for the chat window" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Sent text" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Welcome to %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Resolving %s..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Connected to %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Connection closed, trying reconnect in 10 seconds" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Connection closed by remote host" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Connection closed by remote host (0 bytes received)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Write failed: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Nothing to send, you are not connected" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Cannot read cty.dat in %s\n" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "Loading %s\n" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Starting: %s" xdx-2.4.3/po/Makevars0000644000175000017500000000447212275025546011375 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.4.3/po/es.po0000644000175000017500000002373512275026055010647 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: 2014-02-06 18:43-0600\n" "PO-Revision-Date: 2006-04-23 12:12+0100\n" "Last-Translator: Baltasar Perez \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:116 msgid "_Program" msgstr "_Programa" #: src/gui.c:117 msgid "_Host" msgstr "_Servidor" #: src/gui.c:118 msgid "_Settings" msgstr "_Configuración" #: src/gui.c:119 msgid "H_elp" msgstr "_Ayuda" #: src/gui.c:120 msgid "Highlights" msgstr "Resaltados" #: src/gui.c:122 msgid "Quit" msgstr "Salir" #: src/gui.c:124 msgid "Connect..." msgstr "Conectar..." #: src/gui.c:126 msgid "Disconnect" msgstr "Desconectar" #: src/gui.c:128 msgid "Connection Log" msgstr "Registro de Conexión" #: src/gui.c:130 msgid "Preferences..." msgstr "Preferencias..." #: src/gui.c:132 msgid "Manual" msgstr "Manual" #: src/gui.c:134 msgid "About" msgstr "Acerca de ..." #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Volver a conectar automáticamente" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Barra lateral de chat" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Error en la carga del icono: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Spotter" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Comentarios" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Hora" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Información" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "" #: src/gui.c:425 msgid "Sound" msgstr "Sonido" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Introduzca la palabra a resaltar" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Incluir prompt [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Habilitar/deshabilitar sonido [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "" #: src/gui.c:1052 #, fuzzy msgid "xdx - edit function key" msgstr "xdx - abrir conexión" #: src/gui.c:1058 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Indicativo a utilizar en el DX-Cluster" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - cerrar conexión" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "¿Cerrar la conexión con %s?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Conexión finalizada" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - manual" #. 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:89 msgid "MANUAL" msgstr "MANUAL.es" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - abrir conexión" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "_Servidor" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Puerto" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - registro de conexión" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Seleccionar una fuente" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "¿Que le parece esta fuente?" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - preferencias" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "General" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Salida" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Fuentes" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Colores" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Su indicativo" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Habilitar autologin" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Comandos" #: src/gui_settingsdialog.c:302 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:304 msgid "Callsign to be used for login" msgstr "Indicativo a utilizar en el DX-Cluster" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Indicativo" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Habilitar hamlib" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Comando para rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" 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:375 msgid "Web browser" msgstr "Navegador Web" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Lector de correo" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Reproductor de sonido" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programas" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, 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:415 msgid "Echo sent text to the screen" msgstr "Eco en la pantalla del texto enviado" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Enviar paquetes \"keepalive\" (leer el manual)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Columnas" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Columnas a mostrar en pantalla" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Guardar spots DX" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Guardar WCY/WWV" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Guardar \"To all\"" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Guardar WX" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Guardando" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Fuente para mensajes DX" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Seleccionar Fuente _DX" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Fuente para otros mensajes" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Seleccionar _Otras Fuentes" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Para destacar" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Colores a utilizar para destacar" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Color %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Colores para la ventana de chat" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Texto enviado" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Bienvenido a %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Resolviendo %s..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Conectado a %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Conexión finalizada, se intentará conectar de nuevo en 10 segundos" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Conexión finalizada por el servidor" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Conexión finalizada por el servidor (0 bytes recibidos)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Fallo de escritura: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Nada para enviar, no está conectado" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Iniciando: %s" #~ msgid "Fork has failed: %s" #~ msgstr "Ha fallado el fork: %s" xdx-2.4.3/po/quot.sed0000644000175000017500000000023112275025674011355 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g xdx-2.4.3/po/fr.gmo0000644000175000017500000001436712275026056011015 00000000000000Z $+Fem1   ' 3H 1|      . H _ t          B O &V }  ,         ) 1 8 H (\    7           +ASym  *,@m 4.! E/u  %98S 2 & $G+l  "?Z _ i s_+(/?A  #3B Q_8n E Pa  "/ 5 @MfUS6D,)@W*QRN:G23/%459HJM 7#+ ZLY E&FOXK$-.I"8>AVTBC'(!;0P 1?<= AboutAuto ReconnectCallsignCallsign to be used for loginChat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 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 _À proposReconnexion _automatiqueIndicatifIndicatif à utiliser lors de la connexion_Barre latérale de messagerie instantannéeFermer la connexion vers %s ?Couleur %dCouleursCouleurs pour la fenêtre de messagerie instantnnéeCouleurs à utiliser pour la mise en évidenceColonnesColonnes à afficher sur l'écranListe de commandes séparées par une virgule à lancer lors du loginCommande pour rigctlCommandes_Connecter...Connecté à %sConnexion à %s en cours_Journal de connexionConnexion 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._DéconnecterEnvoyer 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 : %sPolices pour les messages de DXPolice pour les autres messagesPolicesGénéral_AideHamlibMise en évidenceMises en évidenceQue 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)_ManuelRien à envoyer, vous n'êtes pas connectéSortie_Préférences...Programme à utiliser pour jouer les sons (%s = fichier sonore)ProgrammesInvite_QuitterCommentairesErreur 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 %sLors 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)Erreur d'écriture : %sVotre indicatif_HôteNom d'_hôte_Port_ProgrammePara_mètresxdx - Choisir une policexdx - ferme la connexionxdx - journal de connexionxdx - à proposxdx - connexion établiexdx - préférences~/.%s n'est pas un répertoire.xdx-2.4.3/po/xdx.pot0000644000175000017500000001737612275026052011230 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Joop Stakenborg # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: xdx 2.4.3\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "" #: src/gui.c:117 msgid "_Host" msgstr "" #: src/gui.c:118 msgid "_Settings" msgstr "" #: src/gui.c:119 msgid "H_elp" msgstr "" #: src/gui.c:120 msgid "Highlights" msgstr "" #: src/gui.c:122 msgid "Quit" msgstr "" #: src/gui.c:124 msgid "Connect..." msgstr "" #: src/gui.c:126 msgid "Disconnect" msgstr "" #: src/gui.c:128 msgid "Connection Log" msgstr "" #: src/gui.c:130 msgid "Preferences..." msgstr "" #: src/gui.c:132 msgid "Manual" msgstr "" #: src/gui.c:134 msgid "About" msgstr "" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "" #: src/gui.c:146 msgid "Chat sidebar" msgstr "" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "" #: src/gui.c:425 msgid "Sound" msgstr "" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "" #: src/gui.c:1052 msgid "xdx - edit function key" msgstr "" #: src/gui.c:1058 #, c-format msgid "Command to be used for F%d" msgstr "" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "" #: src/gui_manualdialog.c:70 msgid "xdx - manual" 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:89 msgid "MANUAL" msgstr "" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "" #: src/gui_settingsdialog.c:302 msgid "Comma separated list of commands to send at login" msgstr "" #: src/gui_settingsdialog.c:304 msgid "Callsign to be used for login" msgstr "" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "" #: src/gui_settingsdialog.c:349 #, 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)" msgstr "" #: src/gui_settingsdialog.c:375 msgid "Web browser" msgstr "" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "" #: src/gui_settingsdialog.c:397 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "" #: src/gui_settingsdialog.c:399 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" #: src/gui_settingsdialog.c:401 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "" #: src/gui_settingsdialog.c:415 msgid "Echo sent text to the screen" msgstr "" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "" #: src/net.c:124 #, c-format msgid "Resolve failed: %s" msgstr "" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "" #: src/net.c:172 #, c-format msgid "Connected to %s" msgstr "" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "" #: src/preferences.c:76 #, c-format msgid "Creating ~/.%s directory." msgstr "" #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "" #: src/text.c:1117 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "" xdx-2.4.3/po/es.gmo0000644000175000017500000001372512275026057011013 00000000000000Z $+Fem1   ' 3H 1|      . H _ t          B O &V }  ,         ) 1 8 H (\    7           +ASTm " &%;Ybj G/ 8DSf|$8D4 P$\' 'BJRY ` ny  O-$4Y`Cp  ' 7 BLc,~   @@P    %5Ri US6D,)@W*QRN:G23/%459HJM 7#+ ZLY E&FOXK$-.I"8>AVTBC'(!;0P 1?<= AboutAuto ReconnectCallsignCallsign to be used for loginChat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 PO-Revision-Date: 2006-04-23 12:12+0100 Last-Translator: Baltasar Perez Language-Team: Spanish/Spain Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acerca de ...Volver a conectar automáticamenteIndicativoIndicativo a utilizar en el DX-ClusterBarra lateral de chat¿Cerrar la conexión con %s?Color %dColoresColores para la ventana de chatColores a utilizar para destacarColumnasColumnas a mostrar en pantallaLista de comandos a enviar al entrar al DX-Cluster, separados por comasComando para rigctlComandosConectar...Conectado a %sConectando con: %sRegistro de ConexiónConexió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 segundosCreando el directorio ~/.%sDesconectarEco en la pantalla del texto enviadoHabilitar autologinHabilitar hamlibHabilitar/deshabilitar sonido [Ctrl+%d]Introduzca la palabra a resaltarError en la carga del icono: %sFuente para mensajes DXFuente para otros mensajesFuentesGeneral_AyudaHamlibPara destacarResaltados¿Que le parece esta fuente?Incluir prompt [Ctrl+%d]InformaciónLoginMANUAL.esLector de correoLector de correo a ejecutar al hacer click sobre una dirección (%s = mail url)ManualNada para enviar, no está conectadoSalidaPreferencias...Programa utilizado para reproducir sonidos (%s = fichero de sonido)ProgramasPromptSalirComentariosFallo en la resolución: %sResolviendo %s...Guardar "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 %sCuando haga doble click sobre un spot DX, su equipo se ajustará a la frecuencia del spot utilizando rigctl (%d = frecuencia del spot DX)Fallo de escritura: %sSu indicativo_Servidor_Servidor_Puerto_Programa_Configuraciónxdx - Seleccionar una fuentexdx - cerrar conexiónxdx - registro de conexiónxdx - manualxdx - abrir conexiónxdx - preferencias~/.%s no es un directorioxdx-2.4.3/po/Makefile.in.in0000644000175000017500000003744212275025674012360 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.18 GETTEXT_MACRO_VERSION = 0.18 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 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@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update 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@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: check-macro-version all-@USE_NLS@ all-yes: 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, stamp-po is a nop (i.e. a phony target). # 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 via CVS, and the $(DOMAIN).pot file is not in CVS, # "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. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT 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. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ 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: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_gnu}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ 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): $(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} $${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-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${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: mostlyclean: rm -f remove-potcdate.sed rm -f 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 *.mo 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 stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: 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"; \ 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"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$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-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -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.4.3/po/Rules-quot0000644000175000017500000000340012275025674011674 00000000000000# Special Makefile rules for English message catalogs with quotation marks. 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"; 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) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 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.4.3/po/nl.po0000644000175000017500000002402512275026055010642 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: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "_Programma" #: src/gui.c:117 msgid "_Host" msgstr "_Station" #: src/gui.c:118 msgid "_Settings" msgstr "_Instellingen" #: src/gui.c:119 msgid "H_elp" msgstr "_Hulp" #: src/gui.c:120 msgid "Highlights" msgstr "Kleuren" #: src/gui.c:122 msgid "Quit" msgstr "Afsluiten" #: src/gui.c:124 msgid "Connect..." msgstr "Verbinden..." #: src/gui.c:126 msgid "Disconnect" msgstr "Verbinding verbreken" #: src/gui.c:128 msgid "Connection Log" msgstr "Verbindingslog" #: src/gui.c:130 msgid "Preferences..." msgstr "Voorkeuren..." #: src/gui.c:132 msgid "Manual" msgstr "Handboek" #: src/gui.c:134 msgid "About" msgstr "Info" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Automatisch opnieuw verbinden" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Chat zijvenster" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Fout bij het laden van het programma icoon: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Spotter" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Opmerkingen" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Tijd" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Info" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "Land" #: src/gui.c:425 msgid "Sound" msgstr "Geluid" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Voer een woord in om te kleuren" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Prompt meenemen [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Geluid aan/uit zetten [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "Rechts klikken om te veranderen" #: src/gui.c:1052 msgid "xdx - edit function key" msgstr "xdx - functietoets veranderen\t" #: src/gui.c:1058 #, c-format msgid "Command to be used for F%d" msgstr "Commando dat gebruikt wordt voor F%d" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - verbinding sluiten" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Verbinding naar %s sluiten ?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Verbinding gesloten" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - handboek" #. 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:89 msgid "MANUAL" msgstr "MANUAL.nl" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - verbinding openen" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "_Hostnaam" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Poort" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - verbindingslog" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Selekteer een lettertype" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "Wat denk je van dit font?" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - voorkeuren" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "Algemeen" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Lettertypes" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Kleuren" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Uw roepletters" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Autologin aanzetten" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Commando's" #: src/gui_settingsdialog.c:302 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:304 msgid "Callsign to be used for login" msgstr "Roepletters te gebruiken voor login" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Roepletters" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Hamlib aanzetten" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Aanroepen van rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" 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:375 msgid "Web browser" msgstr "Web browser" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Mail programma" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Geluid afspelen" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programma's" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, 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:415 msgid "Echo sent text to the screen" msgstr "Verzonden berichten naar het scherm kopiëren" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Verbinding in stand houden (lees het handboek)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Kolommen" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Kolommen die te zien zijn op het scherm" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "DX spots opslaan" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "WCY/WWV opslaan" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "\"To all\" opslaan" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "WX opslaan" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Opslaan" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Lettertype voor DX berichten" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Kies _DX lettertype" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Lettertype voor andere berichten" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Kies A_nder lettertype" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Kleuren" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Kleuren te gebruiken voor het opvallen" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Kleur %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Kleuren voor het chat venster" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Verzonden text" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Welkom bij %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Opzoeken van %s..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Verbonden met %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Verbinding verbroken, opnieuw verbinden over 10 seconden" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Verbinding verbroken" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Verbinding verbroken door server (0 bytes ontvangen)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Schrijven faalt: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Kan niets versturen, je hebt geen verbinding" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Starten van: %s" #~ msgid "Function keys bar" #~ msgstr "Functietoets werkbalk" #~ msgid "Fork has failed: %s" #~ msgstr "Fork faalt: %s" xdx-2.4.3/po/en@boldquot.header0000644000175000017500000000247112275025674013326 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 # http://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.4.3/po/de.po0000644000175000017500000002363012275026055010622 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: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "_Programm" #: src/gui.c:117 msgid "_Host" msgstr "_Host" #: src/gui.c:118 msgid "_Settings" msgstr "_Einstellungen" #: src/gui.c:119 msgid "H_elp" msgstr "H_ilfe" #: src/gui.c:120 msgid "Highlights" msgstr "Highlights" #: src/gui.c:122 msgid "Quit" msgstr "Quit" #: src/gui.c:124 msgid "Connect..." msgstr "Verbinden..." #: src/gui.c:126 msgid "Disconnect" msgstr "Trennen..." #: src/gui.c:128 msgid "Connection Log" msgstr "Verbindungs Log" #: src/gui.c:130 msgid "Preferences..." msgstr "Preferences..." #: src/gui.c:132 msgid "Manual" msgstr "Handbuch" #: src/gui.c:134 msgid "About" msgstr "About" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Autom. Neuverbinden" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Chat sidebar" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Fehler beim Laden des Icon: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Spotter" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Bemerkungen" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Zeit" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Info" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "Land" #: src/gui.c:425 msgid "Sound" msgstr "Sound" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Hervorzuhebendes Wort eingeben" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Include prompt [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Sound an/aus [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "Right click to edit" #: src/gui.c:1052 #, fuzzy msgid "xdx - edit function key" msgstr "xdx - Verbindung oeffnen" #: src/gui.c:1058 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Rufzeichen fuer das Login" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - Verbindung schliessen" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Verbindung zu %s schliessen?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Verbindung geschlossen" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - Handbuch" #. 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:89 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - Verbindung oeffnen" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "_Hostname" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Port" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - Verbindungs Log" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Fontauswahl" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "Testtext zur Fontauswahl" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - preferences" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "Allgemeines" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Fonts" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Farben" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "Ihr Rufzeichen" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Autologin erlauben" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Kommandos" #: src/gui_settingsdialog.c:302 msgid "Comma separated list of commands to send at login" msgstr "" "Liste von Kommandos, die beim Login gesendet werden (durch Kommata getrennt)" #: src/gui_settingsdialog.c:304 msgid "Callsign to be used for login" msgstr "Rufzeichen fuer das Login" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Rufzeichen" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Hamlib nutzen" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Kommando fuer rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" msgstr "" "Doppelclick auf einen DX-Spot setzt die Frequenz mittels rigctl (%d = " "Frequenz, die aus dem DX-Spot entnommen wurde)" #: src/gui_settingsdialog.c:375 msgid "Web browser" msgstr "Web Browser" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Mail Programm" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Sound abspielen" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programme" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Programm zum Abspielen eines Sound (%s = Sound Datei)" #: src/gui_settingsdialog.c:415 msgid "Echo sent text to the screen" msgstr "Echo sendet Text auf den Bildschirm" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Sende Keepalive Pakete (bitte Handbuch nachlesen)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Spalten" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "anzuzeigende Spalten" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Speichere DX Spots" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Speichere WCY/WWV" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Speichere \"To all\"" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Speichere WX" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Speichern" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Font fuer DX Nachrichten" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Waehle _DX Font" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Font fuer andere Nachrichten" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Waehle andere F_onts" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Hervorhebung" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Farben zur Hervorhebung" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Farbe %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Farben fuer das Chat-Fenster" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Gesendeter Text" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Willkommen bei %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Resolving %s..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Verbunden mit %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Verbindung geschlossen, versuche Neuverbindung in 10 Sekunden" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Verbindung durch Remote Host geschlossen" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Verbindung durch Remote Host geschlossen (0 bytes empfangen)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Schreiben fehlgeschlagen: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Nichts zu senden, Sie sind nicht verbunden" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1128 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Kann cty.dat in %s nicht lesen\n" #: src/text.c:1134 #, c-format msgid "Loading %s\n" msgstr "Lade %s\n" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Starte: %s" #~ msgid "Function keys bar" #~ msgstr "Funktionstasten anzeigen" xdx-2.4.3/po/pt.gmo0000644000175000017500000001423112275026057011020 00000000000000_  &/M hu10 C L W g y  3 1 ! ) C N k |          " / : O h m y  B  &   , G P W \ d w      ( * 0 > F S X 7d 1 BP V`f oy Yb jt #.#+1MltJ  1"F5i>&:#K o  / HUdjqP#> V`g ly%  &*A lz~   @   * ERh|ZXI0,E\-WS>"L673(J89= MOR ;C&._Q^ :)KT] P?'!1 2N%<F[YGH*V+/$@4U#5DAB %s: %s AboutAuto ReconnectCallsignCallsign to be used for loginCannot read cty.dat in %s Chat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 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 Acerca deVoltar a ligar automáticamenteIndicativoIndicativo a utilizar no DX-ClusterNão é possivel ler o ficheiro cty.dat em %s Barra lateral de chatFechar a ligação com %s?Côr %dCoresCores para a janela de chatCores a utilizar para destacarColunasColunas a mostrar no ecranLista de comandos a enviar ao entrar no DX-Cluster, separados por virgulasComando para rigctlComandosLigar...Ligado a %sLigando com: %sRegisto de ligaçãoLigaçã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 ~/.%sDesligarEco no ecran do texto enviadoHabilitar autologinHabilitar hamlibHabilitar/desabilitar som [Ctrl+%d]Introduça a palavra a ressaltarErro a carregar o icon: %sFonte para mensagens DXFonte para outras mensagensFontesGeral_AjudaHamlibPara destacarRessaltadosQue 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)ManualNada para enviar, não está ligadoSaídaPreferências...Programa utilizado para reproduzir sons (%s = ficheiro de som)ProgramasPromptSairComentá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 %sQuando 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)Falha de escrita: %sO seu indicativo_Servidor_Servidor_Porta_Programa_Configuraçãoxdx - Seleccionar uma fontexdx - fechar ligaçõesxdx - registo de ligaçãoxdx - manualxdx - abrir ligaçãoxdx - preferências~/.%s não é uma directoriaxdx-2.4.3/po/insert-header.sin0000644000175000017500000000124012275025674013136 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # 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.4.3/po/boldquot.sed0000644000175000017500000000033112275025674012217 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.4.3/po/pt.po0000644000175000017500000002412412275026056010655 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: 2014-02-06 18:43-0600\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:116 msgid "_Program" msgstr "_Programa" #: src/gui.c:117 msgid "_Host" msgstr "_Servidor" #: src/gui.c:118 msgid "_Settings" msgstr "_Configuração" #: src/gui.c:119 msgid "H_elp" msgstr "_Ajuda" #: src/gui.c:120 msgid "Highlights" msgstr "Ressaltados" #: src/gui.c:122 msgid "Quit" msgstr "Sair" #: src/gui.c:124 msgid "Connect..." msgstr "Ligar..." #: src/gui.c:126 msgid "Disconnect" msgstr "Desligar" #: src/gui.c:128 msgid "Connection Log" msgstr "Registo de ligação" #: src/gui.c:130 msgid "Preferences..." msgstr "Preferências..." #: src/gui.c:132 msgid "Manual" msgstr "Manual" #: src/gui.c:134 msgid "About" msgstr "Acerca de" #: src/gui.c:144 msgid "Auto Reconnect" msgstr "Voltar a ligar automáticamente" #: src/gui.c:146 msgid "Chat sidebar" msgstr "Barra lateral de chat" #: src/gui.c:221 #, c-format msgid "Error loading icon: %s" msgstr "Erro a carregar o icon: %s" #: src/gui.c:282 src/gui_settingsdialog.c:445 msgid "Spotter" msgstr "Quem colocou" #: src/gui.c:306 src/gui_settingsdialog.c:453 msgid "Remarks" msgstr "Comentários" #: src/gui.c:314 src/gui_settingsdialog.c:455 msgid "Time" msgstr "Hora" #: src/gui.c:322 src/gui_settingsdialog.c:457 msgid "Info" msgstr "Informação" #: src/gui.c:330 src/gui_settingsdialog.c:459 msgid "Country" msgstr "País" #: src/gui.c:425 msgid "Sound" msgstr "Som" #: src/gui.c:456 src/gui.c:457 src/gui.c:458 src/gui.c:459 src/gui.c:460 #: src/gui.c:461 src/gui.c:462 src/gui.c:463 msgid "Enter a word to highlight" msgstr "Introduça a palavra a ressaltar" #: src/gui.c:465 src/gui.c:467 src/gui.c:469 src/gui.c:471 src/gui.c:473 #: src/gui.c:475 src/gui.c:477 src/gui.c:479 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Incluir prompt [Ctrl+%d]" #: src/gui.c:481 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Habilitar/desabilitar som [Ctrl+%d]" #: src/gui.c:484 src/gui.c:485 src/gui.c:486 src/gui.c:487 src/gui.c:488 #: src/gui.c:489 src/gui.c:490 src/gui.c:491 msgid "Right click to edit" msgstr "Carregue na tecla direita para editar" #: src/gui.c:1052 #, fuzzy msgid "xdx - edit function key" msgstr "xdx - abrir conecção" #: src/gui.c:1058 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Indicativo a utilizar no DX-Cluster" #: src/gui_closedialog.c:72 msgid "xdx - close connection" msgstr "xdx - fechar ligações" #: src/gui_closedialog.c:89 #, c-format msgid "Close connection to %s ?" msgstr "Fechar a ligação com %s?" #: src/gui_closedialog.c:100 msgid "Connection closed" msgstr "Ligação finalizada" #: src/gui_manualdialog.c:70 msgid "xdx - manual" msgstr "xdx - manual" #. 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:89 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:77 msgid "xdx - open connection" msgstr "xdx - abrir ligação" #: src/gui_opendialog.c:97 msgid "_Hostname" msgstr "_Servidor" #: src/gui_opendialog.c:110 msgid "_Port" msgstr "_Porta" #: src/gui_logdialog.c:76 msgid "xdx - connection log" msgstr "xdx - registo de ligação" #: src/gui_settingsdialog.c:134 msgid "xdx - Select a font" msgstr "xdx - Seleccionar uma fonte" #: src/gui_settingsdialog.c:147 msgid "How about this font?" msgstr "Que lhe parece esta fonte?" #: src/gui_settingsdialog.c:240 msgid "xdx - preferences" msgstr "xdx - preferências" #: src/gui_settingsdialog.c:260 src/gui_settingsdialog.c:420 msgid "General" msgstr "Geral" #: src/gui_settingsdialog.c:263 msgid "Output" msgstr "Saída" #: src/gui_settingsdialog.c:266 src/gui_settingsdialog.c:514 msgid "Fonts" msgstr "Fontes" #: src/gui_settingsdialog.c:269 msgid "Colors" msgstr "Cores" #: src/gui_settingsdialog.c:279 msgid "Your callsign" msgstr "O seu indicativo" #: src/gui_settingsdialog.c:289 msgid "Enable autologin" msgstr "Habilitar autologin" #: src/gui_settingsdialog.c:296 msgid "Commands" msgstr "Comandos" #: src/gui_settingsdialog.c:302 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:304 msgid "Callsign to be used for login" msgstr "Indicativo a utilizar no DX-Cluster" #: src/gui_settingsdialog.c:306 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:308 msgid "Callsign" msgstr "Indicativo" #: src/gui_settingsdialog.c:335 msgid "Enable hamlib" msgstr "Habilitar hamlib" #: src/gui_settingsdialog.c:341 msgid "Command for rigctl" msgstr "Comando para rigctl" #: src/gui_settingsdialog.c:346 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:349 #, 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)" 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:375 msgid "Web browser" msgstr "Navegador Web" #: src/gui_settingsdialog.c:382 msgid "Mail program" msgstr "Leitor de correio" #: src/gui_settingsdialog.c:389 msgid "Sound playing" msgstr "Reproductor de som" #: src/gui_settingsdialog.c:394 msgid "Programs" msgstr "Programas" #: src/gui_settingsdialog.c:397 #, 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:399 #, 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:401 #, 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:415 msgid "Echo sent text to the screen" msgstr "Eco no ecran do texto enviado" #: src/gui_settingsdialog.c:418 msgid "Send keepalive packets (read the manual)" msgstr "Enviar pacotes \"keepalive\" (ler no manual)" #: src/gui_settingsdialog.c:435 msgid "Columns" msgstr "Colunas" #: src/gui_settingsdialog.c:437 msgid "Columns to show on the screen" msgstr "Colunas a mostrar no ecran" #: src/gui_settingsdialog.c:499 msgid "Save DX spots" msgstr "Guardar spots DX" #: src/gui_settingsdialog.c:501 msgid "Save WCY/WWV" msgstr "Guardar WCY/WWV" #: src/gui_settingsdialog.c:505 msgid "Save \"To all\"" msgstr "Guardar \"To all\"" #: src/gui_settingsdialog.c:507 msgid "Save WX" msgstr "Guardar WX" #: src/gui_settingsdialog.c:509 msgid "Saving" msgstr "Guardando" #: src/gui_settingsdialog.c:518 msgid "Font for DX messages" msgstr "Fonte para mensagens DX" #: src/gui_settingsdialog.c:521 msgid "Select _DX Font" msgstr "Seleccionar Fonte _DX" #: src/gui_settingsdialog.c:528 msgid "Font for other messages" msgstr "Fonte para outras mensagens" #: src/gui_settingsdialog.c:531 msgid "Select _Other Fonts" msgstr "Seleccionar _Outras Fontes" #: src/gui_settingsdialog.c:543 msgid "Highlighting" msgstr "Para destacar" #: src/gui_settingsdialog.c:547 msgid "Colors to use for highlighting" msgstr "Cores a utilizar para destacar" #: src/gui_settingsdialog.c:559 src/gui_settingsdialog.c:567 #: src/gui_settingsdialog.c:575 src/gui_settingsdialog.c:583 #: src/gui_settingsdialog.c:596 src/gui_settingsdialog.c:604 #: src/gui_settingsdialog.c:612 src/gui_settingsdialog.c:620 #, c-format msgid "Color %d" msgstr "Côr %d" #: src/gui_settingsdialog.c:637 msgid "Colors for the chat window" msgstr "Cores para a janela de chat" #: src/gui_settingsdialog.c:644 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:653 msgid "Sent text" msgstr "Texto enviado" #: src/main.c:425 #, c-format msgid "Welcome to %s" msgstr "Benvindo ao %s" #: src/net.c:118 #, c-format msgid "Resolving %s..." msgstr "Resolvendo %s..." #: src/net.c:124 #, 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:172 #, c-format msgid "Connected to %s" msgstr "Ligado a %s" #: src/net.c:285 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Ligação finalizada, se tentará ligar de novo em 10 segundos" #: src/net.c:293 msgid "Connection closed by remote host" msgstr "Ligação finalizada pelo servidor" #: src/net.c:308 msgid "Connection closed by remote host (0 bytes received)" msgstr "Ligção finalizada pelo servidor (0 bytes recebidos)" #: src/net.c:364 #, c-format msgid "Write failed: %s" msgstr "Falha de escrita: %s" #: src/net.c:377 msgid "Nothing to send, you are not connected" msgstr "Nada para enviar, não está ligado" #: src/preferences.c:76 #, 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:1117 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1128 #, 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:1134 #, c-format msgid "Loading %s\n" msgstr "A carregar %s\n" #: src/utils.c:145 src/utils.c:166 #, c-format msgid "Starting: %s" msgstr "Iniciando: %s" #~ msgid "Function keys bar" #~ msgstr "Barra das teclas de funções" #~ msgid "Fork has failed: %s" #~ msgstr "Ha fallado el fork: %s" xdx-2.4.3/po/en@boldquot.gmo0000644000175000017500000001425612275026056012657 00000000000000b,<HIQWfo   1> p       3 1J |       5 J b h p v }      B 1 &8 _ f ,u           ' . > (R {   D  7 <J   -DY q~j+39HQo 1 Re  31,^f  ,DJRX _ lw  B&AH,W   ,(@ is y D 7 *8   2G _l8<b>O^23a`%6Q!C4+IF#VPGJ;U :TWD$/A,\LE70"1M9XN  @ .KS&[]_-Z '?5YR)=HB*(%s: %s AboutAuto ReconnectCallsignCallsign to be used for loginCannot read cty.dat in %s Chat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - edit function keyxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.Project-Id-Version: xdx 2.4.3 Report-Msgid-Bugs-To: n0nb@n0nb.us POT-Creation-Date: 2014-02-06 18:43-0600 PO-Revision-Date: 2014-02-06 18:43-0600 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 AboutAuto ReconnectCallsignCallsign to be used for loginCannot read cty.dat in %s Chat sidebarClose connection to %s ?Color %dColorsColors for the chat windowColors to use for highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnect...Connected to %sConnecting to: %sConnection LogConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DisconnectEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFont for DX messagesFont for other messagesFontsGeneralH_elpHamlibHighlightingHighlightsHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)ManualNothing to send, you are not connectedOutputPreferences...Program used to play sound (%s = sound file)ProgramsPromptQuitRemarksResolve 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 %sWhen double clicking on a dx-spot this will set the frequency of your rig using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sYour callsign_Host_Hostname_Port_Program_Settingsxdx - Select a fontxdx - close connectionxdx - connection logxdx - edit function keyxdx - manualxdx - open connectionxdx - preferences~/.%s is not a directory.xdx-2.4.3/Xdx.desktop.in0000644000175000017500000000036012275025546012016 00000000000000[Desktop Entry] Name=Xdx Comment=DX-cluster client for amateur radio Comment[nl]=DX-cluster client voor zendamateurs Exec=@prefix@/bin/xdx Icon=@prefix@/share/xdx/pixmaps/xdx.png Terminal=false Type=Application Categories=Network;HamRadio; xdx-2.4.3/ChangeLog0000644000175000017500000001344512275025640011030 00000000000000Changelog 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. * Disable function keys for this release. 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.4.3/AUTHORS0000644000175000017500000000007612275025546010327 00000000000000Joop Stakenborg Nate Bargmann xdx-2.4.3/Makefile.in0000644000175000017500000007742012275025717011333 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } 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 = . DIST_COMMON = README $(am__configure_deps) $(dist_pkgdata_DATA) \ $(nobase_dist_pkgdata_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/Xdx.desktop.in \ $(srcdir)/xdx.1.in $(top_srcdir)/configure \ $(top_srcdir)/include/config.h.in ABOUT-NLS AUTHORS COPYING \ ChangeLog INSTALL NEWS TODO build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/missing 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/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) 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_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-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 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=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) 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__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 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@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ 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@ 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@ 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 = build-aux/config.rpath \ 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 .PRECIOUS: 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__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 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 @if test ! -f $@; then rm -f include/stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) include/stamp-h1; else :; fi 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. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; 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" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) 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; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ 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 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ 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" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @list='$(MANS)'; if test -n "$$list"; then \ list=`for p in $$list; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ if test -n "$$list" && \ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ echo " typically \`make maintainer-clean' will remove them" >&2; \ exit 1; \ else :; fi; \ else :; fi $(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) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__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*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(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*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(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 \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(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__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: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ 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-recursive uninstall uninstall-am \ uninstall-desktopDATA uninstall-dist_pkgdataDATA uninstall-man \ uninstall-man1 uninstall-nobase_dist_pkgdataDATA # 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.4.3/MANUAL.pl0000644000175000017500000001524512275025546010575 00000000000000xdx - klient DX-cluster poprzez tcp/ip dla radioamatorów ======================================================== Xdx jest klientem DX-cluster, który wyświetla listę z ogłoszeniami 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 Co to jest DX Cluster? ====================== DX Cluster stanowi pomoc dla radioamatorów i służy do informowania wszystkich 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, moonbounce i meteor scatter. 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 korzystania z DX Clustera: 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ą się zaczynać od '/'. Przykłady poleceń ================= 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 na 10,7 cm, indeksy A i K wskazują aktywność ziemskiego pola magnetycznego, a R odnosi się do numeru komunikatu. 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 nim powoduje otwarcie łącza w zdefiniowanej przez ciebie 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"'. 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 celem wyróżnienia wszystkie otrzymywane teksty. 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ć sie 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. 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 element pakietu sox, 'esdplay %s' - programu esdplay, który może się okazać przydatny kiedy używamy Gnome i esound. Emotikony ========= Program posiada wsparcie dla ograniczonej liczby emotikon w oknie chata: :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Licencja i wsparcie =================== Xdx jest bezpłatny i został opublikowany na podstawie licencji GNU GPL. Program ten został napisany przez Joop'a Stakenborg . Proszę przyślij informację jeżeli znajdziesz błąd lub chcesz rozbudowy programu. xdx-2.4.3/sounds/0000755000175000017500000000000012275026160010640 500000000000000xdx-2.4.3/sounds/attention.wav0000644000175000017500000001264212275025546013320 00000000000000RIFFWAVEfmt +"Vdatav                 ހ     "$  ۀ   ݀ !''" ـրڀ "    ڀ(,*!Ԁ"$     ׀؀ %,-(؀Ԁր    ހրڀ!*/,#܀Հڀ     ؀Ԁր &..(Հ׀߀   ۀՀ *-*!ހـހ                                          %.,  !,,!ـ '+%  #($؀߀  '& ݀ހ  "$߀ $!ۀـ  !  ۀ׀܀  ݀  ܀܀                                 xdx-2.4.3/Makefile.am0000644000175000017500000000124112275025675011311 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 = build-aux/config.rpath \ 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