dlume-0.2.4/0040755000076400007640000000000010076467112011333 5ustar pasppaspdlume-0.2.4/src/0040755000076400007640000000000010076467076012133 5ustar pasppaspdlume-0.2.4/src/about.h0100664000076400007640000000175310076467053013416 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ /* about window dimension */ #define ab_width 220 #define ab_height 330 /* license window dimension */ #define l_width 410 #define l_height 400 void gui_create_about_window (void); void gui_create_license_window (void); dlume-0.2.4/src/actions.h0100664000076400007640000000153710076467053013744 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ gint action_send_email (gchar *email); gint action_launch_website (gchar *url); dlume-0.2.4/src/add_edit.h0100664000076400007640000000177510076467053014045 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ /* add new contact window dimension */ #define add_width 540 #define add_height 400 /* edit window dimension */ #define edit_width 380 #define edit_height 460 void gui_create_new_contact_window (void); void gui_edit_contact_window (void); dlume-0.2.4/src/data.h0100664000076400007640000000573310076467053013217 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #define DATAFILE "dlume-data.xml" #define size_name 25 #define size_address 50 #define size_city 25 #define size_country 25 #define size_state 25 #define size_post_code 15 #define size_phone 45 #define size_email 40 #define size_url 50 #define size_birthday 25 #define size_notes 4096 #define nfields 30 /* number of fields */ typedef struct { gchar first_name[size_name]; gchar last_name[size_name]; gchar nickname[size_name]; gchar birthday[size_birthday]; gchar address[size_address]; gchar post_code[size_post_code]; gchar city[size_city]; gchar state[size_state]; gchar country[size_country]; gchar home_phone_1[size_phone]; gchar home_phone_2[size_phone]; gchar home_phone_3[size_phone]; gchar home_phone_4[size_phone]; gchar work_phone_1[size_phone]; gchar work_phone_2[size_phone]; gchar work_phone_3[size_phone]; gchar work_phone_4[size_phone]; gchar cell_phone_1[size_phone]; gchar cell_phone_2[size_phone]; gchar cell_phone_3[size_phone]; gchar cell_phone_4[size_phone]; gchar email_1[size_email]; gchar email_2[size_email]; gchar email_3[size_email]; gchar email_4[size_email]; gchar url_1[size_url]; gchar url_2[size_url]; gchar url_3[size_url]; gchar url_4[size_url]; gchar notes[size_notes]; } recordstr; gint data_add_record (recordstr *entry); gint data_show (void); gint data_init (void); gint data_close (void); gint data_write (void); gint data_read (void); gint fill_record (recordstr *entry); gint clear_record (recordstr *entry); gint find_record (gchar *f, gchar *l); gint data_remove_record (gint k); gint data_get_records (void); void data_print_csv_entry (FILE *filehandle, recordstr *rdata); void data_print_html_entry (FILE *filehandle, recordstr *rdata); extern gint records; extern GSList *list; extern gint fields_size[]; enum { FIRST_NAME = 0, LAST_NAME, NICKNAME, BIRTHDAY, ADDRESS, POST_CODE, CITY, STATE, COUNTRY, HOME_PHONE_1, HOME_PHONE_2, HOME_PHONE_3, HOME_PHONE_4, WORK_PHONE_1, WORK_PHONE_2, WORK_PHONE_3, WORK_PHONE_4, CELL_PHONE_1, CELL_PHONE_2, CELL_PHONE_3, CELL_PHONE_4, EMAIL_1, EMAIL_2, EMAIL_3, EMAIL_4, URL_1, URL_2, URL_3, URL_4, NOTES }; dlume-0.2.4/src/delete.h0100664000076400007640000000146110076467053013542 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ void gui_create_delete_window (void); dlume-0.2.4/src/export.h0100664000076400007640000000204610076467053013621 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ /* fields selector window dimension */ #define fs_width 280 #define fs_height 350 void export_select_fields (void); gint export_data_as_csv (gchar *filename); void export_csv_select_file (void); gint export_data_as_html (gchar *filename); void export_html_select_file (void); dlume-0.2.4/src/gui.h0100664000076400007640000000373110076467053013066 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include #include #include #define WELCOME_TEXT "Welcome to Dlume !" #define DLUME_HOMEPAGE "http://clay.ll.pl/dlume.html" #define TMPBUF_SIZE 1024 typedef enum { EMAIL = 0, URL, } link_type; void gui_create_window (void); void gui_show_status (gchar *message); void gui_create_prefs_window (void); void gui_set_button_bg_color (GtkWidget *widget, gchar *icolor); void gui_display_entry (gchar *first_name, gchar *last_name); gint gui_display_records_list (void); gint gui_update_records_list (gchar *value); gchar* gui_get_column_content (gint row, gint column); GtkWidget* gui_stock_label_button (gchar *blabel, const gchar *bstock); GtkWidget* gui_stock_button (const gchar *bstock); void gui_list_set_row (gint row); gint gui_list_get_row (void); void gui_attach_widgets (GtkTextView *text_view); extern GtkWidget *main_window; extern GtkWidget *toolbar; extern GtkTextBuffer *entry_textinfo; extern GtkWidget *text_sheet; extern GtkWidget *find_entry; extern gchar current_fn[], current_ln[]; extern GtkTreeViewColumn *column_fn, *column_ln; extern GtkTreeModel *model; extern gchar *icon_xpm[]; dlume-0.2.4/src/i18n.h0100644000076400007640000000210510076467053013051 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include "config.h" #ifndef _ #if defined(ENABLE_NLS) # include # define _(x) gettext(x) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define N_(String) (String) # define _(x) (x) # define gettext(x) (x) #endif #endif dlume-0.2.4/src/icon.h0100664000076400007640000000677210076467053013242 0ustar pasppasp /* * Dlume icon * * Copyright (C) 2003 Maja Kocoñ * * 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. */ gchar * icon_xpm[] = { "48 48 18 1", " c None", ". c #000000", "+ c #CEC9C4", "@ c #ACB2B7", "# c #EAB760", "$ c #0B0B0B", "% c #56616B", "& c #090909", "* c #3F3E3C", "= c #A9AFB4", "- c #222121", "; c #040404", "> c #0C0C0C", ", c #101010", "' c #ABB1B6", ") c #D0C9C1", "! c #7F878E", "~ c #0F0E0E", " ", " ", " ", " ................................... ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++.+++++++++++++.. ", " .++++++++++++++++++...++++++++++++.. ", " ....+++++++++++++++++..@..++++++..+++.. ", " .##.++++++++++++++++..@@@..++++.$$.++.. ", " .##.++++%++++++++++.&@@@@@..+++.$ .++.. ", " .##.++++%+++++++++..*@@@@=-..+++..+++.. ", " .##.++++%+++++++++++.@%%@@;++++++++++.. ", " .##.++++%+++++++++++.@%%@@.++++++++++.. ", " .##.+++.......++++++.@@@@@.++++++++++.. ", " .##.+++.@@@@@.++++++.@@%%@.++++++++++.. ", " .##.+++.@%%%@.++++++.@@%%@.++++++++++.. ", " ....+++.@%%%@.++++++.@@%%@.++++++++++.. ", " ...+++.@@@@@.++++++.@@%%@.++++++++++.. ", " .+++.@%@%@.++++++.......++++++++++.. ", " .+++.@@@@@.+++++++++++++++++++++++.. ", " .+++.@%@%@.++++++++++++++++++..+++.. ", " .+++.@@@@@.+++++++++++++++++.>,.++.. ", " .+++.@%@%@.+++++++++++++++++.> .++.. ", " .+++.@@@@'.++++++++++++++++++..+++.. ", " .+++.......+++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++.............+++++++++++.. ", " .)++++++++.@@@@@@@@@@@.+++++++++++.. ", " .+++++++++.@@@@@@@%%%@.+++++++++++.. ", " .+++++++++.@@@@@@@%!%@.++++++..+++.. ", " .+++++++++.@%%%%@@%%%@.+++++.~~.++.. ", " .+++++++++.@@@@@@@@@@@.+++++.~ .++.. ", " .+++++++++.@%%%%%@@@@@.++++++..+++.. ", " .+++++++++.@'@@@@@@@@@.+++++++++++.. ", " .+++++++++.............+++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .+++++++++++++++++++++++++++++++++.. ", " .................................... ", " ................................... ", " ", " ", " "}; dlume-0.2.4/src/icons.h0100664000076400007640000013475710076467053013432 0ustar pasppasp /* * Dlume toolbar icons (based on icons by Jimmac) * * Copyright (C) 2003 Piotr M±ka * * 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. */ static char * add_xpm[] = { "34 37 346 2", " c None", ". c #404040", "+ c #F6F6F6", "@ c #FFFFFF", "# c #FAFAFA", "$ c #D6D6D6", "% c #878787", "& c #E5E7EC", "* c #FEFEFE", "= c #E6E6E6", "- c #F0F0F0", "; c #A0A0A0", "> c #A3B2BF", ", c #A3AFBA", "' c #98A4B0", ") c #939FAA", "! c #D3D6DA", "~ c #F8F8F8", "{ c #D8D8D8", "] c #F5F5F5", "^ c #979797", "/ c #B0BBC6", "( c #B3BDC9", "_ c #BCC2CF", ": c #B8BDCA", "< c #9A9CA3", "[ c #947F78", "} c #D19C87", "| c #B58977", "1 c #9496A3", "2 c #A1A9BB", "3 c #A1A9BA", "4 c #9FA8B7", "5 c #959FAD", "6 c #86909C", "7 c #FDFDFD", "8 c #F7F7F7", "9 c #C9C9C9", "0 c #E0E0E0", "a c #888888", "b c #C5CBD5", "c c #D0D6E2", "d c #D3D9E4", "e c #B1B2B7", "f c #B7A7A2", "g c #F6D6BD", "h c #FEF0D5", "i c #FCE2C2", "j c #E4AE98", "k c #AFA7AD", "l c #A7AFC0", "m c #A3ABBC", "n c #929CAD", "o c #7E8996", "p c #FDFDFC", "q c #FCFCFC", "r c #BFBFBF", "s c #E1E1E1", "t c #C8C8C8", "u c #C2C2C2", "v c #8E8E8E", "w c #D8DBE4", "x c #DBDFE8", "y c #E3E6EC", "z c #CDCED0", "A c #D7C5BF", "B c #FEF4E1", "C c #FEF8EA", "D c #FCE9D0", "E c #E7BCAC", "F c #B8A9A8", "G c #B8BFCC", "H c #A6ADBD", "I c #939CAF", "J c #798296", "K c #FCFCFB", "L c #F6F6F5", "M c #A9A9A9", "N c #666666", "O c #5D5D5D", "P c #565656", "Q c #5A5A5A", "R c #848484", "S c #000000", "T c #DDE0E7", "U c #E6E8EE", "V c #EAEDF1", "W c #DFDCDF", "X c #DCC8C1", "Y c #FEF6DF", "Z c #FEF3DE", "` c #EAC6B7", " . c #F3D0BC", ".. c #C0B5B6", "+. c #BEC3CF", "@. c #AAB0BE", "#. c #9299AB", "$. c #788093", "%. c #C7C7C6", "&. c #A6A6A6", "*. c #9A9A9A", "=. c #6C6C6C", "-. c #E4E7EC", ";. c #EAECF0", ">. c #E9ECF1", ",. c #F7F0E5", "'. c #FDEBC8", "). c #FEF2D1", "!. c #FEF5DA", "~. c #FADABA", "{. c #FDE6C4", "]. c #E8CEBC", "^. c #B3B9C5", "/. c #9EA6B4", "(. c #8990A1", "_. c #757D8F", ":. c #FBFBFB", "<. c #FBFBFA", "[. c #F9F9F9", "}. c #F7F7F6", "|. c #F3F3F2", "1. c #E9E9E9", "2. c #E5E5E4", "3. c #AEAEAE", "4. c #E7E9EE", "5. c #E4E7ED", "6. c #E9E6E7", "7. c #FDF2D1", "8. c #FEE8B1", "9. c #FEF1C8", "0. c #FDE5B3", "a. c #F6C593", "b. c #B5938E", "c. c #9CA3B2", "d. c #8C94A3", "e. c #7A8192", "f. c #666E80", "g. c #F8F8F7", "h. c #F5F5F4", "i. c #F4F4F4", "j. c #F3F3F3", "k. c #E1E4E9", "l. c #D9DDE4", "m. c #CED3DC", "n. c #ECD5B3", "o. c #FCCC79", "p. c #FEE8AA", "q. c #FDE3A7", "r. c #ECA66C", "s. c #816464", "t. c #868E9D", "u. c #7A8190", "v. c #686F7F", "w. c #5B6170", "x. c #F9F9F8", "y. c #F4F4F3", "z. c #F2F2F1", "A. c #C4C4C4", "B. c #E1E3E7", "C. c #D9DCE2", "D. c #C7CDD6", "E. c #ABB6C4", "F. c #EAB87E", "G. c #FDDC8C", "H. c #EEA253", "I. c #DB8949", "J. c #C2815C", "K. c #77686C", "L. c #757C8B", "M. c #6A7280", "N. c #5C6371", "O. c #505561", "P. c #F2F2F2", "Q. c #F1F1F0", "R. c #C0C0C0", "S. c #FEFEFD", "T. c #DCDEE2", "U. c #C7CED6", "V. c #A4B8C9", "W. c #8292A2", "X. c #F0B764", "Y. c #F2CD8F", "Z. c #EDC187", "`. c #BC7F5D", " + c #777F8C", ".+ c #747A88", "++ c #6C7382", "@+ c #616874", "#+ c #545965", "$+ c #464C56", "%+ c #EFEFEE", "&+ c #F0F0EF", "*+ c #EDEDEC", "=+ c #ECECEB", "-+ c #B4C4D0", ";+ c #A2B6C6", ">+ c #90A7B9", ",+ c #7C95AA", "'+ c #628198", ")+ c #537189", "!+ c #4C687F", "~+ c #455F74", "{+ c #4D5F70", "]+ c #5A636F", "^+ c #595E69", "/+ c #4B505B", "(+ c #3E434B", "_+ c #EEEEED", ":+ c #E8E8E8", "<+ c #C0C9D0", "[+ c #ADBCC9", "}+ c #ACBAC8", "|+ c #A7B6C3", "1+ c #859CAC", "2+ c #627C93", "3+ c #4E6A81", "4+ c #476279", "5+ c #40596E", "6+ c #3A5164", "7+ c #324658", "8+ c #364250", "9+ c #3F434B", "0+ c #373B42", "a+ c #F1F1F1", "b+ c #E9E9E8", "c+ c #A7B6C1", "d+ c #AAB6C1", "e+ c #96A6B5", "f+ c #758B9B", "g+ c #5A7286", "h+ c #476278", "i+ c #40596D", "j+ c #3A5266", "k+ c #33495B", "l+ c #2D3F50", "m+ c #243340", "n+ c #1F2A35", "o+ c #2D3036", "p+ c #EEEEEE", "q+ c #EBEBEA", "r+ c #8F9EAB", "s+ c #8E9EAC", "t+ c #8998A7", "u+ c #6B8092", "v+ c #597083", "w+ c #4D6578", "x+ c #3E5669", "y+ c #384D60", "z+ c #33485A", "A+ c #2D404F", "B+ c #263643", "C+ c #1F2D39", "D+ c #18232D", "E+ c #1B2229", "F+ c #EFEFEF", "G+ c #EBEBEB", "H+ c #EAEAE9", "I+ c #EEEEEC", "J+ c #E7E7E6", "K+ c #DFDFDE", "L+ c #EDEDED", "M+ c #E6E6E5", "N+ c #E0E0DF", "O+ c #E9E9E7", "P+ c #E4E4E3", "Q+ c #EFEFED", "R+ c #E8E8E7", "S+ c #D1D1D0", "T+ c #D9D9D9", "U+ c #D4D4D4", "V+ c #DADAD8", "W+ c #C9C9C8", "X+ c #C8C8C7", "Y+ c #E4E4E2", "Z+ c #E2E2E1", "`+ c #D8D8D6", " @ c #DBDBD9", ".@ c #CBCBCA", "+@ c #D9D9D8", "@@ c #DADADA", "#@ c #EDEDEB", "$@ c #E7E7E5", "%@ c #CACAC9", "&@ c #DDDDDC", "*@ c #B9B9B8", "=@ c #B6B6B6", "-@ c #C4C4C3", ";@ c #EAEAE8", ">@ c #E5E5E3", ",@ c #E6E6E4", "'@ c #E3E3E2", ")@ c #E2E2E2", "!@ c #DADAD9", "~@ c #D7D7D6", "{@ c #E1E1DE", "]@ c #E2E2E0", "^@ c #E3E3E1", "/@ c #D3D3D2", "(@ c #C3C3C2", "_@ c #BBBBBA", ":@ c #D0D0CF", "<@ c #E2E2DF", "[@ c #D2D2D1", "}@ c #BDBDBC", "|@ c #CCCCCB", "1@ c #D4D4D3", "2@ c #C6C6C5", "3@ c #B6B4AE", "4@ c #E8E8E6", "5@ c #DEDEDD", "6@ c #D7D7D7", "7@ c #DCDCDC", "8@ c #E1E1E0", "9@ c #E1E1DF", "0@ c #DEDEDC", "a@ c #CBCAC8", "b@ c #CFCFCE", "c@ c #DCDCDB", "d@ c #D5D5D4", "e@ c #D6D6D5", "f@ c #CECECD", "g@ c #D8D8D7", "h@ c #DBDBDA", "i@ c #DDDDDB", "j@ c #CFCFCD", "k@ c #CDCDCC", "l@ c #C0C0BF", "m@ c #FAFAF9", "n@ c #DDDDDD", "o@ c #D9D9D7", "p@ c #C3C3C3", "q@ c #E3E3E3", "r@ c #E0E0DE", "s@ c #B6B6B5", "t@ c #C2C2C1", "u@ c #BABABA", "v@ c #B5B5B5", "w@ c #B1B1B0", "x@ c #AEAEAD", "y@ c #B0B0AF", "z@ c #B2B2B1", "A@ c #B5B5B4", "B@ c #B8B8B7", "C@ c #BFBFBE", "D@ c #C1C1C0", "E@ c #979796", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". + @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ # $ % . ", ". @ & & & & & & & & & & & & & & & & & * * * * * * * # = - ; . ", ". @ & > , ' ) ) ) ) ) ) ) ) ) ) ) ) ! * * * * * * * ~ { @ ] ^ . ", ". @ & > / ( _ : < [ } | 1 2 3 4 5 6 ! * * * * * 7 7 8 9 7 7 0 a . ", ". @ & > b c d e f g h i j k l m n o ! * 7 7 7 p q q + r s $ t u v . ", ". @ & > w x y z A B C D E F G H I J ! * 7 p q q q K L M N O P Q R S ", ". @ & > T U V W X Y Z ` ...+.@.#.$.! * q q q K # # 8 - $ %.&.*.=.S ", ". @ & > -.;.>.,.'.).!.~.{.].^./.(._.! * :.:.<.# [.[.~ ~ }.|.1.2.3.S ", ". @ & > & 4.5.6.7.8.9.0.a.b.c.d.e.f.! :.<.[.[.~ g.}.+ + ] h.i.j.u S ", ". * & > & k.l.m.n.o.p.q.r.s.t.u.v.w.! :.x.~ g.+ L ] h.h.y.j.|.z.A.S ", ". * & > B.C.D.E.F.G.H.I.J.K.L.M.N.O.! [.g.+ L ] i.i.y.|.|.P.z.Q.R.S ", ". S.& > T.U.V.W.X.Y.Z.`. +.+++@+#+$+! + ] h.i.y.y.|.P.z.%+&+*+=+R.S ", ". 7 & > ! -+;+>+,+'+)+!+~+{+]+^+/+(+! + i.j.|.|.z.z.z.Q.*+*+_+:+R.S ", ". 7 & > <+[+}+|+1+2+3+4+5+6+7+8+9+0+! + |.|.z.z.a+Q.Q.%+_+*+*+b+R.S ", ". q & > c+> d+e+f+g+h+i+j+k+l+m+n+o+! + z.a+Q.Q._+p+%+%+_+q+_+*+R.S ", ". q & ) r+s+t+u+v+w+x+y+z+A+B+C+D+E+! + + P.Q.F+=+G+%+_+*+H+I+_+R.S ", ". q & ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! + + y.&+P.Q._+%+q+=+H+=+*+R.S ", ". :.}.}.y.y.F+J+b+K+F+J+b+K+L+H+M+*+2.N+O+P+q+Q+Q.%+*+q+q+O+H+q+R.S ", ". # + R+S+T+U+V+W+X+W+Y+W+X+Z+`+ @.@+@@@Q.q+=+#@&+&+=+q+b+$@O+b+R.S ", ". # h.*+%@&@%.%.R.*@%.R.R.*@=@-@W+Q.Q.Q.Q.*+_+_+_+Q.;@q+J+>@,@M+R.S ", ". [.y.|.P.z.z.Q.Q.:+M+'@J+)@!@~@Q.Q.Q.Q.Q._+Q.%+{@Q.H+R+2.]@]@^@R.S ", ". ~ z.z.&@/@X+'@(@0 q+_@%@b+K+F+J+S+Q.Q.%+Q.S+:@2.<@R+$@P+]@]@]@R.S ", ". ~ Q.&+H+K+[@2.}@b+K+F+J+/@|@1@Y+%@&@.@~@A.2@%.R.3@4@J+,@$@]@]@R.S ", ". 8 }.}.}.|.h.L }.}.}.}.}.}.}.}.}.}.}.}.}.h.Q.*+2.=+R+4@R+4@,@]@R.S ", ". }.}.}.=+q+J+J+J+5@F+J+b+K+L+Q.M+&@/@X+'@X+0 M+%@|@^@>@>@M+>@]@R.S ", ". }.+ b+~@6@7@V+W+=+W+Y+W+Q.Q.`+ @H+K+/@R+}@b+K+F+J+]@]@]@^@^@]@R.S ", ". L h.*+S+&@|@%.R.'@8@F+J+b+K+L+H+%+M+K+4@&@/@|@1@Y+]@]@]@]@^@9@R.S ", ". h.H+= 0@a@'@K+F+/@b@%+Y+.@X+Z+c@R+2.L+J+b+K+F+J+b+]@]@]@9@^@^@R.S ", ". h.}.}.R+q+d@Q.e@^@|@f@c@+@K+P+8@g@6@U+V+W+X+W+Y+W+]@9@]@^@^@Z+R.S ", ". z.+ R+!@h@T+h@d@:@d@i@j@k@Z+`+ @S+Q.%.%.R.b+K+F+J+Y+^@Y+^@^@9@l@S ", ". %+m@m@h.h.j._+*+G+G+b+=+q+%+&+%+b+`+Q.H+] Z+n@'@*+M+P+>@]@,@9@l@S ", ". G++ R+S+T+U+o@k@_+k@1@/@W+Z+`+ @R+y./@|@1@Y+W+X+Z+'@P+^@9@^@]@l@S ", ". H+h.*+%@d@%@|@p@l@2@A.R.*@=@-@W+!@T+@@&@/@|@1@Y+W+9@9@9@9@9@9@l@S ", ". q@9@9@9@r@K+9@9@9@9@9@9@9@9@9@^@^@^@^@]@]@]@9@9@9@9@9@9@9@9@9@s@S ", ". t@u@v@w@x@x@y@z@A@B@_@}@C@D@D@D@D@R.R.R.R.R.R.R.R.R.R.R.R.R.s@E@S ", ". S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S . "}; static char * edit_xpm[] = { "34 37 591 2", " c None", ". c #404040", "+ c #F6F6F6", "@ c #FFFFFF", "# c #FAFAFA", "$ c #D6D6D6", "% c #878787", "& c #E5E7EC", "* c #FEFEFE", "= c #E6E6E6", "- c #F0F0F0", "; c #A0A0A0", "> c #A3B2BF", ", c #A3AFBA", "' c #98A4B0", ") c #939FAA", "! c #D3D6DA", "~ c #F8F8F8", "{ c #D8D8D8", "] c #F5F5F5", "^ c #979797", "/ c #B0BBC6", "( c #B3BDC9", "_ c #BCC2CF", ": c #B8BDCA", "< c #9A9CA3", "[ c #947F78", "} c #D19C87", "| c #B58977", "1 c #9496A3", "2 c #A1A9BB", "3 c #A1A9BA", "4 c #9FA8B7", "5 c #959FAD", "6 c #86909C", "7 c #FDFDFD", "8 c #F7F7F7", "9 c #C9C9C9", "0 c #E0E0E0", "a c #888888", "b c #C5CBD5", "c c #D0D6E2", "d c #D3D9E4", "e c #B1B2B7", "f c #B7A7A2", "g c #F6D6BD", "h c #FEF0D5", "i c #FCE2C2", "j c #E4AE98", "k c #AFA7AD", "l c #A7AFC0", "m c #A3ABBC", "n c #929CAD", "o c #7E8996", "p c #FDFDFC", "q c #FCFCFC", "r c #BFBFBF", "s c #E1E1E1", "t c #C8C8C8", "u c #C2C2C2", "v c #8E8E8E", "w c #D8DBE4", "x c #DBDFE8", "y c #E3E6EC", "z c #CDCED0", "A c #D7C5BF", "B c #FEF4E1", "C c #FEF8EA", "D c #FCE9D0", "E c #E7BCAC", "F c #B8A9A8", "G c #B8BFCC", "H c #A6ADBD", "I c #939CAF", "J c #798296", "K c #FCFCFB", "L c #F6F6F5", "M c #A9A9A9", "N c #666666", "O c #5D5D5D", "P c #565656", "Q c #5A5A5A", "R c #848484", "S c #000000", "T c #DDE0E7", "U c #E6E8EE", "V c #EAEDF1", "W c #DFDCDF", "X c #DCC8C1", "Y c #FEF6DF", "Z c #FEF3DE", "` c #EAC6B7", " . c #F3D0BC", ".. c #C0B5B6", "+. c #BEC3CF", "@. c #AAB0BE", "#. c #9299AB", "$. c #788093", "%. c #C7C7C6", "&. c #A6A6A6", "*. c #9A9A9A", "=. c #6C6C6C", "-. c #E4E7EC", ";. c #EAECF0", ">. c #E9ECF1", ",. c #F7F0E5", "'. c #FDEBC8", "). c #FEF2D1", "!. c #FEF5DA", "~. c #FADABA", "{. c #FDE6C4", "]. c #E8CEBC", "^. c #B3B9C5", "/. c #9EA6B4", "(. c #8990A1", "_. c #757D8F", ":. c #FBFBFB", "<. c #FBFBFA", "[. c #F9F9F9", "}. c #F7F7F6", "|. c #F3F3F2", "1. c #E9E9E9", "2. c #E5E5E4", "3. c #AEAEAE", "4. c #E7E9EE", "5. c #E4E7ED", "6. c #E9E6E7", "7. c #FDF2D1", "8. c #FEE8B1", "9. c #FEF1C8", "0. c #FDE5B3", "a. c #F6C593", "b. c #B5938E", "c. c #9CA3B2", "d. c #8C94A3", "e. c #7A8192", "f. c #666E80", "g. c #F8F8F7", "h. c #F5F5F4", "i. c #F4F4F4", "j. c #F3F3F3", "k. c #E1E4E9", "l. c #D9DDE4", "m. c #CED3DC", "n. c #ECD5B3", "o. c #FCCC79", "p. c #FEE8AA", "q. c #FDE3A7", "r. c #ECA66C", "s. c #816464", "t. c #868E9D", "u. c #7A8190", "v. c #686F7F", "w. c #5B6170", "x. c #F9F9F8", "y. c #F4F4F3", "z. c #F2F2F1", "A. c #C4C4C4", "B. c #E1E3E7", "C. c #D9DCE2", "D. c #C7CDD6", "E. c #ABB6C4", "F. c #EAB87E", "G. c #FDDC8C", "H. c #EEA253", "I. c #DB8949", "J. c #C2815C", "K. c #77686C", "L. c #757C8B", "M. c #6A7280", "N. c #5C6371", "O. c #505561", "P. c #F2F2F2", "Q. c #F1F1F0", "R. c #FEFEFD", "S. c #DCDEE2", "T. c #C7CED6", "U. c #A4B8C9", "V. c #8292A2", "W. c #F0B764", "X. c #F2CD8F", "Y. c #EDC187", "Z. c #BC7F5D", "`. c #777F8C", " + c #747A88", ".+ c #6C7382", "++ c #616874", "@+ c #545965", "#+ c #464C56", "$+ c #F2F2F0", "%+ c #F0F0EF", "&+ c #B4C4D0", "*+ c #A2B6C6", "=+ c #90A7B9", "-+ c #7C95AA", ";+ c #628198", ">+ c #537189", ",+ c #4C687F", "'+ c #455F74", ")+ c #4D5F70", "!+ c #5A636F", "~+ c #595E69", "{+ c #4B505B", "]+ c #3E434B", "^+ c #EFEFEE", "/+ c #EEEEEE", "(+ c #C0C9D0", "_+ c #ADBCC9", ":+ c #ACBAC8", "<+ c #A7B6C3", "[+ c #859CAC", "}+ c #627C93", "|+ c #4E6A81", "1+ c #476279", "2+ c #40596E", "3+ c #3A5164", "4+ c #324658", "5+ c #364250", "6+ c #3F434B", "7+ c #373B42", "8+ c #F1F1F1", "9+ c #C1C1C1", "0+ c #A7B6C1", "a+ c #AAB6C1", "b+ c #96A6B5", "c+ c #758B9B", "d+ c #5A7286", "e+ c #476278", "f+ c #40596D", "g+ c #3A5266", "h+ c #33495B", "i+ c #2D3F50", "j+ c #243340", "k+ c #1F2A35", "l+ c #2D3036", "m+ c #8F9EAB", "n+ c #8E9EAC", "o+ c #8998A7", "p+ c #6B8092", "q+ c #597083", "r+ c #4D6578", "s+ c #3E5669", "t+ c #384D60", "u+ c #33485A", "v+ c #2D404F", "w+ c #263643", "x+ c #1F2D39", "y+ c #18232D", "z+ c #1B2229", "A+ c #EFEFEF", "B+ c #EBEBEB", "C+ c #C2A8A3", "D+ c #D48577", "E+ c #DB8E82", "F+ c #C77E72", "G+ c #D4C6C0", "H+ c #E3DDCA", "I+ c #C8B788", "J+ c #CF8579", "K+ c #EBB9B1", "L+ c #F3D5D0", "M+ c #E39A8E", "N+ c #CF523E", "O+ c #B4574B", "P+ c #E7E7E6", "Q+ c #E9E9E8", "R+ c #DFDFDE", "S+ c #EDEDED", "T+ c #EAEAE9", "U+ c #E6E6E5", "V+ c #EDEDEC", "W+ c #E0E0DF", "X+ c #E9E9E7", "Y+ c #D9D9D8", "Z+ c #D7D7D6", "`+ c #D2C294", " @ c #E5CE90", ".@ c #D9B98F", "+@ c #D6A196", "@@ c #D28C82", "#@ c #DB7E70", "$@ c #862F21", "%@ c #983829", "&@ c #E8E8E7", "*@ c #D1D1D0", "=@ c #D9D9D9", "-@ c #D4D4D4", ";@ c #DADAD8", ">@ c #C9C9C8", ",@ c #C8C8C7", "'@ c #E4E4E2", ")@ c #E2E2E1", "!@ c #D8D8D6", "~@ c #DBDBD9", "{@ c #CBCBCA", "]@ c #DADADA", "^@ c #BCB8AC", "/@ c #E4CC89", "(@ c #F3E7C3", "_@ c #F7EDD3", ":@ c #DCC393", "<@ c #BE846C", "[@ c #B36458", "}@ c #882F21", "|@ c #983525", "1@ c #913120", "2@ c #4B1911", "3@ c #CACAC9", "4@ c #DDDDDC", "5@ c #C0C0C0", "6@ c #B9B9B8", "7@ c #B6B6B6", "8@ c #C4C4C3", "9@ c #C7C3B8", "0@ c #CDB981", "a@ c #E8CD80", "b@ c #F6ECD0", "c@ c #F9F2E1", "d@ c #EFDB9D", "e@ c #E4C977", "f@ c #A7822D", "g@ c #B48A66", "h@ c #A65F55", "i@ c #963221", "j@ c #611E12", "k@ c #571E15", "l@ c #54342E", "m@ c #E8E8E8", "n@ c #E3E3E2", "o@ c #E2E2E2", "p@ c #DADAD9", "q@ c #DAD6C9", "r@ c #D7C48E", "s@ c #EBD28D", "t@ c #F8EFD9", "u@ c #FAF4E7", "v@ c #F0DEA3", "w@ c #EAD07E", "x@ c #BDA04D", "y@ c #C6881A", "z@ c #854B41", "A@ c #5D1E13", "B@ c #472017", "C@ c #47251F", "D@ c #65605F", "E@ c #D3D3D2", "F@ c #C3C3C2", "G@ c #EBEBEA", "H@ c #BBBBBA", "I@ c #D8D8D7", "J@ c #C3BFB2", "K@ c #D8C99F", "L@ c #EFDDA9", "M@ c #F9F3E2", "N@ c #F8F1DB", "O@ c #F0DDA0", "P@ c #EACF79", "Q@ c #B99D4B", "R@ c #AB8834", "S@ c #B8821E", "T@ c #966713", "U@ c #6E5327", "V@ c #4B291C", "W@ c #36261C", "X@ c #3A2621", "Y@ c #615E58", "Z@ c #949493", "`@ c #C6C6C5", " # c #BDBDBC", ".# c #C2C2C1", "+# c #B1B1B1", "@# c #C0B9A3", "## c #D6C593", "$# c #EFDDA5", "%# c #FAF5E7", "&# c #F7EED4", "*# c #EEDA98", "=# c #E9CE79", "-# c #BB9E4E", ";# c #AB8B36", "># c #BB8924", ",# c #C7891C", "'# c #A57115", ")# c #885D11", "!# c #7A5612", "~# c #5F420E", "{# c #2D2D2D", "]# c #5B5A54", "^# c #787776", "/# c #B0B0AE", "(# c #EEEEED", "_# c #E4E4E3", ":# c #E8E8E6", "<# c #D7D0BB", "[# c #DEC57D", "}# c #EEDDA4", "|# c #F9F4E1", "1# c #F7EFD2", "2# c #EED995", "3# c #EAD07B", "4# c #BBA151", "5# c #AD8C39", "6# c #BC8B26", "7# c #C98D1F", "8# c #A67216", "9# c #8C6012", "0# c #6F4D10", "a# c #503E18", "b# c #60605F", "c# c #747473", "d# c #858584", "e# c #9C9C9A", "f# c #CACAC8", "g# c #EFEFED", "h# c #ECECEA", "i# c #C1C1C0", "j# c #BEB6A7", "k# c #DBC184", "l# c #EBD38A", "m# c #F6EBCA", "n# c #F7EFD6", "o# c #EFDB9C", "p# c #B99D4E", "q# c #AD8A38", "r# c #B98622", "s# c #C88B1D", "t# c #885E12", "u# c #6D4C10", "v# c #2F2F2F", "w# c #444443", "x# c #656564", "y# c #767675", "z# c #8C8C8B", "A# c #9F9F9E", "B# c #A6A6A5", "C# c #C2C2C0", "D# c #D9D9D7", "E# c #EDEDEB", "F# c #DCDCDB", "G# c #B8B8B7", "H# c #CDC1AA", "I# c #DCBC95", "J# c #E8D3AD", "K# c #F2E2B3", "L# c #EBD383", "M# c #EACE79", "N# c #BA9D4E", "O# c #AB8937", "P# c #CB9022", "Q# c #C88B1E", "R# c #B47D1A", "S# c #8D6113", "T# c #6B4A0F", "U# c #4F3D17", "V# c #5D5D5C", "W# c #787877", "X# c #979796", "Y# c #A9A9A8", "Z# c #BFBFBE", "`# c #CCCCCA", " $ c #D3D3D1", ".$ c #DFDFDD", "+$ c #ECECEB", "@$ c #EBEBE9", "#$ c #CBC0AC", "$$ c #E6D0B6", "%$ c #F1E7DC", "&$ c #E3D5C4", "*$ c #E2C585", "=$ c #BCA252", "-$ c #AC8C3A", ";$ c #D09929", ">$ c #C98C1F", ",$ c #B47D1B", "'$ c #8F6315", ")$ c #705215", "!$ c #513E19", "~$ c #919191", "{$ c #A8A8A8", "]$ c #C0C0BF", "^$ c #CDCDCB", "/$ c #CDCDCC", "($ c #D5D5D4", "_$ c #DCDCDA", ":$ c #E1E1DF", "<$ c #DEDEDC", "[$ c #C5C4C2", "}$ c #E1D7C7", "|$ c #DED7CF", "1$ c #CBC5BF", "2$ c #B5A592", "3$ c #B99569", "4$ c #D8A944", "5$ c #D4A02F", "6$ c #B57E1C", "7$ c #5B4212", "8$ c #3A311C", "9$ c #303030", "0$ c #454544", "a$ c #BDBDBB", "b$ c #D5D5D3", "c$ c #E3E3E1", "d$ c #DEDEDE", "e$ c #B7B7B5", "f$ c #73685A", "g$ c #938B83", "h$ c #A89F95", "i$ c #988A79", "j$ c #8B6F4F", "k$ c #A07E57", "l$ c #BC9359", "m$ c #A17D2C", "n$ c #5C4418", "o$ c #28241B", "p$ c #343434", "q$ c #494948", "r$ c #797978", "s$ c #919190", "t$ c #A8A8A7", "u$ c #D6D6D4", "v$ c #DDDDDB", "w$ c #D2D2D1", "x$ c #454340", "y$ c #221B13", "z$ c #3A342B", "A$ c #715E48", "B$ c #90724F", "C$ c #9B7C56", "D$ c #A38058", "E$ c #655238", "F$ c #352E23", "G$ c #323232", "H$ c #4B4B4A", "I$ c #646463", "J$ c #7E7E7D", "K$ c #959594", "L$ c #AAAAA9", "M$ c #E2E2E0", "N$ c #4C4843", "O$ c #302C27", "P$ c #2D2B29", "Q$ c #25221C", "R$ c #312E28", "S$ c #4C4332", "T$ c #3E382C", "U$ c #2C2C2B", "V$ c #3B3B3B", "W$ c #4D4D4C", "X$ c #666665", "Y$ c #80807F", "Z$ c #999999", "`$ c #AFAFAD", " % c #C1C1BF", ".% c #D7D7D5", "+% c #E0E0DE", "@% c #E2E2DF", "#% c #A7A7A6", "$% c #7D7D7B", "%% c #6A6A6A", "&% c #494949", "*% c #484848", "=% c #4F4F4F", "-% c #5B5B5A", ";% c #6C6C6B", ">% c #828281", ",% c #9A9A99", "'% c #B1B1AF", ")% c #CFCFCD", "!% c #CFCFCE", "~% c #B1B1B0", "{% c #989896", "]% c #777777", "^% c #7B7B7A", "/% c #7F7F7F", "(% c #888887", "_% c #A2A2A1", ":% c #B3B3B2", "<% c #D0D0CE", "[% c #E3E3E3", "}% c #C8C8C6", "|% c #B8B8B6", "1% c #ABABAA", "2% c #AEAEAC", "3% c #DADAD7", "4% c #B6B6B5", "5% c #BABABA", "6% c #B5B5B5", "7% c #AEAEAD", "8% c #B0B0AF", "9% c #B2B2B1", "0% c #B5B5B4", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". + @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ # $ % . ", ". @ & & & & & & & & & & & & & & & & & * * * * * * * # = - ; . ", ". @ & > , ' ) ) ) ) ) ) ) ) ) ) ) ) ! * * * * * * * ~ { @ ] ^ . ", ". @ & > / ( _ : < [ } | 1 2 3 4 5 6 ! * * * * * 7 7 8 9 7 7 0 a . ", ". @ & > b c d e f g h i j k l m n o ! * 7 7 7 p q q + r s $ t u v . ", ". @ & > w x y z A B C D E F G H I J ! * 7 p q q q K L M N O P Q R S ", ". @ & > T U V W X Y Z ` ...+.@.#.$.! * q q q K # # 8 - $ %.&.*.=.S ", ". @ & > -.;.>.,.'.).!.~.{.].^./.(._.! * :.:.<.# [.[.~ ~ }.|.1.2.3.S ", ". @ & > & 4.5.6.7.8.9.0.a.b.c.d.e.f.! :.<.[.[.~ g.}.+ + ] h.i.j.u S ", ". * & > & k.l.m.n.o.p.q.r.s.t.u.v.w.! :.x.~ g.+ L ] h.h.y.j.|.z.A.S ", ". * & > B.C.D.E.F.G.H.I.J.K.L.M.N.O.! [.g.+ L ] i.i.y.|.|.P.z.Q.A.S ", ". R.& > S.T.U.V.W.X.Y.Z.`. +.+++@+#+! + ] h.i.y.y.|.P.z.$+Q.- %+u S ", ". 7 & > ! &+*+=+-+;+>+,+'+)+!+~+{+]+! + i.j.|.|.z.z.z.Q.- ^+/+Q.u S ", ". 7 & > (+_+:+<+[+}+|+1+2+3+4+5+6+7+! + |.|.z.z.8+Q.Q.Q.Q.Q.Q.Q.9+S ", ". q & > 0+> a+b+c+d+e+f+g+h+i+j+k+l+! + z.8+Q.Q.%+/+Q.Q.Q.Q.Q.Q.9+S ", ". q & ) m+n+o+p+q+r+s+t+u+v+w+x+y+z+! + + P.8+A+B+B+Q.C+D+E+F+G+9+S ", ". q & ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! + + + + + H+I+J+K+L+M+N+O+9+S ", ". :.}.}.y.y.A+P+Q+R+A+P+Q+R+S+T+U+V+2.W+X+Y+Z+`+ @.@+@@@#@N+$@%@9+S ", ". # + &@*@=@-@;@>@,@>@'@>@,@)@!@~@{@Y+]@^@`+/@(@_@:@<@[@}@|@1@2@9+S ", ". # h.V+3@4@%.%.5@6@%.5@5@6@7@8@>@6@9@0@a@b@c@d@e@f@g@h@i@j@k@l@9+S ", ". [.y.|.P.z.z.Q.Q+m@U+n@P+o@p@Z+q@r@s@t@u@v@w@x@f@y@y@z@A@B@C@D@9+S ", ". ~ z.z.4@E@,@n@F@0 G@H@3@I@J@K@L@M@N@O@P@Q@R@S@y@T@U@V@W@X@Y@Z@9+S ", ". ~ Q.%+T+R+`@2. #.#p@+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#{#]#^#/#9+S ", ". 8 %+A+^+(#_#:#4@Y+<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#{#{#b#c#d#e#f#9+S ", ". }.^+g#h#_#i#$ j#k#l#m#n#o#w@p#q#r#s#8#t#u#a#v#w#x#y#z#A#B#C#D#9+S ", ". }.(#E#:#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#v#w#V#W#X#Y#Z#.#`# $.$9+S ", ". L +$@$U+F##$$$%$&$*$=$-$;$>$,$'$)$!$v#w#V#W#~${$]$^$/$($D#_$:$9+S ", ". h.T+= <$[$}$|$1$2$3$4$5$6$'$7$8$9$0$V#W#~${$a${@!@!@b$<$:$c$c$9+S ", ". h.P+d$e$f$g$h$i$j$k$l$m$n$o$p$q$b#r$s$t$a${@u$v$:$.$:$c$c$c$)@9+S ", ". z.W+w$x$y$z$A$B$C$D$E$F$G$H$I$J$K$L$a$`#u$F#W+)@c$c$c$M$M$M$:$9+S ", ". ^+I@N$O$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %^$.%F#+%M$c$c$)@M$M$@%:$:$:$]$S ", ". B+*@#%$%%%&%*%&%=%-%;%>%,%'%.#)%.%v$+%M$c$c$M$M$M$:$:$:$:$:$:$]$S ", ". T+!%~%{%d#]%^%/%(%Z@_%:%F@<%D#v$:$c$c$c$c$M$M$M$:$:$:$:$:$:$:$]$S ", ". [%u$}%|%`$1%2%:%6@C#f# $3%v$:$c$c$c$c$M$M$M$:$:$:$:$:$:$:$:$:$4%S ", ". .#5%6%~%7%7%8%9%0%G#H@ #Z#i#i#i#i#5@5@5@5@5@5@5@5@5@5@5@5@5@4%X#S ", ". S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S . "}; static char * delete_xpm[] = { "34 37 758 2", " c None", ". c #404040", "+ c #F6F6F6", "@ c #FFFFFF", "# c #FAFAFA", "$ c #D6D6D6", "% c #878787", "& c #E5E7EC", "* c #FEFEFE", "= c #E6E6E6", "- c #F0F0F0", "; c #A0A0A0", "> c #A3B2BF", ", c #A3AFBA", "' c #98A4B0", ") c #939FAA", "! c #D3D6DA", "~ c #F8F8F8", "{ c #D8D8D8", "] c #F5F5F5", "^ c #979797", "/ c #B0BBC6", "( c #B3BDC9", "_ c #BCC2CF", ": c #DBDBDA", "< c #CCCBC8", "[ c #B9B8B5", "} c #B0AFAC", "| c #AFAFAC", "1 c #B2B1AE", "2 c #B1B0AE", "3 c #B1AFAD", "4 c #B6B4B1", "5 c #C3C2BE", "6 c #D8D7D5", "7 c #C9C9C9", "8 c #FDFDFD", "9 c #E0E0E0", "0 c #888888", "a c #C5CBD5", "b c #D0D6E2", "c c #D3D9E4", "d c #F9F9F9", "e c #BEBDBC", "f c #46443D", "g c #42403A", "h c #47443F", "i c #61605E", "j c #515151", "k c #686868", "l c #7E7E7E", "m c #4F5151", "n c #5F5F5F", "o c #6D6D6D", "p c #777777", "q c #7C7C7C", "r c #838282", "s c #6E6D69", "t c #4C4A44", "u c #5A584F", "v c #ACAAA6", "w c #BDBDBC", "x c #E1E1E1", "y c #C8C8C8", "z c #C2C2C2", "A c #8E8E8E", "B c #D8DBE4", "C c #DBDFE8", "D c #E3E6EC", "E c #C5C4C1", "F c #514F49", "G c #1B1B1A", "H c #272525", "I c #2C2C2C", "J c #313232", "K c #353536", "L c #272727", "M c #C1C1C1", "N c #A4A4A4", "O c #6F6F6F", "P c #747474", "Q c #929292", "R c #919191", "S c #8B8B8B", "T c #818182", "U c #7B7B7B", "V c #757575", "W c #5C5C5B", "X c #6C6A66", "Y c #74716A", "Z c #626262", "` c #565656", " . c #5A5A5A", ".. c #848484", "+. c #000000", "@. c #DDE0E7", "#. c #E6E8EE", "$. c #EAEDF1", "%. c #524E47", "&. c #202020", "*. c #212121", "=. c #242425", "-. c #66645F", ";. c #99968D", ">. c #8B8881", ",. c #9E9C99", "'. c #D1D1D2", "). c #DFDFDF", "!. c #EDEDED", "~. c #8D8D8D", "{. c #707070", "]. c #868686", "^. c #E8E8E8", "/. c #A9A9A9", "(. c #828282", "_. c #A6A6A6", ":. c #7D7D7D", "<. c #636464", "[. c #84827F", "}. c #8B8985", "|. c #9A9A9A", "1. c #6C6C6C", "2. c #E4E7EC", "3. c #EAECF0", "4. c #E9ECF1", "5. c #74716D", "6. c #5F5E5C", "7. c #2D2D2D", "8. c #72706B", "9. c #96938B", "0. c #939188", "a. c #C6C6C6", "b. c #D7D7D7", "c. c #F3F3F3", "d. c #6E6E6E", "e. c #BFBFBF", "f. c #E7E7E7", "g. c #CFCFCF", "h. c #696969", "i. c #C5C5C2", "j. c #82807B", "k. c #E9E9E9", "l. c #E5E5E4", "m. c #AEAEAE", "n. c #E7E9EE", "o. c #E4E7ED", "p. c #76756C", "q. c #737067", "r. c #92908A", "s. c #AEAEAB", "t. c #8E8E8B", "u. c #929189", "v. c #A8A8A7", "w. c #DCDCDC", "x. c #CACACA", "y. c #FBFBFB", "z. c #E2E2E2", "A. c #B1B1B1", "B. c #949494", "C. c #C6C5C3", "D. c #D0CFCD", "E. c #8B8A87", "F. c #8E8D8A", "G. c #F4F4F4", "H. c #E1E4E9", "I. c #D9DDE4", "J. c #A3A19C", "K. c #676259", "L. c #5D5952", "M. c #6C685F", "N. c #97948E", "O. c #A5A39F", "P. c #A09E9A", "Q. c #B1B1AE", "R. c #BFBEBC", "S. c #D0CFCE", "T. c #CFCFCD", "U. c #C0C0BE", "V. c #B9B9B7", "W. c #B6B6B5", "X. c #BBBBB9", "Y. c #C3C2BF", "Z. c #B0AEAA", "`. c #A4A29E", " + c #85837F", ".+ c #4E4C48", "++ c #31302B", "@+ c #D9D9D9", "#+ c #F3F3F2", "$+ c #F2F2F1", "%+ c #C4C4C4", "&+ c #E1E3E7", "*+ c #D9DCE2", "=+ c #C7CDD6", "-+ c #A3A09A", ";+ c #9B9586", ">+ c #999387", ",+ c #5C5A53", "'+ c #59564F", ")+ c #5D5A52", "!+ c #5B5852", "~+ c #605D56", "{+ c #63615B", "]+ c #67635D", "^+ c #67645D", "/+ c #68645D", "(+ c #68645E", "_+ c #69665E", ":+ c #64625C", "<+ c #5D5B54", "[+ c #4F4D49", "}+ c #43413A", "|+ c #403D37", "1+ c #3D3A32", "2+ c #37342F", "3+ c #FEFEFD", "4+ c #DCDEE2", "5+ c #C7CED6", "6+ c #A4B8C9", "7+ c #ADABA5", "8+ c #9E988B", "9+ c #AFAAA0", "0+ c #BAB4AA", "a+ c #C2BEB6", "b+ c #BDBAB3", "c+ c #BBB8B2", "d+ c #B0AEA8", "e+ c #A8A59E", "f+ c #9D9992", "g+ c #8F8A81", "h+ c #827C72", "i+ c #777168", "j+ c #716C60", "k+ c #6D685C", "l+ c #696258", "m+ c #635E55", "n+ c #5F5B51", "o+ c #514C44", "p+ c #49443C", "q+ c #3B3731", "r+ c #21201B", "s+ c #E3E3E3", "t+ c #FCFCFC", "u+ c #B4C4D0", "v+ c #A2B6C6", "w+ c #CECCC9", "x+ c #918C80", "y+ c #9E9A93", "z+ c #C2BFB5", "A+ c #CFCBC4", "B+ c #C5C2BE", "C+ c #EFEEEC", "D+ c #E2DFDA", "E+ c #DAD7D1", "F+ c #DAD8D4", "G+ c #CAC6BE", "H+ c #AEA89D", "I+ c #9B9588", "J+ c #6D685D", "K+ c #807A70", "L+ c #817B6F", "M+ c #757063", "N+ c #5D584F", "O+ c #403D36", "P+ c #4E4A42", "Q+ c #3A3630", "R+ c #1A1815", "S+ c #FAFAF9", "T+ c #F9F9F8", "U+ c #C0C9D0", "V+ c #ADBCC9", "W+ c #ACBAC8", "X+ c #D1CFCB", "Y+ c #969286", "Z+ c #9B978E", "`+ c #D4D2CC", " @ c #CDCAC1", ".@ c #CAC9C4", "+@ c #E4E3DD", "@@ c #DEDCD6", "#@ c #DFDEDC", "$@ c #D4D1CB", "%@ c #B7B2A7", "&@ c #A39C90", "*@ c #625E54", "=@ c #B7B5AF", "-@ c #847E70", ";@ c #7A7569", ">@ c #5C584E", ",@ c #3F3C36", "'@ c #4F4B43", ")@ c #3B3932", "!@ c #171513", "~@ c #E3E3E2", "{@ c #F7F7F7", "]@ c #A7B6C1", "^@ c #AAB6C1", "/@ c #CFCECA", "(@ c #827D72", "_@ c #969187", ":@ c #CAC6BD", "<@ c #CCC9C5", "[@ c #EFEFED", "}@ c #E1DFDA", "|@ c #DFDCD7", "1@ c #DAD8D7", "2@ c #D6D3CC", "3@ c #BCB7AC", "4@ c #A6A092", "5@ c #B6B3AC", "6@ c #888374", "7@ c #797469", "8@ c #5D5A51", "9@ c #44423B", "0@ c #514E45", "a@ c #3C3A34", "b@ c #1D1D1A", "c@ c #E4E4E2", "d@ c #F4F4F3", "e@ c #8F9EAB", "f@ c #8E9EAC", "g@ c #8998A7", "h@ c #171717", "i@ c #868074", "j@ c #948E84", "k@ c #D8D6D1", "l@ c #C8C4BC", "m@ c #EEEDEB", "n@ c #E4E1DC", "o@ c #DCDAD4", "p@ c #D8D8D5", "q@ c #D7D3CC", "r@ c #BBB6AA", "s@ c #AAA293", "t@ c #BDBAB2", "u@ c #8A8475", "v@ c #7B7569", "w@ c #5B564D", "x@ c #4D4941", "y@ c #534E45", "z@ c #2F2C28", "A@ c #272421", "B@ c #E4E4E3", "C@ c #F1F1F1", "D@ c #120A09", "E@ c #4F362E", "F@ c #908B80", "G@ c #D4D3CF", "H@ c #C5C0B7", "I@ c #D2CFC9", "J@ c #E8E7E5", "K@ c #E0DED9", "L@ c #D9D6D0", "M@ c #D3D1CF", "N@ c #D6D2CB", "O@ c #A9A395", "P@ c #C1BCB5", "Q@ c #847D70", "R@ c #777064", "S@ c #555148", "T@ c #5A554B", "U@ c #4E4A41", "V@ c #252320", "W@ c #25221F", "X@ c #E0E0DE", "Y@ c #EDEDEC", "Z@ c #EFEFEE", "`@ c #010101", " # c #23130F", ".# c #FF8467", "+# c #21100C", "@# c #D2CFCB", "## c #C7C3BC", "$# c #CECBC6", "%# c #E3E0DC", "&# c #B7B1A8", "*# c #A8A295", "=# c #6A645A", "-# c #B9B5AC", ";# c #7B7469", "># c #706A5E", ",# c #423F37", "'# c #524E45", ")# c #4B4840", "!# c #201E1B", "~# c #2B2A28", "{# c #E5E5E3", "]# c #E9E9E7", "^# c #EAEAE8", "/# c #FFAE97", "(# c #F16242", "_# c #F26646", ":# c #F06748", "<# c #E05131", "[# c #F86443", "}# c #633329", "|# c #989591", "1# c #CCCAC4", "2# c #DBDAD9", "3# c #E0DDD9", "4# c #D5D3CF", "5# c #CBCAC6", "6# c #CFCBC6", "7# c #B2AEA4", "8# c #9E988E", "9# c #66625B", "0# c #B0ACA3", "a# c #746E62", "b# c #6A6358", "c# c #39362F", "d# c #4F4B42", "e# c #4A453F", "f# c #2E2D29", "g# c #E6E6E5", "h# c #FC967F", "i# c #DE3D18", "j# c #DF421E", "k# c #E04522", "l# c #8A4637", "m# c #93928F", "n# c #D7D7D5", "o# c #E0DEDC", "p# c #D5D4CF", "q# c #C6C4C1", "r# c #CBC9C4", "s# c #A7A39A", "t# c #6B6961", "u# c #A6A39C", "v# c #35322D", "w# c #4C4941", "x# c #45433C", "y# c #33302E", "z# c #DBDBD9", "A# c #CC696A", "B# c #920000", "C# c #950000", "D# c #940000", "E# c #970000", "F# c #5C0102", "G# c #423736", "H# c #D4D4D3", "I# c #DDDCD8", "J# c #D4D2CE", "K# c #B7B6B2", "L# c #C6C4BF", "M# c #A19D94", "N# c #8E897F", "O# c #66635C", "P# c #9D9A92", "Q# c #6B675C", "R# c #605C52", "S# c #4B4841", "T# c #3A3731", "U# c #1A1A17", "V# c #474541", "W# c #CBCBCA", "X# c #D1D1D0", "Y# c #DADAD9", "Z# c #FDFDFC", "`# c #CF6C6C", " $ c #990000", ".$ c #9D0000", "+$ c #4F0000", "@$ c #484745", "#$ c #C0BCB7", "$$ c #D1D0CF", "%$ c #DDDCD9", "&$ c #B8B6B2", "*$ c #CCCBC6", "=$ c #A09B92", "-$ c #8C867B", ";$ c #716F69", ">$ c #9B968F", ",$ c #696359", "'$ c #615B52", ")$ c #32312B", "!$ c #181713", "~$ c #41403D", "{$ c #C8C8C6", "]$ c #D2D2D1", "^$ c #381717", "/$ c #2F0000", "($ c #3C0000", "_$ c #820000", ":$ c #340000", "<$ c #4D4B47", "[$ c #CCCAC5", "}$ c #BFBDB7", "|$ c #BCB9B5", "1$ c #D3D0CD", "2$ c #A39F95", "3$ c #8F897E", "4$ c #6F6C67", "5$ c #9B968E", "6$ c #6A6259", "7$ c #605B52", "8$ c #3A3631", "9$ c #34302C", "0$ c #171512", "a$ c #676662", "b$ c #B3B3B2", "c$ c #BDBDBB", "d$ c #CECECC", "e$ c #F8F8F7", "f$ c #F7F7F6", "g$ c #F6F6F5", "h$ c #F1F1F0", "i$ c #E8E8E7", "j$ c #0D0000", "k$ c #2A0000", "l$ c #68625B", "m$ c #867F74", "n$ c #D4D2CF", "o$ c #C1BDB7", "p$ c #CECDCB", "q$ c #E1E0DD", "r$ c #BCBAB5", "s$ c #A8A399", "t$ c #928B80", "u$ c #9B9790", "v$ c #6B645A", "w$ c #666056", "x$ c #312F29", "y$ c #6E6D67", "z$ c #ABABA9", "A$ c #EFEFEF", "B$ c #9D9C99", "C$ c #716D63", "D$ c #898378", "E$ c #CECDCA", "F$ c #C4C1BA", "G$ c #C8C6C3", "H$ c #DFDDDB", "I$ c #D9D7D2", "J$ c #BFBCB7", "K$ c #D8D7D3", "L$ c #AAA499", "M$ c #999286", "N$ c #716E6A", "O$ c #A09C93", "P$ c #6F685D", "Q$ c #57534A", "R$ c #434039", "S$ c #2D2925", "T$ c #7F7E7A", "U$ c #A4A4A3", "V$ c #B4B4B3", "W$ c #C5C5C3", "X$ c #EEEEED", "Y$ c #E7E7E6", "Z$ c #D8D8D7", "`$ c #C2C2C1", " % c #706C61", ".% c #8D887C", "+% c #CDCBC8", "@% c #C3C0B8", "#% c #E0DEDA", "$% c #DDDBD6", "%% c #C3C1BC", "&% c #D9D7D4", "*% c #ACA79B", "=% c #989286", "-% c #A09C94", ";% c #6D675C", ">% c #4E4B42", ",% c #24231E", "'% c #1B1A17", ")% c #888887", "!% c #979796", "~% c #ADADAC", "{% c #C4C4C3", "]% c #F0F0EF", "^% c #F0F0EE", "/% c #EDEDEB", "(% c #E8E8E6", "_% c #BABAB8", ":% c #6F6D62", "<% c #8D877B", "[% c #CAC9C5", "}% c #C2C0BC", "|% c #E2E1E0", "1% c #C8C6C0", "2% c #DCDAD6", "3% c #ABA69B", "4% c #989285", "5% c #73726E", "6% c #908C83", "7% c #666057", "8% c #424039", "9% c #3C3A32", "0% c #413D36", "a% c #1E1D1A", "b% c #6B6B6A", "c% c #898988", "d% c #A8A8A6", "e% c #BEBEBC", "f% c #ECECEB", "g% c #EBEBEA", "h% c #E9E9E8", "i% c #D0D0CF", "j% c #AAAAA9", "k% c #726E68", "l% c #8F887C", "m% c #BCB9B6", "n% c #C4C1B9", "o% c #BCBBB6", "p% c #E0DFDD", "q% c #D7D4CF", "r% c #C9C6BF", "s% c #DCDCD9", "t% c #A6A295", "u% c #908A7E", "v% c #868279", "w% c #5E5B4F", "x% c #3C3934", "y% c #36342F", "z% c #393630", "A% c #575756", "B% c #797978", "C% c #A1A19F", "D% c #ECECEA", "E% c #EBEBE9", "F% c #9C9C9B", "G% c #6C6B68", "H% c #817C70", "I% c #A7A39F", "J% c #BCB7B1", "K% c #AEABA7", "L% c #DAD9D8", "M% c #C9C6C1", "N% c #C2BFB7", "O% c #D5D4D1", "P% c #9B9489", "Q% c #868174", "R% c #6B6863", "S% c #747069", "T% c #514C43", "U% c #2D2B25", "V% c #32302B", "W% c #23201D", "X% c #1B1A18", "Y% c #4C4C4B", "Z% c #6F6F6E", "`% c #C0C0C0", " & c #EAEAE9", ".& c #CFCFCE", "+& c #9E9E9D", "@& c #666664", "#& c #3A3732", "$& c #827E77", "%& c #938F87", "&& c #9C9B94", "*& c #B0ADA8", "=& c #ABA7A1", "-& c #C2C1C0", ";& c #8A867B", ">& c #7A746C", ",& c #686763", "'& c #524D43", ")& c #47443C", "!& c #3F3B34", "~& c #36342D", "{& c #292723", "]& c #171713", "^& c #2D2B29", "/& c #4D4D4D", "(& c #747473", "_& c #9F9F9E", ":& c #C1C1BF", "<& c #C0C0BF", "[& c #E7E7E5", "}& c #E6E6E4", "|& c #E2E2E0", "1& c #D5D5D3", "2& c #B2B2B0", "3& c #80807F", "4& c #504F4C", "5& c #292824", "6& c #494742", "7& c #7A7771", "8& c #928F8A", "9& c #908D86", "0& c #8D8983", "a& c #8B8780", "b& c #7A766E", "c& c #68635A", "d& c #56534B", "e& c #3D3B34", "f& c #2F2C27", "g& c #23201B", "h& c #121210", "i& c #312E2C", "j& c #4F4F4F", "k& c #848482", "l& c #C9C9C7", "m& c #DADAD8", "n& c #CACAC8", "o& c #AAAAA8", "p& c #7F7F7E", "q& c #626261", "r& c #3D3A38", "s& c #403F3B", "t& c #44433F", "u& c #474542", "v& c #4A4843", "w& c #45433D", "x& c #3C3935", "y& c #292823", "z& c #1D1A18", "A& c #292927", "B& c #464643", "C& c #5B5B5A", "D& c #767675", "E& c #BCBCBB", "F& c #E3E3E1", "G& c #DFDFDD", "H& c #D9D9D7", "I& c #B6B6B4", "J& c #7C7C7B", "K& c #6E6E6D", "L& c #616160", "M& c #555551", "N& c #403F3C", "O& c #343432", "P& c #2B2928", "Q& c #272723", "R& c #2C2A27", "S& c #353332", "T& c #454441", "U& c #555555", "V& c #5D5D5D", "W& c #6D6D6C", "X& c #878786", "Y& c #CACAC9", "Z& c #CDCDCB", "`& c #C6C6C4", " * c #9B9B9A", ".* c #90908E", "+* c #838382", "@* c #818180", "#* c #7A7A79", "$* c #7D7D7C", "%* c #878785", "&* c #919190", "** c #A5A5A4", "=* c #C2C2C0", "-* c #B7B7B5", ";* c #BABABA", ">* c #B5B5B5", ",* c #B1B1B0", "'* c #AEAEAD", ")* c #B0B0AF", "!* c #B2B2B1", "~* c #B5B5B4", "{* c #B8B8B7", "]* c #BBBBBA", "^* c #BFBFBE", "/* c #C1C1C0", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". + @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ # $ % . ", ". @ & & & & & & & & & & & & & & & & & * * * * * * * # = - ; . ", ". @ & > , ' ) ) ) ) ) ) ) ) ) ) ) ) ! * * * * * * * ~ { @ ] ^ . ", ". @ & > / ( _ @ @ @ @ # : < [ } | 1 2 3 3 4 5 6 - @ @ 7 8 8 9 0 . ", ". @ & > a b c @ d e f g h i j k l m n o p q r s t u v w x $ y z A . ", ". @ & > B C D E F G H I J K L M { N O P Q R S T U V W X Y Z ` ...+.", ". @ & > @.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^.9 /.(._.:.<.[.}._.|.1.+.", ". @ & > 2.3.4.5.6.7.8.;.9.0.a.b.= c.= d.e.@ @ # f.g.U h.i.j.k.l.m.+.", ". @ & > & n.o.p.q.r.s.t.u.v.z w.- @ @ x.@ y.z.A.B.A C.D.E.F.G.c.z +.", ". * & > & H.I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Y.Z.`. +.+++@+#+$+%++.", ". * & > &+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+}+|+1+2+++@+@ 3+%++.", ". 3+& > 4+5+6+7+8+9+0+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+y.z +.", ". 8 & > ! u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+l.S+T+z +.", ". 8 & > U+V+W+X+Y+Z+`+ @.@C++@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@+ M +.", ". t+& > ]@> ^@/@(@_@F+:@<@[@}@|@1@2@3@4@k+5@6@7@8@9@0@a@b@c@d@d@%++.", ". t+& ) e@f@g@h@i@j@k@l@$@m@n@o@p@q@r@s@k+t@u@v@w@x@y@z@A@B@C@C@%++.", ". t+& ! ! ! ! D@E@F@G@H@I@J@K@L@M@N@0+O@k+P@Q@R@S@T@U@V@W@X@Y@Z@%++.", ". @ @ `@+.+.+. #.#+#@###$#X@%#k@< $@&#*#=#-#;#>#,#'#)#!#~#{#]#^#%++.", ". @ @ `@/#(#_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#R+f#).~@g#%++.", ". @ @ `@h#i#j#j#j#j#k#l#m#n#o#p#q#r#s#Y+t#u#J+m+v#w#x#R+y#n#z#X@%++.", ". @ @ +.A#B#C#C#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#v#S#T#U#V#W#X#Y#%++.", ". 3+Z#+.`#E# $ $ $.$+$@$#$$$%$J#&$*$=$-$;$>$,$'$v#w#)$!$~$U.{$]$%++.", ". y.# +.^$/$/$($_$:$<$[$}$S.o#4#|$1$2$3$4$5$6$7$8$x@9$0$a$b$c$d$%++.", ". T+e$f$g$h$i$j$k$l$m$n$o$p$q$k@r$G@s$t$4$u$v$w$,#P+x$0$y$z$V.{$%++.", ". + ] G.c.A$f.+.B$C$D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$x@S$R+T$U$V$W$%++.", ". d@#+$+h$X$Y$Z$`$ %.%+%@%q##%$%%%&%*%=%8.-%;%>%,#e#,%'%)%!%~%{%%++.", ". C@]%^%[@/%(%H#_%:%<%[%a+}%|%I$1%2%3%4%5%6%7%8%9%0%a%'%b%c%d%e%%++.", ". Z@X$Y@f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%8.v%w%x%y%z%a%b@A%B%C%c$%++.", ". /%D%E%^#]#{#d$F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%++U%V%W%X%Y%Z%F%e%`%+.", ". &h%i$Y$g#~@.&+&@&#&$&%&&&S.*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:&<&+.", ". (%[&}&{#c@|&1&2&3&4&5&6&7&8&9&0&a&b&c&d&e#e&f&g&h&i&j&A%k&~%l&<&+.", ". l.B@~@|&|&|&m&n&o&p&q&@$r&s&t&u&v&w&x&V%y&z&R+A&B&C&D&(&F%E&T.<&+.", ". F&|&|&|&|&|&G&H&n&I&!%J&K&L&M&N&O&P&Q&R&S&T&U&V&W&X&C%!%I&Y&H&<&+.", ". ]%F&F&F&F&F&F&G&Y#Z&`&V.U$ *.*+*@*#*#*J&J&$*%*&***V$=*-*n&1&G&W.+.", ". `$;*>*,*'*'*)*!*~*{*]*w ^*/*/*/*/*`%`%`%`%`%`%`%`%`%`%`%`%`%W.!%+.", ". +.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.. "}; static char * quit_xpm[] = { "34 37 552 2", " c None", ". c #404040", "+ c #F6F6F6", "@ c #FFFFFF", "# c #FAFAFA", "$ c #D6D6D6", "% c #878787", "& c #E5E7EC", "* c #FEFEFE", "= c #E6E6E6", "- c #F0F0F0", "; c #A0A0A0", "> c #A3B2BF", ", c #A3AFBA", "' c #98A4B0", ") c #939FAA", "! c #D3D6DA", "~ c #F8F8F8", "{ c #D8D8D8", "] c #F5F5F5", "^ c #979797", "/ c #B0BBC6", "( c #B3BDC9", "_ c #BCC2CF", ": c #B8BDCA", "< c #9A9CA3", "[ c #947F78", "} c #D19C87", "| c #B58977", "1 c #9496A3", "2 c #A1A9BB", "3 c #A1A9BA", "4 c #9FA8B7", "5 c #959FAD", "6 c #86909C", "7 c #FDFDFD", "8 c #F7F7F7", "9 c #C9C9C9", "0 c #E0E0E0", "a c #888888", "b c #C5CBD5", "c c #D0D6E2", "d c #D3D9E4", "e c #B1B2B7", "f c #B7A7A2", "g c #000000", "h c #606060", "i c #E1E1E1", "j c #C8C8C8", "k c #C2C2C2", "l c #8E8E8E", "m c #D8DBE4", "n c #DBDFE8", "o c #E3E6EC", "p c #CDCED0", "q c #D7C5BF", "r c #E4E5E1", "s c #E0E1DB", "t c #DEDEDB", "u c #D8D8D6", "v c #D1D1CF", "w c #C7C7C6", "x c #B5B5B4", "y c #9F9F9E", "z c #8C8C8B", "A c #7E7E7D", "B c #6D6E6C", "C c #6D706B", "D c #1A2117", "E c #263023", "F c #1B2319", "G c #1A2218", "H c #1A2118", "I c #5F655D", "J c #666666", "K c #5D5D5D", "L c #565656", "M c #5A5A5A", "N c #848484", "O c #DDE0E7", "P c #E6E8EE", "Q c #EAEDF1", "R c #DFDCDF", "S c #DCC8C1", "T c #D6D6D3", "U c #D2D4D0", "V c #D4D7D2", "W c #D3D3D0", "X c #D5D5D3", "Y c #D2D2CF", "Z c #CDCDCA", "` c #C7C7C4", " . c #BDBDBA", ".. c #B5B6B2", "+. c #B0B0AD", "@. c #9D9D9A", "#. c #171D14", "$. c #232E20", "%. c #1D261A", "&. c #1B2318", "*. c #1C2419", "=. c #343C32", "-. c #656764", ";. c #A6A6A6", ">. c #9A9A9A", ",. c #6C6C6C", "'. c #E4E7EC", "). c #EAECF0", "!. c #E9ECF1", "~. c #F7F0E5", "{. c #FDEBC8", "]. c #CDCFC9", "^. c #D0D1CD", "/. c #D3D5D1", "(. c #D5D6D3", "_. c #D7D7D4", ":. c #CACBC7", "<. c #BDBFBA", "[. c #BFC3BD", "}. c #BBBEB9", "|. c #A9AAA7", "1. c #131911", "2. c #222C1F", "3. c #1C2519", "4. c #1D251A", "5. c #222B1F", "6. c #11150F", "7. c #F3F3F2", "8. c #E9E9E9", "9. c #E5E5E4", "0. c #AEAEAE", "a. c #E7E9EE", "b. c #E4E7ED", "c. c #E9E6E7", "d. c #FDF2D1", "e. c #CFD0CB", "f. c #D5D6D2", "g. c #D8D9D6", "h. c #DCDDDA", "i. c #D8D8D5", "j. c #D3D4D1", "k. c #CDCECA", "l. c #C6C7C3", "m. c #C0C3BD", "n. c #C6CAC4", "o. c #CBCCC9", "p. c #11170F", "q. c #252E21", "r. c #1B2418", "s. c #1A2217", "t. c #1F281C", "u. c #F5F5F4", "v. c #F4F4F4", "w. c #F3F3F3", "x. c #E1E4E9", "y. c #D9DDE4", "z. c #CED3DC", "A. c #ECD5B3", "B. c #DEDEDA", "C. c #D6D7D4", "D. c #D7D8D5", "E. c #DCDCDA", "F. c #DEDEDC", "G. c #DFDFDD", "H. c #DBDBD8", "I. c #C3C5C0", "J. c #C3C6C0", "K. c #C9CAC6", "L. c #0F140D", "M. c #252F21", "N. c #F2F2F1", "O. c #C4C4C4", "P. c #E1E3E7", "Q. c #D9DCE2", "R. c #C7CDD6", "S. c #ABB6C4", "T. c #EAB87E", "U. c #E4E4E2", "V. c #E0E0DE", "W. c #DBDCD9", "X. c #E0E1DE", "Y. c #E2E3E1", "Z. c #E2E2DF", "`. c #D1D2CE", " + c #C7C8C4", ".+ c #C2C4BF", "++ c #0F130D", "@+ c #273123", "#+ c #1E271B", "$+ c #1F291B", "%+ c #F2F2F2", "&+ c #F1F1F0", "*+ c #C0C0C0", "=+ c #FEFEFD", "-+ c #DCDEE2", ";+ c #C7CED6", ">+ c #A4B8C9", ",+ c #8292A2", "'+ c #F0B764", ")+ c #DDDDDB", "!+ c #DBDBD9", "~+ c #DDDEDB", "{+ c #E2E3E0", "]+ c #E1E2DF", "^+ c #D6D7D5", "/+ c #CFD0CC", "(+ c #C9CAC7", "_+ c #C0C2BD", ":+ c #BEC2BA", "<+ c #080C07", "[+ c #263222", "}+ c #212D1E", "|+ c #222E1E", "1+ c #1F271C", "2+ c #F0F0EF", "3+ c #EDEDEC", "4+ c #ECECEB", "5+ c #B4C4D0", "6+ c #A2B6C6", "7+ c #90A7B9", "8+ c #7C95AA", "9+ c #DEDFDC", "0+ c #E6E6E4", "a+ c #E2E2E1", "b+ c #CDCECB", "c+ c #CACBC8", "d+ c #BEC1BB", "e+ c #B4BBB2", "f+ c #060905", "g+ c #2A3726", "h+ c #273423", "i+ c #273323", "j+ c #212B1E", "k+ c #202A1D", "l+ c #EEEEED", "m+ c #E8E8E8", "n+ c #C0C9D0", "o+ c #ADBCC9", "p+ c #ACBAC8", "q+ c #A7B6C3", "r+ c #859CAC", "s+ c #DEDFDD", "t+ c #E3E4E2", "u+ c #E4E4E3", "v+ c #E3E3E2", "w+ c #CACAC7", "x+ c #C1C5BF", "y+ c #D3D4D0", "z+ c #040603", "A+ c #2E3D29", "B+ c #293625", "C+ c #222C1E", "D+ c #1F291D", "E+ c #E9E9E8", "F+ c #FCFCFC", "G+ c #A7B6C1", "H+ c #AAB6C1", "I+ c #010101", "J+ c #758B9B", "K+ c #E1E2E0", "L+ c #C5C5C2", "M+ c #616260", "N+ c #6A6B69", "O+ c #030503", "P+ c #31412B", "Q+ c #30402B", "R+ c #2B3A27", "S+ c #243120", "T+ c #202C1D", "U+ c #0B0F0A", "V+ c #EBEBEA", "W+ c #8F9EAB", "X+ c #8E9EAC", "Y+ c #8998A7", "Z+ c #2D1A15", "`+ c #E5E5E3", " @ c #C8C8C6", ".@ c #A6A69F", "+@ c #30302F", "@@ c #020201", "#@ c #020402", "$@ c #33432D", "%@ c #31422D", "&@ c #283524", "*@ c #232F1F", "=@ c #070906", "-@ c #EAEAE9", ";@ c #EEEEEC", ">@ c #F38167", ",@ c #70382B", "'@ c #B5B5B3", ")@ c #DADCD8", "!@ c #E0E1DF", "~@ c #DADBD8", "{@ c #C7C8C5", "]@ c #6D6D6C", "^@ c #C3C7C1", "/@ c #BABAB9", "(@ c #030502", "_@ c #2F3F2B", ":@ c #33442F", "<@ c #30412B", "[@ c #2C3A27", "}@ c #040604", "|@ c #FBFBFB", "1@ c #F7F7F6", "2@ c #E9AB9D", "3@ c #F67457", "4@ c #F6785B", "5@ c #F7785A", "6@ c #E87D64", "7@ c #EE522E", "8@ c #643429", "9@ c #AAAAA8", "0@ c #DFE0DE", "a@ c #D9D9D7", "b@ c #CECFCB", "c@ c #C8C9C6", "d@ c #C7C9C5", "e@ c #D2D2D0", "f@ c #A3A3A1", "g@ c #030402", "h@ c #32432D", "i@ c #33452F", "j@ c #33452E", "k@ c #303F2B", "l@ c #293525", "m@ c #E9E9E7", "n@ c #DB9A8B", "o@ c #E34018", "p@ c #E4451F", "q@ c #E4451E", "r@ c #E4461F", "s@ c #EC4E27", "t@ c #BC6049", "u@ c #5B5B5A", "v@ c #DADAD8", "w@ c #D1D1CE", "x@ c #D4D4D2", "y@ c #A8A8A4", "z@ c #040503", "A@ c #33442E", "B@ c #354730", "C@ c #2B3927", "D@ c #010201", "E@ c #E7E7E5", "F@ c #BA7C7D", "G@ c #910000", "H@ c #940000", "I@ c #960000", "J@ c #870000", "K@ c #481110", "L@ c #DFE0DD", "M@ c #DEE0DD", "N@ c #D6D7D3", "O@ c #CCCDC9", "P@ c #CFCFCC", "Q@ c #BABAB6", "R@ c #050704", "S@ c #34462F", "T@ c #35472F", "U@ c #374932", "V@ c #2E3E29", "W@ c #E6E6E5", "X@ c #F9F9F9", "Y@ c #F4F4F3", "Z@ c #C18282", "`@ c #990000", " # c #9C0000", ".# c #820000", "+# c #0F0000", "@# c #C5C6C2", "## c #DEE0DC", "$# c #DDDEDC", "%# c #D5D5D2", "&# c #CACAC6", "*# c #070A06", "=# c #384B33", "-# c #374A32", ";# c #394B34", "># c #364831", ",# c #E2E2E0", "'# c #E3E3E1", ")# c #720000", "!# c #770000", "~# c #1C1010", "{# c #DDDFDC", "]# c #C1C1BE", "^# c #AFB0AE", "/# c #080F07", "(# c #3E5037", "_# c #3A4D35", ":# c #DBDBDB", "<# c #C5C5C5", "[# c #CECECE", "}# c #5C0000", "|# c #040000", "1# c #D9D9D6", "2# c #D9DBD8", "3# c #DBDCDA", "4# c #CBCEC8", "5# c #C5C6C3", "6# c #BEBFBC", "7# c #A1A2A0", "8# c #0A100A", "9# c #405339", "0# c #3F5239", "a# c #3E4F38", "b# c #3A4B34", "c# c #364731", "d# c #DADDD8", "e# c #D9DBD7", "f# c #BFC0BD", "g# c #B5B7B3", "h# c #838382", "i# c #0F120F", "j# c #43563C", "k# c #41553B", "l# c #40523A", "m# c #3C4F37", "n# c #3C4E35", "o# c #E8E8E6", "p# c #E7E7E6", "q# c #DDDDD9", "r# c #CCCECA", "s# c #C3C4C1", "t# c #C0C1BE", "u# c #949592", "v# c #696969", "w# c #151C13", "x# c #43553C", "y# c #44583E", "z# c #40533A", "A# c #41543A", "B# c #D7D7D6", "C# c #D7D7D7", "D# c #DCDCDC", "E# c #C9C9C8", "F# c #EAEAE7", "G# c #B9BAB7", "H# c #898B88", "I# c #2C2F2C", "J# c #222722", "K# c #2F3C2A", "L# c #42543B", "M# c #465A40", "N# c #475B40", "O# c #455A3F", "P# c #F6F6F5", "Q# c #D1D1D0", "R# c #DDDDDC", "S# c #CCCCCB", "T# c #E3E3E0", "U# c #CDCECC", "V# c #A6A6A5", "W# c #393D39", "X# c #20251F", "Y# c #2B3827", "Z# c #41523A", "`# c #44573D", " $ c #495F42", ".$ c #496043", "+$ c #495F43", "@$ c #485D42", "#$ c #E1E1DF", "$$ c #CBCAC8", "%$ c #DFDFDE", "&$ c #EFEFEF", "*$ c #CFCFCD", "=$ c #989896", "-$ c #646463", ";$ c #141C13", ">$ c #212B1D", ",$ c #31402D", "'$ c #3D4D37", ")$ c #41533B", "!$ c #45573F", "~$ c #495E43", "{$ c #4B6245", "]$ c #4E6547", "^$ c #51674A", "/$ c #E8E8E7", "($ c #D5D5D4", "_$ c #D6D6D5", ":$ c #EBECEA", "<$ c #6F6F6F", "[$ c #494949", "}$ c #181E17", "|$ c #212A1E", "1$ c #2C3926", "2$ c #303E2C", "3$ c #3B4B35", "4$ c #45583F", "5$ c #485C42", "6$ c #4C6146", "7$ c #50674A", "8$ c #536A4C", "9$ c #566E4F", "0$ c #587051", "a$ c #DADAD9", "b$ c #DBDBDA", "c$ c #D9D9D9", "d$ c #E8E9E7", "e$ c #3D3F3D", "f$ c #232D20", "g$ c #33412E", "h$ c #3F4F39", "i$ c #394834", "j$ c #354430", "k$ c #3B4B36", "l$ c #495C42", "m$ c #4B5F44", "n$ c #4F6447", "o$ c #53694C", "p$ c #576E4F", "q$ c #5A7252", "r$ c #5B7353", "s$ c #C0C0BF", "t$ c #EFEFEE", "u$ c #FAFAF9", "v$ c #0D0F0D", "w$ c #161D14", "x$ c #263022", "y$ c #212A1D", "z$ c #EBEBEB", "A$ c #D4D4D4", "B$ c #CDCDCC", "C$ c #D4D4D3", "D$ c #D3D3D2", "E$ c #C8C8C7", "F$ c #CACAC9", "G$ c #C3C3C3", "H$ c #C6C6C5", "I$ c #B9B9B8", "J$ c #B6B6B6", "K$ c #C4C4C3", "L$ c #DADADA", "M$ c #E3E3E3", "N$ c #B6B6B5", "O$ c #C2C2C1", "P$ c #BABABA", "Q$ c #B5B5B5", "R$ c #B1B1B0", "S$ c #AEAEAD", "T$ c #B0B0AF", "U$ c #B2B2B1", "V$ c #B8B8B7", "W$ c #BBBBBA", "X$ c #BDBDBC", "Y$ c #BFBFBE", "Z$ c #C1C1C0", "`$ c #979796", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". + @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ # $ % . ", ". @ & & & & & & & & & & & & & & & & & * * * * * * * # = - ; . ", ". @ & > , ' ) ) ) ) ) ) ) ) ) ) ) ) ! * * * * * * * ~ { @ ] ^ . ", ". @ & > / ( _ : < [ } | 1 2 3 4 5 6 ! * * * * * 7 7 8 9 7 7 0 a . ", ". @ & > b c d e f g g g g g g g g g g g g g g g g g g h i $ j k l . ", ". @ & > m n o p q g r s t u v w x y z A B C D E F G H I J K L M N g ", ". @ & > O P Q R S g T U V W X Y Z ` ...+.@.#.$.%.&.*.=.-.w ;.>.,.g ", ". @ & > '.).!.~.{.g ].^./.V (._.Y :.<.[.}.|.1.2.3.&.4.5.6.7.8.9.0.g ", ". @ & > & a.b.c.d.g e.e.f.g.h.i.j.k.l.m.n.o.p.q.r.&.s.t.g u.v.w.k g ", ". * & > & x.y.z.A.g B.C.D.E.F.G.H.Y k.I.J.K.L.M.r.3.s.3.g w.7.N.O.g ", ". * & > P.Q.R.S.T.g U.V.W.X.Y.Z.E.`.K. +.+[.++@+#+$+4.%.g %+N.&+*+g ", ". =+& > -+;+>+,+'+g )+!+~+U.{+]+X.^+/+(+_+:+<+[+}+|+1+%.g 2+3+4+*+g ", ". 7 & > ! 5+6+7+8+g )+E.9+{+0+9.a+(.b+c+d+e+f+g+h+i+j+k+g 3+l+m+*+g ", ". 7 & > n+o+p+q+r+g )+E.s+t+u+v+)+j. +w+x+y+z+A+A+B+C+D+g 3+3+E+*+g ", ". F+& > G+> H+I+J+g )+h.K+t+t+K+t+y+L+M+N+u O+P+Q+R+S+T+U+V+l+3+*+g ", ". F+& ) W+X+Y+I+Z+g W.h.X.{+`+U.h. @.@+@@@u #@$@%@A+&@*@=@-@;@l+*+g ", ". F+& I+I+I+I+I+>@,@'@)@9+X.U.!@~@{@]@g ^@/@(@_@:@<@[@[+}@-@4+3+*+g ", ". |@1@I+2@3@4@5@6@7@8@9@~+9+{+0@a@b@c@d@e@f@g@h@i@j@k@l@#@m@-@V+*+g ", ". # + I+n@o@p@p@q@r@s@t@u@~+X.F.v@w@c+{@x@y@z@A@j@B@h@C@D@E@m@E+*+g ", ". # u.I+F@G@H@H@H@H@I@J@K@t L@M@H.N@O@ +P@Q@R@S@T@U@S@V@g `+0+W@*+g ", ". X@Y@I+Z@`@ # # # #.#+#@#t ##$#h.%#&#:.` '@*#=#-#;#>#<@g ,#,#'#*+g ", ". ~ N.I+I+I+I+I+)#!#~#D.i.~+{#h.W.f.O@K.]#^#/#(#_#_#U@h@g ,#,#,#*+g ", ". ~ &+:#<#O.[#I+}#|#F.1#2#h.~+h.3#4#5#{@6#7#8#9#0#a#b#c#g E@,#,#*+g ", ". 8 1@1@1@7.u.I+I+g a+d#e#W.h.h.F.b+o.f#g#h#i#j#k#l#m#n#g o#0+,#*+g ", ". 1@1@1@4+V+p#p#p#g 0+q#)@W.)@L@~@r#s#t#u#v#w#x#y#y#z#A#g W@`+,#*+g ", ". 1@+ E+B#C#D#v@E#g F#h.)@h.X.]+W.c+G#H#I#J#K#L#M#N#y#O#g '#'#,#*+g ", ". P#u.3+Q#R#S#w *+g 0+h.)+L@X.T#U#V#W#X#Y#a#Z#`# $.$+$@$g ,#'##$*+g ", ". u.-@= F.$$v+%$&$g E@X.0@K+*$=$-$;$>$,$'$)$!$~${$]$^$^$g #$'#'#*+g ", ". u.1@1@/$V+($&+_$g :$$#Q#<$[$}$|$1$2$3$)$4$5$6$7$8$9$0$g '#'#a+*+g ", ". N.+ /$a$b$c$b$($g d$l e$f$g$h$i$j$g$k$x#l$m$n$o$p$q$r$g '#'##$s$g ", ". t$u$u$u.u.w.l+3+g g g g g g g g I+g v$w$x$y$w#}@I+g g g ,#0+#$s$g ", ". z$+ /$Q#c$A$a@B$l+B$C$D$E#a+u !+/$Y@D$S#C$U.E#E$a+v+u+'##$'#,#s$g ", ". -@u.3+F$($F$S#G$s$H$O.*+I$J$K$E#a$c$L$R#D$S#C$U.E##$#$#$#$#$#$s$g ", ". M$#$#$#$V.%$#$#$#$#$#$#$#$#$#$'#'#'#'#,#,#,##$#$#$#$#$#$#$#$#$N$g ", ". O$P$Q$R$S$S$T$U$x V$W$X$Y$Z$Z$Z$Z$*+*+*+*+*+*+*+*+*+*+*+*+*+N$`$g ", ". g g g g g g g g g g g g g g g g g g g g g g g g g g g g g g g g . "}; dlume-0.2.4/src/license.h0100664000076400007640000004700110076467053013722 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ gchar text_license[] = { "\n" " GNU GENERAL PUBLIC LICENSE\n" " Version 2, June 1991\n" "\n" " Copyright (C) 1989, 1991 Free Software Foundation, Inc.\n" " 675 Mass Ave, Cambridge, MA 02139, USA\n" " Everyone is permitted to copy and distribute verbatim copies\n" " of this license document, but changing it is not allowed.\n" "\n" " Preamble\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " The precise terms and conditions for copying, distribution and " "modification follow.\n" "\n" " GNU GENERAL PUBLIC LICENSE\n" " TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n" "\n" " 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\".\n" "\n" "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.\n" "\n" " 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.\n" "\n" "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.\n" "\n" " 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:\n" "\n" " a) You must cause the modified files to carry prominent notices\n" " stating that you changed the files and the date of any change.\n" "\n" " b) You must cause any work that you distribute or publish, that in\n" " whole or in part contains or is derived from the Program or any\n" " part thereof, to be licensed as a whole at no charge to all third\n" " parties under the terms of this License.\n" "\n" " c) If the modified program normally reads commands interactively\n" " when run, you must cause it, when started running for such\n" " interactive use in the most ordinary way, to print or display an\n" " announcement including an appropriate copyright notice and a\n" " notice that there is no warranty (or else, saying that you provide\n" " a warranty) and that users may redistribute the program under\n" " these conditions, and telling the user how to view a copy of this\n" " License. (Exception: if the Program itself is interactive but\n" " does not normally print such an announcement, your work based on\n" " the Program is not required to print an announcement.)\n" "\n" "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.\n" "\n" "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.\n" "\n" "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.\n" "\n" " 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:\n" "\n" " a) Accompany it with the complete corresponding machine-readable\n" " source code, which must be distributed under the terms of Sections\n" " 1 and 2 above on a medium customarily used for software interchange; or,\n" "\n" " b) Accompany it with a written offer, valid for at least three\n" " years, to give any third party, for a charge no more than your\n" " cost of physically performing source distribution, a complete\n" " machine-readable copy of the corresponding source code, to be\n" " distributed under the terms of Sections 1 and 2 above on a medium\n" " customarily used for software interchange; or,\n" "\n" " c) Accompany it with the information you received as to the offer\n" " to distribute corresponding source code. (This alternative is\n" " allowed only for noncommercial distribution and only if you\n" " received the program in object code or executable form with such\n" " an offer, in accord with Subsection b above.)\n" "\n" "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.\n" "\n" "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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" "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.\n" "\n" "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.\n" "\n" "This section is intended to make thoroughly clear what is believed to " "be a consequence of the rest of this License.\n" "\n" " 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.\n" "\n" " 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.\n" "\n" "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.\n" "\n" " 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.\n" "\n" " NO WARRANTY\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " END OF TERMS AND CONDITIONS\n" "\n" " Appendix: How to Apply These Terms to Your New Programs\n" "\n" " 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.\n" "\n" " 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.\n" "\n" " \n" " Copyright (C) 19yy \n" "\n" " 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.\n" "\n" " 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.\n" "\n" " 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., 675 Mass Ave, Cambridge, MA 02139, USA.\n" "\n" "Also add information on how to contact you by electronic and paper mail.\n" "\n" "If the program is interactive, make it output a short notice like this\n" "when it starts in an interactive mode:\n" "\n" " Gnomovision version 69, Copyright (C) 19yy name of author\n" " Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n" " This is free software, and you are welcome to redistribute it\n" " under certain conditions; type `show c' for details.\n" "\n" "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.\n" "\n" "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:\n" "\n" " Yoyodyne, Inc., hereby disclaims all copyright interest in the program\n" " `Gnomovision' (which makes passes at compilers) written by James Hacker.\n" "\n" " , 1 April 1989\n" " Ty Coon, President of Vice\n" "\n" "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.\n" }; dlume-0.2.4/src/logo.h0100664000076400007640000027603610076467053013254 0ustar pasppasp /* * Dlume logo * * Copyright (C) 2003 Maja Kocoñ * * 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. */ static char * logo_xpm[] = { "200 102 3455 2", " c None", ". c #000000", "+ c #BF9D76", "@ c #BE9C75", "# c #BD9B75", "$ c #BC9B74", "% c #BA9873", "& c #B99872", "* c #BA9973", "= c #BC9A74", "- c #BE9C76", "; c #BD9C75", "> c #BB9A73", ", c #BB9A74", "' c #A08363", ") c #A28564", "! c #AB8D69", "~ c #B4946F", "{ c #BD9B74", "] c #B0916D", "^ c #AF8F6C", "/ c #B2916E", "( c #B69671", "_ c #B59570", ": c #A18463", "< c #A48766", "[ c #AA8D69", "} c #B69571", "| c #B79771", "1 c #BB9973", "2 c #B89772", "3 c #B59470", "4 c #B3936F", "5 c #B2926E", "6 c #B1926D", "7 c #AF906C", "8 c #AB8C69", "9 c #AD8F6B", "0 c #A08463", "a c #93795B", "b c #887054", "c c #80694F", "d c #776249", "e c #6F5B44", "f c #65533F", "g c #5D4C39", "h c #594A37", "i c #5F4E3B", "j c #67553F", "k c #766149", "l c #7E684E", "m c #987D5E", "n c #A88A68", "o c #8F7558", "p c #846D51", "q c #806950", "r c #7C664D", "s c #79634A", "t c #756048", "u c #715D46", "v c #6D5A43", "w c #695741", "x c #61503C", "y c #5D4D39", "z c #554635", "A c #574836", "B c #9C8060", "C c #30281D", "D c #2F271D", "E c #362C21", "F c #3C3125", "G c #44382A", "H c #4F4131", "I c #5B4B39", "J c #685540", "K c #745F48", "L c #8D7457", "M c #997D5E", "N c #4F4130", "O c #382E22", "P c #4E4030", "Q c #6E5B44", "R c #2E261D", "S c #30271E", "T c #32291F", "U c #342B20", "V c #3A3024", "W c #3E3326", "X c #403527", "Y c #423628", "Z c #45382A", "` c #483B2C", " . c #4C3E2F", ".. c #63513D", "+. c #B5956F", "@. c #A98B68", "#. c #A38664", "$. c #977C5D", "%. c #907659", "&. c #897155", "*. c #AD8E6B", "=. c #A28664", "-. c #4B3E2E", ";. c #43382A", ">. c #403427", ",. c #352B20", "'. c #31281E", "). c #2E251C", "!. c #2A221A", "~. c #262018", "{. c #231D16", "]. c #1F1A13", "^. c #1C1711", "/. c #18140F", "(. c #15110D", "_. c #110E0B", ":. c #0E0B08", "<. c #0A0806", "[. c #060504", "}. c #030202", "|. c #9A7F5F", "1. c #4E4130", "2. c #3B3024", "3. c #2C251C", "4. c #201A13", "5. c #1B1611", "6. c #17130E", "7. c #14110D", "8. c #0F0C09", "9. c #0C0A07", "0. c #090705", "a. c #080605", "b. c #14100C", "c. c #1C1712", "d. c #31281D", "e. c #745F47", "f. c #9D8161", "g. c #B49470", "h. c #272017", "i. c #16120D", "j. c #13100C", "k. c #120F0B", "l. c #110E0A", "m. c #0F0D0A", "n. c #0E0C09", "o. c #0D0B08", "p. c #B69570", "q. c #010100", "r. c #010101", "s. c #040303", "t. c #080705", "u. c #0C0A08", "v. c #110D0A", "w. c #19140F", "x. c #1D1712", "y. c #45392B", "z. c #B69670", "A. c #372D22", "B. c #020201", "C. c #030302", "D. c #0B0907", "E. c #31291F", "F. c #8F7658", "G. c #64533E", "H. c #433629", "I. c #3A2F24", "J. c #32291E", "K. c #2D251C", "L. c #272018", "M. c #241E16", "N. c #211B14", "O. c #1E1912", "P. c #1A1510", "Q. c #17130F", "R. c #A78967", "S. c #1E1813", "T. c #010000", "U. c #020101", "V. c #040302", "W. c #62513D", "X. c #9B7F5F", "Y. c #070604", "Z. c #846C51", "`. c #514332", " + c #020100", ".+ c #BE9D76", "++ c #675540", "@+ c #AE8F6C", "#+ c #67543F", "$+ c #1A1610", "%+ c #070504", "&+ c #2D251B", "*+ c #45382B", "=+ c #4E3F30", "-+ c #564635", ";+ c #5E4D3A", ">+ c #6F5B45", ",+ c #78624A", "'+ c #7F694F", ")+ c #A38665", "!+ c #534433", "~+ c #4F4031", "{+ c #4B3D2E", "]+ c #403528", "^+ c #2B221A", "/+ c #120E0B", "(+ c #050403", "_+ c #14110C", ":+ c #725E46", "<+ c #BA9872", "[+ c #282118", "}+ c #7C654C", "|+ c #5B4B38", "1+ c #574736", "2+ c #8B7256", "3+ c #B5946F", "4+ c #B89771", "5+ c #413528", "6+ c #A78A67", "7+ c #806A4F", "8+ c #473A2C", "9+ c #060503", "0+ c #68553F", "a+ c #332B20", "b+ c #2E261C", "c+ c #030201", "d+ c #A08362", "e+ c #6A5741", "f+ c #B0906C", "g+ c #695641", "h+ c #AE8F6B", "i+ c #AC8E6A", "j+ c #AB8D6A", "k+ c #AA8C69", "l+ c #78634A", "m+ c #594937", "n+ c #AA8B68", "o+ c #2B231A", "p+ c #392F23", "q+ c #221C15", "r+ c #2F261C", "s+ c #332A1F", "t+ c #7C664C", "u+ c #957B5C", "v+ c #514232", "w+ c #493C2D", "x+ c #473B2C", "y+ c #45392A", "z+ c #876F53", "A+ c #967B5D", "B+ c #1B1610", "C+ c #62503C", "D+ c #997E5E", "E+ c #29221A", "F+ c #241D16", "G+ c #705C45", "H+ c #2A231A", "I+ c #A98B69", "J+ c #A68967", "K+ c #0D0B09", "L+ c #9F8362", "M+ c #A58766", "N+ c #897154", "O+ c #020202", "P+ c #65533E", "Q+ c #1D1812", "R+ c #5F4F3B", "S+ c #735F48", "T+ c #44392A", "U+ c #947A5B", "V+ c #604F3B", "W+ c #866D52", "X+ c #B89872", "Y+ c #100D0A", "Z+ c #4D3F2F", "`+ c #6B5842", " @ c #B89671", ".@ c #7A644B", "+@ c #483C2D", "@@ c #1D1711", "#@ c #6D5943", "$@ c #B0906D", "%@ c #685640", "&@ c #0D0B07", "*@ c #483B2D", "=@ c #846C52", "-@ c #977D5D", ";@ c #7B654C", ">@ c #433729", ",@ c #614F3C", "'@ c #1F1912", ")@ c #B99873", "!@ c #987C5D", "~@ c #705C44", "{@ c #897054", "]@ c #A38564", "^@ c #A68866", "/@ c #AC8E6B", "(@ c #B3936E", "_@ c #B1916D", ":@ c #AE8E6B", "<@ c #AB8C6A", "[@ c #352C21", "}@ c #705B45", "|@ c #1E1812", "1@ c #7D664D", "2@ c #342B21", "3@ c #B2936E", "4@ c #574735", "5@ c #AC8D6B", "6@ c #0E0C08", "7@ c #251E17", "8@ c #60503C", "9@ c #9E8262", "0@ c #8E7457", "a@ c #735F47", "b@ c #282119", "c@ c #211B15", "d@ c #16120E", "e@ c #0D0A08", "f@ c #090805", "g@ c #7B644B", "h@ c #554634", "i@ c #846D52", "j@ c #8B7356", "k@ c #3B3124", "l@ c #33291F", "m@ c #30271D", "n@ c #7E684D", "o@ c #100D09", "p@ c #2B241B", "q@ c #2A2219", "r@ c #64523E", "s@ c #261F17", "t@ c #3F3427", "u@ c #735E47", "v@ c #4C3E2E", "w@ c #816A50", "x@ c #6E5A43", "y@ c #15120D", "z@ c #A48665", "A@ c #4B3E2F", "B@ c #090706", "C@ c #473A2B", "D@ c #9A7E5F", "E@ c #0F0C0A", "F@ c #91775A", "G@ c #544533", "H@ c #997E5F", "I@ c #0E0B09", "J@ c #584836", "K@ c #705D45", "L@ c #6E5A44", "M@ c #4F4030", "N@ c #0A0906", "O@ c #17120E", "P@ c #423629", "Q@ c #6D5A44", "R@ c #7F694E", "S@ c #917759", "T@ c #4C3F2F", "U@ c #322920", "V@ c #5E4E3B", "W@ c #8F775A", "X@ c #443729", "Y@ c #3F3326", "Z@ c #3A2F23", "`@ c #201B14", " # c #1B1711", ".# c #463A2B", "+# c #BF9E77", "@# c #C09E78", "## c #BB9B75", "$# c #92785A", "%# c #6E5B45", "&# c #685641", "*# c #62513E", "=# c #866E53", "-# c #B79772", ";# c #040402", "># c #C09F79", ",# c #C19F7A", "'# c #8F785D", ")# c #524433", "!# c #46392B", "~# c #332A20", "{# c #554534", "]# c #5D4D3A", "^# c #65543F", "/# c #725D46", "(# c #544534", "_# c #5A4A37", ":# c #5C4C39", "<# c #6A5742", "[# c #735E46", "}# c #7A654C", "|# c #7D674D", "1# c #836C51", "2# c #866E52", "3# c #8C7356", "4# c #897055", "5# c #4D402F", "6# c #3C3225", "7# c #2B231B", "8# c #18130E", "9# c #0F0D09", "0# c #2C231B", "a# c #A48765", "b# c #9B8060", "c# c #957A5C", "d# c #C09E77", "e# c #BF9D77", "f# c #B99973", "g# c #B79672", "h# c #9E8261", "i# c #9B7F60", "j# c #886F54", "k# c #BF9E78", "l# c #967B5C", "m# c #856D52", "n# c #786249", "o# c #77624A", "p# c #B79671", "q# c #B4936F", "r# c #B2926D", "s# c #C0A079", "t# c #C3A480", "u# c #C5AA88", "v# c #C7AD8C", "w# c #C8B091", "x# c #CDB89B", "y# c #D3C3AA", "z# c #D0BDA1", "A# c #BA9974", "B# c #BA9A74", "C# c #BB9B76", "D# c #BA9B77", "E# c #BEA280", "F# c #C5AE90", "G# c #D2C3AB", "H# c #D6CAB3", "I# c #D7CBB5", "J# c #D6CAB4", "K# c #D5C8B3", "L# c #D3C7B1", "M# c #D2C6B1", "N# c #D3C6B2", "O# c #D4C8B3", "P# c #D6C9B4", "Q# c #BCA88D", "R# c #BB9A75", "S# c #BC9B75", "T# c #BA9B75", "U# c #BA9A75", "V# c #B99A76", "W# c #BC9F7C", "X# c #C4AD8E", "Y# c #CDBCA2", "Z# c #D2C4AC", "`# c #D5C8B2", " $ c #D6C9B3", ".$ c #D7CBB6", "+$ c #D7CCB8", "@$ c #D7CCB9", "#$ c #D7CCB6", "$$ c #D5C9B3", "%$ c #D3C8B2", "&$ c #9E8A70", "*$ c #BA9B78", "=$ c #BA9D7A", "-$ c #BEA27F", ";$ c #C1A887", ">$ c #CAB599", ",$ c #D1C1A8", "'$ c #D3C7AF", ")$ c #D6C9B2", "!$ c #D7CBB4", "~$ c #D7CCB7", "{$ c #D8CDB9", "]$ c #D8CEBA", "^$ c #D6CCB8", "/$ c #D5CAB6", "($ c #D4C8B2", "_$ c #D1C6B0", ":$ c #AA9B86", "<$ c #836C52", "[$ c #AC8D6A", "}$ c #BB9B77", "|$ c #BA9D79", "1$ c #BEA381", "2$ c #C4AC8E", "3$ c #C9B599", "4$ c #D0C0A7", "5$ c #D4C6AF", "6$ c #D7CAB4", "7$ c #D7CAB5", "8$ c #D6CBB7", "9$ c #D7CBB7", "0$ c #D8CEBB", "a$ c #D7CDBA", "b$ c #D6CDBB", "c$ c #D6CDBA", "d$ c #D5CCB7", "e$ c #D4C9B5", "f$ c #D1C5AF", "g$ c #B5A994", "h$ c #6F5E49", "i$ c #BC9A75", "j$ c #BD9D7A", "k$ c #BFA584", "l$ c #C6B194", "m$ c #CCBAA0", "n$ c #CEBEA5", "o$ c #D0C1A8", "p$ c #D3C5AD", "q$ c #D5C7B1", "r$ c #D6CAB5", "s$ c #D6CAB6", "t$ c #D5CAB5", "u$ c #D6CBB6", "v$ c #D7CDB9", "w$ c #D7CDBB", "x$ c #D7CEBC", "y$ c #D9CEBD", "z$ c #D9CFBD", "A$ c #D8CFBE", "B$ c #D7CFBD", "C$ c #D9D0BD", "D$ c #D7CEBB", "E$ c #D6CCB9", "F$ c #D6CBB8", "G$ c #D0C5B0", "H$ c #C0B4A0", "I$ c #5A4B3A", "J$ c #AA8B69", "K$ c #BC9D79", "L$ c #C6B195", "M$ c #CDBAA0", "N$ c #CFBFA6", "O$ c #D5C9B2", "P$ c #D6CBB5", "Q$ c #D6C9B5", "R$ c #D8CEBD", "S$ c #D9D0BF", "T$ c #DAD1C0", "U$ c #DCD3C1", "V$ c #DCD3C2", "W$ c #DDD3C3", "X$ c #DCD4C2", "Y$ c #DBD3C2", "Z$ c #D9D1BE", "`$ c #D8CFBC", " % c #D6CEBA", ".% c #D5CCB8", "+% c #C6BBA6", "@% c #4D4133", "#% c #BB9974", "$% c #BD9F7B", "%% c #BFA687", "&% c #C9B79D", "*% c #CCBBA1", "=% c #CEBEA6", "-% c #D1C2AA", ";% c #D4C7B0", ">% c #D8CDBA", ",% c #D9CEBB", "'% c #D8CEBC", ")% c #D8CDBC", "!% c #D9D0BE", "~% c #DBD2C1", "{% c #DDD5C3", "]% c #DED6C6", "^% c #DDD5C5", "/% c #DED5C5", "(% c #DED6C7", "_% c #DED5C3", ":% c #DCD3C3", "<% c #D8D0BD", "[% c #D5CCB9", "}% c #D5CBB8", "|% c #D5C9B4", "1% c #CCC0AB", "2% c #4B4135", "3% c #9E8161", "4% c #BEA585", "5% c #C1AB8F", "6% c #C5B297", "7% c #C5B398", "8% c #C6B49A", "9% c #C7B69D", "0% c #C9BAA2", "a% c #CFC0A9", "b% c #D0C2AA", "c% c #D2C4AD", "d% c #D3C6AF", "e% c #D5C8B1", "f% c #D5C9B5", "g% c #D7CBB8", "h% c #D8CFBD", "i% c #D9CFBE", "j% c #DAD0BF", "k% c #DBD2C2", "l% c #DCD4C4", "m% c #DCD4C3", "n% c #DDD4C3", "o% c #DDD4C4", "p% c #DCD5C4", "q% c #DED5C6", "r% c #DDD5C6", "s% c #DFD6C6", "t% c #E1D8C8", "u% c #E0D7C8", "v% c #E0D7C7", "w% c #DED6C5", "x% c #DAD2C1", "y% c #D5CBB6", "z% c #5F5649", "A% c #504231", "B% c #B99975", "C% c #BA9B76", "D% c #BCA07E", "E% c #C1A98A", "F% c #C9B89E", "G% c #CAB9A0", "H% c #CABAA2", "I% c #CDBDA5", "J% c #CFC1AA", "K% c #D0C3AB", "L% c #CFC2AC", "M% c #CAB899", "N% c #C39F3A", "O% c #C8A958", "P% c #CCB685", "Q% c #CFC2AD", "R% c #D3C6B0", "S% c #D6CAB7", "T% c #D6CCBA", "U% c #D7CDBC", "V% c #D9D1C0", "W% c #DDD5C4", "X% c #DED7C7", "Y% c #DFD7C7", "Z% c #DFD6C7", "`% c #DFD7C8", " & c #E0D8C8", ".& c #E0D8C9", "+& c #E1D8C9", "@& c #E1D9C9", "#& c #E1D9CA", "$& c #E2DACA", "%& c #E2DAC8", "&& c #DFD6C5", "*& c #D8D0BE", "=& c #D5CDBA", "-& c #D4CAB5", ";& c #786E60", ">& c #B99B77", ",& c #BA9C7A", "'& c #BA9F7D", ")& c #BAA080", "!& c #C2AA8B", "~& c #C5B296", "{& c #CBBAA0", "]& c #CEC0A9", "^& c #D2C5AE", "/& c #D2C5AF", "(& c #D2C5B0", "_& c #CEC2AC", ":& c #C9BDA8", "<& c #CCAB93", "[& c #D6AE67", "}& c #E5C26B", "|& c #FEE78D", "1& c #FDD257", "2& c #DDB34E", "3& c #C4B491", "4& c #D0C4B0", "5& c #D1C5B1", "6& c #D2C7B3", "7& c #D5CAB8", "8& c #D5CCBA", "9& c #DAD0BE", "0& c #DBD3C1", "a& c #DBD4C4", "b& c #DCD5C5", "c& c #E3DACA", "d& c #E2DACB", "e& c #E4DCCC", "f& c #E4DCCB", "g& c #E3DBCB", "h& c #E4DBCB", "i& c #E5DDCD", "j& c #E5DCCC", "k& c #E3DBCA", "l& c #E2DAC9", "m& c #D5CEBA", "n& c #D4CAB7", "o& c #D4C9B4", "p& c #8E8475", "q& c #BA9975", "r& c #B89974", "s& c #B89976", "t& c #B69977", "u& c #B79C7B", "v& c #B99F7F", "w& c #BEA689", "x& c #C4B095", "y& c #C8B89F", "z& c #CDBEA6", "A& c #CEC0AA", "B& c #D0C3AC", "C& c #D0C2AB", "D& c #D1C4AD", "E& c #D3C7B0", "F& c #D2C6AF", "G& c #D4C7B1", "H& c #D2C6B0", "I& c #D0C4AE", "J& c #C9BEAA", "K& c #C1B6A3", "L& c #B7AD9A", "M& c #C0B08F", "N& c #DACB93", "O& c #FEFEBE", "P& c #FFFFC4", "Q& c #FFFC95", "R& c #FFE191", "S& c #F2C353", "T& c #E5B22B", "U& c #D9B44F", "V& c #CFBD91", "W& c #D1C8B6", "X& c #D5CBBA", "Y& c #D9D0C0", "Z& c #DAD2C2", "`& c #DBD3C3", " * c #E6DECE", ".* c #E7DECE", "+* c #E6DECD", "@* c #E7DFCF", "#* c #E7DFCD", "$* c #E2D9C8", "%* c #DBD2C3", "&* c #DAD1BF", "** c #D5CEBB", "=* c #D4CBB7", "-* c #A59B89", ";* c #B99A74", ">* c #B89975", ",* c #B89A77", "'* c #BB9F7E", ")* c #BEA688", "!* c #C2AE91", "~* c #C4B298", "{* c #C9B99F", "]* c #CDBEA5", "^* c #D0C1AA", "/* c #D1C3AC", "(* c #D1C4AE", "_* c #D4C8B1", ":* c #D3C7B2", "<* c #CDC1AD", "[* c #C6BCA8", "}* c #B9AF9E", "|* c #ABA293", "1* c #A79C88", "2* c #BCAD85", "3* c #E0CB8C", "4* c #FFF2A7", "5* c #FFFFAF", "6* c #FFF5A8", "7* c #F7D583", "8* c #F0CB70", "9* c #E1C172", "0* c #D6BA78", "a* c #B8A77C", "b* c #CAB37E", "c* c #C7B58D", "d* c #D2CAB8", "e* c #D7CFBF", "f* c #D8D1C0", "g* c #DBD4C3", "h* c #DCD4C5", "i* c #E7DFCE", "j* c #E8E0D0", "k* c #E9E1D1", "l* c #E9E1D0", "m* c #E3DAC9", "n* c #D6CEBC", "o* c #D4CCB8", "p* c #D4CAB6", "q* c #B6AC98", "r* c #3B3125", "s* c #A58866", "t* c #B99A77", "u* c #B89B78", "v* c #C1A889", "w* c #C6B399", "x* c #CCBCA5", "y* c #CEC0A8", "z* c #CFC1A9", "A* c #D4C9B3", "B* c #D3C7B4", "C* c #D3C8B4", "D* c #D0C6B2", "E* c #CFC4B0", "F* c #C5BBAA", "G* c #B6AE9E", "H* c #A59D8F", "I* c #938C80", "J* c #9C8E76", "K* c #CEB27A", "L* c #F1D490", "M* c #FFF3AB", "N* c #FFF5AF", "O* c #FDE5A3", "P* c #F7D99C", "Q* c #EECF8F", "R* c #615E4A", "S* c #5C5A4A", "T* c #A3956B", "U* c #C1A253", "V* c #C3B184", "W* c #C0B189", "X* c #D3CCBC", "Y* c #D9D1C2", "Z* c #DCD3C4", "`* c #E8E0CF", " = c #EAE2D2", ".= c #EBE3D2", "+= c #EAE2D3", "@= c #EBE2D2", "#= c #D9D1BF", "$= c #D4CBB8", "%= c #C1B6A2", "&= c #BB9C79", "*= c #BB9D7B", "== c #BFA585", "-= c #C4AF92", ";= c #C9B89D", ">= c #CFBEA5", ",= c #D0C1A9", "'= c #D1C3AB", ")= c #D1C3AD", "!= c #D3C5AE", "~= c #D4C7B3", "{= c #D3C7B3", "]= c #D3C8B3", "^= c #D2C7B4", "/= c #D3C7B5", "(= c #D2C8B6", "_= c #D3C9B6", ":= c #D2C9B6", "<= c #CFC6B5", "[= c #C7BFAE", "}= c #BBB2A3", "|= c #A6A092", "1= c #8F8A7F", "2= c #877F6F", "3= c #A99670", "4= c #D1B47A", "5= c #F2D28C", "6= c #FFF6A7", "7= c #FDEDA4", "8= c #F5D996", "9= c #F4D697", "0= c #CCB88A", "a= c #8E8B79", "b= c #DABC79", "c= c #D2AE55", "d= c #BD9B40", "e= c #A98A36", "f= c #C3B491", "g= c #D3CAB9", "h= c #EBE3D3", "i= c #ECE4D4", "j= c #EDE5D5", "k= c #EBE3D4", "l= c #C7BCA7", "m= c #443B30", "n= c #BC9B76", "o= c #BB9C76", "p= c #BB9C78", "q= c #BB9E7C", "r= c #BB9F7D", "s= c #C1A888", "t= c #C8B599", "u= c #D4C7B2", "v= c #D3C9B7", "w= c #D3C8B6", "x= c #D3CAB7", "y= c #D4CAB9", "z= c #D4CBB9", "A= c #CCC4B4", "B= c #C1B9AA", "C= c #AEA89A", "D= c #959084", "E= c #79756C", "F= c #726B5D", "G= c #9A8561", "H= c #E9C17B", "I= c #F6D071", "J= c #FFDD91", "K= c #FFE694", "L= c #EDD18F", "M= c #F0D495", "N= c #E9CF8F", "O= c #E2C585", "P= c #E1C281", "Q= c #D2AE57", "R= c #C09B3D", "S= c #AF8E37", "T= c #C2B593", "U= c #D0C6AE", "V= c #E5DDCC", "W= c #DAD2C0", "X= c #D7CFBC", "Y= c #D2C7B2", "Z= c #C9BEA9", "`= c #594F43", " - c #BD9C76", ".- c #BC9C77", "+- c #BB9C77", "@- c #BC9E7C", "#- c #BEA483", "$- c #C3AB8D", "%- c #C8B499", "&- c #CDBCA3", "*- c #CEBEA7", "=- c #D2C8B4", "-- c #D2C8B5", ";- c #D2C7B6", ">- c #D3CAB8", ",- c #D4CBBA", "'- c #D5CCBB", ")- c #D6CDBC", "!- c #D6CEBD", "~- c #D7D0BE", "{- c #D5CEBD", "]- c #D2CBBA", "^- c #C9C1B2", "/- c #B8B2A4", "(- c #A09A90", "_- c #827E75", ":- c #65625C", "<- c #716552", "[- c #CE985A", "}- c #E0BB71", "|- c #F9D58B", "1- c #FFEFA2", "2- c #FFEE9C", "3- c #F1D088", "4- c #E2C887", "5- c #E3D292", "6- c #E0C280", "7- c #DBBB6C", "8- c #D3AB4C", "9- c #C2A13C", "0- c #B3923D", "a- c #BDA771", "b- c #CCC1AA", "c- c #C1BAAC", "d- c #C7BBA7", "e- c #685E51", "f- c #BC9D7A", "g- c #BD9F7C", "h- c #BDA181", "i- c #BDA384", "j- c #C0A788", "k- c #C0A88A", "l- c #C6B093", "m- c #D4C9B2", "n- c #D2C6B3", "o- c #D2C7B5", "p- c #D4CAB8", "q- c #D7CEBD", "r- c #D6CFBE", "s- c #D7CFBE", "t- c #D7D0BF", "u- c #D8D1C1", "v- c #D9D1C1", "w- c #DAD2C3", "x- c #D9D2C2", "y- c #D1CABA", "z- c #C4BCAF", "A- c #AFA99D", "B- c #928D83", "C- c #716E67", "D- c #57554E", "E- c #B36D36", "F- c #D8A75B", "G- c #E4BB47", "H- c #FFDF81", "I- c #FFEE97", "J- c #FFF0A2", "K- c #FFE29D", "L- c #F5D595", "M- c #E2C482", "N- c #DCBC6C", "O- c #E0B64F", "P- c #D4B145", "Q- c #D5B34E", "R- c #B09C6E", "S- c #211918", "T- c #292424", "U- c #625C57", "V- c #BCB5A8", "W- c #DDD4C5", "X- c #D1C5B0", "Y- c #C4B9A5", "Z- c #746B5C", "`- c #BB9B74", " ; c #BB9B78", ".; c #BEA586", "+; c #C0A98B", "@; c #C3AE91", "#; c #C6B298", "$; c #CBBAA2", "%; c #CEC1A9", "&; c #D2C6B2", "*; c #D2C6B4", "=; c #D2C9B7", "-; c #D2C9B8", ";; c #D3C9B8", ">; c #D4CCBB", ",; c #D5CCBC", "'; c #D8D0C0", "); c #D8D0BF", "!; c #D9D2C1", "~; c #DAD3C2", "{; c #DAD3C3", "]; c #DBD3C4", "^; c #D7D0C0", "/; c #CEC7B9", "(; c #BDB6A9", "_; c #A19B91", ":; c #827E76", "<; c #625F59", "[; c #81583A", "}; c #CD8F4A", "|; c #D7A549", "1; c #D5AF47", "2; c #E5BE4E", "3; c #EECC68", "4; c #F2CF63", "5; c #EAC15C", "6; c #E6BF5F", "7; c #DDB54F", "8; c #E7BF49", "9; c #D1B047", "0; c #A48954", "a; c #2D2627", "b; c #1F191A", "c; c #1C1618", "d; c #241E1F", "e; c #2C2626", "f; c #E4DCCD", "g; c #E2D9C9", "h; c #CEC2AD", "i; c #C3B9A5", "j; c #867D6D", "k; c #CAB394", "l; c #CDBBA1", "m; c #CCBBA2", "n; c #CBBBA2", "o; c #CBBBA3", "p; c #CCBDA4", "q; c #CCBDA6", "r; c #CFC2AA", "s; c #D2C6B5", "t; c #D3C8B5", "u; c #D5CABA", "v; c #D6CCBB", "w; c #D6CDBD", "x; c #DAD1C1", "y; c #D5CDBF", "z; c #C8C1B4", "A; c #B1AB9F", "B; c #938E84", "C; c #726E67", "D; c #53514C", "E; c #A86735", "F; c #C18039", "G; c #CC913E", "H; c #D8A448", "I; c #D3A647", "J; c #D4AB49", "K; c #D9B94D", "L; c #DEBC4D", "M; c #DEBE43", "N; c #C59E3F", "O; c #936D34", "P; c #453E37", "Q; c #332E2C", "R; c #231E1F", "S; c #150E10", "T; c #1B1417", "U; c #58524E", "V; c #E6DECF", "W; c #ECE4D5", "X; c #D6CEBB", "Y; c #D5CDB9", "Z; c #D4CBB5", "`; c #CFC3AE", " > c #C2B8A4", ".> c #A49987", "+> c #D2C4AE", "@> c #D3C6B1", "#> c #DAD3C4", "$> c #D0C9BB", "%> c #BEB8AA", "&> c #A39E92", "*> c #474541", "=> c #9B5F32", "-> c #C07635", ";> c #CB813A", ">> c #C97D36", ",> c #C88A38", "'> c #D0A240", ")> c #D4AB43", "!> c #D6AE4D", "~> c #94692F", "{> c #6B5439", "]> c #716B60", "^> c #575352", "/> c #1C1619", "(> c #181215", "_> c #160F12", ":> c #1A1417", "<> c #1B1517", "[> c #3F3938", "}> c #D3C9B3", "|> c #CFC4AF", "1> c #C6BBA7", "2> c #B7AC98", "3> c #66543F", "4> c #D8CCB6", "5> c #D3C8B7", "6> c #D5CDBD", "7> c #D6CFBF", "8> c #DAD3C1", "9> c #CAC3B5", "0> c #B4AEA1", "a> c #959086", "b> c #757169", "c> c #575550", "d> c #403E3B", "e> c #524736", "f> c #A26435", "g> c #B06B30", "h> c #A2632A", "i> c #B9682B", "j> c #C58133", "k> c #CB8E3F", "l> c #84532A", "m> c #766D5D", "n> c #918B80", "o> c #413C3D", "p> c #2B2729", "q> c #221C1F", "r> c #1A1518", "s> c #130D11", "t> c #272122", "u> c #B5ACA1", "v> c #E5DDCE", "w> c #D6CDB9", "x> c #D3C9B4", "y> c #C5BAA7", "z> c #B8AE9A", "A> c #3D3225", "B> c #D5CAB9", "C> c #D5CDBC", "D> c #E2D9CA", "E> c #D5CDBE", "F> c #C3BDAF", "G> c #ABA599", "H> c #8C877E", "I> c #6E6A64", "J> c #54524D", "K> c #343331", "L> c #6B4429", "M> c #764726", "N> c #AE652A", "O> c #8E4821", "P> c #8F4920", "Q> c #675342", "R> c #888476", "S> c #787572", "T> c #66625B", "U> c #484442", "V> c #302B2D", "W> c #241E21", "X> c #1A1517", "Y> c #140E12", "Z> c #161013", "`> c #1B1518", " , c #20191B", "., c #847D75", "+, c #E1DACA", "@, c #C8BCA8", "#, c #B9AF9B", "$, c #D1C6B4", "%, c #D2C7B7", "&, c #D1C7B6", "*, c #D5CDBB", "=, c #D6CFBD", "-, c #D0C9BA", ";, c #A6A095", ">, c #89857C", ",, c #706D66", "', c #5B5852", "), c #4B4944", "!, c #383634", "~, c #31302E", "{, c #2A2928", "], c #22201F", "^, c #46423E", "/, c #4D4A47", "(, c #545150", "_, c #969184", ":, c #6F6B64", "<, c #4F4B48", "[, c #373333", "}, c #2B2627", "|, c #1D181A", "1, c #181315", "2, c #150F12", "3, c #120B0E", "4, c #423B3A", "5, c #D5CEC0", "6, c #433F3A", "7, c #9E988B", "8, c #CDC1AC", "9, c #BBB09C", "0, c #DACFBA", "a, c #D2C8B7", "b, c #D4CCBA", "c, c #D4CBBB", "d, c #D4CDBC", "e, c #D5CEBC", "f, c #D6CEBE", "g, c #D1CABC", "h, c #BEB7AA", "i, c #A8A397", "j, c #7F7A72", "k, c #6D6A63", "l, c #605D57", "m, c #55524D", "n, c #4A4844", "o, c #3F3D3A", "p, c #272523", "q, c #1F1A1B", "r, c #312D2E", "s, c #B8B3A2", "t, c #B4B09D", "u, c #868276", "v, c #595451", "w, c #403C3A", "x, c #342F2E", "y, c #2A2526", "z, c #1F1A1C", "A, c #130C10", "B, c #0D070A", "C, c #130C0F", "D, c #231C1D", "E, c #A69E94", "F, c #A09B90", "G, c #0B0906", "H, c #25211C", "I, c #D0C4AF", "J, c #BDB29E", "K, c #392F24", "L, c #DED4C0", "M, c #D7CEBE", "N, c #D8CFBF", "O, c #D3CCBD", "P, c #C5BEB1", "Q, c #B6B0A3", "R, c #A5A095", "S, c #969187", "T, c #88847B", "U, c #7A766F", "V, c #6D6963", "W, c #5D5A55", "X, c #44413D", "Y, c #221F1F", "Z, c #6A6863", "`, c #D3CFB8", " ' c #C5C1A9", ".' c #989385", "+' c #69655E", "@' c #544F4A", "#' c #433F3C", "$' c #353130", "%' c #242021", "&' c #161012", "*' c #0B0408", "=' c #080205", "-' c #090306", ";' c #3E3736", ">' c #CEC7B8", ",' c #E9E2D4", "'' c #E9E2D7", ")' c #100E0B", "!' c #786F62", "~' c #C3B7A3", "{' c #41382D", "]' c #564735", "^' c #BE9C74", "/' c #E2D9C6", "(' c #DAD1BE", "_' c #D5CBB9", ":' c #E9E0D0", "<' c #E1DACB", "[' c #CFC8BA", "}' c #BAB4A7", "|' c #A29C92", "1' c #7F7B73", "2' c #68655E", "3' c #514E49", "4' c #3A3935", "5' c #262422", "6' c #211D1F", "7' c #4D4B4A", "8' c #C0BDAC", "9' c #CBC7AF", "0' c #A9A493", "a' c #848076", "b' c #6A665D", "c' c #524E4B", "d' c #393534", "e' c #241F21", "f' c #151012", "g' c #0F080C", "h' c #0A0408", "i' c #0C0509", "j' c #211A1B", "k' c #958D86", "l' c #DFD8CB", "m' c #E8E0D1", "n' c #E4DDCD", "o' c #30281E", "p' c #CABEA9", "q' c #5C5244", "r' c #E5DCC9", "s' c #DDD3C2", "t' c #E6DDCD", "u' c #E8DFCF", "v' c #E3DED1", "w' c #D9D2C3", "x' c #CBC4B6", "y' c #C2BBAE", "z' c #B5AFA2", "A' c #87837A", "B' c #6C6962", "C' c #524F4A", "D' c #3C3A37", "E' c #2D2C29", "F' c #1A1717", "G' c #252021", "H' c #9D9A8D", "I' c #C8C4B0", "J' c #BAB6A2", "K' c #A09C8D", "L' c #7C786E", "M' c #5A5652", "N' c #403C3B", "O' c #2B2728", "P' c #201B1D", "Q' c #0E080B", "R' c #0E070A", "S' c #3F3836", "T' c #BDB6AA", "U' c #DCD5C6", "V' c #2C241B", "W' c #ADA08D", "X' c #695E4F", "Y' c #E9E2D2", "Z' c #E7E0D1", "`' c #E3DFD6", " ) c #DADCD9", ".) c #D4D7D5", "+) c #D6CFC0", "@) c #E2DBCB", "#) c #D7D0C2", "$) c #CDC7B9", "%) c #BDB7AA", "&) c #A6A195", "*) c #706D65", "=) c #585650", "-) c #44423E", ";) c #343330", ">) c #252120", ",) c #74716B", "') c #ABA89E", ")) c #C0BEAD", "!) c #ADA99A", "~) c #89857A", "{) c #66625D", "]) c #4D4947", "^) c #393435", "/) c #272324", "() c #140F12", "_) c #0A0307", ":) c #0B0407", "<) c #1A1315", "[) c #7D766F", "}) c #DED7C8", "|) c #D6CEBF", "1) c #746048", "2) c #504131", "3) c #836B50", "4) c #DBD1C0", "5) c #E8E1D1", "6) c #E9E2D3", "7) c #EAE3D4", "8) c #E9E3D4", "9) c #E8E2D3", "0) c #E6E1D4", "a) c #E1DFD5", "b) c #DBDDD8", "c) c #D7DCDA", "d) c #D2D9DA", "e) c #D0D9DB", "f) c #D4E2EC", "g) c #D9ECFD", "h) c #DAECFF", "i) c #D2E2F2", "j) c #A6A196", "k) c #C9C3B5", "l) c #D2CBBD", "m) c #C1BBAE", "n) c #ACA69B", "o) c #938E85", "p) c #79746E", "q) c #43413D", "r) c #201F1E", "s) c #292826", "t) c #282725", "u) c #2D2D2E", "v) c #464342", "w) c #8A8984", "x) c #B7B5AC", "y) c #B4B2A4", "z) c #9B978B", "A) c #7B776F", "B) c #5B5755", "C) c #3F3B3B", "D) c #2E2A2C", "E) c #252123", "F) c #1C171A", "G) c #0D060A", "H) c #090205", "I) c #443D3C", "J) c #ADA69B", "K) c #E0D8CA", "L) c #94795B", "M) c #EDE4D4", "N) c #E9E1CF", "O) c #DFD5C3", "P) c #E2E0D5", "Q) c #E3DBCD", "R) c #E4DDCE", "S) c #E8E2D4", "T) c #E3E2D8", "U) c #DDE1DB", "V) c #D6DBD5", "W) c #D3D8D4", "X) c #D4DCDC", "Y) c #D6E2E5", "Z) c #D8E7EC", "`) c #D6E6EE", " ! c #D6E7F0", ".! c #D7E8F3", "+! c #D9EAF8", "@! c #DAECFC", "#! c #D9EBFF", "$! c #79766F", "%! c #B2ACA0", "&! c #A9A398", "*! c #B8B2A6", "=! c #C7C1B3", "-! c #ABA69A", ";! c #44413C", ">! c #272624", ",! c #232220", "'! c #141413", ")! c #272525", "!! c #272325", "~! c #676564", "{! c #9F9E98", "]! c #B0AFA6", "^! c #A4A297", "/! c #85827B", "(! c #635F5D", "_! c #474343", ":! c #353233", "~ c #DEF0FF", ",~ c #DCEEFF", "'~ c #DAEDFF", ")~ c #D7E9FF", "!~ c #C9D9EF", "~~ c #7A7E84", "{~ c #948F85", "]~ c #837F76", "^~ c #B3ADA1", "/~ c #89847B", "(~ c #353430", "_~ c #B9B3A6", ":~ c #0E0E0D", "<~ c #0A0A09", "[~ c #3D3B37", "}~ c #716D66", "|~ c #67635D", "1~ c #42403C", "2~ c #33322F", "3~ c #1D1A1A", "4~ c #151112", "5~ c #5E5B5A", "6~ c #8B8A88", "7~ c #969592", "8~ c #8A8A84", "9~ c #73716D", "0~ c #585555", "a~ c #454142", "b~ c #383535", "c~ c #292527", "d~ c #1A1618", "e~ c #100A0D", "f~ c #110B0D", "g~ c #413A39", "h~ c #393229", "i~ c #AD8E6A", "j~ c #D2C3AC", "k~ c #A88D6C", "l~ c #E6E1D3", "m~ c #E0DFD5", "n~ c #D7DDD6", "o~ c #D5E0DE", "p~ c #D8E6E9", "q~ c #DEF1F6", "r~ c #E0F3F7", "s~ c #E2F5F8", "t~ c #E5F7FA", "u~ c #E7F9FC", "v~ c #E8FAFD", "w~ c #E9FAFE", "x~ c #E6F6FB", "y~ c #E5F6FB", "z~ c #E3F4FB", "A~ c #E4F7FF", "B~ c #E2F5FF", "C~ c #E0F4FF", "D~ c #DEF1FF", "E~ c #D7E9FE", "F~ c #D6E8FE", "G~ c #D4E5FD", "H~ c #D3E4FB", "I~ c #8D95A1", "J~ c #878279", "K~ c #6B6860", "L~ c #BBB5A8", "M~ c #34332F", "N~ c #2B2A27", "O~ c #4B4843", "P~ c #68645D", "Q~ c #4D4A45", "R~ c #B6B0A4", "S~ c #8B867D", "T~ c #747169", "U~ c #5E5B56", "V~ c #252322", "W~ c #0D080A", "X~ c #393437", "Y~ c #7A7977", "Z~ c #91908E", "`~ c #8A8985", " { c #767573", ".{ c #605E5D", "+{ c #4D4B4B", "@{ c #403E3F", "#{ c #312D2F", "${ c #211C1E", "%{ c #191316", "&{ c #0F090C", "*{ c #0C0508", "={ c #140D10", "-{ c #261F20", ";{ c #999289", ">{ c #E3DBCC", ",{ c #888074", "'{ c #B19A7E", "){ c #A28665", "!{ c #EAE2D1", "~{ c #E4DECF", "{{ c #E5DFD1", "]{ c #E1DED2", "^{ c #DDDED6", "/{ c #D9DFDB", "({ c #DBE7E5", "_{ c #DEEEEE", ":{ c #DDF0F0", "<{ c #DDEFF0", "[{ c #DBEEF1", "}{ c #DAEEF1", "|{ c #DAEDF1", "1{ c #DBEDF2", "2{ c #DCEFF4", "3{ c #E0F3F6", "4{ c #E5F7F9", "5{ c #E9FBFC", "6{ c #EEFDFE", "7{ c #F0FEFE", "8{ c #F1FEFE", "9{ c #F0FDFE", "0{ c #EEFCFF", "a{ c #ECFBFF", "b{ c #E7F8FF", "c{ c #E4F6FF", "d{ c #E0F3FF", "e{ c #DEF1FE", "f{ c #DAECFE", "g{ c #D7E9FD", "h{ c #D5E6FC", "i{ c #D1E2F8", "j{ c #D0E0F6", "k{ c #A4B0C0", "l{ c #77736B", "m{ c #C3BCAF", "n{ c #5F5C56", "o{ c #B8B1A5", "p{ c #D4CDBF", "q{ c #76726A", "r{ c #605D56", "s{ c #E3DCCC", "t{ c #DBD3C5", "u{ c #BFB8AB", "v{ c #979288", "w{ c #817D74", "x{ c #6B6760", "y{ c #54514C", "z{ c #403F3B", "A{ c #2E2C2A", "B{ c #151213", "C{ c #656363", "D{ c #878686", "E{ c #888888", "F{ c #7F7E7C", "G{ c #6C6A69", "H{ c #575656", "I{ c #474546", "J{ c #353334", "K{ c #191416", "L{ c #110A0E", "M{ c #625B57", "N{ c #D7D0C1", "O{ c #B99E7D", "P{ c #D9CFBA", "Q{ c #A49076", "R{ c #E5DECF", "S{ c #E7E2D3", "T{ c #DEDED2", "U{ c #D8DCD4", "V{ c #D6DED9", "W{ c #DBE5E3", "X{ c #E1EDEC", "Y{ c #E4EFEF", "Z{ c #E3EFEF", "`{ c #E2EFEF", " ] c #DFEFEF", ".] c #DDEFEF", "+] c #DBEEEF", "@] c #DAECF0", "#] c #D8EBEF", "$] c #D9EBF1", "%] c #DBEEF4", "&] c #E7FAFE", "*] c #E9FCFD", "=] c #EDFFFF", "-] c #D5E3E3", ";] c #F0FFFF", ">] c #F1FFFF", ",] c #F0FEFF", "'] c #ECFCFF", ")] c #E4F6FE", "!] c #DFF0FF", "~] c #DDEEFE", "{] c #DBEDFE", "]] c #DAEBFD", "^] c #D9EBFD", "/] c #D6E8FC", "(] c #D4E6FB", "_] c #D2E4F8", ":] c #D2E3F9", "<] c #D0E1F8", "[] c #CEE0F6", "}] c #CCDEF2", "|] c #CBDCF1", "1] c #B9C9DC", "2] c #67645D", "3] c #B4AEA2", "4] c #6D6962", "5] c #9F9A8F", "6] c #AAA498", "7] c #151413", "8] c #6E6A63", "9] c #4C4944", "0] c #D4CCBE", "a] c #C7C0B3", "b] c #A49E93", "c] c #8D897F", "d] c #5C5953", "e] c #31302D", "f] c #1B191A", "g] c #140E13", "h] c #444141", "i] c #727170", "j] c #868584", "k] c #858483", "l] c #737372", "m] c #5F5E5E", "n] c #4C4A4B", "o] c #3B3939", "p] c #302D2E", "q] c #201C1E", "r] c #2F2829", "s] c #AFA79C", "t] c #61564A", "u] c #66533E", "v] c #DCD3BF", "w] c #988670", "x] c #79644C", "y] c #D9DCD4", "z] c #D5E3E4", "A] c #D7E9EC", "B] c #DAEDEF", "C] c #DCEEEF", "D] c #E0EFEF", "E] c #E5EFEF", "F] c #E2EEEF", "G] c #DFEEEF", "H] c #DDEEEF", "I] c #D8EAEF", "J] c #D7E9EF", "K] c #D9ECF3", "L] c #DEF1F9", "M] c #DBEDF5", "N] c #B1BFC5", "O] c #798183", "P] c #464949", "Q] c #333434", "R] c #303131", "S] c #5F6464", "T] c #ACB7B7", "U] c #E5F6F6", "V] c #EAFCFF", "W] c #E5F9FF", "X] c #E1F4FE", "Y] c #DBECFD", "Z] c #D8EAFD", "`] c #D5E6FA", " ^ c #D5E7FB", ".^ c #D3E4F9", "+^ c #CCDDF2", "@^ c #CDDDF4", "#^ c #CBDCF2", "$^ c #C9DAEF", "%^ c #C7D8EE", "&^ c #C6D7EC", "*^ c #C5D6EB", "=^ c #5D5B56", "-^ c #A7A297", ";^ c #65615B", ">^ c #BFB8AC", ",^ c #4E4B46", "'^ c #7C786F", ")^ c #908C82", "!^ c #AEA89D", "~^ c #979287", "{^ c #464440", "]^ c #32312E", "^^ c #211F1E", "/^ c #211C1F", "(^ c #4F4D4D", "_^ c #747372", ":^ c #838281", "<^ c #757574", "[^ c #616060", "}^ c #514F50", "|^ c #373334", "1^ c #2D2A2C", "2^ c #241F22", "3^ c #181316", "4^ c #0C060A", "5^ c #1F181A", "6^ c #504946", "7^ c #5B4C39", "8^ c #A58E72", "9^ c #DDD3C0", "0^ c #D8CDB8", "a^ c #978975", "b^ c #63523E", "c^ c #D4D8D3", "d^ c #D9EBEF", "e^ c #D9ECEF", "f^ c #DAECEF", "g^ c #E1EFEF", "h^ c #E0EDEF", "i^ c #DEECEF", "j^ c #DBEDEF", "k^ c #D5E8EF", "l^ c #D7E9F2", "m^ c #DBEEF8", "n^ c #C3D2DB", "o^ c #ABB8C0", "p^ c #515558", "q^ c #2B2B2B", "r^ c #4A4D4D", "s^ c #6C7374", "t^ c #D2E2E7", "u^ c #E2F4FE", "v^ c #D8E9FB", "w^ c #D2E4F9", "x^ c #D0E1F7", "y^ c #CEDFF4", "z^ c #CFDFF5", "A^ c #CEDFF5", "B^ c #C8D8EE", "C^ c #C5D6EC", "D^ c #C5D4EA", "E^ c #C3D4E9", "F^ c #C3D3E7", "G^ c #636462", "H^ c #9C978D", "I^ c #E7E0D0", "J^ c #292825", "K^ c #3F3D38", "L^ c #9C968C", "M^ c #858178", "N^ c #878379", "O^ c #D6CFC1", "P^ c #C8C2B4", "Q^ c #B5AFA3", "R^ c #9B968C", "S^ c #7F7B72", "T^ c #615E58", "U^ c #252422", "V^ c #333031", "W^ c #636161", "X^ c #7B7A79", "Y^ c #666666", "Z^ c #575556", "`^ c #484546", " / c #3C3839", "./ c #2A2528", "+/ c #1C1819", "@/ c #0D0609", "#/ c #0B0509", "$/ c #110C0D", "%/ c #1F1A19", "&/ c #8C857C", "*/ c #DCD3C0", "=/ c #D9CDB9", "-/ c #9D917F", ";/ c #D1D0C7", ">/ c #D8EAF0", ",/ c #DCEFEF", "'/ c #DEEFEF", ")/ c #E0EEEF", "!/ c #E1EEEF", "~/ c #DCEBEF", "{/ c #D9EAEF", "]/ c #D5E7EF", "^/ c #D1E5F0", "// c #D8EBF7", "(/ c #D3E4F0", "_/ c #B5C3CD", ":/ c #404244", "( c #33312E", ",( c #272725", "'( c #0D090B", ")( c #110B0E", "!( c #322F30", "~( c #5B595A", "{( c #6D6C6C", "]( c #6C6969", "^( c #575555", "/( c #494747", "(( c #3C383A", "_( c #343232", ":( c #171215", "<( c #080406", "[( c #0B0608", "}( c #130E0F", "|( c #878075", "1( c #C5BAA5", "2( c #D2E3EB", "3( c #D4E7EE", "4( c #D3E5EE", "5( c #DAEAEF", "6( c #D8E9EE", "7( c #D6E8EE", "8( c #D4E6EE", "9( c #D7E7EF", "0( c #D1E3EE", "a( c #CFE0ED", "b( c #CFDFED", "c( c #CDDEED", "d( c #D1E3F3", "e( c #D4E6F9", "f( c #C0CFE1", "g( c #6C727A", "h( c #7F7F7F", "i( c #D4D4D4", "j( c #4C4C4C", "k( c #2C2D2D", "l( c #939DAB", "m( c #D1E1F7", "n( c #C1D2E6", "o( c #BFCFE3", "p( c #BECEE2", "q( c #BCCCDF", "r( c #98A4B2", "s( c #D8D1C2", "t( c #161514", "u( c #302E2B", "v( c #625F58", "w( c #A5A094", "x( c #8F8A80", "y( c #635F59", "z( c #4E4C47", "A( c #3E3C38", "B( c #2E2D2A", "C( c #1E1A1B", "D( c #424041", "E( c #595757", "F( c #646262", "G( c #5A5858", "H( c #4C484A", "I( c #3F3C3D", "J( c #2B2829", "K( c #090405", "L( c #090506", "M( c #26211F", "N( c #C8BDA9", "O( c #D2C7B1", "P( c #826B50", "Q( c #C7D5DE", "R( c #CEDFED", "S( c #D3E4EE", "T( c #D5E4ED", "U( c #D1E2ED", "V( c #CEE0EC", "W( c #CEDFEC", "X( c #CCDEEC", "Y( c #C8DAEA", "Z( c #C7D9EA", "`( c #C8D9EB", " _ c #CCDEF0", "._ c #CFE1F6", "+_ c #CEE0F5", "@_ c #A4B1C2", "#_ c #C6C6C6", "$_ c #3C3E40", "%_ c #BECFE3", "&_ c #C4D6EC", "*_ c #C0D2E6", "=_ c #BDCDE1", "-_ c #BACADE", ";_ c #B9C8DB", ">_ c #ABB8CB", ",_ c #57544E", "'_ c #B9B3A7", ")_ c #D2CABC", "!_ c #88837A", "~_ c #726E66", "{_ c #494642", "]_ c #373632", "^_ c #211F1D", "/_ c #0B0409", "(_ c #454243", "__ c #5E5C5C", ":_ c #615F5F", "<_ c #4F4C4D", "[_ c #434141", "}_ c #3A3838", "|_ c #2F2C2D", "1_ c #151013", "2_ c #0A0507", "3_ c #0A0607", "4_ c #120E0E", "5_ c #9A9082", "6_ c #CBBFAB", "7_ c #EAE4D6", "8_ c #BFC7CE", "9_ c #CADBEC", "0_ c #C9DBED", "a_ c #CADCED", "b_ c #CBDDEC", "c_ c #CBDCEB", "d_ c #C9DAEA", "e_ c #C8D8E9", "f_ c #C8D9EA", "g_ c #C8D8EB", "h_ c #C6D8EA", "i_ c #C2D3E6", "j_ c #C2D3E7", "k_ c #C8DCEE", "l_ c #CEE0F4", "m_ c #CBDDF2", "n_ c #99A5B4", "o_ c #2D2D2D", "p_ c #C4C4C4", "q_ c #B5B5B5", "r_ c #3B3B3B", "s_ c #B2B2B2", "t_ c #2E2F2F", "u_ c #A0ADBC", "v_ c #C6D7EB", "w_ c #C0D0E5", "x_ c #BFCFE2", "y_ c #BCCCE0", "z_ c #BCCBDF", "A_ c #BBCADE", "B_ c #B9C9DD", "C_ c #B7C7DA", "D_ c #B6C6D9", "E_ c #B6C5D8", "F_ c #B5C5D8", "G_ c #5D5B57", "H_ c #817C74", "I_ c #403E3A", "J_ c #141011", "K_ c #393637", "L_ c #545253", "M_ c #5D5B5B", "N_ c #524F50", "O_ c #484646", "P_ c #262425", "Q_ c #1E191C", "R_ c #120C0F", "S_ c #090406", "T_ c #443D38", "U_ c #292219", "V_ c #C0C3C5", "W_ c #C7D7EA", "X_ c #C5D5E9", "Y_ c #C5D6E9", "Z_ c #C7D8EA", "`_ c #C3D4E7", " : c #C0CFE4", ".: c #BECFE2", "+: c #BFD0E4", "@: c #C8DAEE", "#: c #CADBF2", "$: c #C7D7ED", "%: c #95A1AF", "&: c #979797", "*: c #3F3F40", "=: c #909090", "-: c #686F77", ";: c #C6D6EC", ">: c #BDCDE2", ",: c #BBCBDE", "': c #BBCBDF", "): c #BACADD", "!: c #B8C7DB", "~: c #B7C6DA", "{: c #B5C4D7", "]: c #606160", "^: c #E7DFD0", "/: c #999489", "(: c #989388", "_: c #A59F94", ":: c #8E8980", "<: c #5D5A54", "[: c #312F2C", "}: c #1A1817", "|: c #0C0609", "1: c #140F11", "2: c #302C2E", "3: c #494748", "4: c #535051", "5: c #4C494A", "6: c #3A3738", "7: c #2F2D2E", "8: c #272326", "9: c #1F191C", "0: c #0B0707", "a: c #997D5D", "b: c #C8C6C1", "c: c #C0D1E5", "d: c #C0D2E5", "e: c #BECEE1", "f: c #C6D5E9", "g: c #8C97A3", "h: c #333435", "i: c #C3C3C3", "j: c #5B6067", "k: c #C0D1E4", "l: c #BDCCE0", "m: c #BAC9DC", "n: c #B4C3D7", "o: c #B4C3D6", "p: c #A5B2C4", "q: c #6F7378", "r: c #918C83", "s: c #DDD6C7", "t: c #D1CABB", "u: c #65625B", "v: c #373531", "w: c #100B0D", "x: c #434142", "y: c #535252", "z: c #545252", "A: c #535151", "B: c #504D4E", "C: c #403E3E", "D: c #302C2F", "E: c #2A2629", "F: c #0A0606", "G: c #231B16", "H: c #907658", "I: c #AC8D69", "J: c #D7D2C6", "K: c #C1D1E6", "L: c #C1D0E5", "M: c #BECEE3", "N: c #BDCDE0", "O: c #BDCCDF", "P: c #C5D4E9", "Q: c #C8D8ED", "R: c #C8D9EF", "S: c #909AA8", "T: c #323334", "U: c #2C2C2D", "V: c #303132", "W: c #B8B8B8", "X: c #4F5357", "Y: c #BAC9DD", "Z: c #B8C7DA", "`: c #7F8690", " < c #C9C2B5", ".< c #B7B0A4", "+< c #868279", "@< c #6C6861", "#< c #53504A", "$< c #3C3A36", "%< c #292725", "&< c #151212", "*< c #0E0A0C", "=< c #201B1E", "-< c #3B3839", ";< c #4B494A", ">< c #535152", ",< c #515050", "'< c #504F4F", ")< c #4B4949", "!< c #454444", "~< c #3A3839", "{< c #343131", "]< c #1C181A", "^< c #0F0A0C", "/< c #191310", "(< c #816950", "_< c #BECDE0", ":< c #C9DBF0", "<< c #8993A1", "[< c #B9B9B9", "}< c #595E65", "|< c #BCCBE0", "1< c #949FAD", "2< c #C0B9AC", "3< c #A8A297", "4< c #45433F", "5< c #302F2B", "6< c #262224", "7< c #3E3C3D", "8< c #4E4B4D", "9< c #504E4E", "0< c #4B4A4A", "a< c #454443", "b< c #3C3A3A", "c< c #333131", "d< c #292728", "e< c #1E1A1C", "f< c #110D0F", "g< c #0E0A09", "h< c #30251E", "i< c #B2916D", "j< c #BBC7D6", "k< c #BFCEE1", "l< c #C2D3E8", "m< c #C8D9ED", "n< c #98A5B3", "o< c #4E5256", "p< c #838383", "q< c #2D2E2E", "r< c #484B4F", "s< c #B7C6D9", "t< c #A9B7C9", "u< c #736F67", "v< c #C6C0B3", "w< c #C4BDB0", "x< c #B0AA9E", "y< c #504D48", "z< c #393834", "A< c #151313", "B< c #0F0C0E", "C< c #494847", "D< c #444242", "E< c #3A3837", "F< c #312F2E", "G< c #161114", "H< c #0B0607", "I< c #120C0B", "J< c #856C52", "K< c #E7E1D4", "L< c #B8C0C7", "M< c #BECDE1", "N< c #BCCBDE", "O< c #C2D2E5", "P< c #A3B0C1", "Q< c #484C50", "R< c #2E2E2F", "S< c #313132", "T< c #343536", "U< c #5D6269", "V< c #5C5A55", "W< c #7D7970", "X< c #44423D", "Y< c #615D57", "Z< c #CEC8B9", "`< c #CAC3B6", " [ c #2F2E2B", ".[ c #1F1D1C", "+[ c #131013", "@[ c #100C0F", "#[ c #1D191B", "$[ c #2C292B", "%[ c #3C3A3B", "&[ c #464545", "*[ c #41403F", "=[ c #373534", "-[ c #2E2C2B", ";[ c #231F1F", ">[ c #120E10", ",[ c #0D0809", "'[ c #362B22", ")[ c #BCBFBF", "![ c #BDCDDF", "~[ c #BCCADE", "{[ c #BBC9DD", "][ c #B9C8DC", "^[ c #BCCDE1", "/[ c #C2D2E7", "([ c #7E8792", "_[ c #818182", ":[ c #727A84", "<[ c #B4C4D8", "[[ c #616161", "}[ c #252321", "|[ c #3E3C37", "1[ c #64605A", "2[ c #747068", "3[ c #9B958B", "4[ c #363431", "5[ c #242221", "6[ c #080608", "7[ c #0F0A0D", "8[ c #1F1B1D", "9[ c #413F40", "0[ c #3B3A39", "a[ c #343230", "b[ c #282624", "c[ c #1E1C1A", "d[ c #181415", "e[ c #0A0508", "f[ c #070105", "g[ c #16100E", "h[ c #9C7F60", "i[ c #C8C6BF", "j[ c #BBCADC", "k[ c #B8C7D9", "l[ c #B6C5DA", "m[ c #B9CADC", "n[ c #393A3C", "o[ c #9CA8B7", "p[ c #B6C5D7", "q[ c #B4C4D7", "r[ c #A2AFC0", "s[ c #71767B", "t[ c #514F49", "u[ c #716D65", "v[ c #5B5851", "w[ c #56534D", "x[ c #BEB8AB", "y[ c #53504B", "z[ c #E0D9CA", "A[ c #6F6B63", "B[ c #080706", "C[ c #0A0707", "D[ c #0B0609", "E[ c #181216", "F[ c #2D282A", "G[ c #3A3938", "H[ c #373533", "I[ c #302E2C", "J[ c #25221F", "K[ c #191613", "L[ c #120F0E", "M[ c #090206", "N[ c #070104", "O[ c #100B0B", "P[ c #574636", "Q[ c #B0916C", "R[ c #D8D2C5", "S[ c #B8C6D8", "T[ c #B3C2D4", "U[ c #B0BED0", "V[ c #3B3C3E", "W[ c #A8B5C5", "X[ c #B6C5D9", "Y[ c #818993", "Z[ c #131211", "`[ c #A7A196", " } c #403D39", ".} c #373532", "+} c #D3CCBE", "@} c #ACA79B", "#} c #5A5750", "$} c #100C0A", "%} c #120C10", "&} c #231F21", "*} c #302E2E", "=} c #333231", "-} c #31302F", ";} c #2A2827", ">} c #1F1C19", ",} c #110F0B", "'} c #090105", ")} c #070003", "!} c #0F0909", "~} c #473926", "{} c #C8AB67", "]} c #C0A075", "^} c #B2C1D4", "/} c #B5C4D6", "(} c #B3C2D5", "_} c #B5C4D8", ":} c #A2AFBF", "<} c #37383A", "[} c #38393B", "}} c #4D5155", "|} c #BECDE2", "1} c #BFCFE4", "2} c #BBCBE0", "3} c #B8C8DB", "4} c #B7C7DB", "5} c #B6C4D8", "6} c #95A1B0", "7} c #2F2D2A", "8} c #121110", "9} c #58554F", "0} c #050505", "a} c #413E3A", "b} c #55524C", "c} c #5E5B55", "d} c #5A5751", "e} c #7A766D", "f} c #1C1719", "g} c #272424", "h} c #292627", "i} c #282626", "j} c #22201E", "k} c #161311", "l} c #0C0709", "m} c #1B110A", "n} c #9B7F36", "o} c #C7A445", "p} c #E2BF5D", "q} c #D6B568", "r} c #B1BCCA", "s} c #B4C3D5", "t} c #C1D1E4", "u} c #A9B6C7", "v} c #B0B0B0", "w} c #818A95", "x} c #C7D7EB", "y} c #B8C8DC", "z} c #B7C5D8", "A} c #ADBBCD", "B} c #63605A", "C} c #9D978D", "D} c #45433E", "E} c #837E75", "F} c #595650", "G} c #706C65", "H} c #9C978C", "I} c #201A14", "J} c #130F0C", "K} c #0A0406", "L} c #090407", "M} c #130D10", "N} c #191517", "O} c #1A1617", "P} c #171213", "Q} c #0C0808", "R} c #080105", "S} c #080204", "T} c #160D08", "U} c #735C27", "V} c #A28437", "W} c #C8A446", "X} c #C29D3F", "Y} c #C4A041", "Z} c #987F5E", "`} c #BA9972", " | c #E6E0D3", ".| c #B1B8BE", "+| c #C1D2E7", "@| c #C3D4E8", "#| c #808995", "$| c #8D8D8D", "%| c #818181", "&| c #2E2E2E", "*| c #87919F", "=| c #C9DBF2", "-| c #C7D8ED", ";| c #BDCEE2", ">| c #BDCBDF", ",| c #B9CADE", "'| c #393733", ")| c #1D1C1A", "!| c #2D2C28", "~| c #43413C", "{| c #2A2926", "]| c #362D21", "^| c #382E23", "/| c #1D1A17", "(| c #0D090A", "_| c #080305", ":| c #0E0A0B", "<| c #0B0708", "[| c #0A0204", "}| c #6C5523", "|| c #A88939", "1| c #C29E43", "2| c #D1AB4C", "3| c #C29A44", "4| c #181210", "5| c #B8BABA", "6| c #ABB9CA", "7| c #98A3B2", "8| c #CFE0F5", "9| c #D0E0F5", "0| c #CDE0F5", "a| c #CBDDF1", "b| c #BDCEE1", "c| c #B9CADD", "d| c #636464", "e| c #9A958B", "f| c #11110F", "g| c #3A352D", "h| c #342A1F", "i| c #41392F", "j| c #35332E", "k| c #23211D", "l| c #131210", "m| c #060103", "n| c #0A0506", "o| c #090104", "p| c #614C21", "q| c #B18F3B", "r| c #BA9841", "s| c #E0BD5C", "t| c #C19B3D", "u| c #1A130E", "v| c #150E0D", "w| c #362B21", "x| c #C6C4BD", "y| c #B6C6D8", "z| c #B7C6DB", "A| c #BACBDF", "B| c #A9B5C7", "C| c #3B3D3F", "D| c #565A60", "E| c #D3E5FB", "F| c #D1E2F9", "G| c #CDDFF5", "H| c #C7D8EC", "I| c #C3D3E8", "J| c #A8B6C7", "K| c #777D83", "L| c #DBD4C5", "M| c #0D0C0B", "N| c #141312", "O| c #63523D", "P| c #6B675E", "Q| c #534F49", "R| c #3C3933", "S| c #2B2824", "T| c #1C1B17", "U| c #090505", "V| c #070304", "W| c #080405", "X| c #0C0506", "Y| c #504328", "Z| c #C8A74F", "`| c #D9BB62", " 1 c #EACB6D", ".1 c #C89F41", "+1 c #715D32", "@1 c #100A0A", "#1 c #17120F", "$1 c #191411", "%1 c #120D0C", "&1 c #150F0D", "*1 c #3E2F26", "=1 c #9E8162", "-1 c #D8D3C6", ";1 c #BBCADD", ">1 c #C0CFE3", ",1 c #CDDEF3", "'1 c #D1E2F7", ")1 c #9CA8B6", "!1 c #4B4E52", "~1 c #303031", "{1 c #7D8590", "]1 c #BFCDE0", "^1 c #D6E7FE", "/1 c #D1E3F8", "(1 c #C4D3E7", "_1 c #C2D1E6", ":1 c #89929D", "<1 c #1B1A19", "[1 c #494641", "}1 c #C2BBAD", "|1 c #3D3226", "11 c #715D45", "21 c #8C877C", "31 c #757067", "41 c #5B564D", "51 c #46423B", "61 c #33302B", "71 c #100E0A", "81 c #1A120C", "91 c #66532E", "01 c #D6C175", "a1 c #F7DF88", "b1 c #FDEC9B", "c1 c #E2BD65", "d1 c #BE993D", "e1 c #B8933B", "f1 c #0E0809", "g1 c #110C0B", "h1 c #161210", "i1 c #171212", "j1 c #120D0D", "k1 c #0F0A0A", "l1 c #0B0506", "m1 c #170F10", "n1 c #625040", "o1 c #B99772", "p1 c #B8C7D8", "q1 c #BACADF", "r1 c #BBCCE0", "s1 c #C3D1E3", "t1 c #C1D0E4", "u1 c #C3D2E6", "v1 c #D1E3F9", "w1 c #8F99A5", "x1 c #343537", "y1 c #6B727B", "z1 c #757D86", "A1 c #B2BFD0", "B1 c #D7E8FE", "C1 c #A3B0BF", "D1 c #474540", "E1 c #21201E", "F1 c #C5BFB1", "G1 c #8C8476", "H1 c #706250", "I1 c #A09380", "J1 c #ADA393", "K1 c #AAA396", "L1 c #969084", "M1 c #7D766A", "N1 c #686257", "O1 c #534E45", "P1 c #1B1813", "Q1 c #936F31", "R1 c #DDBB68", "S1 c #FCE995", "T1 c #F9E897", "U1 c #E6CB79", "V1 c #B4913A", "W1 c #B18E39", "X1 c #130C0B", "Y1 c #140F0E", "Z1 c #181412", "`1 c #1B1715", " 2 c #191515", ".2 c #10070A", "+2 c #251B19", "@2 c #8F7458", "#2 c #B9C4D1", "$2 c #C0CFE2", "%2 c #C8D6E8", "&2 c #C5D5E8", "*2 c #C6D6EB", "=2 c #D3E4FA", "-2 c #ABB8C9", ";2 c #505358", ">2 c #6F767E", ",2 c #BCCCDB", "'2 c #D5E7F7", ")2 c #D9EBFE", "!2 c #D0E2F8", "~2 c #CADAEE", "{2 c #CADBF0", "]2 c #636059", "^2 c #B0AB9F", "/2 c #A29D92", "(2 c #8D887E", "_2 c #CDC5B6", ":2 c #B1AA9C", "<2 c #9E9586", "[2 c #898173", "}2 c #746D61", "|2 c #403B34", "12 c #19150F", "22 c #13100B", "32 c #F1D684", "42 c #F2E193", "52 c #D1AF60", "62 c #B4893D", "72 c #A6853F", "82 c #110B09", "92 c #130F0E", "02 c #1C1815", "a2 c #211D1B", "b2 c #231E1D", "c2 c #221D1A", "d2 c #1D1818", "e2 c #171313", "f2 c #120D0E", "g2 c #181013", "h2 c #695440", "i2 c #E5E0D4", "j2 c #B9C0C7", "k2 c #C4D5EA", "l2 c #C8D9EC", "m2 c #C9D8EC", "n2 c #C6D7ED", "o2 c #C9DAF0", "p2 c #D5E7FD", "q2 c #B1BFCF", "r2 c #656B72", "s2 c #414345", "t2 c #676E72", "u2 c #868F97", "v2 c #C7D7E5", "w2 c #D9E9F8", "x2 c #DCECFE", "y2 c #D9EAFE", "z2 c #CEDFF3", "A2 c #CFE1F5", "B2 c #61615D", "C2 c #D1C9B9", "D2 c #C5BCAC", "E2 c #B6AC9C", "F2 c #A69C8B", "G2 c #948C7C", "H2 c #70695E", "I2 c #251E16", "J2 c #D5A146", "K2 c #CD9B45", "L2 c #B98D3F", "M2 c #A87F37", "N2 c #997F41", "O2 c #0F0B0A", "P2 c #130F0F", "Q2 c #1F1B17", "R2 c #2B2723", "S2 c #302B27", "T2 c #302C28", "U2 c #2A2623", "V2 c #262221", "W2 c #221D1B", "X2 c #1A1516", "Y2 c #120D0F", "Z2 c #3B2C24", "`2 c #A68766", " 3 c #BFC2C3", ".3 c #CADBF1", "+3 c #C9DAF1", "@3 c #B7C5D5", "#3 c #3D3F41", "$3 c #4B4F51", "%3 c #6C7276", "&3 c #C0CFD8", "*3 c #DFF1FD", "=3 c #DCEFFF", "-3 c #D6E9FA", ";3 c #6D6F71", ">3 c #989389", ",3 c #C9BFAE", "'3 c #BCB19E", ")3 c #ADA492", "!3 c #908779", "~3 c #AC873E", "{3 c #A27B36", "]3 c #906F31", "^3 c #282321", "/3 c #332F2C", "(3 c #3C3732", "_3 c #423E39", ":3 c #3B3732", "<3 c #36332E", "[3 c #302C2A", "}3 c #2A2724", "|3 c #211D1D", "13 c #050203", "23 c #060104", "33 c #281C18", "43 c #907559", "53 c #CBC9C2", "63 c #CADAF0", "73 c #CDDEF4", "83 c #D6E7FD", "93 c #D3E5F7", "03 c #70777E", "a3 c #353636", "b3 c #4D5152", "c3 c #C3D3DB", "d3 c #858D95", "e3 c #8F8B81", "f3 c #D8D0C2", "g3 c #34322E", "h3 c #BFB4A1", "i3 c #AAA08F", "j3 c #3A3023", "k3 c #3B3126", "l3 c #2E271F", "m3 c #2D281F", "n3 c #322D20", "o3 c #201718", "p3 c #1B1617", "q3 c #332E2D", "r3 c #44403C", "s3 c #514C45", "t3 c #4A4640", "u3 c #46433D", "v3 c #403C37", "w3 c #3A3632", "x3 c #33302C", "y3 c #2A2624", "z3 c #1F1B1B", "A3 c #1A1616", "B3 c #0C070A", "C3 c #191011", "D3 c #65513E", "E3 c #DBD6C8", "F3 c #CCDCF2", "G3 c #CCDDF3", "H3 c #CDDFF3", "I3 c #D5E7F9", "J3 c #D9EDFD", "K3 c #C6D7E4", "L3 c #363738", "M3 c #C9DAE2", "N3 c #DDF0FF", "O3 c #9EA9B4", "P3 c #807C74", "Q3 c #E0D6C5", "R3 c #DBD0BF", "S3 c #CBC0AB", "T3 c #C0B5A1", "U3 c #4F4132", "V3 c #43382C", "W3 c #352E25", "X3 c #2A251F", "Y3 c #201D1A", "Z3 c #141010", "`3 c #1E1919", " 4 c #3C3633", ".4 c #524E47", "+4 c #544F48", "@4 c #4D4942", "#4 c #48443D", "$4 c #3B3833", "%4 c #2D2A28", "&4 c #23201F", "*4 c #1F1C1C", "=4 c #171315", "-4 c #070305", ";4 c #060004", ">4 c #352A28", ",4 c #94785C", "'4 c #C9D9EC", ")4 c #DAEBFA", "!4 c #DDF0FC", "~4 c #B2C0C9", "{4 c #373939", "]4 c #4E5254", "^4 c #B9C7D7", "/4 c #BCB5A9", "(4 c #E1D8C7", "_4 c #DFD5C2", ":4 c #5C4C3B", "<4 c #4C4032", "[4 c #3D342A", "}4 c #2F2922", "|4 c #211D1A", "14 c #14100F", "24 c #1E1A19", "34 c #403C38", "44 c #59544D", "54 c #57534C", "64 c #504D46", "74 c #4C4843", "84 c #44403B", "94 c #34302E", "04 c #2C2826", "a4 c #2F2C2A", "b4 c #2D2929", "c4 c #1F1C1D", "d4 c #0A0407", "e4 c #6E5423", "f4 c #7E6128", "g4 c #705828", "h4 c #5D4A37", "i4 c #A88B69", "j4 c #C6D2E1", "k4 c #D1E2F6", "l4 c #D2E3F8", "m4 c #D8EAFA", "n4 c #DEF1FD", "o4 c #E3F5FB", "p4 c #98A3A6", "q4 c #B4C1C5", "r4 c #D1E2F5", "s4 c #AFA99E", "t4 c #A0998E", "u4 c #3D3A35", "v4 c #3F3C36", "w4 c #D8CEB9", "x4 c #352D24", "y4 c #776149", "z4 c #75614A", "A4 c #685642", "B4 c #564838", "C4 c #443A2E", "D4 c #342D24", "E4 c #26201A", "F4 c #181512", "G4 c #1D1A18", "H4 c #49453F", "I4 c #646057", "J4 c #5D5951", "K4 c #54514A", "L4 c #4D4945", "M4 c #3F3C38", "N4 c #373432", "O4 c #33302F", "P4 c #242222", "Q4 c #171414", "R4 c #0B080A", "S4 c #2D2010", "T4 c #B07F34", "U4 c #D4A344", "V4 c #E5BD54", "W4 c #E2C75C", "X4 c #66512A", "Y4 c #8C7257", "Z4 c #E7E2D7", "`4 c #C3C9CF", " 5 c #D6E8FA", ".5 c #DAECFB", "+5 c #E0F3FD", "@5 c #E5F9FD", "#5 c #E9FCFF", "$5 c #E7F9FB", "%5 c #868E8F", "&5 c #313232", "*5 c #B0BEC4", "=5 c #5F5D59", "-5 c #A49F94", ";5 c #ADA79C", ">5 c #DFD8C8", ",5 c #716A5F", "'5 c #D9CEBA", ")5 c #584F42", "!5 c #856E52", "~5 c #8C7357", "{5 c #746049", "]5 c #61503E", "^5 c #4E4132", "/5 c #3D3328", "(5 c #1E1A15", "_5 c #221F1C", ":5 c #4F4A44", "<5 c #646158", "[5 c #615D55", "}5 c #59554E", "|5 c #4A4743", "15 c #3D3938", "25 c #3C3837", "35 c #363333", "45 c #2D2B2A", "55 c #1E1C1C", "65 c #110F10", "75 c #070606", "85 c #8A5C26", "95 c #C38F43", "05 c #FBE777", "a5 c #FDFB9A", "b5 c #EBD466", "c5 c #947733", "d5 c #755E3C", "e5 c #B3926E", "f5 c #C6C9C9", "g5 c #D6E9FC", "h5 c #D8EAFB", "i5 c #DBEDFC", "j5 c #E3F4FD", "k5 c #ECFCFE", "l5 c #EEFFFF", "m5 c #DBE9E9", "n5 c #4F5252", "o5 c #2F2F2F", "p5 c #353637", "q5 c #3F4245", "r5 c #3E4043", "s5 c #72787C", "t5 c #535352", "u5 c #5C5852", "v5 c #D1C9BB", "w5 c #4B4742", "x5 c #C0B5A2", "y5 c #51493C", "z5 c #9C8160", "A5 c #9A7F60", "B5 c #8F7659", "C5 c #7E684F", "D5 c #6B5943", "E5 c #574838", "F5 c #453A2D", "G5 c #25201B", "H5 c #292521", "I5 c #666159", "J5 c #646058", "K5 c #5F5C54", "L5 c #4E4A47", "M5 c #3F3C3B", "N5 c #3A3736", "O5 c #353231", "P5 c #2B2A2B", "Q5 c #1E1C1D", "R5 c #0F0E0E", "S5 c #3E2911", "T5 c #855C26", "U5 c #F4C555", "V5 c #FEF575", "W5 c #FBFB98", "X5 c #ECD065", "Y5 c #BE9A40", "Z5 c #574533", "`5 c #A68867", " 6 c #CFCDC4", ".6 c #DBEDFD", "+6 c #DCEFFD", "@6 c #E1F2FE", "#6 c #EBFAFF", "$6 c #F2FFFF", "%6 c #EBF7F7", "&6 c #353535", "*6 c #303030", "=6 c #323232", "-6 c #373737", ";6 c #3E3E3D", ">6 c #393837", ",6 c #353432", "'6 c #43413E", ")6 c #6B6861", "!6 c #908B81", "~6 c #807B73", "{6 c #282724", "]6 c #413F3B", "^6 c #3B3935", "/6 c #BBB4A7", "(6 c #3B3832", "_6 c #2F261D", ":6 c #8C7F6D", "<6 c #897D6D", "[6 c #756B5C", "}6 c #43372B", "|6 c #524332", "16 c #766048", "26 c #866F54", "36 c #2D2720", "46 c #292421", "56 c #46423C", "66 c #5D5952", "76 c #646059", "86 c #625E57", "96 c #534F4C", "06 c #3B3938", "a6 c #312E2F", "b6 c #1A191A", "c6 c #0D0B0C", "d6 c #030103", "e6 c #816026", "f6 c #DFA945", "g6 c #F4CB5E", "h6 c #F6E985", "i6 c #E8D37C", "j6 c #C8A64B", "k6 c #594523", "l6 c #876E53", "m6 c #DDD7C9", "n6 c #DDF0FE", "o6 c #E6F7FF", "p6 c #EFFDFF", "q6 c #F4FFFF", "r6 c #393939", "s6 c #373736", "t6 c #313131", "u6 c #383838", "v6 c #373636", "w6 c #383735", "x6 c #4E4C48", "y6 c #7C7871", "z6 c #ABA59A", "A6 c #B7B1A5", "B6 c #D5CEBF", "C6 c #7A766E", "D6 c #33312D", "E6 c #827D74", "F6 c #0A0909", "G6 c #79756D", "H6 c #A7A195", "I6 c #27231D", "J6 c #5F4E3A", "K6 c #9A7E5E", "L6 c #AD8D6A", "M6 c #8E7558", "N6 c #7D674E", "O6 c #6A5843", "P6 c #584938", "Q6 c #473B2E", "R6 c #29241F", "S6 c #3B3733", "T6 c #534F48", "U6 c #635F58", "V6 c #5A5653", "W6 c #4C4947", "X6 c #3B3837", "Y6 c #2D2B2B", "Z6 c #222021", "`6 c #171717", " 7 c #0D0D0D", ".7 c #040404", "+7 c #060202", "@7 c #453317", "#7 c #B68C3A", "$7 c #DBB14E", "%7 c #EBD078", "&7 c #E7CF7A", "*7 c #D1AF51", "=7 c #886C2E", "-7 c #534133", ";7 c #A78867", ">7 c #D8E9F6", ",7 c #E9F9FE", "'7 c #AFB8B8", ")7 c #333333", "!7 c #414140", "~7 c #3C3C3B", "{7 c #383836", "]7 c #393836", "^7 c #484744", "/7 c #53514E", "(7 c #6B6863", "_7 c #79756E", ":7 c #C6C0B2", "<7 c #67635C", "[7 c #2C2B28", "}7 c #969085", "|7 c #251F18", "17 c #5C4B38", "27 c #715C45", "37 c #856E53", "47 c #4F4233", "57 c #3C3327", "67 c #2A241E", "77 c #2F2A27", "87 c #45423C", "97 c #5C5851", "07 c #504D4A", "a7 c #3E3B3B", "b7 c #2D2C2C", "c7 c #212020", "d7 c #191818", "e7 c #161107", "f7 c #99722F", "g7 c #D3AC54", "h7 c #DFC370", "i7 c #E1C673", "j7 c #DCBF6F", "k7 c #CBAA5E", "l7 c #37291F", "m7 c #CFDDE6", "n7 c #E7FBFC", "o7 c #8D9797", "p7 c #3F3E3D", "q7 c #42413F", "r7 c #4D4C48", "s7 c #595751", "t7 c #69655F", "u7 c #78756D", "v7 c #C4BEB1", "w7 c #201F1D", "x7 c #191816", "y7 c #948E83", "z7 c #8A7155", "A7 c #9B866C", "B7 c #8C765D", "C7 c #6B5843", "D7 c #574837", "E7 c #44392C", "F7 c #2F2720", "G7 c #27221D", "H7 c #393532", "I7 c #4D4A44", "J7 c #3C3937", "K7 c #272425", "L7 c #1D1C1C", "M7 c #121212", "N7 c #070707", "O7 c #8B5926", "P7 c #B69846", "Q7 c #D5B562", "R7 c #D5B361", "S7 c #D9BA68", "T7 c #D8B664", "U7 c #7C632E", "V7 c #574435", "W7 c #E7E3D8", "X7 c #C5CCD1", "Y7 c #DCEFFE", "Z7 c #E3F5FC", "`7 c #889294", " 8 c #363636", ".8 c #4B4B4B", "+8 c #545453", "@8 c #4A4A48", "#8 c #484642", "$8 c #55534E", "%8 c #77736C", "&8 c #87827A", "*8 c #6C6961", "=8 c #69665F", "-8 c #A39E93", ";8 c #B3AC9F", ">8 c #CABAA1", ",8 c #B6A288", "'8 c #876F54", ")8 c #5F4F3C", "!8 c #4A3D2F", "~8 c #352C22", "{8 c #241F1A", "]8 c #26231F", "^8 c #36332F", "/8 c #474440", "(8 c #524F49", "_8 c #4A4643", ":8 c #252323", "<8 c #191717", "[8 c #0E0E0E", "}8 c #040301", "|8 c #403215", "18 c #B4883B", "28 c #C49A4A", "38 c #CEA858", "48 c #D6B162", "58 c #D4B367", "68 c #BA973F", "78 c #3C2D25", "88 c #A88A67", "98 c #C8C9C9", "08 c #D8EAFC", "a8 c #C6D7E2", "b8 c #B7C1C5", "c8 c #424242", "d8 c #555554", "e8 c #535251", "f8 c #4D4C4B", "g8 c #464542", "h8 c #5A5753", "i8 c #948F86", "j8 c #615E57", "k8 c #1A1917", "l8 c #CFC7B9", "m8 c #433B31", "n8 c #B6A388", "o8 c #7B664C", "p8 c #262019", "q8 c #1C1714", "r8 c #25211F", "s8 c #373330", "t8 c #413D3B", "u8 c #3D3837", "v8 c #332F2F", "w8 c #252221", "x8 c #1A1918", "y8 c #0C0B0B", "z8 c #030303", "A8 c #33240E", "B8 c #895B27", "C8 c #AE7F3B", "D8 c #C5974C", "E8 c #D9B465", "F8 c #D4AC4B", "G8 c #C29C3D", "H8 c #2B1F1A", "I8 c #8D7257", "J8 c #CFCCC4", "K8 c #C8D4E4", "L8 c #9AA4AF", "M8 c #72797F", "N8 c #575A58", "O8 c #4C4B47", "P8 c #66635D", "Q8 c #76736B", "R8 c #868179", "S8 c #938F85", "T8 c #9D988E", "U8 c #383632", "V8 c #0B0A0A", "W8 c #8A857C", "X8 c #51483E", "Y8 c #3E3327", "Z8 c #1A1411", "`8 c #211D1C", " 9 c #2A2625", ".9 c #2E2A2A", "+9 c #232020", "@9 c #161515", "#9 c #060505", "$9 c #050401", "%9 c #714A1D", "&9 c #A26F2D", "*9 c #CD9446", "=9 c #E1C383", "-9 c #DAB448", ";9 c #D5AC43", ">9 c #594521", ",9 c #65503E", "'9 c #A7A296", ")9 c #C0BAAD", "!9 c #080807", "~9 c #D8CDB7", "{9 c #77654E", "]9 c #100C0B", "^9 c #1D1918", "/9 c #140F10", "(9 c #0B0809", "_9 c #63471D", ":9 c #B07230", "<9 c #A97931", "[9 c #DCB74B", "}9 c #DCB94B", "|9 c #D6AD44", "19 c #9B7C32", "29 c #30241D", "39 c #92775A", "49 c #A69C8D", "59 c #73604A", "69 c #8E7659", "79 c #AC9274", "89 c #D9CDB7", "99 c #90826F", "09 c #0C0908", "a9 c #0A0708", "b9 c #090307", "c9 c #0B0709", "d9 c #070506", "e9 c #6F501F", "f9 c #946027", "g9 c #B58335", "h9 c #DBB24B", "i9 c #DAB249", "j9 c #92742E", "k9 c #5A4620", "l9 c #644D3C", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + @ + + + + + + + + + @ # $ % & * = $ $ $ @ @ @ @ @ @ # $ = $ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @ @ # $ $ ; ; # # $ $ = = = # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ # > , $ $ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ' ) ! ~ { + + + + + + + + + + + + + + + # ] ^ ^ ^ ^ ^ ^ / ( + + + + + + + + + + _ : < [ ] ~ } | & 1 = # @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ ; $ = 1 * & 2 | ( _ 3 ~ 4 5 6 ] 7 8 : , + + + + + + + . ", ". + + + + + + % 9 0 a b c d e f g h h h h h h i j e k l b m n > + + + + + + + + + + > o b p q r s t u v w f x y h z A 9 + + + + + + + + + + + + + B C D E F G H I J K c L M < * + + + + + + & N O O O O O O O P + + + + + + + + + @ Q R S T U E O V F W X Y Z ` ...^ + + + + + + + + + + + + + + + + + + + + > +.7 @.#.B $.%.&.*.+ + + + + + + =.-.;.>.F O ,.'.).!.~.{.].^./.(._.:.<.[.}.. . |.+ + + + + + + . ", ". + + + + 1.2.3.~.4.5.6.7._.8.9.0.a.a.a.a.a.a.<.9.8._.b.6.c.{.d.P e.f., + + + + + + g.h.6.i.(.j.k.l.m.n.o.9.<.0.a.[.c.p.+ + + + + + + + + + + + * ;.q.. . . r.s.t.u.v.(.w.x.y.z.+ + + + + + ; A.. . . . . . . 9.@ + + + + + + + + 6 /.. . . . . . . . . . . q.B.C.D.E.F.+ + + + + + + + + + + + + + *.G.H.I.J.K.!.L.M.N.O.^.P.Q.x @ + + + + + + R.t.q.. . . . . . . . . . . . . . . . . . . . d + + + + + + + . ", ". + + + + S.B.T.. . . . . . . . . }.B.B.U.T.. . . . . . . . . r.V.t.8.L.W.@.# + + + z.5.. . . . . . . . . . . . . . G + + + + + + + + + + + + + X.Y.. . . . . . . . . . . q.Z.@ + + + + + + + `.. . . . . . . +p.+ + + + + + + .+++r.. . . . . . . . . . . . . . . r.8.g 5 @ + + + + + + + + $ @+#+$+%+}.U.r.T.. . . . . . . . b.7 + + + + + + $ 6.. . . . . . . . . <.&+,.F *+=+-+;+#+>+,+'+)++ + + + + + + . ", ". + + + + 2.. . . . . . . . . . +!+~+{+]+^+5./+(+. . . . . . . . . . . . _+:+_ + + <+[+. . . . . . . . . . . . . . }++ + + + + + + + + + + + + |+. . . . . . . . . . . . /.* + + + + + + + + 1+. . . . . . . q.4 + + + + + + + @.6.. . . . . . . . . . . . . . . . . . . L.2+3++ + + + + 4+#.J /.. . . . . . . . . . . . . . . . j - + + + + + + 5+. . . . . . . . . Q.7 + + + + + + + + + + + + + + + + + + . ", ". + + + + h . . . . . . . . . . V.+ + + # p.6+7+8+n.. . . . . . . . . . . . 9+0+= + { a+. . . . . . . . . . . . . 0.R.+ + + + + + + + + + + + + b+. . . . . . . . . . . . O # + + + + + + + - y.. . . . . . . c+_ + + + + + + @ x q.. . . . . . . . . . . . . . . . . . . . :.g d+$ + 4+X.e+{.r.. . . . . . . . . . . . . . . . . ].f++ + + + + + g+. . . . . . . . . C.Z.5 ] 7 h+i+j+k+2 + + + + + + + + + + . ", ". + + + + l+. . . . . . . . . . V.+ + + + + + + z.m+U.. . . . . . . . . . . . j.n++ @ ]+. . . . . . . . . . . . . o+& + + + + + + + + + + + + + w.. . . . . . . . . . . . p+@ + + + + + + + 5 q+. . . . . . . _.; + + + + + + @.6.. . . . . . . . [.r+C.. . . . . . . . . . . }.s+t+u+f !.V.. . . . . . n.<.. . . . . . . . . . . }.t + + + + + + o r.. . . . . . . . . E.!+v+P .w+x+y+z++ + + + + + + + + + . ", ". + + + + a }.. . . . . . . . . V.+ + + + + + + + o V.. . . . . . . . . . . . . A++ + H . . . . . . . . . . . . . m++ + + + + + + + + + + + + + B+. . . . . . . . . . . . P.3++ + + + + + + l+9+. . . . . . . C + + + + + + @ C+. . . . . . . . . k.D+v+<.. . . . . . . . . . . . (.E+Y.. . . . . . q.F+G+T . . . . . . . . . . . . H+p.+ + + + + I+n.. . . . . . . . . . . . . . . . . p+@ + + + + + + + + + . ", ". + + + + J+K+. . . . . . . . . V.+ + + + + + # L+Y r.. . . . . . . . . . . . 9.M++ + ;+. . . . . . . . . . . . C.N++ + + + + + + + + + + + + + U . . . . . . . . . . . . O+P+> + + + + > z+Q+. . . . . . . . R++ + + + + + R.P.. . . . . . . . . /.+ ^ S+$+. . . . . . . . . . . . . . . . . . . (+T+U+% V+. . . . . . . . . . . . (+W++ + + + + X+L.. . . . . . . . . . . . 9+Y+q+A.Z+`+@ + + + + + + + + + . ", ". + + + + p.x.. . . . . . . . . V.+ + + @: .@+@@@9+. . . . . . . . . . . . q.A > + + #@. . . . . . . . . . . . l.$@+ + + + + + + + + + + + + + %@. . . . . . . . . . . . . &@*@=@-@a ;@>@(.q.. . . . . . . 9.X.+ + + + + + ,@U.. . . . . . . . . '@+ + )@!@T q.. . . . . . . . . . . . . . . . v.~@h+@ + {@. . . . . . . . . . . . . E = + + + + .+w+. . . . . . . . . . . . 8+|.]@^@@./@(@_@7 :@<@2 + + + + . ", ". + + + + + [@. . . . . . . . . B.}@!+E |@a.(+B.. . . . . . . . . . . . U.9.-+ @+ + + 1@. . . . . . . . . . . . 2@3+_ _ _ 3 ~ ~ ~ 4 4 (@3@* + + 8 B+. . . . . . . . . . . . . B.(+[.[.(+B.. . . . . . . . B.4@{ + + + + + 5@6@. . . . . . . . . . 7@+ + + - ~ 8@o.r.. . . . . . . . . . . . %+,.9@{ + + + 8 t.. . . . . . . . . . . . [.0@+ + + + + a@. . . . . . . . . . . . 9.b@M.c@|@P.d@b.Y+e@f@g@+ + + + . ", ". + + + + + h@. . . . . . . . . . . . . . . . . . . . . . . . . . . s.(.U i@{ + + + + j@q.. . . . . . . . . . . B+k@k@k@k@O [@l@m@&+E+L.M.n@+ + + }+o@. . . . . . . . . . . . . . . . . . . . . . . . . }.J.3 + + + + + { |+. . . . . . . . . . . p@+ + + + + # b q@9+. . . . . . . . . B.$+r@} + + + + + 4+s@. . . . . . . . . . . . . t@1 + + + + M C.. . . . . . . . . . . . . . . . . . . . . . g + + + + . ", ". + + + + + u@. . . . . . . . . . . . . . . . . . . . . . . . B.l.E+v@w@4 + + + + + + u+(+. . . . . . . . . . . . . . . . . . . . . . . . e + + + = x@|@r.. . . . . . . . . . . . . . . . . . . . . . 9+V : + + + + + + ]@y@. . . . . . . . . . . '.+ + + + + + + z@A@l.. . . . . . . B@I.j@; + + + + + + @ C@. . . . . . . . . . . . . 0.D@+ + + + p.E@. . . . . . . . . . . . . . . . . . . . . . ]++ + + + . ", ". + + + + + F@. . . . . . . . . . . . . . . . . . . . B.o.{.p+G@t H@& + + + + + + + + 0 B@. . . . . . . . . . . . . . . . . . . . . . . . e + + + + > b ]+I@. . . . . . . . . . . . . . . . . . . q.N.J@^@+ + + + + + - m+q.. . . . . . . . . . . A.+ + + + + + + + 4 K@M.C.B.U.q.q.P.i n + + + + + + + + + L@. . . . . . . . . . . . . . M@# + + + + S B.U.r.T.. . . . . . . . . . . . . . . . . . M.+ + + + . ", ". + + + + + 7 r.. . . . . . . . . . . q.r.B.N@O@o+P@A Q@R@S@)+p.+ + + + + + + + + + + j+o.. . . . . . . . . . . . . q.q.q.r.r.r.r.r.r.r.B.G++ + + + + + n ;@T@q+(+. . . . . . . . . . . . . q.N@U@V@W@_ + + + + + + + = V+w+X@Y@Z@U D o+s@`@ #O@k..#+ + +#+#+#@#@#+#+ ##$#K %#&#*#;+=#-#+ + + + + + + + + + B X@F U b+L.4.w.k.D.;#r.r.r.q.b.) +#@#>#,#'#G+e+G.;+J@)#T@!#t@p+~#&+~.4.P.j.n.%+B.r.r.r.D.+ + + + . ", ". + + + + + ; t e+C+m+H w+ .v+{#m+]#^#/#l 2+$#$.L+I+3@, + + + + + + + + + + + + + + + | !+A@H `.(#A _#:#i W.P+++<##@G+[#t l+}#|#c 1#2#{@3#8 + + + + + + + # h+B 4#e+5#6#7#].8#Y+9#O@].0#W `.[#F.)+_ +#+ + + + + + + + @ ^ /@k+n ^@a#) L+f.b#H@$.c#) + + d#d#d#@#+#d#e#e#+ @ = f#g#_ @ + + + + + + + + + + + 1 k+R.a#: h#i#m c#$#F.j#c l+G+#@z@e#e#d#@#k#$ * 4+_ (@] h+j+n ^@)+0 h#i#m l#a %.3#m#l n#o#+ + + + . ", ". + + + + + + @ @ ; # # # $ = , * * , $ ; + + + + + + + + + + + + + + + + + + + + + + - z.g.+.z.2 <+> , = , , , , , $ $ { # # ; { # @ @ + + + + + + + + + + + + @ , & p#_ q#3@5 5 3@5 r#3@~ * + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @ @ .++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + e#+ + + e#+ + + + + + + + + + + + + + + + + + + + + e#+ + + + + + + + + + + + + + + + + + + + + + + + + e#+ + + + + + + + + + + e#+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + e#+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .+s#t#u#v#w#x#y#z#+#+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ { $ $ A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#^@7 p.1 # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ { $ # R#S#T#U#U#V#W#X#Y#Z#`# $H#I#I#.$I#.$+$+$@$#$.$$$%$&$f.8 3+1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ = , R#C#D#*$=$-$;$>$,$'$`#)$H#!$I#I#I#!$!$!$I#~${${${$]$+$^$/$($_$:$<$X.[$p#$ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .+# R#T#}$|$1$2$3$4$5$)$H#6$I#I#I#I#I#I#!$6$7$8$.$9$8${$0$a$a$b$0$c$^$d$e$f$g$h$z+' _@* # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ { i$B#j$k$l$m$n$o$p$q$)$6$6$I#!$!$J#6$7$r$r$J#s$t$u$~$v$0$w$x$y$z$z$A$B$C$D$E$F$u$G$H$I$e.a J$p#$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ { = i$, R#K$k$L$M$N$G#p$5$`#O$ $H#J#!$r$r$P$u$Q$t$/$9$8$F$+$c$a$w$R$z$S$S$T$U$V$W$X$Y$Z$`$ %.%8$G$+%@%r@z+#.~ = @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ # # $ , #%R#U#$%%%L$&%*%=%-%p$;%`#O$ $H#J#J#J#J#r$r$/$8$+$v$>%,%'%R$'%)%R$A$!%!%T$~%V$W${%]%^%/%(%_%:%T$<% %[%}%|%1%2%J@l 3%_@1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ + { { i$, B#C#W#4%5%6%7%8%9%0%a%b%c%d%e%e%O$ $H#H#J#J#J# $P#f%/$u$g%v$a$h%i%j%~%~%k%V$l%m%n%o%p%q%r%]%q%(%s%t%u%v%v%]%w%x%<% %[%y%r$($z%A%l+D+7 * @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ ; ; S#S#B%C%D#*$D%E%6%8%F%G%H%I%J%K%L%M%N%O%P%Q%f$R%L#`#J#H#$$ $|%f%t$S%~$E$T%D$U%A$V%~%o%W%]%X%Y%Z%`%`%`% &u%.&+&@&+&+&#&$&#&%&@&v%&&V$*&=&.%-&J#J#;&-.u@u+*.& # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ $ S#R#}$>&,&'&)&!&~&{&I%]&a%]&J%K%^&^&/&(&f$_&:&<&[&}&|&1&2&3&4&G$5&6&/$^$7&E$8&b$x$R$9&T$0&a&b&Z%`%@&#&+&#&#&$&$&c&#&d&e&f&g&g&h&i&j&k&g&l&Y%o%T$m&n&o&J#J#p&!#L@$#8 4+# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ @ @ $ = , q&r&s&t&u&v&w&x&y&z&A&B&C&D&^&/&E&R%F&G&`#$$($H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V&W&X&c$x$!%j%S$Y&Z&`&a&q%`%u%$&e&e&e&e&e&j&e&j&e& *.* * * *+*@*#*+*i&$*Z%%*&***=*-&$$J#-*5+%@L n p#$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ { { $ , R#;*>*s&,*'*)*!*~*{*]*^*/*(*d%d%_*_*:*($L#`#($($($($($($O#$$L#<*[*}*|*1*2*3*4*5*6*7*8*9*0*a*b*c*d*e*f*Z&g*`&h*^%`%.&$&$&+* *i* * *j*j*i*@*@*k*l*l*l*l*j* * *g&m*q%l%x%n*o*p*$$J#q*r*W.{@s*p.$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ { { #%B#T#}$t*u*D%v*w*x*y*z*b%/*D&d%(&E&E&L#`#`#`#`#O$($`#($O#O#L#O#O#A*A*:*B*C*D*E*F*G*H*I*J*K*L*M*N*O*P*Q*R*S*T*U*V*W*X*Y*Z*h*r%(%.&$&f&i&`*j*j*k*k*k* =.=.= =+= = =@=+= =@*+*e&$&w%%*#=n*$=o&J#J#%=A.g Z.) ~ = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + + + + + + + + + + + - + + # # # R#C%&=*===-=;=>=,='=)=!=R%;%G&O$`#O$G&G&O$($`#($`#($($($O#~={={=:*{=]=C*C*6&^=^=/=(=_=:=<=[=}=|=1=2=3=4=5=6=7=8=9=0=a=b=c=d=e=f=g=T$(%.&$&f&e&i&j*k*h=h=h=h=h=h=i=i=j=i=k=j=j=j=@=j*e&g&t%q%m%#=x$$=C*O#O#l=m=J@c ' (@= @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + + + + + + - - - .+.+; ; ; n=##o=p=&=q=r=s=t==%Z#d%G&_*O$O$$$$$$$$$O$$$`#`#($($`#($($($($u=L#:*{={=]=C*_=(=(=(=:=v=w=(=v=x=y=z=X&8&g=A=B=C=D=E=F=G=H=I=J=K=L=M=N=O=P=Q=R=S=T=U=x%l&g& *@*@*k*h=h=h=j=j=j=j=j=j=j=i=i=j=j=j=h=@*V=k& &s%Z*W=X=7&Y=O#%$Z=`=!+t+f._@1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + + + + - - - ; ; -.-+-p=K$@-E##-$-%-&-*-b%^&R%_* $ $$$$$O$O$$$`#($O$`#_*G&($($($L#L#L#L#L#:*:*:*{==---;-w=v=>-z=z=y=z=,-8&,-'-8&)-)-!-~-{-]-^-/-(-_-:-<-[-}-|-1-2-3-4-5-6-7-8-9-0-a-b-c-Y*@*j*k*h=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j= =.*k&l&u%l%~%X==*O#L#L#d-e-H o#D@f+* @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + + + + .+; -.-K$f-g-h-i-j-k-l-*%'=)=d%G&G&m-$$$$O$O#O$`#`#($($($($($($L#L#L#L#L#L#:*:*{={=6&6&n-^=o-;---w=v=p-z=8&)-)-)-)-q-r-s-s-s-t-t-u-v-w-x-e*y-z-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-i&k*h=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =+*j&m*v%W-k%*&[%o&L#X-Y-Z--.e.A+*.& # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". + # `-## ;*=1$.;+;@;#;$;%;/*^&R%L#L#_*($($($($`#($($($($($($($L#L#L#L#&;:*L#:*6&n-*;o-;-;-(=(==;-;;;g=g=>;'-,;)-q-s-s-';);V%x%!;Z&v-~;l%{;`&W-q%q%];^;/;(;_;:;<;[;};|;1;2;3;4;5;6;7;8;9;0;a;b;c;d;e;(%f;h=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=j*j&g;Y%V$#=x$.%e$L#h;i;j;x+e a 8 4+# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". k;l;m;n;o;H%p;q;y*J%r;^&/&G&($($_*G&($($($L#L#($L#H&H&L#L#L#H&:*6&n-*;*;^=s;^=--t;_=p-$=[%[%u;v;n*x$q-w;t-~-);v-v-!;x;x%`&h*:%:%l%r%h*r%]%(%`%]%`%Y%h*y;z;A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;c;U;h*V;h=j=j=j=j=j=j=W;W;j=j=j=j=j=j=j=j= =h& &Y$*&B$X;Y;Z;L#`; >.>G `+F.@.p## + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". I# $E&^&^&D&+>/&R%R%E&G&@>L#G&($L#L#L#L#L#&;:*:*{=&;^=^=*;s;s;o-=-(=w=v=>->-p-p-,-'-v;)-n*r-e*e*s-^;f*u-v-u-~;{;{;];];]%r%r%r%]%(%`%(%`%`%`%`%`%.&.&`%#>$>%>&>_-<;*>=>->;>>>,>'>)>!>~>{>]>^>/>(>_>:><>[>Y*V; =j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=+&/%~%*&X=X=D$d$}>|>1>2>>.3>2+R.p.$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". 4>I#J#`#($G&($M#M#G&L#L#L#L#L#M#&;:*:*Y=n-*;^=s;;-;-:=:==;5>;;g=,-,-,-'-)-)-6>!-7>~-e*f*u-x-8>Z&~;];`&Y$l%h*h*h*W-r%r%r%r%r%(%(%(%(%(%`%(%`%`%.&.&#&.&Y%Y*9>0>a>b>c>d>e>f>g>h>i>j>k>l>m>n>o>p>q>r>s>(>c;t>u>v> =i=j=j=j=j=j=j=j=j=j=j=j=j=j= =Z%^%V$W=V%:%`$w>x>X-y>z>A>C+z+a#3+$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". 4>I#$$($u=L#L#H&L#:*&;&;6&{=6&^=o-^=^=^=^=--t;_=p-B>z=X&X&v;v;b$C>x$);';f*);f*v-!;8>~;`&`&];l%h*h*l%h*^%r%^%r%]%(%(%]%Z%Y%`%`%Y%u% &.&.& &D>@&#&@&c&k&@&(%E>F>G>H>I>J>d>K>L>M>N>O>P>Q>R>S>T>U>V>W>X>Y>Z>`> ,.,+,k*i=j=j=j=j=j=j=j=j=j=j=j=j=j*t%v%t%u%m*&&);x$f%M#@,#,p+;+1#) 4 = @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". 4>J#($:*H&B**;$,^=;-%,&,W&_=5>v=(=v=;;;;g=z=z=B>T%'-*,)-w;=,e*t-f*f*x;~;`&`&{;`&];l%h*W-W-r%r%r%q%q%(%(%(%(%Z%`%`%`%`%u%`%.&.&#&.&.&#&#&$&$&$&g&$&i&e&e&$&r%-,%>;,>,,,',),d>!,~,{,],^,/,(,_,:,<,[,},|,1,2,3,3,4,5,@*h=j=j=j=j=j=j=j=j=j=j=j=h=i&+*@= =i=6,7,0$Z;%$8,9,A._#c ' (@= @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". 0,|%A**;;-(=(==;a,>-v=>-z=y=,-,-,-X&b,'-,-c,d,e,!-n*)-f,B$);V%x;!;`&];Z*h*h*W-W-r%r%r%q%Z%.&`%`%`%.&#&.&.&.&$&#&#&#&.&$&$&$&$&$&$&g&e&g&e&e&i& *i& *@*j* *e&r%g,h,i,B;j,k,l,m,n,o,p,q,c;r,s,t,u,v,w,x,y,z,A,B,C,D,E,d&k*i=j=j=j=j=j=j=j=j=j=h= = =j=j=F,G,8.H,~$A*I,J,K,J@l 9@5 1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ + + + . ", ". L,w$p*_=p-n&;;>-z=,-g=g=v;n*C>)-!-!-{-!-q-s-t-e*M,N,^;f*N,S$Z&Z&Z*];q%`%Z%(%(%`%.&`%`%`%$&$&$&$&$&g&$&g&g&g&g&e&g&g&g&g&e&e&e&i&i&i&i&i&@*@*@*@*@*k*k*k*k*k*v>#&O,P,Q,R,S,T,U,V,W,X,Y,c;c;Z,`, '.'+'@'#'$'%'&'*'='-';'>'V;,'''W;j=j=j=j=j=j=j=i=j=j=h=)'k.^.{.!'t$H&~'{']'|#3%5 1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ ^'@ + + + + . ", ". /'('F$>;*,_'z=v;b$)-8&C>!-q-A$';e*';);Y&V%v-v-);Y&x%v-Z&v-v-`&];W-(%+&#&g;$&#&$&$&c&$&e&e&j&j&i&i&i&i& * *i&i&@* * *i&@*@* *@*.*@*@*@*@*j*@*@*@*:'k*k*h=h=j=h=j*<'#>['P,}'A-|'B;1'2'3'4'5'6'7'8'9'0'a'b'c'd'e'f'g'h'i'j'k'l'm'i=j=j=j=j=j=j=j=j=j=j=n'Y+O.o'W G #$O#p'q'A 1@f._@1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @ @ + + + + + . ", ". r's''%e*);s-n*q-A$V%e*B$);';Z&{;x-Z&{;`&];{;`&~;`&];`&];`&W-^%q%(%.&#&c&h&i& *e&j&i&t'@*@*@*.*u'j*@*v'j& *@*j*@*u'j*k*j*@*u'k*k*k*j*:'h= =h= =h=h=h=h=h=j=j=i=h=j*v>#&w'O,x'y'z'_;A'B'C'D'E'F'G'H'I'J'K'L'M'N'O'P'/>Q'*'R'S'T' * =i=j=j=j=W;j=j=j=j=U'6.V'C@|+x W'<*X'P@|+|#f._@1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". l*&&!%Y&v-!;f*u-Z&Z&!;v-x-`&`&l%];h*h*r%W-r%r%h*r%r%q%r%r%(%(%(%.&k&i&i& *j*k*k*j*k*Y'Z'Z'Y'Y','`' ).)+)`%h= =h=h=h=h=h=h=h=h=h=h=h=h=h=i=i=i=j=i=j=j=j=j=j=j=j=i=h=j*v>@)(%#)$)%)&)H>*)=)-);)],>),)')))!)~){)])^)/)P'()_):)<)[)})k*h=j=j=W;j=j=j=j=|)O.V |+t l 1)V+2)A%r@3)L+5 1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". i=k&4)Z&Z*o%%*{;];h*:%];];r%(%u%.&.&.&#&#&.&#&.&+&+&#&#&#&#&#&$& * *j*5)6)7)8)5)9)0)a)b)c)d)e)f)g)h)i)j)k)j=j=j=i=j=j=j=i=i=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=h= =j*f;(%l)m)n)o)p)q)r)s)t)u)v)w)x)y)z)A)B)C)D)E)F)G)H)C,I)J)K) =i=W;j=j=j=j=#>{.G e+b L)3#.@%@P+e.3#z@4 = @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". M)N)O)W-Z%Y%h*^%q%`%(%r%(%Z%@&$&g&c&g&e&e&g&g&e&d&g&e&e&e&j&e& *P)Q)R)S)T)U)V)W)X)Y)Z)`) !.!+!@!h)#!#!$!%!i=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j= =&!*!h=j=j=j=j=j=i= =V;.&5,=!-!;!<;>!t),!'!)!!!~!{!]!^!/!(!_!:!e& * *@*i&i&@* *@*@*i&i&6!7!8! *9!0!a!b!c!d!e!f!g!h!i!j!k!l!m!n!o!h)#!#!p!q!r!j*j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=s!t!u!j=j=j=j=j=j=j=j=j=f;v!w!x!y!A;&!z!y!C'A!;)B!C!D!E!F!G!H!I!J!K!L!M!N!O!:)P!<)Q!R!k*i=j=j=j=[+ .t $.@.[$< S!T!D@s*] & # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=.=U!V!l&g&g&#&$&h&e&f&e&t'.* =h= =4!k*k*Z'@*u'v'W!X!Y!d!Z!`! ~.~+~@~#~$~%~%~&~*~=~-~;~>~,~'~#!#!)~!~~~{~`%j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=]~G>j=j=j=j=j=j=j=j=j=^~/~(~_~F,:~g,5,H><~[~}~|~D;1~2~3~4~5~6~7~8~9~0~a~b~c~d~e~_)*'f~g~z;@*h=i=j=h~-.t m i~(@;%j~o;k~@._@4+$ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=i=i*k&e& *i&e&e& * * * *j*k*6) = =l~m~n~o~p~+~q~r~s~t~u~v~w~x~y~z~&~&~A~A~*~B~C~;~D~n!o!h)#!E~F~G~H~I~J~g,j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=K~L~j=j=j=j=j=j=j=j=j=+'M~N~O~j=P~Q~j*@)w'k)R~F,S~T~U~),4'V~W~X~Y~Z~`~ {.{+{@{#{${%{&{*{={-{;{>{ =i=,{3!u@$.i~~ 0,I#;%'{){k+4 * # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=i=!{t'.*j*`*@*i&~{ *`*{{]{^{/{({_{:{<{[{}{|{1{2{3{4{5{6{7{8{9{0{a{b{c{B~=~d{e{>~n!,~f{E~g{F~h{H~i{j{k{l{m{j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=k*n{o{j=j=j=j=j=j=j=j=j=j=p{u!O+q{i=r{+)i=k*s{t{/;u{n)v{w{x{y{z{A{B{d~C{D{E{F{G{H{I{J{c~6'K{L{g'<)M{N{j*|)y.Q a J$O{P{I#$$Q{F@B 8 z.= @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". M)j= =R{ *!{S{T{U{V{W{X{Y{Y{Y{Z{`{ ].]+]@]#]$]%]@~`!&]*]=]-];];]>],]'])]d{!]~]{]]]f{^]/](]_]:]<][]}]|]1]2]3]j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=4]5]j=j=j=j=j=6]q{7]G>j=j=j=8]9]@*j=j=j=j=i=k*v>(%0]a]o{b]c]b>d]-)e]f]g]h]i]j]k]l]m]n]o]p]!!q]2,}!1!r]s]v>t]u]3##.v]]$I#$$w]x]3#: 5 * @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=6)y]z]A]B]C].]D]`{Y{E]E]Y{Z{F]G]H]B]I]J]K]L]M]N]O]P]Q]R]R]S]T]U]V]W]X]Y]Z]/]`] ^.^i{[]+^@^#^$^%^&^*^=^-^j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=%!n{j=j=j=@)q{;^>^{~:~,^'^)^k*j=j=j=j=j=j=j=j=i= =@*+,#>$>m)!^~^'^r{{^]^^^f~/^(^_^:^<^[^}^@{|^1^2^3^4^R'5^6^0]7^l 8^9^0^I#$$a^b^t+!@i~& # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=i=c^d^e^f^+].]D]g^`{Y{Y{Z{`{h^i^j^#]k^l^m^n^o^p^q^q^q^q^q^q^r^s^t^A~u^v^w^x^y^z^A^|]$^B^%^C^*^D^E^F^G^H^I^j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=J^@)j=j=@)K^L^h=M^N^@)P,j=j=j=j=j=j=j=j=j=j=j=j=j=h=k*v>`%O^P^Q^R^S^T^*>2~U^B{e~V^W^X^<^Y^Z^`^ /V^./+/@/#/$/%/&/c,s'*/=/I#J#-/!+G+%.@.p#$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=i=;/>/#]#]f^,/'/)/!/F]F]h^c!~/{/I]]/^///(/_/:/q^q^q^q^q^q^q^q^q^;^b/M~9]j=j=j=c/d/L~P~F,j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =@*@)#>e/f/g/h/i/),j/k/l/m/n/o/p/q/r/s/(^t/u/v/w/x/h'y/z/A/B/m&C/I#I#D/` #+2+^@p.$ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=E/F/G/G/I]B]H/I/J/J/K/~/L/M/N/O/P/Q/R/S/T/q^q^q^q^q^q^q^q^q^q^U/T/V/W/+^X/Y/Y/Y/Z/F^8/`/ ( ( (.(+(@(#(['j=j=j=j=j=j=j=j=7!Q,$(%(v{7!C'&(j=j=+,7]*(x!@)j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=k*f;t{=(*!-(;(x{m,1~>(,('()(!(~({(](W^^(/(((_(!!:(*{<([(}(|(=-O#I#1(]+x =#z@3+= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=n'2(O/3(4(G/5(6(7(8(9(M/0(a(b(c(d(e(f(g(q^q^q^q^h(i(i(i(j(q^q^q^k(l(m($^E^n( ( ( ( ( ( ( (o(o(p(q(r(b>u!j=j=j=j=j=j=j=j=j=j=s(t(p{j=u(v(j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =f;h*/;L~w(x(v!y(z(A(B(F'h'C(D(E(C{F(G(H(I(u/J(+/Q'K(L(L(M(N(O(p'A.|+P(: 4 = @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=h=Q(a(R(R(S(T(U(V(W(W(X(Y(Z(`( _._+_@_U/q^q^q^q^#_i(h(i(i(q^q^q^q^$_%_&_*_ ( ( ( ( (o(o(o(o(=_-_;_>_i/%!j=j=j=j=j=j=j=j=j=i=,_>^j=(%O+'_j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =v>r%)_m{A;g/!_~_d]{_]_^_/_&{M!(___:_G(<_[_}_|_q]1_2_L(3_4_5_6_T {#l 9@(@1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=7_8_9_0_a_b_c_d_e_f_g_h_i_8/j_k_l_m_n_o_q^q^q^q^p_q_r_j(s_h(q^q^q^t_u_v_w_ (o(o(x_p(y_z_A_B_C_D_E_F_G_&)i=j=j=j=j=j=j=j=j=q{G>j=j=B-y{j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =V;7!N{e/%)-!v{H_t!y{I_N~J_4^3^K_L_M_G(N_O_I(V^P_Q_R_S_L(3_T_U_2)s f._@1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=i=V_W_X_5/Y_Z_`_`/n(F^j_ :.:+:@:#:$:%:U/q^q^q^q^r_&:*:q^s_=:q^q^q^q^-:;:x_+(>:y_,:':):!:~:D_E_{:{:{:]:R^^:j=j=j=j=j=j=j=/:(:j=j=j=M^t{j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=h=j*s{(%p{z;*!_:::q{<:&([:}:|:1:2:3:^(^(4:5:[_6:7:8:9:W~L(L(0:>.e.a:7 1 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=i=b:8/c:`/`/`_d: (.(`/c:e:=_=_f:2/2/g:k(q^q^q^q^q^q^h:U/i:h(q^q^q^q^j:k:l:A_m:;_;_!:C_D_F_n:o:o:o:p:q:r:s:j=j=j=j=j=i=]~&!j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h= =@*@)t{t:y'A-(:S^u:9]v:^^w:e~!!x:y:z:A:B:O_C:J{D:E::([(3_F:G:H:I:2 @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=J:K:L:`/`/8/x_p(M:o(+(N:N:O:P:Q:R:S:T:q^q^q^q^q^U:V:s_W:j(q^q^q^U/X:-_Y:Z:C_D_E_E_E_{:o:o:o:o:o:o:`:]~['j=j=j=j=@)v(L~j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=k*v>7!+) <.<,<'<) @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=v>_< ( (o(x_p(=_=_=_e:e:e:e:*^:<$:<2Q~x'j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=h=j*@)t{/;%)3d]4<5<3~w:f'6<7<8<9<'<02'Xd]X, [.[+[@[#[$[%[&[a<*[=[-[;[C!>[B,S_L(,['[3+1 # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=h=)[![':-_A_N<~[{[][;_][;_~:Z:^[/[p(([q^q^q^q^q^U/_[i(q^q^q^q^q^V::[m:<[o:o:o:o:o:o:o:o:o:o:o:o:o:{:[[R^^:j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j*}[Q,j=j=j=j=j=j=j=j=j=j=j=j=f;|[1[}'A;t:3]H_L^}'y(2[X%h*)_w:n[q^q^q^q^q^q^o_q},}*{'}e[)}|!K(!}~}{}]}$ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=v>^}F_E_{:{:q[/}o:o:o:o:o:o:o:(}_}E_Z::}<}q^q^q^q^q^q^q^q^q^[}}}|}1}2}~:3}4}4}~:C_D_D_5}_}{:{:{:o:6}2[>^j=j=j=j=j=j=j=@)/;}'r%j=j=j=j=j=j=j=j=j=j=j=j=;,7}i=j=j=j=j=j=@*8}h*)_8]9}0}p{a}b}+)j=j=j= <:,c}y'u!d}q{7!j=j=j=j=j=j=i=h=@*+,N{=!%!(:e}8.6.P.6.g<='B,f}g}h}i}j}k}l}0:N[='3_-'m}n}o}p}q}& $ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=i=r}o:o:o:o:o:o:o:o:o:o:o:o:o:o:s}s<,:t}u}RQ~O~/:i=j=j=j=j=j=j=j=j=j=j=*(S,j=j=j=f;a>q{D}r:E}`[F,. $>x'F}N~F}z;}'u[/;j=.`|q(q(,|Y:1];_3}4}1]=^R,i=j=j=j=j=j=$>9]:,s(j=s{v!'|A-j=j=j=j=j=j=j=j=j=`<)|s{j=t:d}S,)^!|~|j=j=i={|x'j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=k*f;#>e/*! #!.]|^|J.s@/|(|='_|_)l}:|<|N[|!|![|}|||1|2|R=3|4|-+n * # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=h=5|o:o:{:{:F_E_z}E_D_~:~:C_!:y}Y:Y:':E^Q:6|&|q^q^q^q^q^q^q^U/7|8|9|0|a|&^j_`/8/`/ ( :.:b|y_,:):c|':d|e|V;j=j=j=j=j=j=j=3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=h=x|D_E_E_y|D_C_Z:z|4}1]B_1]A|A_=_=_p(2/+^B|C|q^q^q^q^q^q^q^q^D|.^i{:]E|F|G|R:H|v_Y/I|8/`/ (p(N:N:J|K|r:L|j=j=j=j=j=j=j=j=v>b>N~x+7}x'j=j=$>9}r!21x_8/8/F^,1'1)1!1q^q^q^q^q^q^q^q^o_~1{1]1F~:]^1(]/1y^|]2/v_7/(1_1w_o(x_:1E}=(j=j=j=j=j=j=j=j=s{a>D}<1m{j=j==!M~L~j=^~a}~_w[z'j=l{[1j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =v>}1|1:#11t 213141516171H<='3_819101a1b1c1d1e1f1g1h1i1j1k1l1m1n1n+o1# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=V;p1):q1r1e:+(s1t1.(u1I|I|/[l<6/Y/+^v1E|w1q^q^q^q^q^q^q^q^q^q^q^q^x1y1z1A1B1p!E~ ^.^+_@:X/6/Z/F^E^C1u<%)j=j=j=j=j=j=s{]~D1r!k*C}b}j=j=j=w'E1#>j=F1#>j=j=j=v>^~h=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i= =@*G1H1I1J1K1L1M1N1O1P1l.g2,2'2{])2 ^!2#^~2X/{2>1]2^2j=j=j=j=j=j=z[e/j=j=j=/2w[j=j=j=j=(26]j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=j*f;x;_2B=:2<2[2}2|212w.22H;3242526272829202a2b2c2d2e2f2[(_|R'g2h2~ = # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=i2j2lh*C2D2E2F2G2H2`@I2`@J2K2L2M2N2O2P2Q2R2S2T2U2V2W2X2Y2e[=')(|!Z2`2* # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j= = 3&^X/%^2/{2{2{2{2.3+3.3+^.^B1p!@3#3q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^R<$3%3&3*3=3-3 ^(];3>3n'j=j=j=j=j=j=@}F}8]C'=(j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j= =@*i&e& &S$>;,3'3)3!3s@m@'.b@~3{3]3<|4~^3/3(3_3:3<3[3}3|3 2f2B,1323|!33434+$ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j= =5363{2{263#^#^#^#^#^73i{83)29303q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^a3b3c3e{)2_~K3L3q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^U/M3N3h)O3P3`)&4*4=4W~S_-4;4_)>4,44+$ @ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j=V;'4,1y^+_x^i{'1.^)4l!!4~4{4q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^]4N3'~^4C;/4j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=h=X%(4$*_4u$M#1%L.G |+r@:4<4[4}4|414243444546474849404a4b4c4f($)53!#@!5~5<${5]5^5/5l3(5_5:5<5[5}5|515253545556575K(859505a5b5c5d5e51 # + + + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j= =f5g5h5i5j5k5l5m5n5q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^U/o_o5p5q5r5s5t5),]~_~i=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=;,y!u[u5w[8]%!h=j=j=j=j=V;v5w5Y+$+7@o+x5J#|%y5Z+11o z5A5B5C5D5E5F5x4G5H5t3I5J5K5L5M5N5O5P5Q5R50}S5T5U5V5W5X5Y5Z5`5& $ @ + + + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j= = 6.6+6@6#6$6%6&6q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^U/*6=6-6;6>6,6'6y[)61'!6S,Q^g,i=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j*2j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=s{)^]6^6Q~u!j=j=P~. |[4]z'i=j=j=j=j=j=j=k*V;/6(6Q+_6>.3!:6<6[6}6|616c#R.n+a#m 26{5]5^5/536465666768696v)06a6d{ =j=j=j=j=j=j=j=j=j=j=j=j=j=j=f;*!S~:,~_C6;,N{j=j=j=j=j=j=X=!. :,j=j=%(F6N^_:G69};5j=j=j=j=j=h=8!H6I6V'!#g e+J m+ . .J61@K6L64 _@I+f.M6N6O6P6Q6x4R6S6T686U6V6W6X6Y6Z6`6 7.7+7@7#7$7%7&7*7=7-7;71 # + + + + + + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j=j=^:>7l!,7l5'7o_q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^q^o5)7!7~7{7]7^7/7(7_7/~a>F,z6A6:7p{d& =j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=v>d/<:<7L^=(j=j=j=j=j=j=j=j=j=x']2D}h*j=j=j=j=j=j=j=j=j=j=j=f;E}&([7v(x*8`[j*j=j=j=j=j=j=j=j=j=j=f;L^=8v{+)j=j=j=j=j=j=(%)^q{W<-8(%]~M|{~j=j=5,f|c}j=j=j=j=w84>4>,89@k+3+1 @ @ = & 4 *.)+$.'81))8!8~8{8]8^8/8(8_8N4:8<8[80}. . }8|81828384858687888* # @ + + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j=j=k*988308a8b8=6t6c8d8e8f8g8z(h82]v!A'i8r!3<3]m{l)7!m'j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=x!j8`%j=j=j=j=j=j=t!ub/)_j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=h=l8m8!+;@X.*.5 4>4>I#n8X.s*] 4+$ + @ # 1 p#_@@.h#o o83>U3K,p8q8r8s8t8u8v8w8x8y8z8. . c+A8B8C8D8E8F8G8H8I84+$ @ + + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j=j= =J8K8L8M8N8O8z(F}P8Q8R8S8T83<3]u!$>})m'i=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j==(,^!^j=j=j=j=j=j=j=j=E19}x(K~x!z;j=j*r{U8G}c}E1V8l)j=!6. W8G>~_y[q{P,j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=X8!+;@b#h+'*4>4>4>4>{@A+^@(@* @ + + @ $ & 3+*.)+U+P(C7h@Y8H+Z8Z1`8 9.9g}+9@9#9. . . . $9%9&9*9=9-9;9>9,9*.1 # + + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j=j=j=.&xj=j=j=j=j=p{!6=8,_!9[1:7j=j=j=w''|G}b]u<[:+'['j=j=P,x!q{x!y'j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=H k $.k+v&4>~94>I#{9c !@8 p#$ + + + @ # 1 p#_@R.D+z+u m+P@&+5.]9f2d2^9:(/9(9s.r.. . . . _9:9<9[9}9|9192939* # + + + + + + + + + + + + + + . ", ". j=j=j=j=j=j=j=j=j=k*+}wH>}[v>j=j=j=>^}[L^6]Z[!9y[q{j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=j=i=495969794>4>89~94>99`+{@#.4 = @ + + + + @ $ & 4 k+f.2+t g y.).P.09a9z/|:b9c9d9z8r.. . . }8e9f9g9h9i9|9j9k9l9o1@ + + + + + + + + + + + + + . ", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "}; dlume-0.2.4/src/options.h0100664000076400007640000000157310076467053013777 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ /* options window dimension */ #define pr_width 270 #define pr_height 500 void gui_create_prefs_window (void); dlume-0.2.4/src/prefs.h0100664000076400007640000000444510076467053013424 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #define config_filename "dlume" #define config_a_filename "dlume-accels" #define P_READ 1 #define P_WRITE 2 #define null_char '\0' #define crlf_char '\n' #define space_char ' ' #define comma_char ',' #define under_char '_' #define slash "/" #define space " " #define crlf "\n" #define dot "." #define MAX_LINE_LEN 4096 #define MAX_VALUE_LEN 2048 #define MAX_PATH 1024 #define MAX_FONT_STR 256 #define MAX_COLOR_STR 32 #define MAX_COMMAND 128 gchar* s_strcpy (gchar *dest, const gchar *src, guint maxlength); gchar* s_strcat (gchar *dest, const gchar *src, guint maxlength); struct dlumeprefs { gint window_x; gint window_y; gint window_size_x; gint window_size_y; gint run_counter; gint pane_pos; gint find_type; gint find_activate; gint contact_window_x; gint contact_window_y; gint edit_window_x; gint edit_window_y; gint prefs_window_x; gint prefs_window_y; gint select_window_x; gint select_window_y; gint sorting_mode; gint toolbar_style; gint restore_windows_pos; gint selected_fields; gchar web_browser[MAX_COMMAND]; gchar email_client[MAX_COMMAND]; gchar font_header[MAX_FONT_STR]; gchar font_text[MAX_FONT_STR]; gchar color1[MAX_COLOR_STR]; gchar color2[MAX_COLOR_STR]; gchar color3[MAX_COLOR_STR]; gchar color4[MAX_COLOR_STR]; gchar color5[MAX_COLOR_STR]; }; extern struct dlumeprefs config; gchar* s_getfilename_config (void); gchar* s_getfilename_config_a (void); void read_config (void); void write_config (void); dlume-0.2.4/src/about.c0100664000076400007640000002371710076467053013415 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include "gui.h" #include "data.h" #include "about.h" #include "i18n.h" #include "prefs.h" #include "logo.h" #include "license.h" static GtkWidget *about_win; static GtkWidget *license_win; /*----------------------------------------------------------------------------*/ void a_close_window( GtkWidget *widget, gpointer data ) { gtk_widget_destroy (about_win); gui_show_status(_("Idle")); } /*----------------------------------------------------------------------------*/ void gui_create_about_window(void) { GtkWidget *vbox1; GtkWidget *vbox2; GtkWidget *hbox2; GtkWidget *label; GtkWidget *frame; GtkWidget *close_button; GtkWidget *hseparator; GtkWidget *hbutonbox; GdkPixmap *pixmap_m; GtkWidget *logo; GdkBitmap *mask; GdkPixmap *icon; GdkBitmap *icon_mask; GtkStyle *style; gui_show_status(_("Just send us a nice e-mail!")); about_win = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_transient_for(GTK_WINDOW(about_win),GTK_WINDOW(main_window)); gtk_window_set_modal(GTK_WINDOW(about_win), TRUE); gtk_window_set_resizable (GTK_WINDOW (about_win), FALSE); gtk_container_set_border_width (GTK_CONTAINER (about_win), 6); gtk_window_set_title (GTK_WINDOW (about_win), _("About")); gtk_widget_set_size_request (GTK_WIDGET(about_win), ab_width, ab_height); gdk_window_get_root_origin (main_window->window, &config.window_x, &config.window_y); gtk_window_move (GTK_WINDOW (about_win), ((config.window_size_x - ab_width) >> 1) + config.window_x, ((config.window_size_y - ab_height) >> 1) + config.window_y); g_signal_connect (G_OBJECT (about_win), "delete_event", G_CALLBACK(a_close_window), NULL); gtk_widget_show(about_win); style = gtk_widget_get_style(GTK_WIDGET(about_win)); icon = gdk_pixmap_create_from_xpm_d (about_win->window, &icon_mask, &style->bg[GTK_STATE_NORMAL], icon_xpm); gdk_window_set_icon (about_win->window, NULL, icon, icon_mask); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_container_add (GTK_CONTAINER (about_win), frame); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (frame), vbox1); pixmap_m = gdk_pixmap_create_from_xpm_d(about_win->window, &mask, NULL, logo_xpm); logo = gtk_image_new_from_pixmap (pixmap_m, mask); gtk_widget_show (logo); gtk_box_pack_start (GTK_BOX (vbox1), logo, FALSE, TRUE, 0); label = gtk_label_new ("version "VERSION); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (vbox1), label, TRUE, FALSE, 8); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox1), hseparator, FALSE, TRUE, 4); /*----------------------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox1), frame, FALSE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox2), hbox2, TRUE, TRUE, 0); label = gtk_label_new (""); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox2), label, TRUE, FALSE, 8); gtk_label_set_markup(GTK_LABEL(label), _("CODE")); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox2), hbox2, TRUE, TRUE, 0); label = gtk_label_new ("Tomasz MÄ…ka "); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox2), label, TRUE, FALSE, 0); /*----------------------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox1), frame, FALSE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox2), hbox2, TRUE, TRUE, 0); label = gtk_label_new (""); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox2), label, TRUE, FALSE, 8); gtk_label_set_markup(GTK_LABEL(label), _("GRAPHICS")); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox2), hbox2, TRUE, TRUE, 0); label = gtk_label_new ("Piotr MÄ…ka "); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox2), label, TRUE, FALSE, 0); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox2), hbox2, TRUE, TRUE, 0); label = gtk_label_new ("Maja KocoÅ„ "); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox2), label, TRUE, FALSE, 0); /*----------------------------------------------------------------------------*/ hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox1), hseparator, FALSE, TRUE, 4); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0); hbutonbox = gtk_hbutton_box_new (); gtk_widget_show (hbutonbox); gtk_box_pack_start (GTK_BOX (vbox1), hbutonbox, FALSE, TRUE, 8); close_button = gtk_button_new_from_stock (GTK_STOCK_CLOSE); gtk_widget_show (close_button); g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (a_close_window), NULL); gtk_container_add (GTK_CONTAINER (hbutonbox), close_button); GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); gtk_widget_grab_default (close_button); } /*----------------------------------------------------------------------------*/ void l_close_window( GtkWidget *widget, gpointer data ) { gtk_widget_destroy (license_win); gui_show_status(_("Idle")); } /*----------------------------------------------------------------------------*/ void gui_create_license_window(void) { GtkWidget *vbox1; GtkWidget *frame; GtkWidget *close_button; GtkWidget *hbutonbox; GtkWidget *scrolled_window; GtkTextBuffer *entry_buffer = NULL; GtkWidget *text_sheet = NULL; GtkTextIter iter; GdkPixmap *icon; GdkBitmap *icon_mask; GtkStyle *style; gui_show_status(_("Read carefully...")); license_win = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_transient_for(GTK_WINDOW(license_win),GTK_WINDOW(main_window)); gtk_window_set_modal(GTK_WINDOW(license_win), TRUE); gtk_window_set_resizable (GTK_WINDOW (license_win), TRUE); gtk_container_set_border_width (GTK_CONTAINER (license_win), 6); gtk_window_set_title (GTK_WINDOW (license_win), _("License")); gtk_widget_set_size_request (GTK_WIDGET(license_win), l_width, l_height); gdk_window_get_root_origin (main_window->window, &config.window_x, &config.window_y); gtk_window_move (GTK_WINDOW (license_win), config.window_x + 50, config.window_y + 35); g_signal_connect (G_OBJECT (license_win), "delete_event", G_CALLBACK(l_close_window), NULL); gtk_widget_show(license_win); style = gtk_widget_get_style(GTK_WIDGET(license_win)); icon = gdk_pixmap_create_from_xpm_d (license_win->window, &icon_mask, &style->bg[GTK_STATE_NORMAL], icon_xpm); gdk_window_set_icon (license_win->window, NULL, icon, icon_mask); vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (license_win), vbox1); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN); gtk_box_pack_start (GTK_BOX (vbox1), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); scrolled_window = gtk_scrolled_window_new (NULL, NULL); gtk_container_add (GTK_CONTAINER (frame), scrolled_window); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_widget_show (scrolled_window); entry_buffer = gtk_text_buffer_new (NULL); gtk_text_buffer_get_iter_at_offset (entry_buffer, &iter, 0); text_sheet = gtk_text_view_new_with_buffer (entry_buffer); gtk_container_set_border_width (GTK_CONTAINER (text_sheet), 1); gtk_text_view_set_editable(GTK_TEXT_VIEW (text_sheet), FALSE); gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW (text_sheet), FALSE); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_sheet), GTK_WRAP_WORD); gtk_widget_show (text_sheet); gtk_container_add (GTK_CONTAINER (scrolled_window), text_sheet); gtk_text_buffer_insert (entry_buffer, &iter, text_license, -1); hbutonbox = gtk_hbutton_box_new (); gtk_widget_show (hbutonbox); gtk_box_pack_start (GTK_BOX (vbox1), hbutonbox, FALSE, TRUE, 4); close_button = gtk_button_new_from_stock (GTK_STOCK_CLOSE); gtk_widget_show (close_button); g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (l_close_window), NULL); gtk_container_add (GTK_CONTAINER (hbutonbox), close_button); GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); gtk_widget_grab_default (close_button); } /*----------------------------------------------------------------------------*/ dlume-0.2.4/src/actions.c0100664000076400007640000000344110076467053013733 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include #include #include #include #include #include "i18n.h" #include "gui.h" #include "data.h" #include "prefs.h" #include "actions.h" static gchar command[MAX_PATH]; /*----------------------------------------------------------------------*/ void execute_command(gchar *command) { gchar *cmdline[4]; pid_t pid; pid = fork(); if (pid == 0) { cmdline[0] = "sh"; cmdline[1] = "-c"; cmdline[2] = command; cmdline[3] = 0; execvp("/bin/sh", cmdline); _exit(1); } } /*----------------------------------------------------------------------*/ gint action_send_email(gchar *email) { sprintf(command, config.email_client, email); execute_command(command); return 0; } /*----------------------------------------------------------------------*/ gint action_launch_website(gchar *url) { sprintf(command, config.web_browser, url); execute_command(command); return 0; } /*----------------------------------------------------------------------*/ dlume-0.2.4/src/add_edit.c0100664000076400007640000017252210076467053014037 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include #include #include "gui.h" #include "add_edit.h" #include "data.h" #include "prefs.h" #include "i18n.h" /* edit record window */ static GtkWidget *edit_window; static GtkWidget *e_entry[nfields]; static GtkTextBuffer *notes_textinfo; static GtkWidget *close_button; static GtkWidget *ok_button; /* new contact window */ static GtkWidget *new_contact_window; static GtkTextBuffer *notes_textinfo; static gchar tmpbuf[TMPBUF_SIZE]; static GtkTextIter p_iter; static recordstr rec_entry; static gpointer fields_ptr[]= { rec_entry.first_name, rec_entry.last_name, rec_entry.nickname, rec_entry.birthday, rec_entry.address, rec_entry.post_code, rec_entry.city, rec_entry.state, rec_entry.country, rec_entry.home_phone_1, rec_entry.home_phone_2, rec_entry.home_phone_3, rec_entry.home_phone_4, rec_entry.work_phone_1, rec_entry.work_phone_2, rec_entry.work_phone_3, rec_entry.work_phone_4, rec_entry.cell_phone_1, rec_entry.cell_phone_2, rec_entry.cell_phone_3, rec_entry.cell_phone_4, rec_entry.email_1, rec_entry.email_2, rec_entry.email_3, rec_entry.email_4, rec_entry.url_1, rec_entry.url_2, rec_entry.url_3, rec_entry.url_4, rec_entry.notes }; /*------------------------------------------------------------------------------*/ int gui_add_rkey (GtkWidget *widget, GdkEventKey *event, gpointer data) { gint l; l = strlen((gchar *)gtk_entry_get_text(GTK_ENTRY(e_entry[FIRST_NAME]))); l += strlen((gchar *)gtk_entry_get_text(GTK_ENTRY(e_entry[LAST_NAME]))); if(l) gtk_widget_set_sensitive (ok_button, TRUE); else gtk_widget_set_sensitive (ok_button, FALSE); return FALSE; } /*------------------------------------------------------------------------------*/ /* add record callback */ void gui_new_contact_action( GtkWidget *widget, gpointer data ) { gint i; GtkTextIter a_iter, b_iter; memset(&rec_entry, 0, sizeof(recordstr)); for(i=0;iwindow, &config.contact_window_x, &config.contact_window_y); gtk_widget_destroy (new_contact_window); } /*------------------------------------------------------------------------------*/ /* close window callback */ void gui_close_new_contact_window( GtkWidget *widget, gpointer data ) { if(config.restore_windows_pos) gdk_window_get_root_origin (new_contact_window->window, &config.contact_window_x, &config.contact_window_y); gtk_widget_destroy (new_contact_window); gui_show_status(_("Idle")); } /*------------------------------------------------------------------------------*/ void gui_create_new_contact_window(void) { GtkWidget *vbox1, *vbox3, *vbox4, *vbox5, *vbox6, *vbox7, *vbox8, *vbox9; GtkWidget *hbox7, *hbox23, *hbox24, *hbox8, *hbox9, *hbox10, *hbox11; GtkWidget *hbox12, *hbox13, *hbox14, *hbox15, *hbox16, *hbox17, *hbox18; GtkWidget *hbox19, *hbox20, *hbox21, *hbox22, *hbox25; GtkWidget *frame; GtkWidget *label; GtkWidget *hseparator; GtkWidget *cancel_button; GtkWidget *hbuttonbox; GtkWidget *scrolledwindow; GdkPixmap *icon; GdkBitmap *icon_mask; GtkStyle *style; GtkSizeGroup *sg_label, *sg_entry; gui_show_status(_("Enter the data...")); sg_label = gtk_size_group_new(GTK_SIZE_GROUP_BOTH); sg_entry = gtk_size_group_new(GTK_SIZE_GROUP_BOTH); new_contact_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_transient_for(GTK_WINDOW(new_contact_window),GTK_WINDOW(main_window)); gtk_container_set_border_width (GTK_CONTAINER (new_contact_window), 6); gtk_window_set_modal(GTK_WINDOW(new_contact_window), TRUE); gtk_window_set_title (GTK_WINDOW (new_contact_window), _("Add new contact...")); gtk_window_set_resizable (GTK_WINDOW (new_contact_window), TRUE); gtk_widget_set_size_request (GTK_WIDGET(new_contact_window), add_width, add_height); if(config.restore_windows_pos) gtk_window_move (GTK_WINDOW (new_contact_window), config.contact_window_x, config.contact_window_y); g_signal_connect (G_OBJECT (new_contact_window), "delete_event", G_CALLBACK(gui_close_new_contact_window), NULL); vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (new_contact_window), vbox1); scrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_container_add (GTK_CONTAINER (vbox1), scrolledwindow); gtk_widget_show (scrolledwindow); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); vbox4 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox4); gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW (scrolledwindow), vbox4); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Personal")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox7 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox7); gtk_box_pack_start (GTK_BOX (vbox3), hbox7, FALSE, TRUE, 2); label = gtk_label_new (_("First Name: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox7), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[FIRST_NAME] = gtk_entry_new(); g_signal_connect (G_OBJECT(e_entry[FIRST_NAME]), "key_release_event", G_CALLBACK(gui_add_rkey), NULL); gtk_entry_set_max_length(GTK_ENTRY(e_entry[FIRST_NAME]), size_name-1); gtk_widget_show (e_entry[FIRST_NAME]); gtk_box_pack_start (GTK_BOX (hbox7), e_entry[FIRST_NAME], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[FIRST_NAME]); hbox23 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox23); gtk_box_pack_start (GTK_BOX (hbox7), hbox23, TRUE, TRUE, 2); label = gtk_label_new (_("Last Name: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox7), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[LAST_NAME] = gtk_entry_new(); g_signal_connect (G_OBJECT(e_entry[LAST_NAME]), "key_release_event", G_CALLBACK(gui_add_rkey), NULL); gtk_entry_set_max_length(GTK_ENTRY(e_entry[LAST_NAME]), size_name-1); gtk_widget_show (e_entry[LAST_NAME]); gtk_box_pack_end (GTK_BOX (hbox7), e_entry[LAST_NAME], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[LAST_NAME]); hbox24 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox24); gtk_box_pack_start (GTK_BOX (vbox3), hbox24, TRUE, TRUE, 2); label = gtk_label_new (_("Nickname: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox24), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[NICKNAME] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[NICKNAME]), size_name-1); gtk_widget_show (e_entry[NICKNAME]); gtk_box_pack_start (GTK_BOX (hbox24), e_entry[NICKNAME], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[NICKNAME]); hbox23 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox23); gtk_box_pack_start (GTK_BOX (hbox24), hbox23, TRUE, TRUE, 2); label = gtk_label_new (_("Birthday: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox24), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[BIRTHDAY] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[BIRTHDAY]), size_birthday-1); gtk_widget_show (e_entry[BIRTHDAY]); gtk_box_pack_start (GTK_BOX (hbox24), e_entry[BIRTHDAY], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[BIRTHDAY]); hbox8 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox8); gtk_box_pack_start (GTK_BOX (vbox3), hbox8, TRUE, TRUE, 2); label = gtk_label_new (_("Address: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox8), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[ADDRESS] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[ADDRESS]), size_address-1); gtk_widget_show (e_entry[ADDRESS]); gtk_box_pack_start (GTK_BOX (hbox8), e_entry[ADDRESS], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[ADDRESS]); hbox23 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox23); gtk_box_pack_start (GTK_BOX (hbox8), hbox23, TRUE, TRUE, 2); label = gtk_label_new (_("Post Code:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox8), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[POST_CODE] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[POST_CODE]), size_post_code-1); gtk_widget_show (e_entry[POST_CODE]); gtk_box_pack_start (GTK_BOX (hbox8), e_entry[POST_CODE], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[POST_CODE]); hbox9 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox9); gtk_box_pack_start (GTK_BOX (vbox3), hbox9, TRUE, TRUE, 2); label = gtk_label_new (_("City: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox9), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[CITY] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CITY]), size_city-1); gtk_widget_show (e_entry[CITY]); gtk_box_pack_start (GTK_BOX (hbox9), e_entry[CITY], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[CITY]); hbox23 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox23); gtk_box_pack_start (GTK_BOX (hbox9), hbox23, TRUE, TRUE, 2); label = gtk_label_new (_("State:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox9), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[STATE] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[STATE]), size_state-1); gtk_widget_show (e_entry[STATE]); gtk_box_pack_start (GTK_BOX (hbox9), e_entry[STATE], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[STATE]); hbox25 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox25); gtk_box_pack_start (GTK_BOX (vbox3), hbox25, TRUE, TRUE, 2); label = gtk_label_new (_("Country:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox25), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[COUNTRY] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[COUNTRY]), size_country-1); gtk_widget_show (e_entry[COUNTRY]); gtk_box_pack_start (GTK_BOX (hbox25), e_entry[COUNTRY], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[COUNTRY]); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, FALSE, TRUE, 1); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Home phones")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox9 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox9); gtk_container_add (GTK_CONTAINER (frame), vbox9); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox9), hseparator, FALSE, TRUE, 4); hbox11 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox11); gtk_box_pack_start (GTK_BOX (vbox9), hbox11, FALSE, TRUE, 2); label = gtk_label_new (_("Phone 1:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox11), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[HOME_PHONE_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_1]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_1]); gtk_box_pack_start (GTK_BOX (hbox11), e_entry[HOME_PHONE_1], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[HOME_PHONE_1]); hbox10 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox10); gtk_box_pack_start (GTK_BOX (hbox11), hbox10, TRUE, TRUE, 2); label = gtk_label_new (_("Phone 2:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox11), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[HOME_PHONE_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_2]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_2]); gtk_box_pack_start (GTK_BOX (hbox11), e_entry[HOME_PHONE_2], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[HOME_PHONE_2]); hbox12 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox12); gtk_box_pack_start (GTK_BOX (vbox9), hbox12, FALSE, TRUE, 2); label = gtk_label_new (_("Phone 3:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox12), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[HOME_PHONE_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_3]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_3]); gtk_box_pack_start (GTK_BOX (hbox12), e_entry[HOME_PHONE_3], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[HOME_PHONE_3]); hbox10 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox10); gtk_box_pack_start (GTK_BOX (hbox12), hbox10, TRUE, TRUE, 2); label = gtk_label_new (_("Phone 4:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox12), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[HOME_PHONE_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_4]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_4]); gtk_box_pack_start (GTK_BOX (hbox12), e_entry[HOME_PHONE_4], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[HOME_PHONE_4]); /*-----------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Work phones")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox5 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox5); gtk_container_add (GTK_CONTAINER (frame), vbox5); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox5), hseparator, FALSE, TRUE, 4); hbox14 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox14); gtk_box_pack_start (GTK_BOX (vbox5), hbox14, FALSE, TRUE, 2); label = gtk_label_new (_("Phone 1:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox14), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[WORK_PHONE_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_1]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_1]); gtk_box_pack_start (GTK_BOX (hbox14), e_entry[WORK_PHONE_1], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[WORK_PHONE_1]); hbox13 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox13); gtk_box_pack_start (GTK_BOX (hbox14), hbox13, TRUE, TRUE, 2); label = gtk_label_new (_("Phone 2:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox14), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[WORK_PHONE_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_2]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_2]); gtk_box_pack_start (GTK_BOX (hbox14), e_entry[WORK_PHONE_2], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[WORK_PHONE_2]); hbox15 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox15); gtk_box_pack_start (GTK_BOX (vbox5), hbox15, FALSE, TRUE, 2); label = gtk_label_new (_("Phone 3:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox15), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[WORK_PHONE_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_3]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_3]); gtk_box_pack_start (GTK_BOX (hbox15), e_entry[WORK_PHONE_3], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[WORK_PHONE_3]); hbox13 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox13); gtk_box_pack_start (GTK_BOX (hbox15), hbox13, TRUE, TRUE, 2); label = gtk_label_new (_("Phone 4:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox15), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[WORK_PHONE_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_4]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_4]); gtk_box_pack_start (GTK_BOX (hbox15), e_entry[WORK_PHONE_4], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[WORK_PHONE_4]); /*-----------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Cell phones")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox6 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox6); gtk_container_add (GTK_CONTAINER (frame), vbox6); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox6), hseparator, FALSE, TRUE, 4); hbox17 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox17); gtk_box_pack_start (GTK_BOX (vbox6), hbox17, FALSE, TRUE, 2); label = gtk_label_new (_("Phone 1:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox17), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[CELL_PHONE_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_1]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_1]); gtk_box_pack_start (GTK_BOX (hbox17), e_entry[CELL_PHONE_1], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[CELL_PHONE_1]); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (hbox17), hbox16, TRUE, TRUE, 2); label = gtk_label_new (_("Phone 2:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox17), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[CELL_PHONE_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_2]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_2]); gtk_box_pack_start (GTK_BOX (hbox17), e_entry[CELL_PHONE_2], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[CELL_PHONE_2]); hbox18 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox18); gtk_box_pack_start (GTK_BOX (vbox6), hbox18, FALSE, TRUE, 2); label = gtk_label_new (_("Phone 3:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox18), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[CELL_PHONE_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_3]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_3]); gtk_box_pack_start (GTK_BOX (hbox18), e_entry[CELL_PHONE_3], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[CELL_PHONE_3]); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (hbox18), hbox16, TRUE, TRUE, 2); label = gtk_label_new (_("Phone 4:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox18), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[CELL_PHONE_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_4]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_4]); gtk_box_pack_start (GTK_BOX (hbox18), e_entry[CELL_PHONE_4], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[CELL_PHONE_4]); /*-----------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("E-mails ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox7 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox7); gtk_container_add (GTK_CONTAINER (frame), vbox7); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox7), hseparator, FALSE, TRUE, 4); hbox19 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox19); gtk_box_pack_start (GTK_BOX (vbox7), hbox19, FALSE, TRUE, 2); label = gtk_label_new (_("E-mail 1: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox19), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[EMAIL_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_1]), size_email-1); gtk_widget_show (e_entry[EMAIL_1]); gtk_box_pack_start (GTK_BOX (hbox19), e_entry[EMAIL_1], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[EMAIL_1]); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (hbox19), hbox16, TRUE, TRUE, 2); label = gtk_label_new (_("E-mail 2: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox19), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[EMAIL_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_2]), size_email-1); gtk_widget_show (e_entry[EMAIL_2]); gtk_box_pack_start (GTK_BOX (hbox19), e_entry[EMAIL_2], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[EMAIL_2]); hbox20 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox20); gtk_box_pack_start (GTK_BOX (vbox7), hbox20, FALSE, TRUE, 2); label = gtk_label_new (_("E-mail 3: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox20), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[EMAIL_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_3]), size_email-1); gtk_widget_show (e_entry[EMAIL_3]); gtk_box_pack_start (GTK_BOX (hbox20), e_entry[EMAIL_3], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[EMAIL_3]); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (hbox20), hbox16, TRUE, TRUE, 2); label = gtk_label_new (_("E-mail 4: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox20), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[EMAIL_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_4]), size_email-1); gtk_widget_show (e_entry[EMAIL_4]); gtk_box_pack_start (GTK_BOX (hbox20), e_entry[EMAIL_4], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[EMAIL_4]); /*-----------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("WWW pages ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox8 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox8); gtk_container_add (GTK_CONTAINER (frame), vbox8); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox8), hseparator, FALSE, TRUE, 4); hbox21 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox21); gtk_box_pack_start (GTK_BOX (vbox8), hbox21, FALSE, TRUE, 2); label = gtk_label_new (_("Website 1:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox21), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[URL_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_1]), size_url-1); gtk_widget_show (e_entry[URL_1]); gtk_box_pack_start (GTK_BOX (hbox21), e_entry[URL_1], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[URL_1]); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (hbox21), hbox16, TRUE, TRUE, 2); label = gtk_label_new (_("Website 2:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox21), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[URL_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_2]), size_url-1); gtk_widget_show (e_entry[URL_2]); gtk_box_pack_start (GTK_BOX (hbox21), e_entry[URL_2], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[URL_2]); hbox22 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox22); gtk_box_pack_start (GTK_BOX (vbox8), hbox22, FALSE, TRUE, 2); label = gtk_label_new (_("Website 3:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox22), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[URL_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_3]), size_url-1); gtk_widget_show (e_entry[URL_3]); gtk_box_pack_start (GTK_BOX (hbox22), e_entry[URL_3], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[URL_3]); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (hbox22), hbox16, TRUE, TRUE, 2); label = gtk_label_new (_("Website 4:")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX (hbox22), label, FALSE, FALSE, 2); gtk_size_group_add_widget(sg_label, label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); e_entry[URL_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_4]), size_url-1); gtk_widget_show (e_entry[URL_4]); gtk_box_pack_start (GTK_BOX (hbox22), e_entry[URL_4], FALSE, TRUE, 2); gtk_size_group_add_widget(sg_entry, e_entry[URL_4]); /*-----------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Additional info ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox8 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox8); gtk_container_add (GTK_CONTAINER (frame), vbox8); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox8), hseparator, FALSE, TRUE, 4); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox8), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_IN); scrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow); gtk_container_add (GTK_CONTAINER (frame), scrolledwindow); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); notes_textinfo = gtk_text_buffer_new (NULL); gtk_text_buffer_get_iter_at_offset (notes_textinfo, &p_iter, 0); e_entry[NOTES] = gtk_text_view_new_with_buffer (notes_textinfo); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (e_entry[NOTES]), GTK_WRAP_WORD); gtk_widget_set_size_request (e_entry[NOTES], -1, 150); gtk_widget_show (e_entry[NOTES]); gtk_container_add (GTK_CONTAINER (scrolledwindow),e_entry[NOTES]); gtk_container_set_border_width (GTK_CONTAINER (e_entry[NOTES]), 2); /*-----------------------------------------------------------------*/ hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox1), hseparator, FALSE, TRUE, 4); hbuttonbox = gtk_hbutton_box_new (); gtk_widget_show (hbuttonbox); gtk_box_pack_start (GTK_BOX (vbox1), hbuttonbox, FALSE, FALSE, 4); gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox), GTK_BUTTONBOX_END); gtk_box_set_spacing (GTK_BOX (hbuttonbox), 16); cancel_button = gtk_button_new_from_stock (GTK_STOCK_CANCEL); gtk_widget_show (cancel_button); g_signal_connect (G_OBJECT (cancel_button), "clicked", G_CALLBACK (gui_close_new_contact_window), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), cancel_button); GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT); ok_button = gtk_button_new_from_stock (GTK_STOCK_ADD); gtk_widget_show (ok_button); g_signal_connect (G_OBJECT (ok_button), "clicked", G_CALLBACK (gui_new_contact_action), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), ok_button); GTK_WIDGET_SET_FLAGS (ok_button, GTK_CAN_DEFAULT); gtk_widget_set_sensitive (ok_button, FALSE); gtk_widget_show (new_contact_window); style = gtk_widget_get_style(GTK_WIDGET(new_contact_window)); icon = gdk_pixmap_create_from_xpm_d (new_contact_window->window, &icon_mask, &style->bg[GTK_STATE_NORMAL], icon_xpm); gdk_window_set_icon (new_contact_window->window, NULL, icon, icon_mask); gtk_widget_grab_focus (e_entry[FIRST_NAME]); } /*------------------------------------------------------------------------------*/ int gui_edit_rkey (GtkWidget *widget, GdkEventKey *event, gpointer data) { gint l; l = strlen((gchar *)gtk_entry_get_text(GTK_ENTRY(e_entry[FIRST_NAME]))); l += strlen((gchar *)gtk_entry_get_text(GTK_ENTRY(e_entry[LAST_NAME]))); if(l) gtk_widget_set_sensitive (close_button, TRUE); else gtk_widget_set_sensitive (close_button, FALSE); return FALSE; } /*------------------------------------------------------------------------------*/ void gui_close_cancel_edit_window( GtkWidget *widget, gpointer data ) { gdk_window_get_root_origin (edit_window->window, &config.edit_window_x, &config.edit_window_y); gtk_widget_destroy (edit_window); gui_show_status(_("Idle")); } /*------------------------------------------------------------------------------*/ /* close window callback */ void gui_close_edit_window( GtkWidget *widget, gpointer data ) { gint i, k, r; recordstr *rdata; GtkTextIter a_iter, b_iter; memset(&rec_entry, 0, sizeof(recordstr)); strcpy(tmpbuf, gtk_entry_get_text(GTK_ENTRY(e_entry[FIRST_NAME]))); tmpbuf[fields_size[FIRST_NAME]] = '\0'; strcpy(fields_ptr[FIRST_NAME], tmpbuf); strcpy(tmpbuf, gtk_entry_get_text(GTK_ENTRY(e_entry[LAST_NAME]))); tmpbuf[fields_size[LAST_NAME]] = '\0'; strcpy(fields_ptr[LAST_NAME], tmpbuf); if(strlen(fields_ptr[FIRST_NAME]) || strlen(fields_ptr[LAST_NAME])) { k = find_record(current_fn, current_ln); r = gui_list_get_row (); if (k!=-1) { for(i=2;iwindow, &config.edit_window_x, &config.edit_window_y); gtk_widget_destroy (edit_window); gui_show_status(_("Idle")); } else { gui_show_status(_("First or last name must be filled!")); } } /*------------------------------------------------------------------------------*/ void gui_edit_contact_window(void) { GtkWidget *vbox1, *vbox2, *vbox3, *vbox4; GtkWidget *hbox1, *hbox2, *hbox3, *hbox3a, *hbox4, *hbox5, *hbox6, *hbox7; GtkWidget *hbox7a, *hbox8, *hbox9, *hbox10, *hbox11, *hbox12, *hbox13; GtkWidget *hbox14, *hbox15, *hbox16, *hbox17, *hbox18, *hbox19, *hbox20; GtkWidget *hbox21, *hbox22, *hbox23, *hbox24, *hbox25, *hbox26, *hbox27; GtkWidget *label; GtkWidget *frame; GtkWidget *scrolledwindow; GtkWidget *scrolledwindow2; GtkWidget *hbuttonbox; GtkWidget *cancel_button; GtkWidget *hseparator; GdkPixmap *icon; GdkBitmap *icon_mask; GtkStyle *style; gint i, k; recordstr *rdata; GtkSizeGroup *sg_label; k = find_record(current_fn, current_ln); if (k!=-1) { gui_show_status(_("Modify the data...")); sg_label = gtk_size_group_new(GTK_SIZE_GROUP_BOTH); edit_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_transient_for(GTK_WINDOW(edit_window),GTK_WINDOW(main_window)); gtk_window_set_title (GTK_WINDOW (edit_window), _("Edit contact...")); gtk_container_set_border_width (GTK_CONTAINER (edit_window), 6); gtk_window_set_modal(GTK_WINDOW(edit_window), TRUE); gtk_window_set_resizable (GTK_WINDOW (main_window), TRUE); gtk_widget_set_size_request (GTK_WIDGET(edit_window), edit_width, edit_height); if(config.restore_windows_pos) gtk_window_move (GTK_WINDOW (edit_window), config.edit_window_x, config.edit_window_y); g_signal_connect (G_OBJECT (edit_window), "delete_event", G_CALLBACK(gui_close_edit_window), NULL); vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (edit_window), vbox1); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0); scrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow); gtk_box_pack_start (GTK_BOX (vbox2), scrolledwindow, TRUE, TRUE, 0); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); vbox4 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox4); gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW (scrolledwindow), vbox4); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Personal")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox1 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox1); gtk_box_pack_start (GTK_BOX (vbox3), hbox1, TRUE, TRUE, 0); label = gtk_label_new (_("First Name: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox1), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[FIRST_NAME] = gtk_entry_new(); g_signal_connect (G_OBJECT(e_entry[FIRST_NAME]), "key_release_event", G_CALLBACK(gui_edit_rkey), NULL); gtk_entry_set_max_length(GTK_ENTRY(e_entry[FIRST_NAME]), size_name-1); gtk_widget_show (e_entry[FIRST_NAME]); gtk_box_pack_start (GTK_BOX (hbox1), e_entry[FIRST_NAME], TRUE, TRUE, 2); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox3), hbox2, TRUE, TRUE, 0); label = gtk_label_new (_("Last Name: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox2), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[LAST_NAME] = gtk_entry_new(); g_signal_connect (G_OBJECT(e_entry[LAST_NAME]), "key_release_event", G_CALLBACK(gui_edit_rkey), NULL); gtk_entry_set_max_length(GTK_ENTRY(e_entry[LAST_NAME]), size_name-1); gtk_widget_show (e_entry[LAST_NAME]); gtk_box_pack_start (GTK_BOX (hbox2), e_entry[LAST_NAME], TRUE, TRUE, 2); hbox3a = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox3a); gtk_box_pack_start (GTK_BOX (vbox3), hbox3a, TRUE, TRUE, 0); label = gtk_label_new (_("Nickname: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox3a), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[NICKNAME] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[NICKNAME]), size_name-1); gtk_widget_show (e_entry[NICKNAME]); gtk_box_pack_start (GTK_BOX (hbox3a), e_entry[NICKNAME], TRUE, TRUE, 2); hbox3 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox3); gtk_box_pack_start (GTK_BOX (vbox3), hbox3, TRUE, TRUE, 0); label = gtk_label_new (_("Birthday: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox3), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[BIRTHDAY] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[BIRTHDAY]), size_birthday-1); gtk_widget_show (e_entry[BIRTHDAY]); gtk_box_pack_start (GTK_BOX (hbox3), e_entry[BIRTHDAY], TRUE, TRUE, 2); hbox4 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox4); gtk_box_pack_start (GTK_BOX (vbox3), hbox4, TRUE, TRUE, 0); label = gtk_label_new (_("Address: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox4), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[ADDRESS] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[ADDRESS]), size_address-1); gtk_widget_show (e_entry[ADDRESS]); gtk_box_pack_start (GTK_BOX (hbox4), e_entry[ADDRESS], TRUE, TRUE, 2); hbox5 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox5); gtk_box_pack_start (GTK_BOX (vbox3), hbox5, TRUE, TRUE, 0); label = gtk_label_new (_("Post Code: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox5), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[POST_CODE] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[POST_CODE]), size_post_code-1); gtk_widget_show (e_entry[POST_CODE]); gtk_box_pack_start (GTK_BOX (hbox5), e_entry[POST_CODE], TRUE, TRUE, 2); hbox6 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox6); gtk_box_pack_start (GTK_BOX (vbox3), hbox6, TRUE, TRUE, 0); label = gtk_label_new (_("City: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox6), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[CITY] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CITY]), size_city-1); gtk_widget_show (e_entry[CITY]); gtk_box_pack_start (GTK_BOX (hbox6), e_entry[CITY], TRUE, TRUE, 2); hbox7a = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox7a); gtk_box_pack_start (GTK_BOX (vbox3), hbox7a, TRUE, TRUE, 0); label = gtk_label_new (_("State: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox7a), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[STATE] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[STATE]), size_state-1); gtk_widget_show (e_entry[STATE]); gtk_box_pack_start (GTK_BOX (hbox7a), e_entry[STATE], TRUE, TRUE, 2); hbox7 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox7); gtk_box_pack_start (GTK_BOX (vbox3), hbox7, TRUE, TRUE, 0); label = gtk_label_new (_("Country: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox7), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[COUNTRY] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[COUNTRY]), size_country-1); gtk_widget_show (e_entry[COUNTRY]); gtk_box_pack_start (GTK_BOX (hbox7), e_entry[COUNTRY], TRUE, TRUE, 2); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Home phones")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox8 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox8); gtk_box_pack_start (GTK_BOX (vbox3), hbox8, TRUE, TRUE, 0); label = gtk_label_new (_("Home phone 1: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox8), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[HOME_PHONE_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_1]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_1]); gtk_box_pack_start (GTK_BOX (hbox8), e_entry[HOME_PHONE_1], TRUE, TRUE, 2); hbox9 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox9); gtk_box_pack_start (GTK_BOX (vbox3), hbox9, TRUE, TRUE, 0); label = gtk_label_new (_("Home phone 2: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox9), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[HOME_PHONE_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_2]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_2]); gtk_box_pack_start (GTK_BOX (hbox9), e_entry[HOME_PHONE_2], TRUE, TRUE, 2); hbox10 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox10); gtk_box_pack_start (GTK_BOX (vbox3), hbox10, TRUE, TRUE, 0); label = gtk_label_new (_("Home phone 3: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox10), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[HOME_PHONE_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_3]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_3]); gtk_box_pack_start (GTK_BOX (hbox10), e_entry[HOME_PHONE_3], TRUE, TRUE, 2); hbox11 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox11); gtk_box_pack_start (GTK_BOX (vbox3), hbox11, TRUE, TRUE, 0); label = gtk_label_new (_("Home phone 4: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox11), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[HOME_PHONE_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[HOME_PHONE_4]), size_phone-1); gtk_widget_show (e_entry[HOME_PHONE_4]); gtk_box_pack_start (GTK_BOX (hbox11), e_entry[HOME_PHONE_4], TRUE, TRUE, 2); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Work phones")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox12 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox12); gtk_box_pack_start (GTK_BOX (vbox3), hbox12, TRUE, TRUE, 0); label = gtk_label_new (_("Work phone 1: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox12), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[WORK_PHONE_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_1]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_1]); gtk_box_pack_start (GTK_BOX (hbox12), e_entry[WORK_PHONE_1], TRUE, TRUE, 2); hbox13 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox13); gtk_box_pack_start (GTK_BOX (vbox3), hbox13, TRUE, TRUE, 0); label = gtk_label_new (_("Work phone 2: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox13), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[WORK_PHONE_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_2]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_2]); gtk_box_pack_start (GTK_BOX (hbox13), e_entry[WORK_PHONE_2], TRUE, TRUE, 2); hbox14 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox14); gtk_box_pack_start (GTK_BOX (vbox3), hbox14, TRUE, TRUE, 0); label = gtk_label_new (_("Work phone 3: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox14), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[WORK_PHONE_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_3]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_3]); gtk_box_pack_start (GTK_BOX (hbox14), e_entry[WORK_PHONE_3], TRUE, TRUE, 2); hbox15 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox15); gtk_box_pack_start (GTK_BOX (vbox3), hbox15, TRUE, TRUE, 0); label = gtk_label_new (_("Work phone 4: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox15), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[WORK_PHONE_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[WORK_PHONE_4]), size_phone-1); gtk_widget_show (e_entry[WORK_PHONE_4]); gtk_box_pack_start (GTK_BOX (hbox15), e_entry[WORK_PHONE_4], TRUE, TRUE, 2); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Cell phones")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox16 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox16); gtk_box_pack_start (GTK_BOX (vbox3), hbox16, TRUE, TRUE, 0); label = gtk_label_new (_("Cell phone 1: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox16), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[CELL_PHONE_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_1]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_1]); gtk_box_pack_start (GTK_BOX (hbox16), e_entry[CELL_PHONE_1], TRUE, TRUE, 2); hbox17 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox17); gtk_box_pack_start (GTK_BOX (vbox3), hbox17, TRUE, TRUE, 0); label = gtk_label_new (_("Cell phone 2: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox17), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[CELL_PHONE_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_2]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_2]); gtk_box_pack_start (GTK_BOX (hbox17), e_entry[CELL_PHONE_2], TRUE, TRUE, 2); hbox18 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox18); gtk_box_pack_start (GTK_BOX (vbox3), hbox18, TRUE, TRUE, 0); label = gtk_label_new (_("Cell phone 3: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox18), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[CELL_PHONE_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_3]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_3]); gtk_box_pack_start (GTK_BOX (hbox18), e_entry[CELL_PHONE_3], TRUE, TRUE, 2); hbox19 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox19); gtk_box_pack_start (GTK_BOX (vbox3), hbox19, TRUE, TRUE, 0); label = gtk_label_new (_("Cell phone 4: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox19), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[CELL_PHONE_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[CELL_PHONE_4]), size_phone-1); gtk_widget_show (e_entry[CELL_PHONE_4]); gtk_box_pack_start (GTK_BOX (hbox19), e_entry[CELL_PHONE_4], TRUE, TRUE, 2); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("E-mails")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox20 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox20); gtk_box_pack_start (GTK_BOX (vbox3), hbox20, TRUE, TRUE, 0); label = gtk_label_new (_("E-mail 1: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox20), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[EMAIL_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_1]), size_email-1); gtk_widget_show (e_entry[EMAIL_1]); gtk_box_pack_start (GTK_BOX (hbox20), e_entry[EMAIL_1], TRUE, TRUE, 2); hbox21 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox21); gtk_box_pack_start (GTK_BOX (vbox3), hbox21, TRUE, TRUE, 0); label = gtk_label_new (_("E-mail 2: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox21), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[EMAIL_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_2]), size_email-1); gtk_widget_show (e_entry[EMAIL_2]); gtk_box_pack_start (GTK_BOX (hbox21), e_entry[EMAIL_2], TRUE, TRUE, 2); hbox22 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox22); gtk_box_pack_start (GTK_BOX (vbox3), hbox22, TRUE, TRUE, 0); label = gtk_label_new (_("E-mail 3: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox22), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[EMAIL_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_3]), size_email-1); gtk_widget_show (e_entry[EMAIL_3]); gtk_box_pack_start (GTK_BOX (hbox22), e_entry[EMAIL_3], TRUE, TRUE, 2); hbox23 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox23); gtk_box_pack_start (GTK_BOX (vbox3), hbox23, TRUE, TRUE, 0); label = gtk_label_new (_("E-mail 4: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox23), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[EMAIL_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[EMAIL_4]), size_email-1); gtk_widget_show (e_entry[EMAIL_4]); gtk_box_pack_start (GTK_BOX (hbox23), e_entry[EMAIL_4], TRUE, TRUE, 2); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("WWW pages")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); hbox24 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox24); gtk_box_pack_start (GTK_BOX (vbox3), hbox24, TRUE, TRUE, 0); label = gtk_label_new (_("Website 1: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox24), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[URL_1] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_1]), size_url-1); gtk_widget_show (e_entry[URL_1]); gtk_box_pack_start (GTK_BOX (hbox24), e_entry[URL_1], TRUE, TRUE, 2); hbox25 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox25); gtk_box_pack_start (GTK_BOX (vbox3), hbox25, TRUE, TRUE, 0); label = gtk_label_new (_("Website 2: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox25), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[URL_2] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_2]), size_url-1); gtk_widget_show (e_entry[URL_2]); gtk_box_pack_start (GTK_BOX (hbox25), e_entry[URL_2], TRUE, TRUE, 2); hbox26 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox26); gtk_box_pack_start (GTK_BOX (vbox3), hbox26, TRUE, TRUE, 0); label = gtk_label_new (_("Website 3: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox26), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[URL_3] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_3]), size_url-1); gtk_widget_show (e_entry[URL_3]); gtk_box_pack_start (GTK_BOX (hbox26), e_entry[URL_3], TRUE, TRUE, 2); hbox27 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox27); gtk_box_pack_start (GTK_BOX (vbox3), hbox27, TRUE, TRUE, 0); label = gtk_label_new (_("Website 4: ")); gtk_widget_show (label); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (hbox27), label, FALSE, FALSE, 4); gtk_size_group_add_widget(sg_label, label); e_entry[URL_4] = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(e_entry[URL_4]), size_url-1); gtk_widget_show (e_entry[URL_4]); gtk_box_pack_start (GTK_BOX (hbox27), e_entry[URL_4], TRUE, TRUE, 2); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox4), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 6); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Additional info ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox3), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_IN); scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow2); gtk_container_add (GTK_CONTAINER (frame), scrolledwindow2); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); notes_textinfo = gtk_text_buffer_new (NULL); gtk_text_buffer_get_iter_at_offset (notes_textinfo, &p_iter, 0); e_entry[NOTES] = gtk_text_view_new_with_buffer (notes_textinfo); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (e_entry[NOTES]), GTK_WRAP_WORD); gtk_widget_set_size_request (e_entry[NOTES], -1, 200); gtk_widget_show (e_entry[NOTES]); gtk_container_add (GTK_CONTAINER (scrolledwindow2),e_entry[NOTES]); gtk_container_set_border_width (GTK_CONTAINER (e_entry[NOTES]), 2); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox1), hseparator, FALSE, TRUE, 4); hbuttonbox = gtk_hbutton_box_new (); gtk_widget_show (hbuttonbox); gtk_box_pack_start (GTK_BOX (vbox1), hbuttonbox, FALSE, TRUE, 0); gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox), GTK_BUTTONBOX_END); gtk_box_set_spacing (GTK_BOX (hbuttonbox), 16); cancel_button = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancel_button); g_signal_connect (G_OBJECT (cancel_button), "clicked", G_CALLBACK (gui_close_cancel_edit_window), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), cancel_button); GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT); close_button = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (close_button); g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (gui_close_edit_window), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); gtk_widget_grab_focus (cancel_button); /* fill all fields */ rdata = g_slist_nth_data (list, k); memcpy(&rec_entry, rdata, sizeof(recordstr)); for(i=0; i < nfields-1; i++) gtk_entry_set_text(GTK_ENTRY(e_entry[i]), fields_ptr[i]); gtk_text_buffer_insert(notes_textinfo, &p_iter, fields_ptr[NOTES], -1); gtk_widget_show (edit_window); style = gtk_widget_get_style(GTK_WIDGET(edit_window)); icon = gdk_pixmap_create_from_xpm_d (edit_window->window, &icon_mask, &style->bg[GTK_STATE_NORMAL], icon_xpm); gdk_window_set_icon (edit_window->window, NULL, icon, icon_mask); } else { if(data_get_records()) gui_show_status(_("Please select contact to edit first.")); else gui_show_status(_("No contacts to edit.")); } } /*------------------------------------------------------------------------------*/ dlume-0.2.4/src/data.c0100664000076400007640000002277510076467053013217 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include #include #include #include #include #include #include #include "data.h" #include "prefs.h" recordstr *rdata; gpointer data; GSList *next, *node, *cur; GSList *list; guint nLength; gint records; gchar *fields[] = { "first_name", "last_name", "nickname", "birthday", "address", "post_code", "city", "state", "country", "home_phone_1", "home_phone_2", "home_phone_3", "home_phone_4", "work_phone_1", "work_phone_2", "work_phone_3", "work_phone_4", "cell_phone_1", "cell_phone_2", "cell_phone_3", "cell_phone_4", "email_1", "email_2", "email_3", "email_4", "url_1", "url_2", "url_3", "url_4", "notes" }; recordstr rec_entry; gpointer fields_ptr[]= { rec_entry.first_name, rec_entry.last_name, rec_entry.nickname, rec_entry.birthday, rec_entry.address, rec_entry.post_code, rec_entry.city, rec_entry.state, rec_entry.country, rec_entry.home_phone_1, rec_entry.home_phone_2, rec_entry.home_phone_3, rec_entry.home_phone_4, rec_entry.work_phone_1, rec_entry.work_phone_2, rec_entry.work_phone_3, rec_entry.work_phone_4, rec_entry.cell_phone_1, rec_entry.cell_phone_2, rec_entry.cell_phone_3, rec_entry.cell_phone_4, rec_entry.email_1, rec_entry.email_2, rec_entry.email_3, rec_entry.email_4, rec_entry.url_1, rec_entry.url_2, rec_entry.url_3, rec_entry.url_4, rec_entry.notes }; gint fields_size[] = { size_name, size_name, size_name, size_birthday, size_address, size_post_code, size_city, size_state, size_country, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_phone, size_email, size_email, size_email, size_email, size_url, size_url, size_url, size_url, size_notes }; /*----------------------------------------------------------------------------*/ gchar* get_data_filename (gchar *config_dir_d, gchar *config_filename_d) { static gchar filename[MAX_PATH]; static gchar cfgdir[MAX_PATH]; struct stat cfg; strncpy (cfgdir, getenv ("HOME"), MAX_PATH); strncat (cfgdir, slash, MAX_PATH); strncat (cfgdir, config_dir_d, MAX_PATH); if(stat(cfgdir, &cfg) < 0) mkdir(cfgdir, S_IRUSR | S_IWUSR | S_IXUSR); strncpy (filename, cfgdir, MAX_PATH); strncat (filename, slash, MAX_PATH); strncat (filename, config_filename_d, MAX_PATH); return filename; } /*----------------------------------------------------------------------------*/ gint clear_record(recordstr *entry) { memset(&entry, 0, sizeof(recordstr)); return 0; } /*----------------------------------------------------------------------------*/ gint data_init(void) { list = NULL; return 0; } /*----------------------------------------------------------------------------*/ gint data_close(void) { node = list; while (node) { free(node->data); cur = node; node = node->next; g_slist_remove (list, cur->data); } return 0; } /*----------------------------------------------------------------------------*/ gint data_get_records(void) { gint i; for (node = list, i = 0; node; node = node->next, i++); return i; } /*----------------------------------------------------------------------------*/ gint data_add_record(recordstr *entry) { rdata = calloc(1, sizeof(recordstr)); g_assert(rdata!=NULL); memcpy(rdata, entry, sizeof(recordstr)); list = g_slist_append (list, rdata); return 0; } /*----------------------------------------------------------------------------*/ gint data_remove_record(gint k) { recordstr *rdata; rdata = g_slist_nth_data (list, k); list = g_slist_remove (list, rdata); return 0; } /*----------------------------------------------------------------------------*/ gint data_read(void) { xmlDocPtr doc; xmlNodePtr cur, acur; xmlChar *prop, *key; gint i; records = 0; if((doc = xmlParseFile(get_data_filename(".clay", DATAFILE)))) { if(!(cur = xmlDocGetRootElement(doc))) { g_print("WARNING: datafile is empty.\n"); } if(!xmlStrcmp(cur->name, "data")) { prop = xmlGetProp(cur, "records"); if(prop) records = atoi(prop); cur = cur->xmlChildrenNode; while (cur != NULL) { if(!xmlStrcmp(cur->name, "record")) { memset(&rec_entry, 0, sizeof(recordstr)); acur = cur->xmlChildrenNode; while (acur != NULL) { for(i=0; i < nfields; i++) { if(!xmlStrcmp(acur->name, fields[i])) { key = xmlNodeListGetString(doc, acur->xmlChildrenNode, 1); if(key!=NULL) { if(i==FIRST_NAME || i==LAST_NAME) key[0] = toupper(key[0]); strncpy(fields_ptr[i], key, fields_size[i]-1); strcat(fields_ptr[i], "\0"); } } } acur = acur->next; } data_add_record(&rec_entry); } cur = cur->next; } } } return records; } /*----------------------------------------------------------------------------*/ gint data_write(void) { xmlDocPtr doc; xmlNodePtr record_node; gchar c[10]; gint i, j; doc = xmlNewDoc("1.0"); doc->xmlRootNode = xmlNewDocNode(doc, NULL, "data", NULL); i = 0; node = list; while (node) { xmlAddChild(doc->xmlRootNode, xmlNewText("\n")); record_node = xmlNewChild(doc->xmlRootNode, NULL, "record", NULL); xmlAddChild(record_node, xmlNewText("\n")); rdata = node->data; memcpy(&rec_entry, rdata, sizeof(recordstr)); for(j=0; j < nfields; j++) if(strlen(fields_ptr[j])) { xmlAddChild(record_node, xmlNewText("\t")); xmlNewChild(record_node, NULL, fields[j], fields_ptr[j]); xmlAddChild(record_node, xmlNewText("\n")); } i++; node = node->next; } snprintf(c, 10, "%d", i); xmlSetProp(doc->xmlRootNode, "records", c); xmlAddChild(doc->xmlRootNode, xmlNewText("\n")); xmlSaveFile(get_data_filename(".clay", DATAFILE), doc); xmlFreeDoc(doc); return 0; } /*----------------------------------------------------------------------------*/ gint find_record(gchar *f, gchar *l) { GSList *node; recordstr *rdata; gint i, p, s1, s2; p = -1; i = s1 = s2 = 0; if(f) s1 = strlen(f); if(l) s2 = strlen(l); node = list; while(node) { rdata = node->data; if(s1 && s2 && rdata && !strcmp (f, rdata->first_name) && !strcmp (l, rdata->last_name)) p = i; else if(s1 && !s2 && rdata && !strcmp (f, rdata->first_name)) p = i; else if(!s1 && s2 && rdata && !strcmp (l, rdata->last_name)) p = i; i++; node = node->next; } return p; } /*------------------------------------------------------------------------------*/ void data_print_csv_entry(FILE *filehandle, recordstr *rdata) { gchar a, *buffer; gchar tmp_buffer_1[size_notes], tmp_buffer_2[size_notes]; gint i, j, k, l, m, e; memcpy(&rec_entry, rdata, sizeof(recordstr)); for(k=0; k < nfields-1; k++) { e = (config.selected_fields >> k) & 1; if(e) { buffer = (gchar *)fields_ptr[k]; l = strlen(buffer); if(l) { /* 1 */ for(i=j=0;i> k) & 1; if(e) { fprintf(filehandle, "\t"); buffer = (gchar *)fields_ptr[k]; l = strlen(buffer); if(l) { for(i=j=0;i%s", tmp_buffer, tmp_buffer); break; case URL_1: case URL_2: case URL_3: case URL_4: fprintf(filehandle, "%s", tmp_buffer, tmp_buffer); break; default: fprintf(filehandle, "%s", tmp_buffer); } } else fprintf(filehandle, " "); fprintf(filehandle, "\n"); } } } /*------------------------------------------------------------------------------*/ dlume-0.2.4/src/delete.c0100664000076400007640000000721210076467053013535 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include "gui.h" #include "data.h" #include "delete.h" #include "i18n.h" #include "prefs.h" /* delete record window */ static GtkWidget *delete_window; /*------------------------------------------------------------------------------*/ /* delete action callback */ void gui_action_delete_window( GtkWidget *widget, gpointer data ) { gint k; GtkTextIter a_iter, b_iter; gtk_widget_destroy (delete_window); k = find_record(current_fn, current_ln); if (k!=-1) { data_remove_record(k); gui_show_status(_("Contact deleted.")); gtk_text_buffer_get_bounds (entry_textinfo, &a_iter, &b_iter); gtk_text_buffer_delete (entry_textinfo, &a_iter, &b_iter); gui_display_records_list(); gui_update_records_list((gchar *)gtk_entry_get_text(GTK_ENTRY(find_entry))); } } /*------------------------------------------------------------------------------*/ /* close window callback */ void gui_close_delete_window( GtkWidget *widget, gpointer data ) { gtk_widget_destroy (delete_window); gui_show_status(_("Idle")); } /*------------------------------------------------------------------------------*/ void gui_create_delete_window(void) { GtkTextIter a_iter, b_iter; GtkWidget *info_dialog; gint k, response; GtkWidget *hbox; GtkWidget *label; GtkWidget *stock; k = find_record(current_fn, current_ln); if (k!=-1) { gui_show_status(_("There is no way to get the contact back...")); info_dialog = gtk_dialog_new_with_buttons ("Question", GTK_WINDOW (main_window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_NO, GTK_RESPONSE_NO, GTK_STOCK_YES, 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 (info_dialog)->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); label = gtk_label_new (_("Delete current contact ?")); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_widget_show_all (hbox); response = gtk_dialog_run (GTK_DIALOG (info_dialog)); if (response == GTK_RESPONSE_OK) { k = find_record(current_fn, current_ln); if (k!=-1) { data_remove_record(k); gui_show_status(_("Contact deleted.")); gtk_text_buffer_get_bounds (entry_textinfo, &a_iter, &b_iter); gtk_text_buffer_delete (entry_textinfo, &a_iter, &b_iter); gui_display_records_list(); gui_update_records_list((gchar *)gtk_entry_get_text(GTK_ENTRY(find_entry))); } } gtk_widget_destroy(info_dialog); gui_show_status(_("Idle")); } else { if(data_get_records()) gui_show_status(_("Please select contact to delete first.")); else gui_show_status(_("No contacts to delete.")); } } /*------------------------------------------------------------------------------*/ dlume-0.2.4/src/export.c0100664000076400007640000005036710076467053013625 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include "gui.h" #include "i18n.h" #include "data.h" #include "prefs.h" #include "export.h" static GtkWidget *file_requester; static GtkWidget *select_window; static GtkWidget *check_buttons[nfields-1]; /*------------------------------------------------------------------------------*/ void gui_close_cancel_select_window( GtkWidget *widget, gpointer data ) { gdk_window_get_root_origin (select_window->window, &config.select_window_x, &config.select_window_y); gtk_widget_destroy (select_window); gui_show_status(_("Idle")); } void gui_close_select_window( GtkWidget *widget, gpointer data ) { gint i; config.selected_fields = 0; for(i=0; i < nfields-1; i++) { if((check_buttons[i] != NULL) && gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check_buttons[i])) == TRUE) config.selected_fields |= (1 << i); } gdk_window_get_root_origin (select_window->window, &config.select_window_x, &config.select_window_y); gtk_widget_destroy (select_window); gui_show_status(_("Idle")); } /*------------------------------------------------------------------------------*/ void export_select_fields(void) { GtkWidget *vbox1; GtkWidget *vbox2; GtkWidget *vbox3; GtkWidget *scrolledwindow; GtkWidget *viewport; GtkWidget *hbuttonbox; GtkWidget *close_button; GtkWidget *cancel_button; GtkWidget *hseparator; GtkWidget *frame; gint i, j; gui_show_status(_("Select what you want...")); select_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_transient_for(GTK_WINDOW(select_window),GTK_WINDOW(main_window)); gtk_window_set_title (GTK_WINDOW (select_window), _("Select fields to export...")); gtk_container_set_border_width (GTK_CONTAINER (select_window), 6); gtk_window_set_modal(GTK_WINDOW(select_window), TRUE); gtk_window_set_resizable (GTK_WINDOW (main_window), TRUE); gtk_widget_set_size_request (GTK_WIDGET(select_window), fs_width, fs_height); if(config.restore_windows_pos) gtk_window_move (GTK_WINDOW (select_window), config.select_window_x, config.select_window_y); g_signal_connect (G_OBJECT (select_window), "delete_event", G_CALLBACK(gui_close_cancel_select_window), NULL); vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (select_window), vbox1); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); /* gtk_container_add (GTK_CONTAINER (frame), vbox2);*/ gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0); scrolledwindow = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow); gtk_box_pack_start (GTK_BOX (vbox2), scrolledwindow, TRUE, TRUE, 0); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); viewport = gtk_viewport_new (NULL, NULL); gtk_widget_show (viewport); gtk_container_add (GTK_CONTAINER (scrolledwindow), viewport); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_container_add (GTK_CONTAINER (viewport), frame); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); /* gtk_box_pack_start (GTK_BOX (vbox1), frame, TRUE, TRUE, 0);*/ gtk_container_set_border_width (GTK_CONTAINER (frame), 4); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); /* gtk_container_add (GTK_CONTAINER (scrolledwindow), vbox3);*/ /*----------------------------------------------------------*/ check_buttons[FIRST_NAME] = gtk_check_button_new_with_mnemonic (_("First Name")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[FIRST_NAME]), 2); gtk_widget_show (check_buttons[FIRST_NAME]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[FIRST_NAME], TRUE, TRUE, 0); check_buttons[LAST_NAME] = gtk_check_button_new_with_mnemonic (_("Last Name")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[LAST_NAME]), 2); gtk_widget_show (check_buttons[LAST_NAME]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[LAST_NAME], TRUE, TRUE, 0); check_buttons[NICKNAME] = gtk_check_button_new_with_mnemonic (_("Nickname")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[NICKNAME]), 2); gtk_widget_show (check_buttons[NICKNAME]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[NICKNAME], TRUE, TRUE, 0); check_buttons[BIRTHDAY] = gtk_check_button_new_with_mnemonic (_("Birthday")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[BIRTHDAY]), 2); gtk_widget_show (check_buttons[BIRTHDAY]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[BIRTHDAY], TRUE, TRUE, 0); check_buttons[ADDRESS] = gtk_check_button_new_with_mnemonic (_("Address")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[ADDRESS]), 2); gtk_widget_show (check_buttons[ADDRESS]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[ADDRESS], TRUE, TRUE, 0); check_buttons[POST_CODE] = gtk_check_button_new_with_mnemonic (_("Post Code")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[POST_CODE]), 2); gtk_widget_show (check_buttons[POST_CODE]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[POST_CODE], TRUE, TRUE, 0); check_buttons[CITY] = gtk_check_button_new_with_mnemonic (_("City")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[CITY]), 2); gtk_widget_show (check_buttons[CITY]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[CITY], TRUE, TRUE, 0); check_buttons[STATE] = gtk_check_button_new_with_mnemonic (_("State")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[STATE]), 2); gtk_widget_show (check_buttons[STATE]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[STATE], TRUE, TRUE, 0); check_buttons[COUNTRY] = gtk_check_button_new_with_mnemonic (_("Country")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[COUNTRY]), 2); gtk_widget_show (check_buttons[COUNTRY]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[COUNTRY], TRUE, TRUE, 0); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); check_buttons[HOME_PHONE_1] = gtk_check_button_new_with_mnemonic (_("Home phone 1")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[HOME_PHONE_1]), 2); gtk_widget_show (check_buttons[HOME_PHONE_1]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[HOME_PHONE_1], TRUE, TRUE, 0); check_buttons[HOME_PHONE_2] = gtk_check_button_new_with_mnemonic (_("Home phone 2")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[HOME_PHONE_2]), 2); gtk_widget_show (check_buttons[HOME_PHONE_2]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[HOME_PHONE_2], TRUE, TRUE, 0); check_buttons[HOME_PHONE_3] = gtk_check_button_new_with_mnemonic (_("Home phone 3")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[HOME_PHONE_3]), 2); gtk_widget_show (check_buttons[HOME_PHONE_3]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[HOME_PHONE_3], TRUE, TRUE, 0); check_buttons[HOME_PHONE_4] = gtk_check_button_new_with_mnemonic (_("Home phone 4")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[HOME_PHONE_4]), 2); gtk_widget_show (check_buttons[HOME_PHONE_4]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[HOME_PHONE_4], TRUE, TRUE, 0); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); check_buttons[WORK_PHONE_1] = gtk_check_button_new_with_mnemonic (_("Work phone 1")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[WORK_PHONE_1]), 2); gtk_widget_show (check_buttons[WORK_PHONE_1]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[WORK_PHONE_1], TRUE, TRUE, 0); check_buttons[WORK_PHONE_2] = gtk_check_button_new_with_mnemonic (_("Work phone 2")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[WORK_PHONE_2]), 2); gtk_widget_show (check_buttons[WORK_PHONE_2]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[WORK_PHONE_2], TRUE, TRUE, 0); check_buttons[WORK_PHONE_3] = gtk_check_button_new_with_mnemonic (_("Work phone 3")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[WORK_PHONE_3]), 2); gtk_widget_show (check_buttons[WORK_PHONE_3]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[WORK_PHONE_3], TRUE, TRUE, 0); check_buttons[WORK_PHONE_4] = gtk_check_button_new_with_mnemonic (_("Work phone 4")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[WORK_PHONE_4]), 2); gtk_widget_show (check_buttons[WORK_PHONE_4]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[WORK_PHONE_4], TRUE, TRUE, 0); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); check_buttons[CELL_PHONE_1] = gtk_check_button_new_with_mnemonic (_("Cell phone 1")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[CELL_PHONE_1]), 2); gtk_widget_show (check_buttons[CELL_PHONE_1]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[CELL_PHONE_1], TRUE, TRUE, 0); check_buttons[CELL_PHONE_2] = gtk_check_button_new_with_mnemonic (_("Cell phone 2")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[CELL_PHONE_2]), 2); gtk_widget_show (check_buttons[CELL_PHONE_2]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[CELL_PHONE_2], TRUE, TRUE, 0); check_buttons[CELL_PHONE_3] = gtk_check_button_new_with_mnemonic (_("Cell phone 3")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[CELL_PHONE_3]), 2); gtk_widget_show (check_buttons[CELL_PHONE_3]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[CELL_PHONE_3], TRUE, TRUE, 0); check_buttons[CELL_PHONE_4] = gtk_check_button_new_with_mnemonic (_("Cell phone 4")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[CELL_PHONE_4]), 2); gtk_widget_show (check_buttons[CELL_PHONE_4]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[CELL_PHONE_4], TRUE, TRUE, 0); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); check_buttons[EMAIL_1] = gtk_check_button_new_with_mnemonic (_("E-mail 1")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[EMAIL_1]), 2); gtk_widget_show (check_buttons[EMAIL_1]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[EMAIL_1], TRUE, TRUE, 0); check_buttons[EMAIL_2] = gtk_check_button_new_with_mnemonic (_("E-mail 2")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[EMAIL_2]), 2); gtk_widget_show (check_buttons[EMAIL_2]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[EMAIL_2], TRUE, TRUE, 0); check_buttons[EMAIL_3] = gtk_check_button_new_with_mnemonic (_("E-mail 3")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[EMAIL_3]), 2); gtk_widget_show (check_buttons[EMAIL_3]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[EMAIL_3], TRUE, TRUE, 0); check_buttons[EMAIL_4] = gtk_check_button_new_with_mnemonic (_("E-mail 4")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[EMAIL_4]), 2); gtk_widget_show (check_buttons[EMAIL_4]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[EMAIL_4], TRUE, TRUE, 0); hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); check_buttons[URL_1] = gtk_check_button_new_with_mnemonic (_("Website 1")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[URL_1]), 2); gtk_widget_show (check_buttons[URL_1]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[URL_1], TRUE, TRUE, 0); check_buttons[URL_2] = gtk_check_button_new_with_mnemonic (_("Website 2")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[URL_2]), 2); gtk_widget_show (check_buttons[URL_2]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[URL_2], TRUE, TRUE, 0); check_buttons[URL_3] = gtk_check_button_new_with_mnemonic (_("Website 3")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[URL_3]), 2); gtk_widget_show (check_buttons[URL_3]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[URL_3], TRUE, TRUE, 0); check_buttons[URL_4] = gtk_check_button_new_with_mnemonic (_("Website 4")); gtk_container_set_border_width (GTK_CONTAINER (check_buttons[URL_4]), 2); gtk_widget_show (check_buttons[URL_4]); gtk_box_pack_start (GTK_BOX (vbox3), check_buttons[URL_4], TRUE, TRUE, 0); /*----------------------------------------------------------*/ hseparator = gtk_hseparator_new(); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox1), hseparator, FALSE, TRUE, 4); hbuttonbox = gtk_hbutton_box_new (); gtk_widget_show (hbuttonbox); gtk_box_pack_start (GTK_BOX (vbox1), hbuttonbox, FALSE, TRUE, 3); gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox), GTK_BUTTONBOX_END); gtk_box_set_spacing (GTK_BOX (hbuttonbox), 16); cancel_button = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancel_button); g_signal_connect (G_OBJECT (cancel_button), "clicked", G_CALLBACK (gui_close_cancel_select_window), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), cancel_button); GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT); close_button = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (close_button); g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (gui_close_select_window), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); gtk_widget_grab_focus (cancel_button); gtk_widget_show (select_window); for(i=0; i < nfields-1; i++) { j = (config.selected_fields >> i) & 1; if(j) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_buttons[i]), TRUE); } } /*------------------------------------------------------------------------------*/ void req_csv_file_ok(GtkWidget *w, GtkFileSelection *fs) { export_data_as_csv((gchar *)gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs))); gtk_widget_destroy(file_requester); } void req_html_file_ok(GtkWidget *w, GtkFileSelection *fs) { export_data_as_html((gchar *)gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs))); gtk_widget_destroy(file_requester); } void req_file_cl(GtkWidget *w, gpointer *data) { gtk_widget_destroy(file_requester); } /*------------------------------------------------------------------------------*/ void export_csv_select_file(void) { if(!config.selected_fields) gui_show_status(_("Please select fields to export first.")); else if(data_get_records()) { file_requester = gtk_file_selection_new(_("Export contacts as CSV file...")); gtk_window_set_modal(GTK_WINDOW(file_requester), TRUE); gtk_window_set_transient_for(GTK_WINDOW(file_requester),GTK_WINDOW(main_window)); g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(file_requester)->ok_button), "clicked", G_CALLBACK (req_csv_file_ok), file_requester); g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(file_requester)->cancel_button), "clicked", G_CALLBACK (req_file_cl), file_requester); gtk_file_selection_set_filename (GTK_FILE_SELECTION(file_requester), "contacts.csv"); gtk_widget_show(file_requester); } else { gui_show_status(_("No contacts to export.")); } } void export_html_select_file(void) { if(!config.selected_fields) gui_show_status(_("Please select fields to export first.")); else if(data_get_records()) { file_requester = gtk_file_selection_new(_("Export contacts as HTML file...")); gtk_window_set_modal(GTK_WINDOW(file_requester), TRUE); gtk_window_set_transient_for(GTK_WINDOW(file_requester),GTK_WINDOW(main_window)); g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(file_requester)->ok_button), "clicked", G_CALLBACK (req_html_file_ok), file_requester); g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(file_requester)->cancel_button), "clicked", G_CALLBACK (req_file_cl), file_requester); gtk_file_selection_set_filename (GTK_FILE_SELECTION(file_requester), "contacts.html"); gtk_widget_show(file_requester); } else { gui_show_status(_("No contacts to export.")); } } /*------------------------------------------------------------------------------*/ gint export_data_as_csv(gchar *filename) { FILE *filehandle; gint i, j, n; recordstr *rdata; filehandle = fopen (filename, "w"); if(filehandle) { /* count rows */ j = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(model), NULL); for(i=0; i < j; i++) { n = find_record(gui_get_column_content(i, 0), gui_get_column_content(i, 1)); if (n!=-1) { rdata = g_slist_nth_data (list, n); if (rdata) data_print_csv_entry(filehandle, rdata); } } fclose(filehandle); } return 0; } /*------------------------------------------------------------------------------*/ gint export_data_as_html(gchar *filename) { FILE *filehandle; gint i, j, n, m, k, e; recordstr *rdata; gchar *html_head[] = { "FIRST NAME", "LAST NAME", "NICKNAME", "BIRTHDAY", "ADDRESS", "POST CODE", "CITY", "STATE", "COUNTRY", "HOME PHONE 1", "HOME PHONE 2", "HOME PHONE 3", "HOME PHONE 4", "WORK PHONE 1", "WORK PHONE 2", "WORK PHONE 3", "WORK PHONE 4", "CELL PHONE 1", "CELL PHONE 2", "CELL PHONE 3", "CELL PHONE 4", "E-MAIL 1", "E-MAIL 2", "E-MAIL 3", "E-MAIL 4", "WEBSITE 1", "WEBSITE 2", "WEBSITE 3", "WEBSITE 4" }; filehandle = fopen (filename, "w"); if(filehandle) { fprintf(filehandle, "\n"); fprintf(filehandle, "\n"); fprintf(filehandle, "\n"); fprintf(filehandle, "\tContact List\n"); fprintf(filehandle, "\t\n"); fprintf(filehandle, "\t\n"); fprintf(filehandle, "\t\n"); fprintf(filehandle, "\n\n"); fprintf(filehandle, "\n\n"); fprintf(filehandle, "

Contact List

\n\n"); fprintf(filehandle, "\n"); fprintf(filehandle, "\n"); for(k=0; k < nfields-1; k++) { e = (config.selected_fields >> k) & 1; if(e) { fprintf(filehandle, "\t\n"); } } fprintf(filehandle, "\n\n"); /* count rows */ j = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(model), NULL); for(i = m = 0; i < j; i++, m++) { n = find_record(gui_get_column_content(i, 0), gui_get_column_content(i, 1)); if (n!=-1) { rdata = g_slist_nth_data (list, n); if (rdata) { if(m & 1) fprintf(filehandle, "\n"); else fprintf(filehandle, "\n"); data_print_html_entry(filehandle, rdata); fprintf(filehandle, "\n\n"); } } } fprintf(filehandle, "
"); fprintf(filehandle, html_head[k]); fprintf(filehandle, "
\n"); fprintf(filehandle, "\n"); fprintf(filehandle, "\n"); fclose(filehandle); } return 0; } /*------------------------------------------------------------------------------*/ dlume-0.2.4/src/gui.c0100664000076400007640000007754510076467053013077 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include "gui.h" #include "prefs.h" #include "icons.h" #include "data.h" #include "i18n.h" #include "actions.h" #include "add_edit.h" #include "delete.h" #include "about.h" #include "export.h" #include "icon.h" #include #include #include static recordstr rec_entry; PangoFontDescription *pfd_header; /* main window */ GtkWidget *toolbar; GtkWidget *main_window; static GtkWidget *vpaned; static GtkWidget *statusbar; static GtkTextIter iter; static gint context_id; static GdkColor color; GtkTextBuffer *entry_textinfo = NULL; GtkWidget *text_sheet = NULL; GtkWidget *find_entry; GtkWidget *find_selector; /* conatact list */ static GtkListStore *store; static GtkTreeIter titer; GtkTreeModel *model; static GtkWidget *treeview; static GtkCellRenderer *renderer; GtkTreeViewColumn *column_fn, *column_ln; gchar current_fn[size_name], current_ln[size_name]; gchar tmpbuf[TMPBUF_SIZE]; gint current_records; /*------------------------------------------------------------------------------*/ gchar* get_url_name(gint no) { gint k; recordstr *rdata; k = find_record(current_fn, current_ln); if (k!=-1) { rdata = g_slist_nth_data (list, k); if(no == 0) return rdata->url_1; else if(no == 1) return rdata->url_2; else if(no == 2) return rdata->url_3; else return rdata->url_4; } else return NULL; } /*------------------------------------------------------------------------------*/ gchar* get_email_name(gint no) { gint k; recordstr *rdata; k = find_record(current_fn, current_ln); if (k!=-1) { rdata = g_slist_nth_data (list, k); if(no == 0) return rdata->email_1; else if(no == 1) return rdata->email_2; else if(no == 2) return rdata->email_3; else return rdata->email_4; } else return NULL; } /*------------------------------------------------------------------------------*/ gint get_n_emails(void) { gint k, i; recordstr *rdata; k = find_record(current_fn, current_ln); if (k!=-1) { i = 0; rdata = g_slist_nth_data (list, k); if(strlen(rdata->email_1)) i++; if(strlen(rdata->email_2)) i++; if(strlen(rdata->email_3)) i++; if(strlen(rdata->email_4)) i++; return i; } else return 0; } /*------------------------------------------------------------------------------*/ gchar* gui_get_column_content (gint row, gint column) { GtkTreePath *path; GtkTreeIter d_iter; gpointer *otext = { (gpointer*)tmpbuf }; path = gtk_tree_path_new (); gtk_tree_path_append_index (path, row); gtk_tree_model_get_iter(GTK_TREE_MODEL(model), &d_iter, path); gtk_tree_model_get(GTK_TREE_MODEL(model), &d_iter, column, otext, -1); gtk_tree_path_free (path); return otext[0]; } /*------------------------------------------------------------------------------*/ void gui_list_set_row (gint row) { GtkTreePath *path; path = gtk_tree_path_new (); gtk_tree_path_append_index (path, row); gtk_tree_view_set_cursor (GTK_TREE_VIEW (treeview), path, NULL, TRUE); gtk_tree_path_free (path); } gint gui_list_get_row (void) { GtkTreePath *path; gint *idx, row; gtk_tree_view_get_cursor (GTK_TREE_VIEW (treeview), &path, NULL); idx = gtk_tree_path_get_indices(path); row = idx[0]; return row; } /*------------------------------------------------------------------------------*/ void selection_made (GtkTreeSelection *selection, gpointer data) { GtkTreeIter s_iter; GtkTreeModel *s_model; gchar *fn_text, *ln_text; if (gtk_tree_selection_get_selected (selection, &s_model, &s_iter)) { gtk_tree_model_get (s_model, &s_iter, 0, &fn_text, -1); if(fn_text != NULL) { strcpy(current_fn, fn_text); g_free (fn_text); } else memset(current_fn, 0, size_name); gtk_tree_model_get (s_model, &s_iter, 1, &ln_text, -1); if(ln_text != NULL) { strcpy(current_ln, ln_text); g_free (ln_text); } else memset(current_ln, 0, size_name); gui_display_entry(current_fn, current_ln); gui_show_status(_("Idle")); } } /*------------------------------------------------------------------------------*/ void gui_jump_to_homepage(void) { action_launch_website(DLUME_HOMEPAGE); } /*------------------------------------------------------------------------------*/ void gui_quick_search_activate(void) { gtk_widget_grab_focus (find_entry); gui_show_status(_("Quick-search activated...")); } /*------------------------------------------------------------------------------*/ void gui_sswitch_callback(gpointer data, guint callback_action, GtkWidget *widget) { if(config.find_type == 1) config.find_type = 0; else config.find_type = 1; gtk_option_menu_set_history (GTK_OPTION_MENU (find_selector), config.find_type); } /*------------------------------------------------------------------------------*/ void gui_navigate_callback(gpointer data, guint callback_action, GtkWidget *widget) { gint cr, rc; rc = current_records - 1; if (rc > 0) { if(gtk_widget_is_focus(treeview)==FALSE) gtk_widget_grab_focus(treeview); cr = gui_list_get_row (); switch(callback_action) { case 1: /* next */ if(cr < rc) cr++; break; case 2: /* previous */ if(cr > 0) cr--; break; case 3: /* first */ cr = 0; break; case 4: /* last */ cr = rc; break; default: break; } gui_list_set_row(cr); } } /*------------------------------------------------------------------------------*/ void gui_display_entry (gchar *first_name, gchar *last_name) { gint i, j, k, l, n; recordstr *rdata; GSList *node; GtkTextIter a_iter, b_iter; GtkTextChildAnchor *anchor; gpointer fields_ptr_1[]= { rec_entry.first_name, rec_entry.last_name, rec_entry.nickname, rec_entry.birthday, rec_entry.address, rec_entry.post_code, rec_entry.city, rec_entry.state, rec_entry.country }; gpointer fields_ptr_2[]= { rec_entry.home_phone_1, rec_entry.home_phone_2, rec_entry.home_phone_3, rec_entry.home_phone_4, rec_entry.work_phone_1, rec_entry.work_phone_2, rec_entry.work_phone_3, rec_entry.work_phone_4, rec_entry.cell_phone_1, rec_entry.cell_phone_2, rec_entry.cell_phone_3, rec_entry.cell_phone_4, rec_entry.email_1, rec_entry.email_2, rec_entry.email_3, rec_entry.email_4, rec_entry.url_1, rec_entry.url_2, rec_entry.url_3, rec_entry.url_4 }; gchar *vt_names_1[] = { _("FIRST NAME: "), _("LAST NAME: "), _("NICKNAME: "), _("BIRTHDAY DATE: "), _("ADDRESS: "), _("POST CODE: "), _("CITY: "), _("STATE: "), _("COUNTRY: ") }; gchar *vt_names_2[] = { _("HOME PHONES:\n"), _("WORK PHONES:\n"), _("CELL PHONES:\n"), _("E-MAILS:\n"), _("WEBSITES:\n") }; gchar *vt_names_3[] = { _("HOME PHONE: "), _("WORK PHONE: "), _("CELL PHONE: "), _("E-MAIL:\n"), _("WEBSITE:\n") }; i = find_record(first_name, last_name); if (i != -1) { node = g_slist_nth(list, i); rdata = node->data; memcpy(&rec_entry, rdata, sizeof(recordstr)); if (rdata) { gtk_text_buffer_get_bounds (entry_textinfo, &a_iter, &b_iter); gtk_text_buffer_delete (entry_textinfo, &a_iter, &b_iter); gtk_text_buffer_get_iter_at_offset (entry_textinfo, &iter, 0); for(i = 0; i < HOME_PHONE_1; i++) { if(strlen(fields_ptr_1[i])) { gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, (gchar *) vt_names_1[i], -1, "value_title", NULL); snprintf(tmpbuf, TMPBUF_SIZE, "%s\n", (gchar *) fields_ptr_1[i]); gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, tmpbuf, -1, "value", NULL); if ((i==LAST_NAME && strlen(fields_ptr_1[LAST_NAME])) || (i==BIRTHDAY && strlen(fields_ptr_1[BIRTHDAY])) || (i==NICKNAME && strlen(fields_ptr_1[NICKNAME]))) gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, "\n", -1, "value", NULL); } } for(k = 0, j = ADDRESS; j < HOME_PHONE_1; j++) k += strlen(fields_ptr_1[j]); if(k) gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, "\n", -1, "value", NULL); for(i=0; i < 5; i++) { /* HP+WP+CP+EM+URL = 5 */ for(k = j = n = 0; j < 4; j++) { l = strlen(fields_ptr_2[i*4+j]); if(l) n++; k += l; } if(n > 1) { gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, (gchar *) vt_names_2[i], -1, "value_title", NULL); } else { if(n) gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, (gchar *) vt_names_3[i], -1, "value_title", NULL); } if(i < 3) { /* phones */ for(j = 0; j < 4; j++) { if(strlen(fields_ptr_2[i*4+j])) { snprintf(tmpbuf, TMPBUF_SIZE, "%s\n", (gchar *) fields_ptr_2[i*4+j]); gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, tmpbuf, -1, "value", NULL); } } } else { /* e-mails, urls */ for(j = 0; j < 4; j++) { if(strlen(fields_ptr_2[i*4+j])) { anchor = gtk_text_buffer_create_child_anchor (entry_textinfo, &iter); gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, "\n", -1, "value", NULL); } } } if(k) gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, "\n", -1, "value", NULL); } /* additional info */ if(strlen(rec_entry.notes)) { gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, _("ADDITIONAL INFO:\n"), -1, "value_title", NULL); snprintf(tmpbuf, TMPBUF_SIZE, "%s\n", rec_entry.notes); gtk_text_buffer_insert_with_tags_by_name (entry_textinfo, &iter, tmpbuf, -1, "value", NULL); } } } gui_attach_widgets (GTK_TEXT_VIEW(text_sheet)); } /*------------------------------------------------------------------------------*/ void gui_show_status (gchar *message) { gtk_statusbar_pop (GTK_STATUSBAR(statusbar), context_id); gtk_statusbar_push (GTK_STATUSBAR(statusbar), context_id, message); } /*------------------------------------------------------------------------------*/ /* find selector callback */ void find_type_selected(GtkWidget *item, GtkUpdateType type) { config.find_type = type; } /*------------------------------------------------------------------------------*/ /* close window callback */ void gui_close_window( GtkWidget *widget, gpointer data ) { gtk_window_get_size (GTK_WINDOW(main_window), &config.window_size_x, &config.window_size_y); if(config.restore_windows_pos) gdk_window_get_root_origin (main_window->window, &config.window_x, &config.window_y); config.pane_pos = gtk_paned_get_position(GTK_PANED (vpaned)); gtk_accel_map_save(s_getfilename_config_a ()); gtk_main_quit (); } /*------------------------------------------------------------------------------*/ /* key press callback */ int gui_fe_rkey_press (GtkWidget *widget, GdkEventKey *event, gpointer data) { current_records = gui_update_records_list((gchar *)gtk_entry_get_text(GTK_ENTRY(widget))); gui_list_set_row (0); return FALSE; } int gui_fe_key_press (GtkWidget *widget, GdkEventKey *event, gpointer data) { if (event->keyval == GDK_Escape) gtk_entry_set_text(GTK_ENTRY(widget), ""); return FALSE; } /*------------------------------------------------------------------------------*/ /* double-click callback */ void row_activated_cb (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column) { gui_edit_contact_window(); } /*------------------------------------------------------------------------------*/ /* e-mail, url links callback */ void link_callback (GtkWidget *button, gpointer data) { gint i, j; i = (gint) data; j = get_n_emails(); if(i < j) action_send_email(get_email_name(i)); else action_launch_website(get_url_name(i-j)); } /*------------------------------------------------------------------------------*/ gboolean gui_find_anchor (GtkTextIter *f_iter) { while (gtk_text_iter_forward_char (f_iter)) { if (gtk_text_iter_get_child_anchor (f_iter)) return TRUE; } return FALSE; } /*------------------------------------------------------------------------------*/ void gui_attach_widgets (GtkTextView *text_view) { GtkTextBuffer *buffer; gint i, j; GtkTextChildAnchor *anchor; GtkWidget *widget, *label; gchar tmpbuffer[size_email]; PangoFontDescription *pfda_header; buffer = gtk_text_view_get_buffer (text_view); gtk_text_buffer_get_start_iter (buffer, &iter); i = 0; j = get_n_emails(); while (gui_find_anchor (&iter)) { anchor = gtk_text_iter_get_child_anchor (&iter); widget = gtk_button_new(); label = gtk_label_new (""); gtk_widget_show (label); gtk_label_set_use_markup (GTK_LABEL(label), TRUE); gtk_container_add (GTK_CONTAINER (widget), label); /* change font */ pfda_header = pango_font_description_from_string(config.font_header); gtk_widget_modify_font (GTK_WIDGET(label), pfda_header); pango_font_description_free (pfda_header); if(i < j) { sprintf(tmpbuffer, "%s", get_email_name(i)); gdk_color_parse (config.color3, &color); } else { sprintf(tmpbuffer, "%s", get_url_name(i-j)); gdk_color_parse (config.color4, &color); } /* change color */ gtk_widget_modify_fg(GTK_WIDGET(label), GTK_STATE_NORMAL, &color); gtk_widget_modify_fg(GTK_WIDGET(label), GTK_STATE_ACTIVE, &color); gtk_widget_modify_fg(GTK_WIDGET(label), GTK_STATE_PRELIGHT, &color); gtk_label_set_markup (GTK_LABEL (label), tmpbuffer); gtk_button_set_relief (GTK_BUTTON (widget), GTK_RELIEF_NONE); g_signal_connect (widget, "clicked", G_CALLBACK (link_callback), (gpointer)i); gtk_text_view_add_child_at_anchor (text_view, widget, anchor); gtk_widget_show_all (widget); i++; } } /*------------------------------------------------------------------------------*/ void gui_create_window(void) { GtkWidget *vbox1; GtkWidget *menubar; GtkWidget *add_button; GtkWidget *edit_button; GtkWidget *delete_button; GtkWidget *quit_button; GtkWidget *vbox2; GtkWidget *hbox1; GtkWidget *vbox3; GtkWidget *scrolledwindow1; GtkWidget *scrolledwindow2; GtkItemFactory *item_factory; GtkAccelGroup *accel_group; GtkWidget *option_menu; GtkWidget *menuitem; GtkWidget *frame; GtkWidget *picon; GdkPixmap *pixmap, *icon; GdkBitmap *mask, *icon_mask; GtkStyle *style; GtkTreeSelection *select; GtkWidget *handlebox; gchar tmpbuf[256]; GtkItemFactoryEntry menu_items[] = { { _("/_File"), NULL, NULL, 0, "" }, { _("/File/tearoff"), NULL, NULL, 0, "" }, { _("/File/Select fields to export"), NULL, export_select_fields, 0, "", GTK_STOCK_INDEX }, { _("/File/Export as"), NULL, NULL, 0, "" }, { _("/File/Export as/CSV file..."), NULL, export_csv_select_file, 0, "", GTK_STOCK_SAVE_AS }, { _("/File/Export as/HTML file..."), NULL, export_html_select_file, 0, "", GTK_STOCK_SAVE_AS }, { _("/File/sep1"), NULL, NULL, 0, "" }, { _("/File/Preferences"), "p", gui_create_prefs_window, 0, "", GTK_STOCK_PREFERENCES }, { _("/File/sep1"), NULL, NULL, 0, "" }, { _("/File/Quit"), "q", gui_close_window, 0, "", GTK_STOCK_QUIT }, { _("/_Contact"), NULL, NULL, 0, "" }, { _("/Contact/tearoff"), NULL, NULL, 0, "" }, { _("/Contact/Add"), "a", gui_create_new_contact_window, 0, "", GTK_STOCK_ADD }, { _("/Contact/Edit"), "e", gui_edit_contact_window, 0, "", GTK_STOCK_CONVERT }, { _("/Contact/Delete"), "d", gui_create_delete_window, 0, "", GTK_STOCK_DELETE }, { _("/Contact/sep1"), NULL, NULL, 0, "" }, { _("/Contact/Quick search"), "l", gui_quick_search_activate, 0, "", GTK_STOCK_FIND }, { _("/Contact/Switch search mode"), "F1", gui_sswitch_callback, 0, "", GTK_STOCK_REFRESH }, { _("/_Go"), NULL, NULL, 0, "" }, { _("/Go/tearoff"), NULL, NULL, 0, "" }, { _("/Go/Next"), "Right", gui_navigate_callback, 1, "", GTK_STOCK_GO_FORWARD }, { _("/Go/Previous"), "Left", gui_navigate_callback, 2, "", GTK_STOCK_GO_BACK }, { _("/Go/sep1"), NULL, NULL, 0, "" }, { _("/Go/First"), "Home", gui_navigate_callback, 3, "", GTK_STOCK_GOTO_FIRST }, { _("/Go/Last"), "End", gui_navigate_callback, 4, "", GTK_STOCK_GOTO_LAST }, { _("/_Help"), NULL, NULL, 0, "" }, { _("/Help/tearoff"), NULL, NULL, 0, "" }, { _("/Help/About"), NULL, gui_create_about_window, 0, "", GTK_STOCK_HOME }, { _("/Help/Show license"), NULL, gui_create_license_window, 0, "", GTK_STOCK_DIALOG_INFO }, { _("/Help/sep1"), NULL, NULL, 0, "" }, { _("/Help/Dlume homepage"), NULL, gui_jump_to_homepage, 0, "", GTK_STOCK_JUMP_TO }, }; gint nmenu_items = sizeof (menu_items) / sizeof (menu_items[0]); pfd_header = pango_font_description_from_string(config.font_header); main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); sprintf(tmpbuf, _("Dlume %s"), VERSION); gtk_window_set_title (GTK_WINDOW (main_window), tmpbuf); gtk_window_set_default_size (GTK_WINDOW(main_window), config.window_size_x, config.window_size_y); gtk_window_set_resizable (GTK_WINDOW (main_window), TRUE); gtk_container_set_border_width(GTK_CONTAINER (main_window), 1); if(config.restore_windows_pos) gtk_window_move (GTK_WINDOW (main_window), config.window_x, config.window_y); g_signal_connect (G_OBJECT (main_window), "delete_event", G_CALLBACK(gui_close_window), NULL); gtk_widget_show (main_window); /***[ MENU ]*************************************************************/ accel_group = gtk_accel_group_new (); item_factory = gtk_item_factory_new (GTK_TYPE_MENU_BAR, "
", accel_group); gtk_item_factory_create_items (item_factory, nmenu_items, menu_items, NULL); gtk_window_add_accel_group (GTK_WINDOW (main_window), accel_group); gtk_accel_map_load(s_getfilename_config_a ()); menubar = gtk_item_factory_get_widget (item_factory, "
"); vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (main_window), vbox1); handlebox = gtk_handle_box_new (); gtk_box_pack_start (GTK_BOX (vbox1), handlebox, FALSE, TRUE, 0); gtk_widget_show (handlebox); gtk_container_add (GTK_CONTAINER (handlebox), menubar); gtk_widget_show (menubar); /***[ TOOLBAR ]**********************************************************/ handlebox = gtk_handle_box_new (); gtk_box_pack_start (GTK_BOX (vbox1), handlebox, FALSE, TRUE, 1); gtk_widget_show (handlebox); toolbar = gtk_toolbar_new (); gtk_container_add (GTK_CONTAINER (handlebox), toolbar); gtk_widget_show (toolbar); gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), config.toolbar_style); pixmap = gdk_pixmap_create_from_xpm_d(main_window->window, &mask, NULL, add_xpm); picon = gtk_image_new_from_pixmap (pixmap, mask); add_button = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_CHILD_BUTTON, NULL, _("Add"), NULL, NULL, picon, G_CALLBACK(gui_create_new_contact_window), NULL); gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); gtk_widget_show (add_button); gtk_container_set_border_width (GTK_CONTAINER (add_button), 1); pixmap = gdk_pixmap_create_from_xpm_d(main_window->window, &mask, NULL, edit_xpm); picon = gtk_image_new_from_pixmap (pixmap, mask); edit_button = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_CHILD_BUTTON, NULL, _("Edit"), NULL, NULL, picon, G_CALLBACK(gui_edit_contact_window), NULL); gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); gtk_widget_show (edit_button); gtk_container_set_border_width (GTK_CONTAINER (edit_button), 1); pixmap = gdk_pixmap_create_from_xpm_d(main_window->window, &mask, NULL, delete_xpm); picon = gtk_image_new_from_pixmap (pixmap, mask); delete_button = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_CHILD_BUTTON, NULL, _("Delete"), NULL, NULL, picon, G_CALLBACK(gui_create_delete_window), NULL); gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); gtk_widget_show (delete_button); gtk_container_set_border_width (GTK_CONTAINER (delete_button), 1); pixmap = gdk_pixmap_create_from_xpm_d(main_window->window, &mask, NULL, quit_xpm); picon = gtk_image_new_from_pixmap (pixmap, mask); gtk_toolbar_append_space(GTK_TOOLBAR (toolbar)); quit_button = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_CHILD_BUTTON, NULL, _("Quit!"), NULL, NULL, picon, G_CALLBACK(gui_close_window), NULL); gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); gtk_widget_show (quit_button); gtk_container_set_border_width (GTK_CONTAINER (quit_button), 1); /***[ FIND SELECTOR ]****************************************************/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox1), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox1 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox1); gtk_box_pack_start (GTK_BOX (vbox2), hbox1, FALSE, TRUE, 0); find_selector = gtk_option_menu_new (); gtk_widget_show (find_selector); gtk_box_pack_start (GTK_BOX (hbox1), find_selector, FALSE, FALSE, 0); option_menu = gtk_menu_new (); menuitem = gtk_menu_item_new_with_label (_("First name")); gtk_widget_show (menuitem); g_signal_connect (G_OBJECT (menuitem), "activate", G_CALLBACK (find_type_selected), (gpointer*)0); gtk_menu_shell_append (GTK_MENU_SHELL (option_menu), menuitem); menuitem = gtk_menu_item_new_with_label (_("Last name")); gtk_widget_show (menuitem); g_signal_connect (G_OBJECT (menuitem), "activate", G_CALLBACK (find_type_selected), (gpointer*)1); gtk_menu_shell_append (GTK_MENU_SHELL (option_menu), menuitem); gtk_option_menu_set_menu (GTK_OPTION_MENU (find_selector), option_menu); find_entry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(find_entry), size_name); gtk_widget_show (find_entry); g_signal_connect (G_OBJECT(find_entry), "key_release_event", G_CALLBACK(gui_fe_rkey_press), NULL); g_signal_connect (G_OBJECT(find_entry), "key_press_event", G_CALLBACK(gui_fe_key_press), NULL); gtk_box_pack_start (GTK_BOX (hbox1), find_entry, TRUE, TRUE, 0); /***[ CONTACT LIST ]*****************************************************/ vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_box_pack_start (GTK_BOX (vbox2), vbox3, TRUE, TRUE, 0); vpaned = gtk_vpaned_new (); gtk_widget_show (vpaned); gtk_box_pack_start (GTK_BOX (vbox3), vpaned, TRUE, TRUE, 0); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_paned_add1 (GTK_PANED (vpaned), frame); gtk_container_set_border_width (GTK_CONTAINER (frame), 3); scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); gtk_container_add (GTK_CONTAINER (frame), scrolledwindow1); gtk_widget_show (scrolledwindow1); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING); model = GTK_TREE_MODEL(store); treeview = gtk_tree_view_new_with_model (model); g_signal_connect (treeview, "row_activated", G_CALLBACK (row_activated_cb), model); gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview), 2); gtk_tree_view_set_search_column (GTK_TREE_VIEW (treeview), 2); gtk_container_add(GTK_CONTAINER (scrolledwindow1), treeview); gtk_widget_show (treeview); renderer = gtk_cell_renderer_text_new (); column_fn = gtk_tree_view_column_new_with_attributes (_("First name"), renderer, "text", 0, NULL); gtk_tree_view_column_set_sort_column_id (column_fn, 0); gtk_tree_view_column_set_min_width(GTK_TREE_VIEW_COLUMN (column_fn), 160); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN (column_fn), TRUE); gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column_fn); column_ln = gtk_tree_view_column_new_with_attributes (_("Last name"), renderer, "text", 1, NULL); gtk_tree_view_column_set_sort_column_id (column_ln, 1); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN (column_ln), TRUE); gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column_ln); select = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview)); g_signal_connect(G_OBJECT(select), "changed", G_CALLBACK(selection_made), NULL); /************************************************************************/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_paned_add2 (GTK_PANED (vpaned), frame); gtk_container_set_border_width (GTK_CONTAINER (frame), 3); scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow2); gtk_container_add (GTK_CONTAINER (frame), scrolledwindow2); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); entry_textinfo = gtk_text_buffer_new (NULL); gtk_text_buffer_get_iter_at_offset (entry_textinfo, &iter, 0); text_sheet = gtk_text_view_new_with_buffer (entry_textinfo); gtk_container_set_border_width (GTK_CONTAINER (text_sheet), 2); gtk_text_view_set_editable(GTK_TEXT_VIEW (text_sheet), FALSE); gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW (text_sheet), FALSE); gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_sheet), GTK_WRAP_WORD); gtk_widget_show (text_sheet); gtk_container_add (GTK_CONTAINER (scrolledwindow2), text_sheet); /* set font */ gtk_widget_modify_font (text_sheet, pfd_header); /* set background color */ gdk_color_parse (config.color5, &color); gtk_widget_modify_base (text_sheet, GTK_STATE_NORMAL, &color); gtk_widget_modify_bg (text_sheet, GTK_STATE_NORMAL, &color); /* set some tags */ gdk_color_parse (config.color1, &color); gtk_text_buffer_create_tag (entry_textinfo, "value_title", "foreground-gdk", &color, "weight", PANGO_WEIGHT_BOLD, NULL); gdk_color_parse (config.color2, &color); gtk_text_buffer_create_tag (entry_textinfo, "value", "foreground-gdk", &color, NULL); /***[ STATUSBAR ]********************************************************/ statusbar = gtk_statusbar_new (); gtk_widget_show (statusbar); gtk_box_pack_start (GTK_BOX (vbox2), statusbar, FALSE, FALSE, 0); context_id = gtk_statusbar_get_context_id( GTK_STATUSBAR(statusbar), "DLUME"); sprintf(tmpbuf, "%s (%d contacts found)", WELCOME_TEXT, records); if(records) gtk_statusbar_push (GTK_STATUSBAR(statusbar), context_id, tmpbuf); else gtk_statusbar_push (GTK_STATUSBAR(statusbar), context_id, WELCOME_TEXT); /***[ RESTORE VALUES ]***************************************************/ gtk_paned_set_position (GTK_PANED (vpaned), config.pane_pos); gtk_option_menu_set_history (GTK_OPTION_MENU (find_selector), config.find_type); if(config.sorting_mode) g_signal_emit_by_name (column_ln, "clicked"); else g_signal_emit_by_name (column_fn, "clicked"); style = gtk_widget_get_style(GTK_WIDGET(main_window)); icon = gdk_pixmap_create_from_xpm_d (main_window->window, &icon_mask, &style->bg[GTK_STATE_NORMAL], icon_xpm); gdk_window_set_icon (main_window->window, NULL, icon, icon_mask); current_records = gui_display_records_list(); if(config.find_activate) gui_quick_search_activate(); if(data_get_records() > 0) gui_list_set_row(0); pango_font_description_free (pfd_header); } /*------------------------------------------------------------------------------*/ gint gui_display_records_list(void) { GSList *node; recordstr *rdata; gint recs; /* clear list */ gtk_list_store_clear (store); recs = 0; /* add to list */ for (node = list; node; node = node->next) { rdata = node->data; if(rdata) { if(strlen(rdata->first_name) && strlen(rdata->last_name)) { recs++; gtk_list_store_append (store, &titer); gtk_list_store_set (store, &titer, 0, rdata->first_name, 1, rdata->last_name, -1); } else if(strlen(rdata->first_name)) { recs++; gtk_list_store_append (store, &titer); gtk_list_store_set (store, &titer, 0, rdata->first_name, -1); } else if(strlen(rdata->last_name)) { recs++; gtk_list_store_append (store, &titer); gtk_list_store_set (store, &titer, 1, rdata->last_name, -1); } } } return recs; } /*------------------------------------------------------------------------------*/ gint gui_update_records_list(gchar *value) { GSList *node; recordstr *rdata; gint len, recs; gchar tmpb[size_name]; len = strlen(value); /* clear list */ gtk_list_store_clear (store); recs = 0; /* add to list */ for (node = list; node; node = node->next) { rdata = node->data; if(rdata) { if(config.find_type) strcpy(tmpb, rdata->last_name); else strcpy(tmpb, rdata->first_name); if(!strncmp(g_utf8_casefold(value, len), g_utf8_casefold(tmpb, strlen(tmpb)), len)) { if(strlen(rdata->first_name) && strlen(rdata->last_name)){ recs++; gtk_list_store_append (store, &titer); gtk_list_store_set (store, &titer, 0, rdata->first_name, 1, rdata->last_name, -1); } else if(strlen(rdata->first_name)){ recs++; gtk_list_store_append (store, &titer); gtk_list_store_set (store, &titer, 0, rdata->first_name, -1); } else if(strlen(rdata->last_name)){ recs++; gtk_list_store_append (store, &titer); gtk_list_store_set (store, &titer, 1, rdata->last_name, -1); } } } } return recs; } /*------------------------------------------------------------------------------*/ GtkWidget* gui_stock_label_button(gchar *blabel, const gchar *bstock) { GtkWidget *button; GtkWidget *alignment; GtkWidget *hbox; GtkWidget *image; button = g_object_new (GTK_TYPE_BUTTON, "visible", TRUE, NULL); alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0); hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (alignment), hbox); image = gtk_image_new_from_stock (bstock, GTK_ICON_SIZE_BUTTON); if (image) gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, TRUE, 0); gtk_box_pack_start (GTK_BOX (hbox), g_object_new (GTK_TYPE_LABEL, "label", blabel, "use_underline", TRUE, NULL), FALSE, TRUE, 0); gtk_widget_show_all (alignment); gtk_container_add (GTK_CONTAINER (button), alignment); return button; } /*------------------------------------------------------------------------------*/ GtkWidget* gui_stock_button(const gchar *bstock) { GtkWidget *button; GtkWidget *alignment; GtkWidget *hbox; GtkWidget *image; button = g_object_new (GTK_TYPE_BUTTON, "visible", TRUE, NULL); alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0); hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (alignment), hbox); image = gtk_image_new_from_stock (bstock, GTK_ICON_SIZE_BUTTON); if (image) gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, TRUE, 0); gtk_widget_show_all (alignment); gtk_container_add (GTK_CONTAINER (button), alignment); return button; } /*------------------------------------------------------------------------------*/ dlume-0.2.4/src/main.c0100664000076400007640000000232010076467053013212 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include #include #include "gui.h" #include "data.h" #include "prefs.h" int main(int argc, char **argv) { read_config (); data_init (); data_read (); #if ENABLE_NLS gtk_set_locale(); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); #endif config.run_counter++; gtk_init (&argc, &argv); gui_create_window (); gtk_main (); data_write(); data_close(); write_config (); return 0; } dlume-0.2.4/src/options.c0100664000076400007640000006150210076467053013770 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include "gui.h" #include "data.h" #include "options.h" #include "i18n.h" #include "prefs.h" /* prefs window */ static GtkWidget *prefs_window; static GtkWidget *color1_button; static GtkWidget *color2_button; static GtkWidget *color3_button; static GtkWidget *color4_button; static GtkWidget *color5_button; static GtkWidget *wb_entry; static GtkWidget *em_entry; static GtkWidget *fn_radiobutton; static GtkWidget *tb_icons_radiobutton; static GtkWidget *tb_text_radiobutton; static GtkWidget *tb_both_radiobutton; static GtkWidget *aqs_check_button; static GtkWidget *sws_check_button; /* color selector */ static GtkWidget *cs; static gint v_restart; static gchar tmpbuf[TMPBUF_SIZE]; /* font selector */ static GtkWidget *fontname_entry; /*------------------------------------------------------------------------------*/ #define n_buttons 5 void gui_set_buttons_colors(void) { gint i; GdkColor color; GtkWidget *wdg[] = { color1_button, color2_button, color3_button, color4_button, color5_button }; gchar *cstr[] = { config.color1, config.color2, config.color3, config.color4, config.color5 }; for(i=0; i < n_buttons; i++) { gdk_color_parse (cstr[i], &color); gtk_widget_modify_bg(GTK_WIDGET(wdg[i]), GTK_STATE_NORMAL, &color); gtk_widget_modify_bg(GTK_WIDGET(wdg[i]), GTK_STATE_PRELIGHT, &color); gtk_widget_modify_bg(GTK_WIDGET(wdg[i]), GTK_STATE_ACTIVE, &color); } } /*------------------------------------------------------------------------------*/ static void quote_colors_set_dialog_ok(GtkWidget *widget, gpointer data) { GtkColorSelection *colorsel; GdkColor color; colorsel = (GtkColorSelection *) ((GtkColorSelectionDialog *)cs)->colorsel; gtk_color_selection_get_current_color(colorsel, &color); switch ((gint)data) { case 0: strcpy(config.color1, gtk_color_selection_palette_to_string(&color, 1)); break; case 1: strcpy(config.color2, gtk_color_selection_palette_to_string(&color, 1)); break; case 2: strcpy(config.color3, gtk_color_selection_palette_to_string(&color, 1)); break; case 3: strcpy(config.color4, gtk_color_selection_palette_to_string(&color, 1)); break; case 4: strcpy(config.color5, gtk_color_selection_palette_to_string(&color, 1)); break; default: break; } gui_set_buttons_colors(); gtk_widget_destroy(cs); v_restart = TRUE; } static void quote_colors_set_dialog_cancel(GtkWidget *widget, gpointer data) { gtk_widget_destroy(cs); } static void quote_colors_set_dialog_key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data) { gtk_widget_destroy(cs); } void color_dialog(gint icolor) { GtkColorSelection *colorsel; GdkColor ccolor; cs = gtk_color_selection_dialog_new (_("Select color")); gtk_window_set_modal(GTK_WINDOW(cs), TRUE); gtk_window_set_transient_for(GTK_WINDOW(cs), GTK_WINDOW(prefs_window)); gtk_window_set_position(GTK_WINDOW(cs), GTK_WIN_POS_CENTER); gtk_window_set_resizable (GTK_WINDOW (cs), TRUE); colorsel = (GtkColorSelection *) ((GtkColorSelectionDialog *)cs)->colorsel; switch (icolor) { case 0: gdk_color_parse (config.color1, &ccolor); break; case 1: gdk_color_parse (config.color2, &ccolor); break; case 2: gdk_color_parse (config.color3, &ccolor); break; case 3: gdk_color_parse (config.color4, &ccolor); break; case 4: gdk_color_parse (config.color5, &ccolor); break; default: break; } gtk_color_selection_set_current_color(colorsel, &ccolor); g_signal_connect(G_OBJECT(GTK_COLOR_SELECTION_DIALOG(cs)->ok_button), "clicked", G_CALLBACK(quote_colors_set_dialog_ok), (gpointer *) icolor); g_signal_connect(G_OBJECT(GTK_COLOR_SELECTION_DIALOG(cs)->cancel_button), "clicked", G_CALLBACK(quote_colors_set_dialog_cancel), (gpointer *) 1); g_signal_connect(G_OBJECT(cs), "key_press_event", G_CALLBACK(quote_colors_set_dialog_key_pressed), (gpointer *) 0); gtk_widget_show(cs); } /*------------------------------------------------------------------------------*/ void cal_color_select( GtkWidget *widget, gpointer data ) { color_dialog((gint) data); } /*------------------------------------------------------------------------------*/ /* cancel callback */ void gui_cancel_prefs_window( GtkWidget *widget, gpointer data ) { gdk_window_get_root_origin (prefs_window->window, &config.prefs_window_x, &config.prefs_window_y); gtk_widget_destroy (prefs_window); gui_show_status(_("Idle")); } /*------------------------------------------------------------------------------*/ void gui_show_restart_info(void) { GtkWidget *info_dialog; info_dialog = gtk_message_dialog_new (GTK_WINDOW (main_window), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, _("You will need to restart dlume for these\nchanges to take effect.")); gtk_widget_show (info_dialog); g_signal_connect (G_OBJECT(info_dialog), "response", G_CALLBACK (gtk_widget_destroy), NULL); } /*------------------------------------------------------------------------------*/ /* close window callback */ void gui_close_prefs_window( GtkWidget *widget, gpointer data ) { gint ls; if(config.restore_windows_pos) gdk_window_get_root_origin (prefs_window->window, &config.prefs_window_x, &config.prefs_window_y); strcpy(config.web_browser, gtk_entry_get_text(GTK_ENTRY(wb_entry))); strcpy(config.email_client, gtk_entry_get_text(GTK_ENTRY(em_entry))); ls = config.sorting_mode; if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(fn_radiobutton)) == TRUE) config.sorting_mode = 0; else config.sorting_mode = 1; if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(tb_icons_radiobutton)) == TRUE) config.toolbar_style = GTK_TOOLBAR_ICONS; else if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(tb_text_radiobutton)) == TRUE) config.toolbar_style = GTK_TOOLBAR_TEXT; else config.toolbar_style = GTK_TOOLBAR_BOTH; gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), config.toolbar_style); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(aqs_check_button))) config.find_activate = 1; else config.find_activate = 0; if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(sws_check_button))) config.restore_windows_pos = 1; else config.restore_windows_pos = 0; if(config.sorting_mode == ls) { if(config.sorting_mode) { g_signal_emit_by_name (column_ln, "clicked"); g_signal_emit_by_name (column_ln, "clicked"); } else { g_signal_emit_by_name (column_fn, "clicked"); g_signal_emit_by_name (column_fn, "clicked"); } } else { if(config.sorting_mode) g_signal_emit_by_name (column_ln, "clicked"); else g_signal_emit_by_name (column_fn, "clicked"); } gui_display_entry (current_fn, current_ln); gtk_widget_destroy (prefs_window); if(v_restart == TRUE) gui_show_restart_info(); gui_show_status(_("Idle")); } /*------------------------------------------------------------------------------*/ void gui_font_select(GtkWidget *widget) { gchar *s; GtkWidget *font_selector; gint response; PangoFontDescription *pfd; font_selector = gtk_font_selection_dialog_new ("Select a font..."); gtk_window_set_modal(GTK_WINDOW(font_selector), TRUE); gtk_window_set_transient_for(GTK_WINDOW(font_selector), GTK_WINDOW(prefs_window)); gtk_font_selection_dialog_set_font_name (GTK_FONT_SELECTION_DIALOG (font_selector), config.font_header); gtk_widget_show (font_selector); response = gtk_dialog_run (GTK_DIALOG (font_selector)); if (response == GTK_RESPONSE_OK) { s = gtk_font_selection_dialog_get_font_name (GTK_FONT_SELECTION_DIALOG(font_selector)); strncpy(config.font_header, s, MAX_FONT_STR); gtk_entry_set_text(GTK_ENTRY(fontname_entry), s); pfd = pango_font_description_from_string(gtk_font_selection_dialog_get_font_name (GTK_FONT_SELECTION_DIALOG (font_selector))); gtk_widget_modify_font (text_sheet, pfd); gui_display_entry (current_fn, current_ln); g_free (s); pango_font_description_free (pfd); } gtk_widget_destroy (font_selector); } /*------------------------------------------------------------------------------*/ void gui_create_prefs_window(void) { GtkWidget *vbox1, *vbox2, *vbox3; GtkWidget *hbox1, *hbox2, *hbox3, *hbox4; GSList *fn_radiobutton_group = NULL; GSList *tb_radiobutton_group = NULL; GtkWidget *frame; GtkWidget *ln_radiobutton; GtkWidget *label; GtkWidget *hbuttonbox; GtkWidget *cancel_button; GtkWidget *close_button; GdkPixmap *icon; GdkBitmap *icon_mask; GtkStyle *style; GtkWidget *hseparator; GtkSizeGroup *sg_entry, *sg_label; GtkTooltips *color_tooltips; GtkWidget *fontsel_button; v_restart = FALSE; gui_show_status(_("Now it's time to customize the Dlume!")); color_tooltips = gtk_tooltips_new(); sg_entry = gtk_size_group_new(GTK_SIZE_GROUP_BOTH); sg_label = gtk_size_group_new(GTK_SIZE_GROUP_BOTH); prefs_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_transient_for(GTK_WINDOW(prefs_window),GTK_WINDOW(main_window)); gtk_container_set_border_width (GTK_CONTAINER (prefs_window), 6); gtk_window_set_title (GTK_WINDOW (prefs_window), _("Preferences")); gtk_window_set_modal(GTK_WINDOW(prefs_window), TRUE); gtk_window_set_resizable (GTK_WINDOW (prefs_window), TRUE); gtk_widget_set_size_request (GTK_WIDGET(prefs_window), pr_width, pr_height); if(config.restore_windows_pos) gtk_window_move (GTK_WINDOW (prefs_window), config.prefs_window_x, config.prefs_window_y); g_signal_connect (G_OBJECT (prefs_window), "delete_event", G_CALLBACK(gui_close_prefs_window), NULL); /*----------------------------------------------------------------------*/ vbox1 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox1); gtk_container_add (GTK_CONTAINER (prefs_window), vbox1); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox1), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox4 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox4); gtk_box_pack_start (GTK_BOX (vbox2), hbox4, FALSE, TRUE, 0); fn_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("First Name")); gtk_widget_show (fn_radiobutton); gtk_container_set_border_width (GTK_CONTAINER (fn_radiobutton), 4); gtk_box_pack_start (GTK_BOX (hbox4), fn_radiobutton, TRUE, TRUE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (fn_radiobutton), fn_radiobutton_group); fn_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (fn_radiobutton)); ln_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Last Name")); gtk_widget_show (ln_radiobutton); gtk_container_set_border_width (GTK_CONTAINER (ln_radiobutton), 4); gtk_box_pack_start (GTK_BOX (hbox4), ln_radiobutton, TRUE, TRUE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (ln_radiobutton), fn_radiobutton_group); fn_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (ln_radiobutton)); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Sort by:")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox2), hseparator, FALSE, TRUE, 4); /*----------------------------------------------------------------------*/ vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, TRUE, 0); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox2), frame, FALSE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); aqs_check_button = gtk_check_button_new_with_mnemonic ("Activate Quick-search"); gtk_container_set_border_width (GTK_CONTAINER (aqs_check_button), 2); gtk_widget_show (aqs_check_button); gtk_box_pack_start (GTK_BOX (vbox2), aqs_check_button, FALSE, TRUE, 0); sws_check_button = gtk_check_button_new_with_mnemonic ("Restore windows positions"); gtk_container_set_border_width (GTK_CONTAINER (sws_check_button), 2); gtk_widget_show (sws_check_button); gtk_box_pack_start (GTK_BOX (vbox2), sws_check_button, FALSE, TRUE, 0); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("On startup: ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox2), hseparator, FALSE, TRUE, 4); /*----------------------------------------------------------------------*/ vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox2), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox1 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox1); gtk_box_pack_start (GTK_BOX (vbox2), hbox1, TRUE, TRUE, 0); tb_icons_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Icons")); gtk_widget_show (tb_icons_radiobutton); gtk_container_set_border_width (GTK_CONTAINER (tb_icons_radiobutton), 4); gtk_box_pack_start (GTK_BOX (hbox1), tb_icons_radiobutton, TRUE, TRUE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (tb_icons_radiobutton), tb_radiobutton_group); tb_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (tb_icons_radiobutton)); tb_text_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Text")); gtk_widget_show (tb_text_radiobutton); gtk_container_set_border_width (GTK_CONTAINER (tb_text_radiobutton), 4); gtk_box_pack_start (GTK_BOX (hbox1), tb_text_radiobutton, TRUE, TRUE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (tb_text_radiobutton), tb_radiobutton_group); tb_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (tb_text_radiobutton)); tb_both_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Both")); gtk_widget_show (tb_both_radiobutton); gtk_container_set_border_width (GTK_CONTAINER (tb_both_radiobutton), 4); gtk_box_pack_start (GTK_BOX (hbox1), tb_both_radiobutton, TRUE, TRUE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (tb_both_radiobutton), tb_radiobutton_group); tb_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (tb_both_radiobutton)); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Display toolbar as: ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox2), hseparator, FALSE, TRUE, 4); /*----------------------------------------------------------------------*/ vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_box_pack_start (GTK_BOX (vbox2), frame, TRUE, TRUE, 0); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox1 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox1); gtk_box_pack_start (GTK_BOX (vbox2), hbox1, TRUE, TRUE, 0); color1_button = gtk_button_new_with_mnemonic (""); gtk_widget_show (color1_button); gtk_box_pack_start (GTK_BOX (hbox1), color1_button, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (color1_button), "clicked", G_CALLBACK (cal_color_select), (gpointer *) 0); gtk_container_set_border_width (GTK_CONTAINER (color1_button), 8); gtk_tooltips_set_tip (color_tooltips, color1_button, "header color", NULL); color2_button = gtk_button_new_with_mnemonic (""); gtk_widget_show (color2_button); gtk_box_pack_start (GTK_BOX (hbox1), color2_button, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (color2_button), "clicked", G_CALLBACK (cal_color_select), (gpointer *) 1); gtk_container_set_border_width (GTK_CONTAINER (color2_button), 8); gtk_tooltips_set_tip (color_tooltips, color2_button, "data color", NULL); color3_button = gtk_button_new_with_mnemonic (""); gtk_widget_show (color3_button); gtk_box_pack_start (GTK_BOX (hbox1), color3_button, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (color3_button), "clicked", G_CALLBACK (cal_color_select), (gpointer *) 2); gtk_container_set_border_width (GTK_CONTAINER (color3_button), 8); gtk_tooltips_set_tip (color_tooltips, color3_button, "e-mail color", NULL); color4_button = gtk_button_new_with_mnemonic (""); gtk_widget_show (color4_button); gtk_box_pack_start (GTK_BOX (hbox1), color4_button, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (color4_button), "clicked", G_CALLBACK (cal_color_select), (gpointer *) 3); gtk_container_set_border_width (GTK_CONTAINER (color4_button), 8); gtk_tooltips_set_tip (color_tooltips, color4_button, "url color", NULL); color5_button = gtk_button_new_with_mnemonic (""); gtk_widget_show (color5_button); gtk_box_pack_start (GTK_BOX (hbox1), color5_button, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (color5_button), "clicked", G_CALLBACK (cal_color_select), (gpointer *) 4); gtk_container_set_border_width (GTK_CONTAINER (color5_button), 8); gtk_tooltips_set_tip (color_tooltips, color5_button, "background", NULL); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Colors: ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox2), hseparator, FALSE, TRUE, 4); /*----------------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox1), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_container_add (GTK_CONTAINER (frame), vbox2); hbox1 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox1); gtk_box_pack_start (GTK_BOX (vbox2), hbox1, FALSE, TRUE, 0); fontname_entry = gtk_entry_new (); gtk_widget_show (fontname_entry); gtk_box_pack_start (GTK_BOX (hbox1), fontname_entry, TRUE, TRUE, 2); gtk_editable_set_editable (GTK_EDITABLE (fontname_entry), FALSE); fontsel_button = gui_stock_button (GTK_STOCK_SELECT_FONT); gtk_widget_show (fontsel_button); g_signal_connect (G_OBJECT (fontsel_button), "clicked", G_CALLBACK (gui_font_select), NULL); gtk_box_pack_start (GTK_BOX (hbox1), fontsel_button, FALSE, FALSE, 0); gtk_container_set_border_width (GTK_CONTAINER (fontsel_button), 4); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Font: ")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox2), hseparator, FALSE, TRUE, 4); /*----------------------------------------------------------------------*/ vbox2 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0); frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox2), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hbox2 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox3), hbox2, TRUE, TRUE, 0); wb_entry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(wb_entry), TMPBUF_SIZE); gtk_widget_show (wb_entry); gtk_box_pack_start (GTK_BOX (hbox2), wb_entry, TRUE, TRUE, 2); gtk_size_group_add_widget(sg_entry, wb_entry); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("Web browser:")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox3), hseparator, FALSE, TRUE, 4); /*------------------------------------------------------------------------------*/ frame = gtk_frame_new (NULL); gtk_widget_show (frame); gtk_box_pack_start (GTK_BOX (vbox2), frame, TRUE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); gtk_container_add (GTK_CONTAINER (frame), vbox3); hbox3 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox3); gtk_box_pack_start (GTK_BOX (vbox3), hbox3, TRUE, TRUE, 0); em_entry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(em_entry), TMPBUF_SIZE); gtk_widget_show (em_entry); gtk_box_pack_start (GTK_BOX (hbox3), em_entry, TRUE, TRUE, 2); gtk_size_group_add_widget(sg_entry, em_entry); label = gtk_label_new (NULL); gtk_widget_show (label); gtk_frame_set_label_widget (GTK_FRAME (frame), label); sprintf (tmpbuf, _("E-mail client:")); gtk_label_set_markup (GTK_LABEL (label), tmpbuf); /*----------------------------------------------------------------------*/ hseparator = gtk_hseparator_new (); gtk_widget_show (hseparator); gtk_box_pack_start (GTK_BOX (vbox1), hseparator, FALSE, TRUE, 4); hbuttonbox = gtk_hbutton_box_new (); gtk_widget_show (hbuttonbox); gtk_box_pack_start (GTK_BOX (vbox1), hbuttonbox, FALSE, TRUE, 4); gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox), GTK_BUTTONBOX_END); gtk_box_set_spacing (GTK_BOX (hbuttonbox), 16); cancel_button = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (cancel_button); g_signal_connect (G_OBJECT (cancel_button), "clicked", G_CALLBACK (gui_cancel_prefs_window), NULL); gtk_container_add (GTK_CONTAINER (hbuttonbox), cancel_button); GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT); close_button = gtk_button_new_from_stock ("gtk-ok"); gtk_widget_show (close_button); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (gui_close_prefs_window), NULL); GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); gtk_widget_grab_focus (cancel_button); gui_set_buttons_colors(); gtk_entry_set_text(GTK_ENTRY(wb_entry), config.web_browser); gtk_entry_set_text(GTK_ENTRY(em_entry), config.email_client); if(config.find_activate) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (aqs_check_button), TRUE); if(config.restore_windows_pos) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (sws_check_button), TRUE); if(!config.sorting_mode) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(fn_radiobutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(ln_radiobutton), TRUE); if(config.toolbar_style == GTK_TOOLBAR_ICONS) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(tb_icons_radiobutton), TRUE); if(config.toolbar_style == GTK_TOOLBAR_TEXT) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(tb_text_radiobutton), TRUE); if(config.toolbar_style == GTK_TOOLBAR_BOTH) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(tb_both_radiobutton), TRUE); gtk_entry_set_text(GTK_ENTRY(fontname_entry), config.font_header); gtk_widget_show (prefs_window); style = gtk_widget_get_style(GTK_WIDGET(prefs_window)); icon = gdk_pixmap_create_from_xpm_d (prefs_window->window, &icon_mask, &style->bg[GTK_STATE_NORMAL], icon_xpm); gdk_window_set_icon (prefs_window->window, NULL, icon, icon_mask); } /*------------------------------------------------------------------------------*/ dlume-0.2.4/src/prefs.c0100664000076400007640000002475510076467053013425 0ustar pasppasp /* * Dlume * * Copyright (C) 2003-2004 Tomasz M±ka * * 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. */ #include #include #include #include #include #include "prefs.h" struct dlumeprefs config; FILE *prefs_filehandle; /*---------------------------------------------------------------------------*/ gchar* s_getdir_config (void) { static gchar cfgdir[MAX_PATH]; struct stat cfg; s_strcpy (cfgdir, getenv ("HOME"), MAX_PATH); s_strcat (cfgdir, "/.clay", MAX_PATH); if(stat (cfgdir, &cfg) < 0) mkdir (cfgdir, S_IRUSR | S_IWUSR | S_IXUSR); return cfgdir; } /*---------------------------------------------------------------------------*/ gchar* s_getfilename_config (void) { static gchar filename[MAX_PATH]; s_strcpy (filename, s_getdir_config(), MAX_PATH); s_strcat (filename, slash, MAX_PATH); s_strcat (filename, config_filename, MAX_PATH); return filename; } /*---------------------------------------------------------------------------*/ gchar* s_getfilename_config_a (void) { static gchar filename[MAX_PATH]; s_strcpy (filename, s_getdir_config(), MAX_PATH); s_strcat (filename, slash, MAX_PATH); s_strcat (filename, config_a_filename, MAX_PATH); return filename; } /*---------------------------------------------------------------------------*/ void* s_prefs_openfile (gchar *filename, gint openmode) { prefs_filehandle = NULL; if (openmode == P_READ) prefs_filehandle = fopen (filename, "rb"); else if (openmode == P_WRITE) prefs_filehandle = fopen (filename, "wb"); return prefs_filehandle; } void s_prefs_closefile (void) { fclose (prefs_filehandle); } /*---------------------------------------------------------------------------*/ void s_prefs_put_int (gchar *tagname, gint value) { fprintf (prefs_filehandle, "%s = %d\n", tagname, value); } void s_prefs_put_float (gchar *tagname, gfloat value) { fprintf (prefs_filehandle, "%s = %f\n", tagname, value); } void s_prefs_put_string (gchar *tagname, gchar *value) { fprintf (prefs_filehandle, "%s = %s\n", tagname, value); } void s_prefs_put_lf (void) { fprintf (prefs_filehandle, "\n"); } void s_prefs_put_comment (gchar *comment) { gchar text[MAX_LINE_LEN]; s_strcpy (text, "# ", MAX_LINE_LEN); s_strcat (text, comment, MAX_LINE_LEN); fprintf (prefs_filehandle, text); } /*---------------------------------------------------------------------------*/ gchar* s_prefs_get_line_with_tag (gchar *tagname) { static gchar prfline[MAX_LINE_LEN]; gint i; gchar c; fseek (prefs_filehandle, 0, SEEK_SET); while (!feof (prefs_filehandle)) { i = 0; while (((c = fgetc (prefs_filehandle)) != crlf_char) && c!= EOF && i < MAX_LINE_LEN) prfline[i++] = c; prfline[i] = null_char; if (prfline[0] != '#') if (!strncmp (tagname, prfline, strlen (tagname))) break; } return prfline; } gchar* s_prefs_get_value_field (gchar *tagname) { static gchar valuestr[MAX_VALUE_LEN]; gchar *valpos, c; gint i; i = 0; if ((valpos = strchr (s_prefs_get_line_with_tag (tagname), '='))) { while((c = valpos[i+2]) != null_char && i < MAX_VALUE_LEN) valuestr[i++] = c; } valuestr[i] = null_char; return valuestr; } gint s_prefs_get_int (gchar *tagname) { return (atoi (s_prefs_get_value_field (tagname))); } gfloat s_prefs_get_float (gchar *tagname) { return (atof (s_prefs_get_value_field (tagname))); } gchar* s_prefs_get_string (gchar *tagname) { return (s_prefs_get_value_field (tagname)); } /*---------------------------------------------------------------------------*/ /* following functions based on samba sources. */ /* safe_strcpy and safe_strcat routines written by Andrew Tridgell */ /*---------------------------------------------------------------------------*/ gchar* s_strcpy (gchar *dest, const gchar *src, guint maxlength) { guint len; if (!dest) { printf ("ERROR: NULL dest in safe_strcpy\n"); return NULL; } if (!src) { *dest = 0; return dest; } len = strlen(src); if (len > maxlength) { printf ("ERROR: string overflow by %d in safe_strcpy [%.50s]\n", (int)(len-maxlength), src); len = maxlength; } memcpy(dest, src, len); dest[len] = 0; return dest; } /*---------------------------------------------------------------------------*/ gchar* s_strcat (gchar *dest, const gchar *src, guint maxlength) { guint src_len, dest_len; if (!dest) { printf ("ERROR: NULL dest in safe_strcat\n"); return NULL; } if (!src) { return dest; } src_len = strlen(src); dest_len = strlen(dest); if (src_len + dest_len > maxlength) { printf ("ERROR: string overflow by %d in safe_strcat [%.50s]\n", (int)(src_len + dest_len - maxlength), src); src_len = maxlength - dest_len; } memcpy(&dest[dest_len], src, src_len); dest[dest_len + src_len] = 0; return dest; } /*---------------------------------------------------------------------------*/ void read_config (void) { if (s_prefs_openfile (s_getfilename_config (), P_READ)) { config.window_x = s_prefs_get_int ("window_pos_x"); config.window_y = s_prefs_get_int ("window_pos_y"); config.window_size_x = s_prefs_get_int ("window_size_x"); config.window_size_y = s_prefs_get_int ("window_size_y"); config.run_counter = s_prefs_get_int ("run_counter"); config.pane_pos = s_prefs_get_int ("pane_pos"); config.find_type = s_prefs_get_int ("find_type"); config.find_activate = s_prefs_get_int ("find_activate"); config.contact_window_x = s_prefs_get_int ("contact_window_x"); config.contact_window_y = s_prefs_get_int ("contact_window_y"); config.edit_window_x = s_prefs_get_int ("edit_window_x"); config.edit_window_y = s_prefs_get_int ("edit_window_y"); config.prefs_window_x = s_prefs_get_int ("prefs_window_x"); config.prefs_window_y = s_prefs_get_int ("prefs_window_y"); config.select_window_x = s_prefs_get_int ("select_window_x"); config.select_window_y = s_prefs_get_int ("select_window_y"); config.sorting_mode = s_prefs_get_int ("sorting_mode"); config.toolbar_style = s_prefs_get_int ("toolbar_style"); config.restore_windows_pos = s_prefs_get_int ("restore_windows_pos"); config.selected_fields = s_prefs_get_int ("selected_fields"); strncpy(config.web_browser, s_prefs_get_string ("web_browser"), MAX_COMMAND); strncpy(config.email_client, s_prefs_get_string ("email_client"), MAX_COMMAND); strncpy(config.font_header, s_prefs_get_string("font_header"), MAX_FONT_STR); strncpy(config.font_text, s_prefs_get_string("font_text"), MAX_FONT_STR); if(!strlen(config.font_header)) strcpy(config.font_header, "Sans 11"); if(!strlen(config.font_text)) strcpy(config.font_text, "Serif 10"); strncpy(config.color1, s_prefs_get_string ("color1"), MAX_COLOR_STR); strncpy(config.color2, s_prefs_get_string ("color2"), MAX_COLOR_STR); strncpy(config.color3, s_prefs_get_string ("color3"), MAX_COLOR_STR); strncpy(config.color4, s_prefs_get_string ("color4"), MAX_COLOR_STR); strncpy(config.color5, s_prefs_get_string ("color5"), MAX_COLOR_STR); s_prefs_closefile (); } else { config.window_x = 180; config.window_y = 100; config.window_size_x = 385; config.window_size_y = 500; config.run_counter = 0; config.pane_pos = 128; config.find_type = 0; config.find_activate = 0; config.contact_window_x = 20; config.contact_window_y = 20; config.edit_window_x = 40; config.edit_window_y = 30; config.prefs_window_x = 60; config.prefs_window_y = 60; config.select_window_x = 50; config.select_window_y = 50; config.sorting_mode = 1; config.toolbar_style = GTK_TOOLBAR_BOTH; config.restore_windows_pos = 1; config.selected_fields = -1; strcpy(config.web_browser, "mozilla -remote \"openurl(%s)\""); strcpy(config.email_client, "sylpheed --compose %s"); strcpy(config.font_header, "Sans 11"); strcpy(config.font_text, "Serif 10"); strcpy(config.color1, "#016D5A"); strcpy(config.color2, "#04344D"); strcpy(config.color3, "#278B2B"); strcpy(config.color4, "#1B2C8F"); strcpy(config.color5, "#E8E8DE"); write_config (); } } /*------------------------------------------------------------------------*/ void write_config(void) { if (s_prefs_openfile (s_getfilename_config (), P_WRITE)) { s_prefs_put_int ("window_pos_x", config.window_x); s_prefs_put_int ("window_pos_y", config.window_y); s_prefs_put_int ("window_size_x", config.window_size_x); s_prefs_put_int ("window_size_y", config.window_size_y); s_prefs_put_int ("run_counter", config.run_counter); s_prefs_put_int ("pane_pos", config.pane_pos); s_prefs_put_int ("find_type", config.find_type); s_prefs_put_int ("find_activate", config.find_activate); s_prefs_put_int ("contact_window_x", config.contact_window_x); s_prefs_put_int ("contact_window_y", config.contact_window_y); s_prefs_put_int ("edit_window_x", config.edit_window_x); s_prefs_put_int ("edit_window_y", config.edit_window_y); s_prefs_put_int ("prefs_window_x", config.prefs_window_x); s_prefs_put_int ("prefs_window_y", config.prefs_window_y); s_prefs_put_int ("select_window_x", config.select_window_x); s_prefs_put_int ("select_window_y", config.select_window_y); s_prefs_put_int ("sorting_mode", config.sorting_mode); s_prefs_put_int ("toolbar_style", config.toolbar_style); s_prefs_put_int ("restore_windows_pos", config.restore_windows_pos); s_prefs_put_int ("selected_fields", config.selected_fields); s_prefs_put_string ("web_browser", config.web_browser); s_prefs_put_string ("email_client", config.email_client); s_prefs_put_string ("font_header", config.font_header); s_prefs_put_string ("font_text", config.font_text); s_prefs_put_string ("color1", config.color1); s_prefs_put_string ("color2", config.color2); s_prefs_put_string ("color3", config.color3); s_prefs_put_string ("color4", config.color4); s_prefs_put_string ("color5", config.color5); } s_prefs_closefile (); } /*------------------------------------------------------------------------*/ dlume-0.2.4/src/Makefile.am0100664000076400007640000000105110076467053014156 0ustar pasppasp## Process this file with automake to produce Makefile.in INCLUDES = \ -I$(top_srcdir)/include \ -DPACKAGE_LOCALE_DIR=\""$(DESTDIR)$(datadir)/locale"\" \ @PACKAGE_CFLAGS@ bin_PROGRAMS = dlume dlume_SOURCES = \ about.c about.h \ actions.c actions.h \ add_edit.c add_edit.h \ data.c data.h \ delete.c delete.h \ export.c export.h \ gui.c gui.h \ i18n.h \ icon.h icons.h license.h logo.h \ main.c \ options.c options.h \ prefs.c prefs.h dlume_CFLAGS = -Wall -O2 dlume_LDADD = @PACKAGE_LIBS@ dlume_LDFLAGS= -export-dynamic dlume-0.2.4/src/Makefile.in0100664000076400007640000010327010076467076014202 0ustar pasppasp# Makefile.in generated by automake 1.7.5 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ PACKAGE_LIBS = @PACKAGE_LIBS@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -I$(top_srcdir)/include \ -DPACKAGE_LOCALE_DIR=\""$(DESTDIR)$(datadir)/locale"\" \ @PACKAGE_CFLAGS@ bin_PROGRAMS = dlume dlume_SOURCES = \ about.c about.h \ actions.c actions.h \ add_edit.c add_edit.h \ data.c data.h \ delete.c delete.h \ export.c export.h \ gui.c gui.h \ i18n.h \ icon.h icons.h license.h logo.h \ main.c \ options.c options.h \ prefs.c prefs.h dlume_CFLAGS = -Wall -O2 dlume_LDADD = @PACKAGE_LIBS@ dlume_LDFLAGS = -export-dynamic subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = bin_PROGRAMS = dlume$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) am_dlume_OBJECTS = dlume-about.$(OBJEXT) dlume-actions.$(OBJEXT) \ dlume-add_edit.$(OBJEXT) dlume-data.$(OBJEXT) \ dlume-delete.$(OBJEXT) dlume-export.$(OBJEXT) \ dlume-gui.$(OBJEXT) dlume-main.$(OBJEXT) \ dlume-options.$(OBJEXT) dlume-prefs.$(OBJEXT) dlume_OBJECTS = $(am_dlume_OBJECTS) dlume_DEPENDENCIES = DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/dlume-about.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-actions.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-add_edit.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-data.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-delete.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-export.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-gui.Po ./$(DEPDIR)/dlume-main.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-options.Po \ @AMDEP_TRUE@ ./$(DEPDIR)/dlume-prefs.Po COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DIST_SOURCES = $(dlume_SOURCES) DIST_COMMON = Makefile.am Makefile.in SOURCES = $(dlume_SOURCES) all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ rm -f $(DESTDIR)$(bindir)/$$f; \ done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) dlume$(EXEEXT): $(dlume_OBJECTS) $(dlume_DEPENDENCIES) @rm -f dlume$(EXEEXT) $(LINK) $(dlume_LDFLAGS) $(dlume_OBJECTS) $(dlume_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) core *.core distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-about.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-actions.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-add_edit.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-data.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-delete.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-export.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-gui.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlume-prefs.Po@am__quote@ distclean-depend: -rm -rf ./$(DEPDIR) .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` dlume-about.o: about.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-about.o -MD -MP -MF "$(DEPDIR)/dlume-about.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-about.Tpo" "$(DEPDIR)/dlume-about.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-about.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='about.c' object='dlume-about.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-about.Po' tmpdepfile='$(DEPDIR)/dlume-about.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-about.o `test -f 'about.c' || echo '$(srcdir)/'`about.c dlume-about.obj: about.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-about.obj -MD -MP -MF "$(DEPDIR)/dlume-about.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-about.Tpo" "$(DEPDIR)/dlume-about.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-about.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='about.c' object='dlume-about.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-about.Po' tmpdepfile='$(DEPDIR)/dlume-about.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-about.obj `if test -f 'about.c'; then $(CYGPATH_W) 'about.c'; else $(CYGPATH_W) '$(srcdir)/about.c'; fi` dlume-actions.o: actions.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-actions.o -MD -MP -MF "$(DEPDIR)/dlume-actions.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-actions.o `test -f 'actions.c' || echo '$(srcdir)/'`actions.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-actions.Tpo" "$(DEPDIR)/dlume-actions.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-actions.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='actions.c' object='dlume-actions.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-actions.Po' tmpdepfile='$(DEPDIR)/dlume-actions.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-actions.o `test -f 'actions.c' || echo '$(srcdir)/'`actions.c dlume-actions.obj: actions.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-actions.obj -MD -MP -MF "$(DEPDIR)/dlume-actions.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-actions.obj `if test -f 'actions.c'; then $(CYGPATH_W) 'actions.c'; else $(CYGPATH_W) '$(srcdir)/actions.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-actions.Tpo" "$(DEPDIR)/dlume-actions.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-actions.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='actions.c' object='dlume-actions.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-actions.Po' tmpdepfile='$(DEPDIR)/dlume-actions.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-actions.obj `if test -f 'actions.c'; then $(CYGPATH_W) 'actions.c'; else $(CYGPATH_W) '$(srcdir)/actions.c'; fi` dlume-add_edit.o: add_edit.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-add_edit.o -MD -MP -MF "$(DEPDIR)/dlume-add_edit.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-add_edit.o `test -f 'add_edit.c' || echo '$(srcdir)/'`add_edit.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-add_edit.Tpo" "$(DEPDIR)/dlume-add_edit.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-add_edit.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='add_edit.c' object='dlume-add_edit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-add_edit.Po' tmpdepfile='$(DEPDIR)/dlume-add_edit.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-add_edit.o `test -f 'add_edit.c' || echo '$(srcdir)/'`add_edit.c dlume-add_edit.obj: add_edit.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-add_edit.obj -MD -MP -MF "$(DEPDIR)/dlume-add_edit.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-add_edit.obj `if test -f 'add_edit.c'; then $(CYGPATH_W) 'add_edit.c'; else $(CYGPATH_W) '$(srcdir)/add_edit.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-add_edit.Tpo" "$(DEPDIR)/dlume-add_edit.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-add_edit.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='add_edit.c' object='dlume-add_edit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-add_edit.Po' tmpdepfile='$(DEPDIR)/dlume-add_edit.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-add_edit.obj `if test -f 'add_edit.c'; then $(CYGPATH_W) 'add_edit.c'; else $(CYGPATH_W) '$(srcdir)/add_edit.c'; fi` dlume-data.o: data.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-data.o -MD -MP -MF "$(DEPDIR)/dlume-data.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-data.o `test -f 'data.c' || echo '$(srcdir)/'`data.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-data.Tpo" "$(DEPDIR)/dlume-data.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-data.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='data.c' object='dlume-data.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-data.Po' tmpdepfile='$(DEPDIR)/dlume-data.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-data.o `test -f 'data.c' || echo '$(srcdir)/'`data.c dlume-data.obj: data.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-data.obj -MD -MP -MF "$(DEPDIR)/dlume-data.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-data.obj `if test -f 'data.c'; then $(CYGPATH_W) 'data.c'; else $(CYGPATH_W) '$(srcdir)/data.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-data.Tpo" "$(DEPDIR)/dlume-data.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-data.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='data.c' object='dlume-data.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-data.Po' tmpdepfile='$(DEPDIR)/dlume-data.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-data.obj `if test -f 'data.c'; then $(CYGPATH_W) 'data.c'; else $(CYGPATH_W) '$(srcdir)/data.c'; fi` dlume-delete.o: delete.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-delete.o -MD -MP -MF "$(DEPDIR)/dlume-delete.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-delete.o `test -f 'delete.c' || echo '$(srcdir)/'`delete.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-delete.Tpo" "$(DEPDIR)/dlume-delete.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-delete.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='delete.c' object='dlume-delete.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-delete.Po' tmpdepfile='$(DEPDIR)/dlume-delete.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-delete.o `test -f 'delete.c' || echo '$(srcdir)/'`delete.c dlume-delete.obj: delete.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-delete.obj -MD -MP -MF "$(DEPDIR)/dlume-delete.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-delete.obj `if test -f 'delete.c'; then $(CYGPATH_W) 'delete.c'; else $(CYGPATH_W) '$(srcdir)/delete.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-delete.Tpo" "$(DEPDIR)/dlume-delete.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-delete.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='delete.c' object='dlume-delete.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-delete.Po' tmpdepfile='$(DEPDIR)/dlume-delete.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-delete.obj `if test -f 'delete.c'; then $(CYGPATH_W) 'delete.c'; else $(CYGPATH_W) '$(srcdir)/delete.c'; fi` dlume-export.o: export.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-export.o -MD -MP -MF "$(DEPDIR)/dlume-export.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-export.o `test -f 'export.c' || echo '$(srcdir)/'`export.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-export.Tpo" "$(DEPDIR)/dlume-export.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-export.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='export.c' object='dlume-export.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-export.Po' tmpdepfile='$(DEPDIR)/dlume-export.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-export.o `test -f 'export.c' || echo '$(srcdir)/'`export.c dlume-export.obj: export.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-export.obj -MD -MP -MF "$(DEPDIR)/dlume-export.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-export.obj `if test -f 'export.c'; then $(CYGPATH_W) 'export.c'; else $(CYGPATH_W) '$(srcdir)/export.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-export.Tpo" "$(DEPDIR)/dlume-export.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-export.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='export.c' object='dlume-export.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-export.Po' tmpdepfile='$(DEPDIR)/dlume-export.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-export.obj `if test -f 'export.c'; then $(CYGPATH_W) 'export.c'; else $(CYGPATH_W) '$(srcdir)/export.c'; fi` dlume-gui.o: gui.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-gui.o -MD -MP -MF "$(DEPDIR)/dlume-gui.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-gui.o `test -f 'gui.c' || echo '$(srcdir)/'`gui.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-gui.Tpo" "$(DEPDIR)/dlume-gui.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-gui.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui.c' object='dlume-gui.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-gui.Po' tmpdepfile='$(DEPDIR)/dlume-gui.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-gui.o `test -f 'gui.c' || echo '$(srcdir)/'`gui.c dlume-gui.obj: gui.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-gui.obj -MD -MP -MF "$(DEPDIR)/dlume-gui.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-gui.obj `if test -f 'gui.c'; then $(CYGPATH_W) 'gui.c'; else $(CYGPATH_W) '$(srcdir)/gui.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-gui.Tpo" "$(DEPDIR)/dlume-gui.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-gui.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gui.c' object='dlume-gui.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-gui.Po' tmpdepfile='$(DEPDIR)/dlume-gui.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-gui.obj `if test -f 'gui.c'; then $(CYGPATH_W) 'gui.c'; else $(CYGPATH_W) '$(srcdir)/gui.c'; fi` dlume-main.o: main.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-main.o -MD -MP -MF "$(DEPDIR)/dlume-main.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-main.Tpo" "$(DEPDIR)/dlume-main.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-main.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='dlume-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-main.Po' tmpdepfile='$(DEPDIR)/dlume-main.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c dlume-main.obj: main.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-main.obj -MD -MP -MF "$(DEPDIR)/dlume-main.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-main.Tpo" "$(DEPDIR)/dlume-main.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-main.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='dlume-main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-main.Po' tmpdepfile='$(DEPDIR)/dlume-main.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi` dlume-options.o: options.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-options.o -MD -MP -MF "$(DEPDIR)/dlume-options.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-options.Tpo" "$(DEPDIR)/dlume-options.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-options.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='options.c' object='dlume-options.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-options.Po' tmpdepfile='$(DEPDIR)/dlume-options.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c dlume-options.obj: options.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-options.obj -MD -MP -MF "$(DEPDIR)/dlume-options.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-options.Tpo" "$(DEPDIR)/dlume-options.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-options.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='options.c' object='dlume-options.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-options.Po' tmpdepfile='$(DEPDIR)/dlume-options.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi` dlume-prefs.o: prefs.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-prefs.o -MD -MP -MF "$(DEPDIR)/dlume-prefs.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-prefs.o `test -f 'prefs.c' || echo '$(srcdir)/'`prefs.c; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-prefs.Tpo" "$(DEPDIR)/dlume-prefs.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-prefs.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='prefs.c' object='dlume-prefs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-prefs.Po' tmpdepfile='$(DEPDIR)/dlume-prefs.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-prefs.o `test -f 'prefs.c' || echo '$(srcdir)/'`prefs.c dlume-prefs.obj: prefs.c @am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -MT dlume-prefs.obj -MD -MP -MF "$(DEPDIR)/dlume-prefs.Tpo" \ @am__fastdepCC_TRUE@ -c -o dlume-prefs.obj `if test -f 'prefs.c'; then $(CYGPATH_W) 'prefs.c'; else $(CYGPATH_W) '$(srcdir)/prefs.c'; fi`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/dlume-prefs.Tpo" "$(DEPDIR)/dlume-prefs.Po"; \ @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/dlume-prefs.Tpo"; exit 1; \ @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='prefs.c' object='dlume-prefs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/dlume-prefs.Po' tmpdepfile='$(DEPDIR)/dlume-prefs.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dlume_CFLAGS) $(CFLAGS) -c -o dlume-prefs.obj `if test -f 'prefs.c'; then $(CYGPATH_W) 'prefs.c'; else $(CYGPATH_W) '$(srcdir)/prefs.c'; fi` uninstall-info-am: ETAGS = etags ETAGSFLAGS = CTAGS = ctags CTAGSFLAGS = tags: TAGS 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ 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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$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: $(mkinstalldirs) $(DESTDIR)$(bindir) 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_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 distclean-am: clean-am distclean-compile distclean-depend \ distclean-generic distclean-tags dvi: dvi-am dvi-am: info: info-am info-am: install-data-am: install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am 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 uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags distclean distclean-compile \ distclean-depend distclean-generic distclean-tags distdir dvi \ dvi-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-exec install-exec-am \ install-info install-info-am install-man 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 uninstall-info-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: dlume-0.2.4/AUTHORS0100664000076400007640000000043110076467053012404 0ustar pasppasp Authors ======== Tomasz M±ka - code Piotr M±ka - toolbar icons (based on jimmac's icons), testing Maja Kocoñ - logo and appicon Contributors ============= Eric Lathrop - HTML output improvements dlume-0.2.4/COPYING0100644000076400007640000004307610076467053012401 0ustar pasppasp GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, 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 Appendix: 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) 19yy 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., 675 Mass Ave, Cambridge, MA 02139, 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) 19yy 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. dlume-0.2.4/ChangeLog0100664000076400007640000000350610076467053013114 0ustar pasppasp 17-07-2004 Tomasz M±ka * Released 0.2.4 16-07-2004 Tomasz M±ka * minor gui tweaks * segfault in export function fixed 12-05-2004 Tomasz M±ka * some cleanups 14-03-2004 Tomasz M±ka * Released 0.2.2a * fixed serious bug introduced in 0.2.2 10-03-2004 Tomasz M±ka * Released 0.2.2 * quick-search mode can be changed without mouse 07-03-2004 Tomasz M±ka * navigation menu added 22-02-2004 Tomasz M±ka * HTML output improvements (patch by Eric Lathrop) 08-02-2004 Tomasz M±ka * Released 0.2.0 * new icon (dlume.png) included 15-01-2004 Tomasz M±ka * now we can change background color 12-01-2004 Tomasz M±ka * fixed serious bug in display routine * contact info font is configurable 10-01-2004 Tomasz M±ka * some minor fixes * better contact info view * 'nickname' and 'state' fields added 08-01-2004 Tomasz M±ka * Released 0.1.8 07-01-2004 Tomasz M±ka * some GUI changes * tooltips for colors 06-01-2004 Tomasz M±ka * fixed minor bugs * colors of links are adjustable * GUI polishing 16-12-2003 Tomasz M±ka * Released 0.1.6 * fields to export are selectable now 15-12-2003 Tomasz M±ka * 'Send an e-mail' and 'Launch website` commands are replaced by links 14-12-2003 Tomasz M±ka * more Gtk-2 compatibility * some GUI improvements 05-12-2003 Tomasz M±ka * Released 0.1.4 * fixed bugs in CSV export 04-12-2003 Tomasz M±ka * load/save accels 02-12-2003 Piotr M±ka * better HTML output 10-11-2003 Tomasz M±ka * Released 0.1.2 * minor gui updates and more options added 28-09-2003 Tomasz M±ka * First public release dlume-0.2.4/NEWS0100664000076400007640000000002310076467053012030 0ustar pasppasp ---> ChangeLog dlume-0.2.4/README0100664000076400007640000000174710076467053012227 0ustar pasppasp _]_] _] _] _] _] _] _]_]_] _] _] _] _] _] _] _] _] _] _] _] _] _] _] _] _] _]_] _] _] _] _] _] _] _] _] _]_] _]_]_] _]_] _] _] _]_]_] ------------------------- DLUME - an address book ------------------------- 1. Description =============== Dlume is nice, gtk2-based addressbook. You can easily add, edit and delete records to/from database (but Dlume doesn't rely on an outside database - It stores your contacts in XML format). The Quick-search feature allows you find required entry in comfortable way. Export to CSV and HTML formats is also available. Interface design was borrowed and improved from Paddress (http://paddress.sourceforge.net). 2. Requirements ================ Dlume uses gtk-2.x library for gui and libxml-2.4.x library for storing contacts. 3. Contact =========== Please read AUTHORS file for details. Any comments and suggestions are welcome. ENJOY! dlume-0.2.4/dlume.10100644000076400007640000000172410076467053012530 0ustar pasppasp.TH "dlume" "1" "17 July 2004" "Version 0.2.4" "Dlume Manual Pages" .SH "NAME" \fIdlume\fR \- handy and easy to use addressbook. .SH "SYNOPSIS" dlume .SH "DESCRIPTION" The \fIDlume\fR is nice, gtk2\-based addressbook. You can easily add, edit and delete records to/from database (but Dlume doesn't rely on an outside database \- It stores your contacts in XML format). The Quick\-search feature allows you find required entry in confortable way. Export to CSV and HTML formats is also available. .SH "OPTIONS" Dlume has no options. .SH "FILES" \fB${prefix}\fR/bin/dlume \- Program executable \fB$HOME\fR/.clay/dlume \- User's Dlume configuration \fB$HOME\fR/.clay/dlume\-data.xml \- Addressbook data file \fB$HOME\fR/.clay/dlume\-accels \- Keyboard accelerators file .SH "OTHER INFO" The latest version of Dlume is available at .br http://clay.ll.pl/dlume.html .SH "AUTHORS" Tomasz Maka .br Piotr Maka .br Maja Kocon dlume-0.2.4/TODO0100664000076400007640000000002110076467053012017 0ustar pasppasp - gtk-2.4 port dlume-0.2.4/dlume.png0100664000076400007640000001041210076476321013146 0ustar pasppasp‰PNG  IHDR00Wù‡bKGDÿÿÿ ½§“ pHYs  d_‘tIMEÔ 9_(P—IDATxœíXi\Õuþî[zßfºgéÙÐ6Ò „# ° DÀ@`¥TC‚c+U8.»ÊeÇUüH¥ìJªpªb*.Û$qR‰dl#I£#$;ï=ÓÝÓËë·Ý%?Þ{MϰØqbû·êÖ}ýúÝ÷¾óïœsï>jµÚGíwÙÈï@m{òÉ'#º®«±xRùÊ—¿¸ô«ÌQ~Ó >¬uwwß+„øOB \.sUUs”'ZÒ-OÍÍÏõ(~Ø;~k¨ ŸmkkÛ<<<¼óÀ…Bðûýxî¹çÐÓsÍé–‚eÃG¿ð…Çô°?è½òoüîÝ»?ÇûÁwÜqjãÆ>ŸïúþþþÖžžƒ¸õÖ£­­6l!333Ø¿ ‘¨kYÊd–FGG°Ú ¤vüx »»û~!Äó€#­[·bݺuˆÇãhiiA*Õ€W_}‹™ >ûÙÇ ( lÛ†aøÊ—¿„¯}ýP‹‹‹K?ô™O8 À¬.¼ñÿ7ÝtÓ!ÆØ@(ú¾¢(ë‹ÅâÞ £¹¹O?ý4:;7ãæ›oኢ»ïéÁ_ý<|>E®ëèë{]]×B’$Ȳ„T*ÕðÉžƒ÷ýøø±qSXM¸~ =þ¹£Ê£þYøÈ‘#|rrâÆØ³|¦££c¥ô†………kžxâ lÛv6mÚ$Òé.ɲ4??‡ßß·ŸÈŠBLÓÀ›o¼Ó4±cÇ ”"—Íbdx---hoo@ÀC[[[çñãÇ^‡Ã˶mkà_Ù€½{÷N&“ïÌÎL}} ÿÊŸªôŒŒŒ|õàÁƒeyÇ7vcçÎ]Âçóó+W¯àŽ;îD,'²¢H7lÂ÷žùg<ðÀ§¬V0>6†¦æ4Z[[þ@Éd6n‚,Ëœ Á`0´qSgÓ«¯œ|sž[KþP ÿñOÕžOÞmïÚµëÏËåò?Þ~ûíeYÞ122òG'Nœ@OÏAìß †ÂPE–e™)ŽH²,BàÌéShooǺuë¡iúñ{×oG"Q!œT}>B „@vy `\"½‹ŽsB …ƒ©d2zæÌ™³V¸Ú  wÝu×ßf2™/ÝvÛmˆD"8~ü8 §ç î½ïóûý2!¶eöm<òÈCxág/A0Ó4aÙCCý˜œœÄλH$@mŠŠ^œójw~3ÅBÉT#cB€R ÆXu´m”R×µµµ×{ê‘„öîÙ³¹³sã·}þ@ˆ ŽH$Ó0°¸¸€_|Éd»wß Y–Á…¢øpÍú ؼys•©Z¶<=&9ç…ÃX\˜G$Î=Yr Ë2Á ²Ù%D"Ñê|ÎyUJœsp!ÐÚÚÚ688p¦P(,x¿öúëÑ™™Ù…¹ÙiAm I’ض­×áðá# ”B×uX–€#,‹Vµ;4Ø_5ÄaÍaPQH’ÀIR@ªª nÁÂñ¬OõUç¨zÀ›OÁÇ÷ì½yrr² @Ìó@ÀºS§N±;wí¨¯¯WÑ0CH¥RˆD"U7:z„àŽ¡NAtômÛˆÅãÕ{2ðæAdçÅ w¦ Á ´r >¿¿úNÏ œ1H’„†††ÎóçÏŸ°$HèP¹!•J6„ÃQø]rU&³3ÓˆÅâ¤Õúö˜ŠÆbB2™Zuß{J¥"±„»š‘$'­zéÓ¿:[ñªWdYÆú ô£ë0(»Á ˆûºº®íL$âj(† ‹²$#¬ºW;@¹TB]}}õ^í³„D£1LŒ"‹»@¸à 5ëK!Ī´êb:&'FÑÕµµåܹsS2îêÀ !ËRs:ÝÜÇH p#Qq]¼0?ëVY©ªuO’$!QW‡Á«H¥\Èð*­ç5J)<‚¸x—]¸ÿK’Î9,Ë‚eYд2 …r¹%è•"|>¿Ð´JîôéÓ'e—E6» Û¶P,–øÊJÞÊåòúK/ý÷ðôôô„mÛó5  p–ÏY·ç\àÔsi­žJî f~ò“Ÿ¾–J¥îK54Fb±(TÕJ)TUc ÍÍ-UsÊ!¹UÕnYJ¥²Ëd2 Þ²@,--Ó……EíØ±cýÙlvÖ¶méŒ ºäŽywœÁ´µ@w-+‹£SSS³­­-›£Ñ©««ƒ"+ ”Vµï!ÀJ) CG&“ÁÂü,(c€byy‰MNNk}}}sW®\+•JÓ5’((»½è‚.Ðà$˜w3ÁjÂß³©÷¼Pt_>sòä+gZ[[›Óé¶x(‚VÀ窪‚R ÔåäÔ8ôŠÝ0ÄâÂ"-ŠÖ¥K}óo¾ùÖh¡P˜®a:Wºì‚-¹½ÀªÁ$aµHÅÌõBÀL¡Péë»ÔŸLÖwG¢15 B@Ó4ø}>T*4­Œ\.Ë6QÑ4‘ϯؽ½gg{{{G …‚—1d%I*qÎK.`ÍýV% º®W\Y ãðê*oË–-dÀû-ÖzaÀdooïÙŽŽŽ¶tº­UQ‡AMƒ—½2/²Ù,ÊŸ;wnrdddÀœ;ŽÊÊœóŠË°Gf8^OãÉFûþûá;÷ß#©Xf’åÖ°jD?vmúZÎô‚,Y¾pF€°Ö©©é7žú‡^ø M½ç…eSŒ±Ä… ε´¤ïjhl OOƒ`aaÁ^\̧Nž¸ÀËÃÉ‹V\<¶u´ád`ñ×Ï456·6)Ôø´Ïç¿UÉå%Jín*g,(ИdÅý§ïúüãi¡d]Ó¬t2ÂÞ½ï‹d€€£Á¢Ëddxx8:==s}<þÎ&I",—Ëk/¾ø³‹W¯^í0'Sx¬z:ö€›¬¿ê»·µ7Eyõ­%BîI5¥}íëÖ! Ã2-X†‰P8a3Š%”ô²(Z+¨è騷ßÉÓWO÷^yçòÐå`0´Ðwelü—-*p6­¶tt´ÿA8¹©¿¿ÿ"œ Ÿp{Ö•ˆÕî =öµí Ím·HDÞŽFö+ª/Ä™P3‹ìîÔÅö]C¾õ+hooƒ¢ÈàŒƒZ”›¶!饰Låbœ–íGß £L¿÷ìógŸù—NPƧ !s¶MÙÑ"s™\œšš>`"ŽÎ64·Uöøtúúv?O$;ü>u»¢ªjÛiUõ) €‚À­ÒÔ2PŸÑÞraÛv’lI’ÂØàT*å ®—ejše¶àÔ&œ ˜¦îœFØúÊw¾;koò©?ùÍYô½Ô» Tk€'êÉÖÝw¨=GþЦë‚Zi±ž™V—OQ¶+~u§,«Ía ^Q}m‚ó€ß§*’$1£¢¡T.S o•nÛ&t­‚²V´t]Wt­Tß÷¦‰í•øË¿èƒmÛ°- •J BPÛâ”RË0*³­8Z(ä†ÞzÃ,B0_E7gá$†¹P(¤yr,‘ þá¡Çèêºñpc,°7¤rˆÆmê3c²,ƒ€@VdpÊQÔòJ ãTP›iÅRÞÈ-ÍGlKrJ çŒØ¦N*z…ض¡Ú¶ ÛÔ18DDc2J&'†Á9ã–mš¶e …ì­\œ¶-c™sVB”à$Ëe$벿  X©TÌUtݰw}KKËßøU4f3s¨Ã`\ÂÅ`™&„à0MK/– 9E"&g"n›†Ï´ô°e Ó¬ÀÒ+°LÝ]"ë„sΘ`œ±`@1¦gæØß}ûçgffg…¦àÌK«^¯¸ÁïÔí^•.¹‰Á^eµx!Ÿ­/—ʧç”À²M˜†j‚sF¸à~NíVÆìêbM×+ ÔŒ1PÛ”Únµä&¥<›[ž¿X,æ§-ËÌí=™B¬ÊPn7ÝnÔÜó ›]ó_µØÕ@Ƈßɶ§;ÊDQŠ,A@m”s8`mb³$ÝÐA© fS]NMSÏ䳋—r¹Ì£T‚kÎLj½ìÚîÕåÚkæv/¡xÁåmƒ«‹#@€©¾¹mÞöŽMú}Áõ RD°l³ €¦‹Å•Ì”ièsós“—b)ŠÂ9çQN•­eÑXÔú|Mkº·y~÷à¨Æ €  NÞoiJwlFÅb>C¡Méö-—.ž~^V|P5Â]aÌ..ʀаºÊz kÁò5`Þ ÖI°ì*àk ®ü® EQê)¥÷ž·>ZËèZ°£¼½½~¿ŸŒŒ”×|Ó;HÀûŒÿëFÖ\ËpŽW‚.xïû×uýÿ Ðjÿ҆οIEND®B`‚dlume-0.2.4/po/0040755000076400007640000000000010076467053011755 5ustar pasppaspdlume-0.2.4/po/POTFILES.in0100644000076400007640000000030310076467053013523 0ustar pasppasp# List of source files containing translatable strings. # Please keep this file sorted alphabetically. src/about.c src/actions.c src/add_edit.c src/delete.c src/gui.c src/options.c src/export.c dlume-0.2.4/po/Makefile.in.in0100644000076400007640000001610710076467053014431 0ustar pasppasp# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = .. VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ libdir = @libdir@ localedir = $(libdir)/locale gnulocaledir = $(datadir)/locale gettextsrcdir = $(datadir)/glib-2.0/gettext/po subdir = po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@ CC = @CC@ GENCAT = @GENCAT@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot DEFS = @DEFS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = POFILES = @POFILES@ GMOFILES = @GMOFILES@ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \ $(POFILES) $(GMOFILES) $(SOURCES) POTFILES = \ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ INSTOBJEXT = @INSTOBJEXT@ .SUFFIXES: .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat .c.o: $(COMPILE) $< .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && $(GENCAT) $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ case "$$cat" in \ *.gmo) destdir=$(gnulocaledir);; \ *) destdir=$(localedir);; \ esac; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $$dir; \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ fi; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ fi; \ if test -r $$cat.m; then \ $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ else \ if test -r $(srcdir)/$$cat.m ; then \ $(INSTALL_DATA) $(srcdir)/$$cat.m \ $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ else \ true; \ fi; \ fi; \ done if test "$(PACKAGE)" = "glib"; then \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \ fi; \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ done rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in check: all dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m 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 $(GMOFILES) distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir) dist distdir: update-po $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ ln $(srcdir)/$$file $(distdir) 2> /dev/null \ || cp -p $(srcdir)/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot cd $(srcdir); \ catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ cp $$lang.po $$lang.old.po; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang; then \ rm -f $$lang.old.po; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$lang.po; \ mv $$lang.old.po $$lang.po; \ fi; \ done .po: Makefile $(MAKE) $(PACKAGE).pot; PATH=`pwd`/../src:$$PATH; \ echo; printf "$*: "; \ if $(MSGMERGE) $*; then \ rm -f $*.old.po; \ else \ echo "msgmerge for * failed!"; \ mv $*.old.po $*.po; \ fi; \ msgfmt --statistics $*.po; echo; # POTFILES is created from POTFILES.in by stripping comments, empty lines # and Intltool tags (enclosed in square brackets), and appending a full # relative path to them POTFILES: POTFILES.in ( if test 'x$(srcdir)' != 'x.'; then \ posrcprefix='$(top_srcdir)/'; \ else \ posrcprefix="../"; \ fi; \ rm -f $@-t $@ \ && (sed -e '/^#/d' \ -e "s/^\[.*\] +//" \ -e '/^[ ]*$$/d' \ -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ | sed -e '$$s/\\$$//') > $@-t \ && chmod a-w $@-t \ && mv $@-t $@ ) Makefile: Makefile.in.in ../config.status POTFILES cd .. \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ $(SHELL) ./config.status # 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: dlume-0.2.4/po/ChangeLog0100664000076400007640000000006410076467053013526 0ustar pasppasp 2003-06-07 gettextize dlume-0.2.4/po/dlume.pot0100664000076400007640000001160110076467053013605 0ustar pasppasp# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2003-09-26 00:14+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" msgid "About" msgstr "" msgid "CODE" msgstr "" msgid "GRAPHICS" msgstr "" msgid "License" msgstr "" msgid "Select an e-mail..." msgstr "" msgid "No e-mails found..." msgstr "" msgid "Select website..." msgstr "" msgid "No websites found..." msgstr "" msgid "Send" msgstr "" msgid "Launch" msgstr "" msgid "Record added sucessfully." msgstr "" msgid "Record needs first or last name!" msgstr "" msgid "New contact..." msgstr "" msgid "Personal " msgstr "" msgid "First Name: " msgstr "" msgid "Last Name: " msgstr "" msgid "Birthday: " msgstr "" msgid "Address: " msgstr "" msgid "Post Code:" msgstr "" msgid "City: " msgstr "" msgid "Country:" msgstr "" msgid "Home phones " msgstr "" msgid "Phone 1:" msgstr "" msgid "Phone 2:" msgstr "" msgid "Phone 3:" msgstr "" msgid "Phone 4:" msgstr "" msgid "Work phones " msgstr "" msgid "Cell phones " msgstr "" msgid "E-mails " msgstr "" msgid "E-mail 1: " msgstr "" msgid "E-mail 2: " msgstr "" msgid "E-mail 3: " msgstr "" msgid "E-mail 4: " msgstr "" msgid "WWW pages " msgstr "" msgid "URL 1:" msgstr "" msgid "URL 2:" msgstr "" msgid "URL 3:" msgstr "" msgid "URL 4:" msgstr "" msgid "Additional info " msgstr "" msgid "First or last name must be filled!" msgstr "" msgid "Edit entry..." msgstr "" msgid "Post Code: " msgstr "" msgid "Country: " msgstr "" msgid "Home phone 1: " msgstr "" msgid "Home phone 2: " msgstr "" msgid "Home phone 3: " msgstr "" msgid "Home phone 4: " msgstr "" msgid "Work phone 1: " msgstr "" msgid "Work phone 2: " msgstr "" msgid "Work phone 3: " msgstr "" msgid "Work phone 4: " msgstr "" msgid "Cell phone 1: " msgstr "" msgid "Cell phone 2: " msgstr "" msgid "Cell phone 3: " msgstr "" msgid "Cell phone 4: " msgstr "" msgid "URL 1: " msgstr "" msgid "URL 2: " msgstr "" msgid "URL 3: " msgstr "" msgid "URL 4: " msgstr "" msgid "Additional info" msgstr "" msgid "Please select record to edit first." msgstr "" #: add_edit.c:1342 msgid "No records to edit." msgstr "" msgid "Record deleted." msgstr "" msgid "Question" msgstr "" msgid "Delete current record ?" msgstr "" msgid "Please select record to delete first." msgstr "" msgid "No records to delete." msgstr "" msgid "Export contacts as CSV file..." msgstr "" msgid "No records to export." msgstr "" msgid "Export contacts as HTML file..." msgstr "" msgid "Please select record first." msgstr "" msgid "No records found." msgstr "" msgid "Idle..." msgstr "" msgid "FIRST NAME: " msgstr "" msgid "LAST NAME: " msgstr "" msgid "BIRTHDAY DATE: " msgstr "" msgid "ADDRESS: " msgstr "" msgid "POST CODE: " msgstr "" msgid "CITY: " msgstr "" msgid "COUNTRY: " msgstr "" msgid "HOME PHONES:\n" msgstr "" msgid "WORK PHONES:\n" msgstr "" msgid "CELL PHONES:\n" msgstr "" msgid "E-MAILS:\n" msgstr "" msgid "WEBSITES:\n" msgstr "" msgid "ADDITIONAL INFO:\n" msgstr "" msgid "/_File" msgstr "" msgid "/File/tearoff" msgstr "" msgid "/File/Export as" msgstr "" msgid "/File/Export as/CSV" msgstr "" msgid "/File/Export as/HTML" msgstr "" msgid "/File/sep1" msgstr "" msgid "/File/Quit" msgstr "" msgid "/_Entry" msgstr "" msgid "/Entry/tearoff" msgstr "" msgid "/Entry/Add" msgstr "" msgid "/Entry/Edit" msgstr "" msgid "/Entry/Delete" msgstr "" msgid "/_Actions" msgstr "" msgid "/Actions/tearoff" msgstr "" msgid "/Actions/Send an e-mail" msgstr "" msgid "/Actions/Launch website" msgstr "" msgid "/Actions/sep1" msgstr "" msgid "/Actions/Quick search" msgstr "" msgid "/_Options" msgstr "" msgid "/Options/tearoff" msgstr "" msgid "/Options/Preferences" msgstr "" msgid "/_Help" msgstr "" msgid "/Help/tearoff" msgstr "" msgid "/Help/About" msgstr "" msgid "/Help/License" msgstr "" msgid "DLUME %s - an address book" msgstr "" msgid "Add" msgstr "" msgid "Edit" msgstr "" msgid "Delete" msgstr "" msgid "Quit!" msgstr "" msgid "First name" msgstr "" msgid "Last name" msgstr "" msgid "Select color" msgstr "" msgid "Preferences" msgstr "" msgid "First Name" msgstr "" msgid "Last Name" msgstr "" msgid "Sort by: " msgstr "" msgid "Web browser: " msgstr "" msgid "E-mail client: " msgstr "" msgid "Programs " msgstr "" msgid "You will need to restart dlume" msgstr "" msgid "for colors changes to take effect." msgstr "" msgid "Colors " msgstr "" dlume-0.2.4/Makefile.am0100664000076400007640000000020710076467053013371 0ustar pasppaspSUBDIRS= po src man_MANS = dlume.1 pixdir = $(datadir)/pixmaps pix_DATA = dlume.png EXTRA_DIST = README COPYING dlume.1 dlume.png dlume-0.2.4/config.guess0100755000076400007640000012062210076467053013657 0ustar pasppasp#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-02-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 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. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted 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. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. 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 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 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # 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 -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { 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 ;' # 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 tupples: *-*-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 ;; *) 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 __ELF__ >/dev/null 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 0 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; arc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; macppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; pmax:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sgi:OpenBSD:*:*) echo mipseb-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; wgrisc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi # 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 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/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; 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 0 ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; 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 0 ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; DRS?6000:UNIX_SV:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; 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 0 ;; 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 0 ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; 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 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; # 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 0 ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit 0 ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit 0 ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit 0 ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit 0 ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit 0 ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; 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 \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit 0 ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit 0 ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit 0 ;; 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 0 ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit 0 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit 0 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit 0 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit 0 ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; ????????: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 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; 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 0 ;; *: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 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 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 0 ;; *:AIX:*:[45]) 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 0 ;; *:AIX:*:*) echo rs6000-ibm-aix exit 0 ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit 0 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit 0 ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit 0 ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit 0 ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit 0 ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit 0 ;; 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 # avoid double evaluation of $set_cc_for_build test -n "$CC_FOR_BUILD" || eval $set_cc_for_build if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit 0 ;; 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 && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit 0 ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit 0 ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit 0 ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit 0 ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit 0 ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; 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 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; 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 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #if __GLIBC__ >= 2 LIBC=gnu #else LIBC= #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit 0 ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:3*) echo i586-pc-interix3 exit 0 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit 0 ;; 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 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #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 0 ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #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 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit 0 ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit 0 ;; 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 ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit 0 ;; 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 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit 0 ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit 0 ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; 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 0 ;; 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 0 ;; 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 0 ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit 0 ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; 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 0 ;; i*86:*:5:[78]*) 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 0 ;; 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 0 ;; 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 i386. echo i386-pc-msdosdjgpp exit 0 ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit 0 ;; paragon:*:*:*) echo i860-intel-osf1 exit 0 ;; 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 0 ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit 0 ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 3[34]??:*: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) 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 0 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; *: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 0 ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit 0 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; 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 0 ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit 0 ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit 0 ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit 0 ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit 0 ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) case `uname -p` in *86) UNAME_PROCESSOR=i686 ;; powerpc) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *: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 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit 0 ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit 0 ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit 0 ;; *: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 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit 0 ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit 0 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit 0 ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit 0 ;; *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; 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"); 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 && $dummy && exit 0 # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } # 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 0 ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; c34*) echo c34-convex-bsd exit 0 ;; c38*) echo c38-convex-bsd exit 0 ;; c4*) echo c4-convex-bsd exit 0 ;; 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: dlume-0.2.4/config.sub0100755000076400007640000007242510076467053013331 0ustar pasppasp#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-02-22' # 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, 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. # Please send patches to . Submit a context # diff and a properly formatted 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. # 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 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 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # 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 0;; * ) 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* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) 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) os= basic_machine=$1 ;; -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 ;; -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/'` ;; -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*) 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 \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k \ | m32r | m68000 | m68k | m88k | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | msp430 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; # 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-* \ | 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-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* \ | m32r-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | msp430-* \ | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | xtensa-* \ | ymp-* \ | z8k-*) ;; # 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 ;; 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 ;; 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 ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; 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 ;; crds | unos) basic_machine=m68k-crds ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; 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 ;; 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'm not sure what "Sysv32" means. Should this be sysv3.2? 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 ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; 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 ;; mmix*) basic_machine=mmix-knuth os=-mmixware ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; mvs) basic_machine=i370-ibm os=-mvs ;; 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 ;; nv1) basic_machine=nv1-cray os=-unicosmp ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; or32 | or32-*) basic_machine=or32-unknown os=-coff ;; 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 ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2) basic_machine=i686-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-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) 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 ;; 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 ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; 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 ;; 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 ;; tic4x | c4x*) basic_machine=tic4x-unknown os=-coff ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; 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 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-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 ;; 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 ;; sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sh64) basic_machine=sh64-unknown ;; sparc | sparcv9 | sparcv9b) 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. -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* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -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*) # 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* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -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 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -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 ;; -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 ;; -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 *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; # 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 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; 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 ;; *-ibm) os=-aix ;; *-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 ;; -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 ;; -ptx*) vendor=sequent ;; -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 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: dlume-0.2.4/configure.in0100664000076400007640000000140510076467053013647 0ustar pasppaspAC_INIT(configure.in) AC_CONFIG_SRCDIR(src/main.c) AM_INIT_AUTOMAKE(dlume, 0.2.4) AC_PREFIX_DEFAULT(/usr/local) AC_PROG_CC AC_PROG_INSTALL AM_CONFIG_HEADER(config.h) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_STAT AC_CHECK_FUNCS([memset mkdir strchr]) pkg_modules="gtk+-2.0 libxml-2.0 >= 2.4.16" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) ALL_LINGUAS="" GETTEXT_PACKAGE=dlume AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext pacakge.]) AM_GLIB_GNU_GETTEXT AC_OUTPUT([ Makefile po/Makefile.in src/Makefile ]) echo "" echo "Configure finished!, Type 'make' now..." echo "" dlume-0.2.4/ltmain.sh0100644000076400007640000053772610076467053013200 0ustar pasppasp# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 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 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. # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit 1 fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" ##################################### # Shell function definitions: # This seems to be the best place for them # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` if test "X$win32_nmres" = "Ximport" ; then win32_libid_type="x86 archive import" else win32_libid_type="x86 archive static" fi fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # End of Shell function definitions ##################################### # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit 1 ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" $echo $echo "Copyright (C) 2003 Free Software Foundation, Inc." $echo "This is free software; see the source for copying conditions. There is NO" $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit 0 ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0 # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0" done exit 0 ;; --debug) $echo "$progname: enabling shell trace mode" set -x ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit 0 ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: ;; --tag) prevopt="--tag" prev=tag ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit 1 ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit 1 fi # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit 1 fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_output= arg_mode=normal libobj= for arg do case "$arg_mode" in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit 1 fi arg_mode=target continue ;; -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit 1 ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit 1 ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit 1 ;; esac # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. if test -n "$available_tags" && test -z "$tagname"; then case $base_compile in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`" case "$base_compile " in "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit 1 # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit 1 fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit 1" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit 1" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$0" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit 1 fi $echo $srcfile > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit 1 fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit 1 fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi fi build_libtool_libs=no build_old_libs=yes prefer_static_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" base_compile="$base_compile $arg" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit 1 fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit 1 fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit 1 else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit 1 fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit 1 ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit 1 fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 exit 1 fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-mingw* | *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; -module) module=yes continue ;; # gcc -m* arguments should be passed to the linker via $compiler_flags # in order to pass architecture information to the linker # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo # but this is not reliable with gcc because gcc may use -mfoo to # select a different linker, different libraries, etc, while # -Wl,-mfoo simply passes -mfoo to the linker. -m*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" if test "$with_gcc" = "yes" ; then compiler_flags="$compiler_flags $arg" fi continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # The PATH hackery in wrapper scripts is required on Windows # in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit 1 ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit 1 fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit 1 else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit 1 fi # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base link # command doesn't match the default compiler. if test -n "$available_tags" && test -z "$tagname"; then case $base_compile in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`" case $base_compile in "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) # The compiler in $compile_command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit 1 # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir status=$? if test "$status" -ne 0 && test ! -d "$output_objdir"; then exit $status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit 1 ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplcations in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit 1 ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do # Search the libtool library lib="$searchdir/lib${name}.la" if test -f "$lib"; then found=yes break fi done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) if test "$deplibs_check_method" != pass_all; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib'" 1>&2 exit 1 fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit 1 fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit 1 fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit 1 fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit 1 fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit 1 fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var"; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $dir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' eval cmds=\"$extract_expsyms_cmds\" for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' eval cmds=\"$old_archive_from_expsyms_cmds\" for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5* ) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against it, someone # is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case "$libdir" in [\\/]*) add_dir="-L$inst_prefix_dir$libdir $add_dir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit 1 fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case "$libdir" in [\\/]*) add_dir="-L$inst_prefix_dir$libdir $add_dir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else convenience="$convenience $dir/$old_library" old_convenience="$old_convenience $dir/$old_library" deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit 1 fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" fi newlib_search_path="$newlib_search_path $path" path="" fi ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$deplibs $depdepl" ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$deplibs $path" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit 1 fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit 1 else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit 1 fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor - 1` age="$number_minor" revision="$number_minor" ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 ;; esac case $revision in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 ;; esac case $age in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) major=`expr $current - $age + 1` case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit 1 ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. for path in $notinst_path; do lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name="`expr $a_deplib : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols eval cmds=\"$export_symbols_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" for xlib in $convenience; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "$mkdir $xdir" $run $mkdir "$xdir" status=$? if test "$status" -ne 0 && test ! -d "$xdir"; then exit $status fi # We will extract separately just the conflicting names and we will no # longer touch any unique names. It is faster to leave these extract # automatically by $AR in one run. $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 $AR t "$xabs" | sort | uniq -cd | while read -r count name do i=1 while test "$i" -le "$count" do # Put our $i before any first dot (extension) # Never overwrite any file name_to="$name" while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" do name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` done $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? i=`expr $i + 1` done done fi libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval cmds=\"$module_expsym_cmds\" else eval cmds=\"$module_cmds\" fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else eval cmds=\"$archive_cmds\" fi fi if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$save_output-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*"` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$save_output-${k}.$objext k=`expr $k + 1` output=$output_objdir/$save_output-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadale object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else eval cmds=\"$archive_cmds\" fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? exit 0 fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit 1 fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" for xlib in $convenience; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "$mkdir $xdir" $run $mkdir "$xdir" status=$? if test "$status" -ne 0 && test ! -d "$xdir"; then exit $status fi # We will extract separately just the conflicting names and we will no # longer touch any unique names. It is faster to leave these extract # automatically by $AR in one run. $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 $AR t "$xabs" | sort | uniq -cd | while read -r count name do i=1 while test "$i" -le "$count" do # Put our $i before any first dot (extension) # Never overwrite any file name_to="$name" while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" do name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` done $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? i=`expr $i + 1` done done fi reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" eval cmds=\"$reload_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit 0 fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit 0 fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" eval cmds=\"$reload_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit 0 ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$output.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit 1 ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit 0 fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $0 --fallback-echo"; then case $0 in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";; *) qecho="$SHELL `pwd`/$0 --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) cwrappersource=`$echo ${objdir}/lt-${output}.c` cwrapper=`$echo ${output}.exe` $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR #define DIR_SEPARATOR '/' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) #define HAVE_DOS_BASED_FILE_SYSTEM #ifndef DIR_SEPARATOR_2 #define DIR_SEPARATOR_2 '\\' #endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); char * basename (const char *name); char * fnqualify(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup ((char *) basename (argv[0])); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = fnqualify(argv[0]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } char * basename (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha (name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return (char *) base; } char * fnqualify(const char *path) { size_t size; char *p; char tmp[LT_PATHMAX + 1]; assert(path != NULL); /* Is it qualified already? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha (path[0]) && path[1] == ':') return xstrdup (path); #endif if (IS_DIR_SEPARATOR (path[0])) return xstrdup (path); /* prepend the current directory */ /* doesn't handle '~' */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ p = XMALLOC(char, size); sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); return p; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit 1" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit 1 fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \$progdir\\\\\$program \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \$progdir/\$program \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit 1 fi else # The program doesn't exist. \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " chmod +x $output fi exit 0 ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" status=$? if test "$status" -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" # Add in members from convenience archives. for xlib in $addlibs; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "$mkdir $xdir" $run $mkdir "$xdir" status=$? if test "$status" -ne 0 && test ! -d "$xdir"; then exit $status fi # We will extract separately just the conflicting names and we will no # longer touch any unique names. It is faster to leave these extract # automatically by $AR in one run. $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 $AR t "$xabs" | sort | uniq -cd | while read -r count name do i=1 while test "$i" -le "$count" do # Put our $i before any first dot (extension) # Never overwrite any file name_to="$name" while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" do name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` done $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? i=`expr $i + 1` done done fi oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` done fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then eval cmds=\"$old_archive_from_new_cmds\" else eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # GNU ar 2.10+ was changed to match POSIX; thus no paths are # encoded into archives. This makes 'ar r' malfunction in # this piecewise linking case whenever conflicting object # names appear in distinct ar calls; check, warn and compensate. if (for obj in $save_oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2 $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2 AR_FLAGS=cq fi # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*"` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit 1 fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit 0 ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg="$nonopt" fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest="$arg" continue fi case $arg in -d) isdir=yes ;; -f) prev="-f" ;; -g) prev="-g" ;; -m) prev="-m" ;; -o) prev="-o" ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest="$arg" continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit 1 fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit 1 fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit 1 fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit 1 fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit 1 fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit 1 fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit 1 fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" eval cmds=\"$postinstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit 0 ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # To insure that "foo" is sourced, and not "foo.exe", # finese the cygwin/MSYS system by explicitly sourcing "foo." # which disallows the automatic-append-.exe behavior. case $build in *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; *) wrapperdot=${wrapper} ;; esac # If there is no directory component, then add one. case $file in */* | *\\*) . ${wrapperdot} ;; *) . ./${wrapperdot} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit 1 fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # To insure that "foo" is sourced, and not "foo.exe", # finese the cygwin/MSYS system by explicitly sourcing "foo." # which disallows the automatic-append-.exe behavior. case $build in *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; *) wrapperdot=${wrapper} ;; esac # If there is no directory component, then add one. case $file in */* | *\\*) . ${wrapperdot} ;; *) . ./${wrapperdot} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir="/tmp" test -n "$TMPDIR" && tmpdir="$TMPDIR" tmpdir="$tmpdir/libtool-$$" if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then : else $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 continue fi file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyways case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. eval cmds=\"$old_postinstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $0 --finish$current_libdirs' else exit 0 fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. eval cmds=\"$finish_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit 0 $echo "----------------------------------------------------------------------" $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "----------------------------------------------------------------------" exit 0 ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit 1 fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit 1 fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit 1 fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit 1 fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables if test "${save_LC_ALL+set}" = set; then LC_ALL="$save_LC_ALL"; export LC_ALL fi if test "${save_LANG+set}" = set; then LANG="$save_LANG"; export LANG fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit 0 fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit 1 fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" if test "$mode" = uninstall; then if test -n "$library_names"; then # Do each command in the postuninstall commands. eval cmds=\"$postuninstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. eval cmds=\"$old_postuninstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. fi fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit 1 ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit 1 fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit 1 fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit 0 ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit 0 # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: dlume-0.2.4/aclocal.m40100664000076400007640000013014610076467066013207 0ustar pasppasp# generated automatically by aclocal 1.7.5 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # 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. # Do all the work for Automake. -*- Autoconf -*- # 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. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 10 AC_PREREQ([2.54]) # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow # the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl # 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_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 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 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) AM_MISSING_PROG(AMTAR, tar) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP # 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([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 ]) ]) # 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_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 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. AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.7.5])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # _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], [AC_FOREACH([_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. # # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # 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 # 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)]) # -*- Autoconf -*- # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # 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 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # 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 ]) # AM_AUX_DIR_EXPAND # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # 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. # Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50]) AC_DEFUN([AM_AUX_DIR_EXPAND], [ # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # AM_PROG_INSTALL_STRIP # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # 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="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # -*- Autoconf -*- # Copyright (C) 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 1 # 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])]) # serial 5 -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # 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], 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'. 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 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 for depmode in $am_compiler_list; do # 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. echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ >/dev/null 2>conftest.err && grep conftest.h 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 # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' 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 builds --enable-dependency-tracking Do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. #serial 2 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # 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 -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //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"]) ]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # 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 done .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 # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 5 AC_PREREQ(2.52) # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) 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])]) # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. AC_PREREQ([2.52]) # serial 6 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page dnl also defines GSTUFF_PKG_ERRORS on error AC_DEFUN(PKG_CHECK_MODULES, [ succeeded=no if test -z "$PKG_CONFIG"; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi if test "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then AC_MSG_CHECKING(for $2) if $PKG_CONFIG --exists "$2" ; then AC_MSG_RESULT(yes) succeeded=yes AC_MSG_CHECKING($1_CFLAGS) $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` AC_MSG_RESULT($$1_CFLAGS) AC_MSG_CHECKING($1_LIBS) $1_LIBS=`$PKG_CONFIG --libs "$2"` AC_MSG_RESULT($$1_LIBS) else $1_CFLAGS="" $1_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` ifelse([$4], ,echo $$1_PKG_ERRORS,) fi AC_SUBST($1_CFLAGS) AC_SUBST($1_LIBS) else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then ifelse([$3], , :, [$3]) else ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) fi ]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# 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. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi 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 ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return (int) dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) if test "$gt_cv_func_dgettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.in. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; 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 NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_in,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl dlume-0.2.4/config.h.in0100664000076400007640000000563510076467072013373 0ustar pasppasp/* config.h.in. Generated from configure.in by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Gettext pacakge. */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_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 `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 /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR /* 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_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* 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 version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* 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 dlume-0.2.4/install-sh0100755000076400007640000001572210076467074013352 0ustar pasppasp#!/bin/sh # # install - install a program, script, or datafile # # 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. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd=$cpprog shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "$0: no input file specified" >&2 exit 1 else : fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d "$dst" ]; then instcmd=: chmodcmd="" else instcmd=$mkdirprog fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f "$src" ] || [ -d "$src" ] then : else echo "$0: $src does not exist" >&2 exit 1 fi if [ x"$dst" = x ] then echo "$0: no destination specified" >&2 exit 1 else : fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d "$dst" ] then dst=$dst/`basename "$src"` else : fi fi ## this sed command emulates the dirname command dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` IFS=$oIFS pathcomp='' while [ $# -ne 0 ] ; do pathcomp=$pathcomp$1 shift if [ ! -d "$pathcomp" ] ; then $mkdirprog "$pathcomp" else : fi pathcomp=$pathcomp/ done fi if [ x"$dir_arg" != x ] then $doit $instcmd "$dst" && if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename "$dst"` else dstfile=`basename "$dst" $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename "$dst"` else : fi # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/#inst.$$# rmtmp=$dstdir/#rm.$$# # Trap to clean up temp files at exit. trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 # Move or copy the file name to the temp name $doit $instcmd "$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 $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && # 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. { if [ -f "$dstdir/$dstfile" ] then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" fi && # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit } dlume-0.2.4/mkinstalldirs0100755000076400007640000000370410076467074014151 0ustar pasppasp#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" 1>&2 exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac case $dirmode in '') if mkdir -p -- . 2>/dev/null; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" fi ;; *) if mkdir -m "$dirmode" -p -- . 2>/dev/null; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # End: # mkinstalldirs ends here dlume-0.2.4/missing0100755000076400007640000002403610076467074012743 0ustar pasppasp#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 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, 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. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # 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 case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in -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' 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 tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing 0.4 - GNU automake" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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*) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. You can get \`$1Help2man' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` 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' is missing on your system. 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 [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then # We have makeinfo, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; tar) shift if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 fi # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. 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 prerequirements 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 dlume-0.2.4/Makefile.in0100664000076400007640000004535110076467075013417 0ustar pasppasp# Makefile.in generated by automake 1.7.5 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # 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@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ 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 = : ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ PACKAGE_LIBS = @PACKAGE_LIBS@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = po src man_MANS = dlume.1 pixdir = $(datadir)/pixmaps pix_DATA = dlume.png EXTRA_DIST = README COPYING dlume.1 dlume.png subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = DIST_SOURCES = NROFF = nroff MANS = $(man_MANS) DATA = $(pix_DATA) RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ ps-recursive install-info-recursive uninstall-info-recursive \ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive DIST_COMMON = README AUTHORS COPYING ChangeLog Makefile.am Makefile.in \ NEWS TODO aclocal.m4 compile config.guess config.h.in \ config.sub configure configure.in depcomp install-sh ltmain.sh \ missing mkinstalldirs DIST_SUBDIRS = $(SUBDIRS) all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) touch $(srcdir)/config.h.in distclean-hdr: -rm -f config.h stamp-h1 uninstall-info-am: man1dir = $(mandir)/man1 install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(man1dir) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ rm -f $(DESTDIR)$(man1dir)/$$inst; \ done pixDATA_INSTALL = $(INSTALL_DATA) install-pixDATA: $(pix_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(pixdir) @list='$(pix_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(pixDATA_INSTALL) $$d$$p $(DESTDIR)$(pixdir)/$$f"; \ $(pixDATA_INSTALL) $$d$$p $(DESTDIR)$(pixdir)/$$f; \ done uninstall-pixDATA: @$(NORMAL_UNINSTALL) @list='$(pix_DATA)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(pixdir)/$$f"; \ rm -f $(DESTDIR)$(pixdir)/$$f; \ done # 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): @set fnord $$MAKEFLAGS; amf=$$2; \ 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; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ 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; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ETAGS = etags ETAGSFLAGS = CTAGS = ctags CTAGSFLAGS = tags: TAGS 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; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if (etags --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ else \ include_option=--include; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(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; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(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; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = . distdir = $(PACKAGE)-$(VERSION) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkinstalldirs) $(distdir)/po @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" \ distdir=../$(distdir)/$$subdir \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -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 $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist dist-all: distdir $(AMTAR) chof - $(distdir) | 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 $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(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 ../.. && $(mkinstalldirs) "$$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-gzip \ && rm -f $(distdir).tar.gz \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @echo "$(distdir).tar.gz is ready for distribution" | \ sed 'h;s/./=/g;p;x;p;x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { 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) config.h installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(pixdir) 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: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_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) distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: info: info-recursive info-am: install-data-am: install-man install-pixDATA install-exec-am: install-info: install-info-recursive install-man: install-man1 installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf autom4te.cache 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-info-am uninstall-man uninstall-pixDATA uninstall-info: uninstall-info-recursive uninstall-man: uninstall-man1 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ clean-generic clean-recursive ctags ctags-recursive dist \ dist-all dist-gzip distcheck distclean distclean-generic \ distclean-hdr distclean-recursive distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am dvi-recursive info \ info-am info-recursive install install-am install-data \ install-data-am install-data-recursive install-exec \ install-exec-am install-exec-recursive install-info \ install-info-am install-info-recursive install-man install-man1 \ install-pixDATA install-recursive install-strip installcheck \ installcheck-am installdirs installdirs-am \ installdirs-recursive maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ ps-recursive tags tags-recursive uninstall uninstall-am \ uninstall-info-am uninstall-info-recursive uninstall-man \ uninstall-man1 uninstall-pixDATA uninstall-recursive # 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: dlume-0.2.4/compile0100755000076400007640000000532610076467075012724 0ustar pasppasp#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. # Copyright 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, 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. # Usage: # compile PROGRAM [ARGS]... # `-o FOO.o' is removed from the args passed to the actual compile. prog=$1 shift ofile= cfile= args= while test $# -gt 0; do case "$1" in -o) # configure might choose to run compile as `compile cc -o foo foo.c'. # So we do something ugly here. ofile=$2 shift case "$ofile" in *.o | *.obj) ;; *) args="$args -o $ofile" ofile= ;; esac ;; *.c) cfile=$1 args="$args $1" ;; *) args="$args $1" ;; esac shift done if test -z "$ofile" || test -z "$cfile"; then # If no `-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # `.c' file was seen then we are probably linking. That is also # ok. exec "$prog" $args fi # Name of file we expect compiler to create. cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` # Create the lock directory. # Note: use `[/.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d while true; do if mkdir $lockdir > /dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir $lockdir; exit 1" 1 2 15 # Run the compile. "$prog" $args status=$? if test -f "$cofile"; then mv "$cofile" "$ofile" fi rmdir $lockdir exit $status dlume-0.2.4/depcomp0100755000076400007640000003176710076467075012733 0ustar pasppasp#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, 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. # Originally written by Alexandre Oliva . 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 # `libtool' can also be set to `yes' or `no'. if test -z "$depfile"; then base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` dir=`echo "$object" | sed 's,/.*$,/,'` if test "$dir" = "$object"; then dir= fi # FIXME: should be _deps on DOS. depfile="$dir.deps/$base" fi 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 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. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" 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 ' ' ' ' < "$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. ## 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" ;; 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 ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$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" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. 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. stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" outname="$stripped.o" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi 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,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$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) # Must come before tru64. # Intel's C compiler understands `-MD -MF file'. However # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # 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: "$@" -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'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^[^:]*: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; 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 tmpdepfile1="$dir.libs/$base.lo.d" tmpdepfile2="$dir.libs/$base.d" "$@" -Wc,-MD else tmpdepfile1="$dir$base.o.d" tmpdepfile2="$dir$base.d" "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi if test -f "$tmpdepfile1"; then tmpdepfile="$tmpdepfile1" else tmpdepfile="$tmpdepfile2" fi if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a space and a tab in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #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 proprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--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:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$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 $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac 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. -*|$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" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## 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 proprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--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 '/^# [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 proprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 dlume-0.2.4/configure0100775000076400007640000061023710076467077013264 0ustar pasppasp#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # 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 Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # 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 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="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="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="configure.in" ac_unique_file="src/main.c" ac_default_prefix=/usr/local # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # 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. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= 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 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -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 | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$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 ;; -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 ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 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 ;; -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_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=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 ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 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'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac 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 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 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 # 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 its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | 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 if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP # # 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 this package 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 \`..'] _ACEOF cat <<_ACEOF 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] --datadir=DIR read-only architecture-independent data [PREFIX/share] --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] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _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 _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors 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 CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` cd $ac_dir # Check for guested configure; otherwise get Cygnus style 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 elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 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 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.57. Invocation command line was $ $0 $@ _ACEOF { 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` hostinfo = `(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=. echo "PATH: $as_dir" done } >&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_sep= 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=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$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 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export 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: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core core.* *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >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 # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" 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. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 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 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`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. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } 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 am__api_version="1.7" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # 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" # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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/* | \ /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_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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # 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". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}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 $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } 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=dlume VERSION=0.2.4 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"} AMTAR=${AMTAR-"${am_missing_run}tar"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done 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 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out 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. echo "$as_me:$LINENO: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* 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; } 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 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-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='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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'. 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 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 for depmode in $am_compiler_list; do # 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. echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf case $depmode in 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 ;; none) break ;; esac # 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. if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ >/dev/null 2>conftest.err && grep conftest.h 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 # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' 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 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$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 # 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" # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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/* | \ /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_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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' ac_config_headers="$ac_config_headers config.h" # Checks for typedefs, structures, and compiler characteristics. echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* 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"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 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 saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF 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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f 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 echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$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 >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } 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 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f 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 >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #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)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF 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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((pid_t *) 0) return 0; if (sizeof (pid_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_pid_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 if test $ac_cv_type_pid_t = yes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi # Checks for library functions. for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in fork vfork do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "x$ac_cv_func_fork" = xyes; then echo "$as_me:$LINENO: checking for working fork" >&5 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 if test "${ac_cv_func_fork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* By Ruediger Kuhlmann. */ #include #if HAVE_UNISTD_H # include #endif /* Some systems only have a dummy stub for fork() */ int main () { if (fork() < 0) exit (1); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_fork_works=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 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 echo "$as_me:$LINENO: checking for working vfork" >&5 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ #include #include #include #include #include #if HAVE_UNISTD_H # include #endif #if 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) ; exit( /* 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 rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_vfork_works=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 echo "${ECHO_T}$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 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 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 cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_VFORK 1 _ACEOF else cat >>confdefs.h <<\_ACEOF #define vfork fork _ACEOF fi if test "x$ac_cv_func_fork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_FORK 1 _ACEOF fi echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; /* Linux will dereference the symlink and fail. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_lstat_dereferences_slashed_symlink=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext 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 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 echo "${ECHO_T}$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 $ac_cv_func_lstat_dereferences_slashed_symlink = no; then LIBOBJS="$LIBOBJS lstat.$ac_objext" fi echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_stat_empty_string_bug=yes else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; exit (stat ("", &sbuf) ? 1 : 0); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_stat_empty_string_bug=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_stat_empty_string_bug=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 if test $ac_cv_func_stat_empty_string_bug = yes; then LIBOBJS="$LIBOBJS stat.$ac_objext" cat >>confdefs.h <<_ACEOF #define HAVE_STAT_EMPTY_STRING_BUG 1 _ACEOF fi for ac_func in memset mkdir strchr do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done pkg_modules="gtk+-2.0 libxml-2.0 >= 2.4.16" succeeded=no if test -z "$PKG_CONFIG"; then # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then echo "$as_me:$LINENO: checking for $pkg_modules" >&5 echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6 if $PKG_CONFIG --exists "$pkg_modules" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5 echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6 PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"` echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5 echo "${ECHO_T}$PACKAGE_CFLAGS" >&6 echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5 echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6 PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"` echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5 echo "${ECHO_T}$PACKAGE_LIBS" >&6 else PACKAGE_CFLAGS="" PACKAGE_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"` echo $PACKAGE_PKG_ERRORS fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then : else { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} { (exit 1); exit 1; }; } fi ALL_LINGUAS="" GETTEXT_PACKAGE=dlume cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= if test "${ac_cv_header_libintl_h+set}" = set; then echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking libintl.h usability" >&5 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking libintl.h presence" >&5 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # echo "$as_me:$LINENO: checking for dgettext in libc" >&5 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_dgettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return (int) dgettext ("","") ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_dgettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 if test "$gt_cv_func_dgettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bindtextdomain (); int main () { bindtextdomain (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_bindtextdomain=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 if test $ac_cv_lib_intl_bindtextdomain = yes; then echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dgettext (); int main () { dgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 if test $ac_cv_lib_intl_dgettext = yes; then gt_cv_func_dgettext_libintl=yes fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 echo "$as_me:$LINENO: result: " >&5 echo "${ECHO_T}" >&6 echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dcgettext (); int main () { dcgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dcgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 if test $ac_cv_lib_intl_dcgettext = yes; then gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi 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 echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then CATOBJEXT=.gmo DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bind_textdomain_codeset (); /* 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_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset) choke me #else char (*f) () = bind_textdomain_codeset; #endif #ifdef __cplusplus } #endif int main () { return f != bind_textdomain_codeset; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6 if test $ac_cv_func_bind_textdomain_codeset = yes; then CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; 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 NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS echo "$as_me:$LINENO: result: $LINGUAS" >&5 echo "${ECHO_T}$LINGUAS" >&6 fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile" 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, don't put newlines in cache variables' values. # 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. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *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 \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" 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}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ 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[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@srcdir@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $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} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # 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 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="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="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.57. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet 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 ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.57, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. 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=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; 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 if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; 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 to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@AMTAR@,$AMTAR,;t t s,@install_sh@,$install_sh,;t t s,@STRIP@,$STRIP,;t t s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@DEPDIR@,$DEPDIR,;t t s,@am__include@,$am__include,;t t s,@am__quote@,$am__quote,;t t s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@CCDEPMODE@,$CCDEPMODE,;t t s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t s,@USE_NLS@,$USE_NLS,;t t s,@MSGFMT@,$MSGFMT,;t t s,@GMSGFMT@,$GMSGFMT,;t t s,@XGETTEXT@,$XGETTEXT,;t t s,@CATALOGS@,$CATALOGS,;t t s,@CATOBJEXT@,$CATOBJEXT,;t t s,@DATADIRNAME@,$DATADIRNAME,;t t s,@GMOFILES@,$GMOFILES,;t t s,@INSTOBJEXT@,$INSTOBJEXT,;t t s,@INTLLIBS@,$INTLLIBS,;t t s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t s,@POFILES@,$POFILES,;t t s,@POSUB@,$POSUB,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # 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. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;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,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #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. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # 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. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; 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. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || 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 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # 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 -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //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=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # 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 || { (exit 1); exit 1; } fi echo "" echo "Configure finished!, Type 'make' now..." echo ""