gnome-alsamixer-0.9.7~cvs.20060916/0000755000175000017500000000000010622436700014525 5ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/po/0000755000175000017500000000000010622436340015143 5ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/po/zh_CN.po0000644000175000017500000000733010320427111016476 0ustar adnadn# SOME DESCRIPTIVE TITLE. # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # Chen Yuexi , 2003 # QAed by Funda Wang , 2004 # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-10-04 02:59+0200\n" "PO-Revision-Date: 2005-10-04 15:01+0800\n" "Last-Translator: Chen Yuexi \n" "Language-Team: zh_CN \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "文件(_F)" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "编辑(_E)" #: ../src/gam-app.c:94 msgid "_Help" msgstr "帮助(_H)" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "退出(_X)" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "退出程序" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "声卡属性(_P)" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "配置当前声卡" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "程序首选项(_N)" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "配置应用程序" #: ../src/gam-app.c:98 msgid "_About" msgstr "关于(_A)" #: ../src/gam-app.c:98 msgid "About this application" msgstr "关于此应用程序" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "贡献者:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "GNOME ALSA 声卡混音器" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA 混音器" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "主应用程序" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "声卡 ID" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA 声卡 ID (通常应为'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "程序" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "父程序" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "声卡名称和可见性" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "滑块设定" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "单一水平滑块(_S)" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "可锁定双方向滑块(_D)" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "滑块循环方式" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "按钮(_B)" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "复选框(_C)" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "程序首选项" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "混音器" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "声卡元件名称和可见性" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "声卡属性" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "锁定" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "元件" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA 混音器元件" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "静音" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "录音" gnome-alsamixer-0.9.7~cvs.20060916/po/zh_TW.po0000644000175000017500000000745510301071664016547 0ustar adnadn# traditional Chinese translation of gnome-alsamixer. # Copyright (C) 2005 Free Software Foundation, Inc. # Chao-Hsiung Liao , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer 0.9.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-18 03:35+0000\n" "PO-Revision-Date: 2005-08-18 15:58+0800\n" "Last-Translator: Chao-Hsiung Liao \n" "Language-Team: chinese (traditional) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "檔案(_F)" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "編輯(_E)" #: ../src/gam-app.c:94 msgid "_Help" msgstr "說明(_H)" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "離開(_X)" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "離開程式" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "音效卡屬性(_P)" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "設定目前的音效卡" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "音效卡偏好設定(_N)" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "設定此應用程式" #: ../src/gam-app.c:98 msgid "_About" msgstr "關於(_A)" #: ../src/gam-app.c:98 msgid "About this application" msgstr "關於這個應用程式" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "協助開發者:" #: ../src/gam-app.c:438 #: ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "適用於 GNOME 的 ALSA 混音程式" #: ../src/gam-app.c:440 #: ../src/gam-app.c:446 #: ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA 混音程式" #: ../src/gam-mixer.c:159 #: ../src/gam-mixer.c:160 #: ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 #: ../src/gam-toggle.c:127 #: ../src/gam-toggle.c:128 msgid "Main Application" msgstr "主要應用程式" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "音效卡 ID" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA 音效卡 ID (通常為 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "應用程式" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "上層應用程式" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "音效卡名稱與可見度" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "捲動軸風格" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "單捲動軸加上左右平衡杆(_S)" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "可鎖定兩邊的雙捲動軸(_D)" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "捲動軸風格切換" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "按鈕(_B)" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "核取方塊(_C)" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "音效卡偏好設定" #: ../src/gam-props-dlg.c:112 #: ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 #: ../src/gam-slider.c:150 #: ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "混音程式" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "音效卡元件名稱與可見度" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "音效卡屬性" #: ../src/gam-slider-dual.c:207 #: ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "鎖定" #: ../src/gam-slider.c:142 #: ../src/gam-toggle.c:113 msgid "Element" msgstr "元件" #: ../src/gam-slider.c:143 #: ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA 混音程式元件" #: ../src/gam-slider.c:251 #: ../src/gam-slider.c:253 msgid "Mute" msgstr "靜音" #: ../src/gam-slider.c:269 #: ../src/gam-slider.c:271 msgid "Rec." msgstr "錄音" gnome-alsamixer-0.9.7~cvs.20060916/po/ca.po0000644000175000017500000001000610304152032016051 0ustar adnadn# Traducció al català de gnome-alsamixer per Softcatalà # Copyright (C) 2004, 2005 The Free Software Foundation # This file is distributed under the same license as the # gnome-alsamixer package. # Xavier Conde Rueda , 2004. # Josep Puigdemont i Casamajó , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-27 22:53+0200\n" "PO-Revision-Date: 2005-08-27 22:58+0200\n" "Last-Translator: Josep Puigdemont i Casamajó \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Fitxer" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Edita" #: ../src/gam-app.c:94 msgid "_Help" msgstr "A_juda" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "_Surt" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Surt del programa" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Propietats de la targeta de so" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Configura la targeta de so actual" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Preferè_ncies del programa" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Configura l'aplicació" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Quant a" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Quant a aquesta aplicació" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Hi han contribuït:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Un mesclador d'ALSA per al GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Mesclador ALSA de GNOME" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Aplicació principal" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Id. de la targeta" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "Id. de la targeta ALSA (usualment 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Aplicació" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplicació pare" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Noms de les targetes de so i visibilitat" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Estil de la barra lliscant" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Barra lli_scant simple amb moviment" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Barra lliscant _doble amb blocatge" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Estil de commutació de la barra lliscant" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Botó" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Casella de verificació" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Preferències del programa" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mesclador" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Noms els elements de la targeta de so i visibilitat" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Propietats de la targeta de so" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Bloca" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Element del mesclador ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Silencia" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Grava" gnome-alsamixer-0.9.7~cvs.20060916/po/az.po0000644000175000017500000000767310263503542016132 0ustar adnadn# 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: alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2003-10-26 18:28+0200\n" "Last-Translator: Mətin Əmirov \n" "Language-Team: Azerbaijani \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Mikser Xassələri" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Proqram Qurğuları" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Yan Proqram" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Yan Proqram" #: src/gam-app.c:429 msgid "Contributors:" msgstr "İnkişafçılar:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "GNOME üçün ALSA mikser" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mikseri" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Yan Proqram" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "Kart ID-si" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA Kart ID-si (əsasən 'default')" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Proqram" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Yan Proqram" #: src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Qulpu olan tək slayder" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Qıfılı olan ikili slayder" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Düymə" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_İşarələmə Qutusu" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Proqram Qurğuları" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Mıkser" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "" "Mikser Elementlərinin Adları və Görünüşləri" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Mikser Xassələri" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Qıfılla" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA mikser elementi" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Səssiz" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Qeyd." #~ msgid "© 2001-2003 PAW Digital Dynamics" #~ msgstr "© 2001-2003 PAW Digital Dynamics" #~ msgid "Mixer Names and Visiblility" #~ msgstr "Mkser Adları və Görünüşləri" #~ msgid "Slider Style" #~ msgstr "Slayder Tərzi" #~ msgid "Slider Toggle Style" #~ msgstr "Slayder Keçiş Tərzi" gnome-alsamixer-0.9.7~cvs.20060916/po/de.po0000644000175000017500000000701210263503542016073 0ustar adnadn# German gnome-alsamixer translation # Copyright (C) 2002 Free Software Foundation, Inc. # Christian Neumair , 2003. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer 0.9.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2003-11-23 20:20+0100\n" "Last-Translator: Christian Neumair \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Mischpulteigenschaften" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Anwendungseinstellungen" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Elternanwendung" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Elternanwendung" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Mitwirkende:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Ein ALSA-Mischpult für GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA-Mischpult" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Elternanwendung" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "Kartenkennung" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA-Kartenkennung (normalerweise »default«)" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Anw." #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Elternanwendung" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Mischpultnamen und -sichtbarkeit" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Reglerstil" # CHECK - pan #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Einfacher Regler" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Doppelregler mit Sperrfunktion" # CHECK #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Regler-Einstellungsstil" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Knopf" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Ankreuzfeld" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Anwendungseinstellungen" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Mischpult" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Mischpult-Elementnamen und -Sichtbarkeit" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Mischpulteigenschaften" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Sperren" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA-Mischpultelement" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Stumm" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Aufn." gnome-alsamixer-0.9.7~cvs.20060916/po/cs.po0000644000175000017500000000772010265424410016114 0ustar adnadn# Czech translation of gnome-alsamixer # Copyright (C) 2003, 2004, 2005 gnome-alsamixer'S COPYRIGHT HOLDER # Copyright (C) 2004, 2005 Miloslav Trmac # This file is distributed under the same license as the gnome-alsamixer package. # Miloslav Trmac , 2003 - 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamizer VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-13 19:39+0000\n" "PO-Revision-Date: 2005-07-14 00:42+0200\n" "Last-Translator: Miloslav Trmac \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Soubor" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Upravit" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Nápověda" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "U_končit" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Ukončit program" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "_Vlastnosti zvukové karty" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Nastavit aktuální zvukovou kartu" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "_Nastavení programu" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Nastavit aplikaci" #: ../src/gam-app.c:98 msgid "_About" msgstr "O _aplikaci" #: ../src/gam-app.c:98 msgid "About this application" msgstr "O této aplikaci" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Přispěvatelé:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Mixér pro ALSA pro GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME Mixér pro ALSA" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Hlavní aplikace" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID karty" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA ID karty (obvykle 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Apl" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Rodičovská aplikace" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Názvy a viditelnost zvukových karet" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Styl táhel" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Jedno táhlo s posunutím" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dvojité táhlo s uzamčením" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Styl přepínání táhel" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Tlačítko" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "Za_škrtávací pole" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Nastavení programu" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixér" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Názvy a viditelnost elementů zvukových karet" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Vlastnosti zvukové karty" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Zamknout" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Element mixéru ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Ztlumit" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Zázn." gnome-alsamixer-0.9.7~cvs.20060916/po/el.po0000644000175000017500000001016310277602603016107 0ustar adnadn# translation of el.po to Greek # This file is distributed under the same license as the PACKAGE package. # Copyright (C) 2005 THE PACKAGE'S COPYRIGHT HOLDER. # Kostas Papadimas , 2003. # msgid "" msgstr "" "Project-Id-Version: el\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-14 11:53+0300\n" "PO-Revision-Date: 2005-08-14 11:52+0300\n" "Last-Translator: Kostas Papadimas \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "Α_ρχείο" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Επεξεργασία" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Βοήθεια" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "Έ_ξοδος" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "'Εξοδος από το πρόγραμμα" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Ι_διότητες κάρτας ήχου " #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Ρύθμιση της τρέχουσας κάρτας ήχου" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Προτι_μήσεις εφαρμογής" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Ρύθμιση της εφαρμογής" #: ../src/gam-app.c:98 msgid "_About" msgstr "Π_ερί" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Περί αυτής της εφαρμογής" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Συντελεστές:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Ένας μείκτης ALSA για το GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Μείκτης ALSA του GNOME " #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Κύρια εφαρμογή" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID κάρτας" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID κάρτας ALSA (συνήθως 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Εφαρμ" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Μητρική εφαρμογή" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Ονόματα κάρτας ήχου και ορατότητα" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Στυλ Slider " #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Single slider with pan" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dual slider with lock" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Slider Toggle Style" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "Κου_μπί" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Checkbox" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Προτιμήσεις εφαρμογής" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Μείκτης" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Ονόματα στοιχείου κάρτας ήχου και ορατότητα" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Ιδιότητες κάρτας ήχου" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Κλείδωμα" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Στοιχείο" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Στοιχείο μείκτη ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Σίγαση" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Εγγραφή" gnome-alsamixer-0.9.7~cvs.20060916/po/dz.po0000644000175000017500000001231710416671166016134 0ustar adnadn# Dzongkha translation of gnome-alsamixer # Copyright @ 2006 Free Software Foundation, Inc. # Kinley Tshering # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-04-05 11:07+0200\n" "PO-Revision-Date: 2006-04-11 10:53-0500\n" "Last-Translator: Kinley Tshering \n" "Language-Team: Dzongkha \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2;plural=(n!=1);\n" "X-Poedit-Language: Dzongkha\n" "X-Poedit-Country: Bhutan\n" "X-Poedit-SourceCharset: utf-8\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "ཡིག་སྣོད།(_F)" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "ཞུན་དག(_E)" #: ../src/gam-app.c:94 msgid "_Help" msgstr "གྲོགས་རམ།(_H)" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "ཕྱིར་ཐོན།(_E)" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "ལས་རིམ་ཕྱིར་ཐོན་འབད།" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "སྒྲ་བྱང་ རྒྱུ་དངོས།(_P)" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "ད་ལྟོའི་སྒྲ་བྱང་འདི་རིམ་སྒྲིག་འབད།" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "ལས་རིམ་དགའ་གདམ།(_P)" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "གློག་རིམ་ རིམ་སྒྲིག་འབད།" #: ../src/gam-app.c:98 msgid "_About" msgstr "བསྐོར་ལས།(_A)" #: ../src/gam-app.c:98 msgid "About this application" msgstr "འ་ནི་གློག་རིམ་གྱི་བསྐོར་ལས།" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "ཕན་འདེབས་པ་ཚུ།" #: ../src/gam-app.c:438 #: ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ཇི་ནོམ་གྱི་དོན་ལུ་ ཨེ་ཨེལ་ཨེས་ཨེ་ སྦྱོར་འཕྲུལ།" #: ../src/gam-app.c:440 #: ../src/gam-app.c:446 #: ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "ཇི་ནོམ་ ཨེ་ཨེལ་ཨེས་ཨེ་ སྦྱོར་འཕྲུལ།" #: ../src/gam-mixer.c:159 #: ../src/gam-mixer.c:160 #: ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 #: ../src/gam-toggle.c:127 #: ../src/gam-toggle.c:128 msgid "Main Application" msgstr "གློག་རིམ་གཙོ་བོ།" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ཤོག་བྱང་ ཨའི་ཌི།" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ཨེ་ཨེལ་ཨེས་ཨེ་ ཤོག་བྱང་ (སྤྱིར་བཏང་ སྔོན་སྒྲིག)" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "ཨེཔ།" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "རྩ་ལག་ གློག་རིམ།" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "སྒྲ་བྱང་མིང་ཚུ་དང་མཐོང་གསལ།" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "བཤུད་བྱེད་བཟོ་རྣམ།" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "བཤུད་རྐྱང་པ་བཅས པཱེན།(_S)" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "བཤུད་བྱེད་ཟུང་ལྡན་བཅས་ ལྡེག་མིག་མ།(_D)" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "བཤུད་བྱེད་ སོར་སྟོན་ བཟོ་རྣམ།" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "ཨེབ་རྟ།(_B)" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "དཔྱད་སྒྲོམ།(_C)" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "ལས་རིམ་དགའ་གདམ།" #: ../src/gam-props-dlg.c:112 #: ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 #: ../src/gam-slider.c:150 #: ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "སྦྱོར་འཕྲུལ།" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "སྒྲ་བྱང་ཆ་ཤས་མིང་དང་མཐོང་གསལ།" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "སྒྲ་བྱང་རྒྱུ་དངོས།" #: ../src/gam-slider-dual.c:207 #: ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "ལྡེག་མིག་མ།" #: ../src/gam-slider.c:142 #: ../src/gam-toggle.c:113 msgid "Element" msgstr "ཆ་ཤས།" #: ../src/gam-slider.c:143 #: ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ཨེ་ཨེལ་ཨེས་ཨེ་ སྦྱོར་འཕྲུལ་རྒྱ྄་རྫས།" #: ../src/gam-slider.c:251 #: ../src/gam-slider.c:253 msgid "Mute" msgstr "སྐད་མེད།" #: ../src/gam-slider.c:269 #: ../src/gam-slider.c:271 msgid "Rec." msgstr "སྒྲ་བཟུང།" gnome-alsamixer-0.9.7~cvs.20060916/po/es.po0000644000175000017500000001003310462242276016114 0ustar adnadn# translation of es.po to Spanish # SPANISH L10N FOR GNOME ALSA MIXER. # Copyright (C) 2003 # This file is distributed under the same license as the GNOME ALSA MIXER package. # # Antonio Ognio , 2003. # Francisco Javier F. Serrador , 2005, 2006. msgid "" msgstr "" "Project-Id-Version: es\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-03-04 21:18+0100\n" "PO-Revision-Date: 2006-07-28 00:55+0200\n" "Last-Translator: Francisco Javier F. Serrador \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Archivo" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Editar" #: ../src/gam-app.c:94 msgid "_Help" msgstr "Ay_uda" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "_Salir" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Sale del programa" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "_Propiedades de la tarjeta de sonido" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Configurar la tarjeta de sonido actual" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "_Preferencias del programa" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Configurar la aplicación" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Acerca de" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Acerca de esta aplicación" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Contribuyentes:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Un mezclador ALSA para Gnome" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Mezclador ALSA de Gnome" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Aplicación principal" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID de la tarjeta" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID ALSA de la tarjeta (usualmente «predeterminado»)" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Apl" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplicación madre" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Nombres tarjetas de sonido y visibilidad" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Estilo del deslizador" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Deslizador _sencillo con *pan*" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Deslizador _dual con seguro" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Cambiar estilo del deslizador" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Botón" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Casilla" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Preferencias del programa" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mezclador" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Nombres de elementos y visibilidad de la tarjeta de sonido" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Propiedades de la tarjeta de sonido" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Bloquear" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Elemento" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Elemento del mezclador ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Silenciar" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Grab." gnome-alsamixer-0.9.7~cvs.20060916/po/fi.po0000644000175000017500000000745210300151043016074 0ustar adnadn# Finnish messages for gnome-alsamixer # Copyright (C) 2005 Ilkka Tuohela. # This file is distributed under the same license as the gnome-alsamixer package. # Ilkka Tuohela # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-15 20:21+0300\n" "PO-Revision-Date: 2005-08-15 20:21+0300\n" "Last-Translator: Ilkka Tuohela \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Tiedosto" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Muokkaa" #: ../src/gam-app.c:94 msgid "_Help" msgstr "O_hje" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "_Lopeta" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Sulje sovellus" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Äänikortin _ominaisuudet" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Valitun äänikortin asetukset" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Sovelluksen _asetukset" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Säädä sovelluksen asetuksia" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Tietoja" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Tietoja sovelluksesta" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Avustajat:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ALSA-mikseri Gnomelle" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Gnomen ALSA-mikseri" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Pääsovellus" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Kortin tunnniste" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSAn korttitunniste (yleensä 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Sovellus" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Äitisovellus" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Äänikorttien nimet ja näkyvyys" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Säätimien tyyli" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Yksi säädin kanavatasapainolla" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Kaksi säädintä lukituksella" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Vaihtele säätimien tyyliä" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Painike" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Valinta" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Sovelluksen asetukset" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mikseri" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Äänikortin kanavien nimet ja näkyvyys" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Äänikortin ominaisuudet" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Lukitse" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Kanava" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA-mikserin kanava" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Vaimenna" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Äänitä" gnome-alsamixer-0.9.7~cvs.20060916/po/eu.po0000644000175000017500000001011310310331242016075 0ustar adnadn# translation of gnome-alsamixer.HEAD.po to basque # translation of gnome-alsamixer.HEAD.po to # Basque translation of gnome-alsamixer. # Copyright (C) 2003 THE gnome-alsamixer'S COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-alsamixer package. # Mikel Olasagasti , 2003, 2004. # Iñaki Larrañaga Murgoitio , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-09 17:58+0200\n" "PO-Revision-Date: 2005-09-09 17:58+0200\n" "Last-Translator: Iñaki Larrañaga Murgoitio \n" "Language-Team: basque \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.2\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Fitxategia" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Editatu" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Laguntza" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "I_rten" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Irten programatik" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Soinu-txartelaren _propietateak" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Konfiguratu uneko soinu-txartela" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Programaren _hobespenak" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Konfiguratu aplikazio" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Honi buruz" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Aplikazio honi buruz" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Laguntzaileak:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ALSA nahastaile bat GNOMErako" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA nahastilea" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Aplikazio nagusia" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Txartelaren IDa" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA txartelaren IDa (normalean 'lehenetsia')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Aplikazioa" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplikazio gurasoa" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Soinu-txartelen izenak eta ikusgaitasuna" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Graduatzaile estiloa" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Graduatzaile panoramiko bakarra" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "G_raduatzaile bikoitza blokeoarekin" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Txandakatu graduatzaile estiloa" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Botoia" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Kontrol-laukia" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Programaren hobespenak" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Nahastailea" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Soinu-txartelaren elementuen izenak eta ikusgaitasuna" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Soinu-txartelaren propietateak" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Blokeatu" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Elementua" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA nahastailu elementua" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Mututu" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Grab." gnome-alsamixer-0.9.7~cvs.20060916/po/fr.po0000644000175000017500000000773310460525600016122 0ustar adnadn# French translation of gnome-alsamixer. # Copyright (C) 2003-2006 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-alsa-mixer package. # # Stephane Tranchemer , 2003. # Emmanuel Andry , 2006. # Jonathan Ernst , 2006. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer 0.9.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-07-23 00:47+0200\n" "PO-Revision-Date: 2006-07-23 00:35+0200\n" "Last-Translator: Emmanuel Andry \n" "Language-Team: GNOME French Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Fichier" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "É_dition" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Aide" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "_Quitter" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Quitte le programme" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "_Propriétés de la carte son" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Configurer la carte son courante" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Préférences du programme" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Configurer l'application" #: ../src/gam-app.c:98 msgid "_About" msgstr "À _propos" #: ../src/gam-app.c:98 msgid "About this application" msgstr "À propos de cette application" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Contributeurs :" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Mixeur ALSA pour GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Mixeur ALSA GNOME" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Application principale" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Identifiant carte" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "Identifiant Carte (habituellement « default »)" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Application" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Application parente" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Nom et visibilité des cartes son" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Style du curseur" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Curseur _simple avec balance" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Curseur _double avec verrouillage" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Basculer le style du curseur" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Bouton" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Case à cocher" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Préférences du programme" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixeur" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Nom et visibilité des élément de la carte son" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Propriétés de la carte son" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Verrouiller" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Élément" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Élément mixeur ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Sourdine" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Enreg." gnome-alsamixer-0.9.7~cvs.20060916/po/gl.po0000644000175000017500000000775210344615737016132 0ustar adnadn# translation of gl.po to Galego # translation of gnome-alsamixer.HEAD.po to Galician # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Ignacio Casal Quinteiro , 2004. # Ignacio Casal Quinteiro , 2005. # msgid "" msgstr "" "Project-Id-Version: gl\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-12-04 17:36+0100\n" "PO-Revision-Date: 2005-12-04 17:39+0100\n" "Last-Translator: Ignacio Casal Quinteiro \n" "Language-Team: Galego\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.2\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Ficheiro" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Editar" #: ../src/gam-app.c:94 msgid "_Help" msgstr "A_xuda" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "Saí_r" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Saír do programa" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "_Propiedades da tarxeta de son" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Configurar a tarxeta de son actual" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Prefere_ncias do programa" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Configurar a aplicación" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Acerca de" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Acerca desta aplicación" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Contribuíntes:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Un mesturador de ALSA para GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Mesturador ALSA de GNOME" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Aplicación pai" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID de tarxeta" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID de tarxeta ALSA (usualmente 'predeterminado')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Aplicación" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplicación pai" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Nomes e visibilidade da tarxeta de son" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Estilo do deslizador" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Deslizador _sinxelo con protección" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Deslizador _dobre con seguro" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Conmutar o estilo do deslizador" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Botón" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Casilla de verificación" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Preferencias do programa" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mesturador" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Nomes de elementos e visibilidade da tarxeta de son" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Propiedades da tarxeta de son" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Seguro" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Elemento" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Elemento do mesturador ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Silencio" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Rec." gnome-alsamixer-0.9.7~cvs.20060916/po/hr.po0000644000175000017500000000703610263503542016122 0ustar adnadn# Translation of gnome-alsamixer to Croatiann # Copyright (C) Croatiann team # Translators: Automatski Prijevod <>,Denis Lackovic , msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer 0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2004-03-20 14:50+CET\n" "Last-Translator: auto\n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: TransDict server\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Postavke miksera" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Postavke aplikacije" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Aplikacija roditelj" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Aplikacija roditelj" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Mehanizam za preinaku sadržaja" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ALSA mikser za GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mikser" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Aplikacija roditelj" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "ID kartice" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID ALSA kartice (obično 'default')" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Primijeni" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplikacija roditelj" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Imena elemenata miksera i vidljivost" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Stil klizača" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Jednostruki klizač s pločom" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dvostruki klizač sa zaključavanjem" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Stil preklapanja klizača" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Gumb" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Kvadratić" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Postavke aplikacije" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Mikser" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Imena elemenata miksera i vidljivost" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Postavke miksera" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Zaključano" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Element ALSA miksera" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "UtiĹĄan zvuk" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Snim." gnome-alsamixer-0.9.7~cvs.20060916/po/hu.po0000644000175000017500000000771610470475122016134 0ustar adnadn# This file is distributed under the same license as the Gnome-alsamixer package. # Copyright (C) 2004 Free Software Foundation, Inc. # Pozsár Balázs , 2004. # Gabor Kelemen , 2004. # Gabor Kelemen , 2005. # msgid "" msgstr "" "Project-Id-Version: Gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-15 03:46+0200\n" "PO-Revision-Date: 2005-07-12 16:02+0200\n" "Last-Translator: Gabor Kelemen \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Fájl" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "S_zerkesztés" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Súgó" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "_Kilépés" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Kilépés a programból" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "_Hangkártya tulajdonságai" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "A jelenlegi hangkártya beállítása" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "_Program beállításai" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Az alkalmazás beállítása" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Névjegy" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Az alkalmazás névjegye" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Segítők:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ALSA keverő a GNOME felülethez" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixer" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Főalkalmazás" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Kártya azonosító" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA kártya azonosító (általában 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Alkalmazás" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Szülőprogram" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Hangkártyanevek és láthatóságok" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Potméter stílusa" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Egy_szerű csúszka balansz állítóval" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Kettős csúszka zárral" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Potméter állításának stílusa" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Gomb" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Jelölőnégyzet" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Program beállításai" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Keverő" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Hangkártyaelem-nevek és láthatóságok" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Hangkártya tulajdonságai" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Rögzít" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Elem" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Alsa keverőelem" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Némít" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Felvétel" gnome-alsamixer-0.9.7~cvs.20060916/po/ja.po0000644000175000017500000000753210263503542016104 0ustar adnadn# gnome-alsamixer ja.po. # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-alsamixer package. # Takeshi AIHANA , 2003. # # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2004-03-28 12:19+0900\n" "Last-Translator: Takeshi AIHANA \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "ミキサーのプロパティ" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "アプリケーションの設定" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "現在のアプリケーション" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "現在のアプリケーション" #: src/gam-app.c:429 msgid "Contributors:" msgstr "その他の貢献者:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "GNOME 向けの ALSA ミキサーです。" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA ミキサー" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "現在のアプリケーション" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "カード ID" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA カード ID (通常はデフォルト)" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "アプリ" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "現在のアプリケーション" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "ミキサーの名前とその表示可否" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "スライダのスタイル" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "パン付きのシングル・スライダ" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "ロック付きのデュアル・スライダ" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "スライダの切替えスタイル" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "ボタン(_B)" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "チェックボックス(_C)" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "アプリケーションの設定" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "ミキサー" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "ミキサーの要素名とその表示可否" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "ミキサーのプロパティ" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "ロック" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "エレメント" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA ミキサーのエレメント" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "ミュート" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "録音" gnome-alsamixer-0.9.7~cvs.20060916/po/mk.po0000644000175000017500000001054110465251557016125 0ustar adnadn# translation of mk.po to Macedonian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Arangel Angov , 2006. msgid "" msgstr "" "Project-Id-Version: mk\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-06 03:46+0200\n" "PO-Revision-Date: 2006-08-06 04:26+0200\n" "Last-Translator: Arangel Angov \n" "Language-Team: Macedonian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.2\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Датотека" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Уреди" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Помош" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "И_злез" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Излези од програмата" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Својства на звучната _картичка" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Конфигурирајте ја тековната звучка картичка" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Преференци на про_грамата" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Конфигурирајте ја апликацијата" #: ../src/gam-app.c:98 msgid "_About" msgstr "_За" #: ../src/gam-app.c:98 msgid "About this application" msgstr "За апликацијата" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Придонесувачи:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ALSA миксер за GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA миксер" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Главна апликација" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID на картичка" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID на ALSA картичка (обично е стандардно)" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Апл" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Родител апликација" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Имиња и видливост на звучните картички" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Стил на лизгач" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Еден лизгач со простор" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Двоен лизгач со заклучување" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Менување на стил на лизгач" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Копче" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Кутивче за штиклирање" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Преференци на програмата" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Миксер" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Елементи, имиња и видливост на звучните картички" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Својства на звучната картичка" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Заклучи" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Елемент" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Елемент од ALSA миксерот" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Исклучи" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Снимање" gnome-alsamixer-0.9.7~cvs.20060916/po/nb.po0000644000175000017500000000726510357733261016123 0ustar adnadn# Norwegian (bokmål dialect) translation of the gnome-media module. # Copyright (C) 1998-2004 Free Software Foundation, Inc. # Kjartan Maraas , 1998-2006. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-01-07 13:30+0100\n" "PO-Revision-Date: 2006-01-07 13:33+0100\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Fil" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "R_ediger" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Hjelp" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "A_vslutt" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Avslutt programmet" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "E_genskaper for lydkort" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Konfigurer aktivt lydkort" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "_Brukervalg for program" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Konfigurer programmet" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Om" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Om dette programmet" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Bidragsytere:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "En ALSA-mikser for GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA-mikser" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Hovedprogram" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Kort-ID" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "Alsa kort-ID (vanligvis «forvalgt»)" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Program" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Opphavsprogram" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Navn og synlighet for lydkort" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Type fader" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "E_nkel kontroll med panorering" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dobbel kontroll med lås" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Stil for aktivering av kontroll" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Knapp" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Avkryssingsboks" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Brukervalg for program" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mikser" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Navn og synlighet for lydkortelement" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Egenskaper for lydkort" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Lås" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA mikserelement" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Demp" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Opptak" gnome-alsamixer-0.9.7~cvs.20060916/po/mn.po0000644000175000017500000000704710263503542016125 0ustar adnadn# translation of gnome-alsamixer.HEAD.po to Mongolian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) 2003. # Dulmandakh Sukhbaatar , 2003. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2003-12-05 00:19+0800\n" "Last-Translator: Dulmandakh Sukhbaatar \n" "Language-Team: Mongolian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.2\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Холигчийн шинжүүд" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Програмын тохиргоо" #: src/gam-app.c:97 msgid "Configure the application" msgstr "" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 msgid "About this application" msgstr "" #: src/gam-app.c:429 msgid "Contributors:" msgstr "" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 msgid "Main Application" msgstr "" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Холигчийн элементийн нэрс ба харагдац" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Түгжээтэй dual slider" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Slider Toggle загвар" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Товч" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Сонгох хайрцаг" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Програмын тохиргоо" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Холигч" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Холигчийн элементийн нэрс ба харагдац" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Холигчийн шинжүүд" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Түгж" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Элемент" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA холигчийн элемент" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Дууг хаа" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Бич." gnome-alsamixer-0.9.7~cvs.20060916/po/ne.po0000644000175000017500000001144610303100107016074 0ustar adnadn# translation of gnome-alsamixer.HEAD.po to Nepali # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Pawan Chitrakar , 2005. # Jyotshna Shrestha , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-24 19:56+0545\n" "PO-Revision-Date: 2005-06-07 11:46+0545\n" "Last-Translator: Jyotshna Shrestha \n" "Language-Team: Nepali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" "Plural-Forms: nplurals=2;plural=(n!=0)\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "" #: ../src/gam-app.c:94 msgid "_Help" msgstr "" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "" #: ../src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "मिश्रण यन्त्र गुणहरू" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: ../src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "अनुरोधपत्र प्राथमिकताहरु" #: ../src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "प्यारेन्ट अनुरोधपत्र" #: ../src/gam-app.c:98 msgid "_About" msgstr "" #: ../src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "प्यारेन्ट अनुरोधपत्र" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "दाताहरू:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "जीनोमको लागि अल्सा मिश्रण यन्त्र" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "जी नोम अल्सा मिश्रण यन्त्र" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "प्यारेन्ट अनुरोधपत्र" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "कार्ड आइडि" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "अल्सा कार्ड आइडि (सामान्यतया 'पूर्वनिर्धारित')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "अनुरोधपत्र" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "प्यारेन्ट अनुरोधपत्र" #: ../src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "मिश्रण यन्त्रको नामहरू र दृष्य" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "स्लाइडर शैलि" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "एक्लो स्लाईडर सँग प्यान" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "लक्कसंगै दुई स्लाईडर" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "स्लाइडर पाटो शैलि" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "वटन" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "जाँच बाकस" #: ../src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "अनुरोधपत्र प्राथमिकताहरु" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "मिश्रण यन्त्र" #: ../src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "मिश्रण यन्त्र तत्त्वको नामहरु र दृष्य" #: ../src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "मिश्रण यन्त्र गुणहरू" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "बन्द गर्नुहोस्" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "तत्त्व" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "अल्सा मिश्रण यन्त्र तत्त्व" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "मौन" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "आयात" gnome-alsamixer-0.9.7~cvs.20060916/po/nl.po0000644000175000017500000001007710301263236016115 0ustar adnadn# Dutch translation of GNOME ALSA Mixer # Copyright (C) 2003 The Free Software Foundation, Inc. # Reinout van Schouwen , 2003, 2005 # msgid "" msgstr "" "Project-Id-Version: GNOME ALSA Mixer 0.9.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-16 11:35+0000\n" "PO-Revision-Date: 2005-06-16 12:32+0100\n" "Last-Translator: Reinout van Schouwen \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Bestand" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "Be_werken" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Hulp" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "Afsl_uiten" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Programma beëindigen" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Eigenschappen geluidskaart" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Huidige geluidskaart configureren" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Programma_voorkeuren" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Toepassing configureren" #: ../src/gam-app.c:98 msgid "_About" msgstr "In_fo" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Info over deze toepassing" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Bijdragen van:" # hier ook mengpaneel? #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Een ALSA-mixer voor GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixer" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Hoofdtoepassing" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Kaart-ID" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA kaart-ID (meestal 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Tps" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Ouder-toepassing" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Geluidskaartnamen en -zichtbaarheid" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Schuifbalkstijl" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Enkele schuifbalk met balans" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dubbele schuifbalk met koppelmogelijkheid" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Schuifbalkschakelaarstijl" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Knop" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Aankruisvakje" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Programmavoorkeuren" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mengpaneel" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Namen en zichtbaarheid geluidskaartelementen" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Geluidskaart-eigenschappen" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Koppelen" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA mengpaneel-element" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Dempen" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Rec." #~ msgid " 2001-2003 PAW Digital Dynamics" #~ msgstr " 2001-2003 PAW Digital Dynamics" #~ msgid "Slider Style" #~ msgstr "Schuifbalkstijl" #~ msgid "Slider Toggle Style" #~ msgstr "Schuifbalkschakelaar-stijl" gnome-alsamixer-0.9.7~cvs.20060916/po/pa.po0000644000175000017500000000771510263503542016115 0ustar adnadn# 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: punlinux\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2004-01-31 08:32+0530\n" "Last-Translator: Amanpreet Singh Alam \n" "Language-Team: KBST Punjab \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "ਮਿਕਸਰ ਗੁਣ" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "ਕਾਰਜ ਪਸੰਦ" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "ਮੁਢਲਾ ਕਾਰਜ" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "ਮੁਢਲਾ ਕਾਰਜ" #: src/gam-app.c:429 msgid "Contributors:" msgstr "ਯੋਗਦਾਨ:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ਗਨੋਮ ਲਈ ਅਲੀਸਾ ਮਿਕਸਰ" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "ਗਨੋਮ ਅਲੀਸਾ ਮਿਕਸਰ" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "ਮੁਢਲਾ ਕਾਰਜ" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "ਕਾਰਡ ਸਨਾਖਤੀ ਨੰ" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ਅਲੀਸਾ ਕਾਰਡ ਸਨਾਖਤੀ ਨੰ ( ਆਮਤੌਰ ਤੇ ਮੂਲ)" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "ਕਾਰਜ" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "ਮੁਢਲਾ ਕਾਰਜ" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "ਮਿਕਸਰ ਨਾਉ ਅਤੇ ਸ਼ਪਸਟਤਾ" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "ਸਲਾਈਡਰ ਸ਼ੈਲੀ" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "ਇਕ ਸਲਾਈਡ ਪੈਨ ਨਾਲ" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "ਦੂਹਰੀ ਸਲਾਈਡਰ ਲਾਕ ਨਾਲ" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "ਸਲਾਈਡਰ ਟਾਗਲ ਸ਼ੈਲੀ" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "ਬਟਨ" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "ਚੈਕ ਬਾਕਸ" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "ਕਾਰਜ ਪਸੰਦ" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "ਮਿਕਸਰ" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "ਮਿਕਸਰ ਹਿਸਿਆਂ ਦੇ ਨਾਉ ਅਤੇ ਸ਼ਪਸਟਤਾ" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "ਮਿਕਸਰ ਗੁਣ" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "ਲਾਕ" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "ਹਿਸਾ" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ਅਲੀਸਾ ਮਿਕਸਰ ਹਿਸਾ" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "ਚੁਪ" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "ਰਿਕਾਰਡ" gnome-alsamixer-0.9.7~cvs.20060916/po/pt.po0000644000175000017500000000717210263503542016135 0ustar adnadn# gnome-alsamixer Portuguese translation. # Copyright (C) 2003 gnome-alsamixer # This file is distributed under the same license as the gnome-alsamixer package. # Duarte Loreto , 2003. # msgid "" msgstr "" "Project-Id-Version: 2.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2003-11-12 00:50+0000\n" "Last-Translator: Duarte Loreto \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Propriedades Misturador" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Preferêncas da Aplicação" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Aplicação Pai" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Aplicação Pai" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Contribuições:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Um misturador ALSA para o GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Misturador ALSA GNOME" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Aplicação Pai" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "ID Placa" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID Placa ALSA (normalmente 'omissão')" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Apl" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplicação Pai" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Nomes de Misturadores e Visibilidade" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Estilo Barra Deslizante" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Barra deslizante única com painel" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Barra deslizante _dupla com tranca" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Estilo Alternar Barra Deslizante" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Botão" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Caixa Selecção" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Preferêncas da Aplicação" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Misturador" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Nomes Elementos Misturadores e Visibilidade" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Propriedades Misturador" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Tranca" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Elemento" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Elemento misturador ALSA" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Silenciar" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Gravar" gnome-alsamixer-0.9.7~cvs.20060916/po/sk.po0000644000175000017500000000751310264317337016134 0ustar adnadn# Slovak translation of gnome-alsamixer.HEAD.pot # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # Zdenko Podobný , 2003. # Marcel Telka , 2005. # # $Id: sk.po,v 1.4 2005/07/10 22:19:11 marcel Exp $ # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-11 00:17+0200\n" "PO-Revision-Date: 2005-07-11 00:18+0200\n" "Last-Translator: Marcel Telka \n" "Language-Team: Slovak \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Súbor" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Upraviť" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Pomocník" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "_Koniec" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Ukončiť program" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "_Vlastnosti zvukovej karty" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Konfigurovať aktuálnu zvukovú kartu" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Pre_dvoľby programu" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Konfigurovať aplikáciu" #: ../src/gam-app.c:98 msgid "_About" msgstr "_O programe" #: ../src/gam-app.c:98 msgid "About this application" msgstr "O tejto aplikácii" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Prispeli:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "ALSA mixér pre GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixér" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Hlavná aplikácia" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID karty" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA ID karty (zvyčajne 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Apl" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Rodičovská aplikácia" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Názvy a viditeľnosť zvukovaj karty" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Štýl posuvníkov" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Jeden posuvník s polohovacím posuvníkom" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dvojitý posuvník s uzamknutím" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Štýl prepínania posuvníkov" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Tlačítko" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "Zaškr_távacie políčko" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Predvoľby programu" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixér" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Názvy a viditeľnosť prvkov zvukovej karty" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Vlastnosti zvukovaj karty" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Zamknúť" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Prvok" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Element mixéra ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Potichu" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Nahr." gnome-alsamixer-0.9.7~cvs.20060916/po/sq.po0000644000175000017500000000735710263503542016142 0ustar adnadn# Përkthimi i mesazheve të gnome-alsamixer në shqip # This file is distributed under the same license as the gnome-alsamixer package. # Copyright (C) 2004 Free Software Foundation, Inc. # Laurent Dhima , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2004-08-20 20:30+0200\n" "Last-Translator: Laurent Dhima \n" "Language-Team: Albanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Pronësitë e kontrolluesit të volumit" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Preferimet e programit" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Programi prind" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Programi prind" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Ndihmuan:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Një kontrollues volumi ALSA për GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Kontrolluesi i volumit ALSA për GNOME" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Programi prind" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "ID e skedës" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA Card ID (zakonisht 'default')" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "App" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Programi prind" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Emrat dhe dukshmëria e kontrolluesit të volumit" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Stili i kursorit" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Kursor i _vetëm me panel" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Kursor _dysh me dry" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Stili i levës së kursorit" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Buton" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Kuti zgjedhëse" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Preferimet e programit" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Kontrolli i volumit" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Emrat dhe dukshmëria e elementëve të kontrolluesit të volumit" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Pronësitë e kontrolluesit të volumit" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Blloko" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Elementi" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Elementi i kontrolluesit të volumit ALSA" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Pa zë" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Regj." gnome-alsamixer-0.9.7~cvs.20060916/po/sr.po0000644000175000017500000001053210263503542016130 0ustar adnadn# Serbian translation of gnome-alsamixer # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # # This file is distributed under the same license as the gnome-alsamixer package. # # Maintainer: Данило Шеган # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2003-10-28 04:59+0100\n" "Last-Translator: Данило Шеган \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Особине миксера" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Поставке програма" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Надпрограм" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Надпрограм" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Допринели:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Алса миксер за Гнома" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Гномов Алса миксер" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Надпрограм" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "Картица" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "Идентификација Алса картице (обично „подразумевано“)" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Програм" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Надпрограм" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Имена и видљивост миксера" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Стил клизача" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Једноструки клизач са прескоцима" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Двоструки клизач са катанцем" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Стил прекидача клизача" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Дугме" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Кућица за избор" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Поставке програма" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Миксер" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Имена и видљивост елемената миксера" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Особине миксера" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Закључај" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Елемент" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Елемент Алсиног миксера" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Утишај" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Сним." #~ msgid "© 2001-2003 PAW Digital Dynamics" #~ msgstr "© 2001–2003 PAW дигитална динамика" #~ msgid "Slider Style" #~ msgstr "Врста клизача" #~ msgid "Slider Toggle Style" #~ msgstr "Врста прекидача клизача" gnome-alsamixer-0.9.7~cvs.20060916/po/th.po0000644000175000017500000001153310263503542016121 0ustar adnadn# Thai translation of gnome-alsamixer. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # This file is distributed under the same license as the gnome-alsamixer package. # # Sapa , 2003. # Chanchai Junlouchai , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2004-02-21 17:24-0600\n" "Last-Translator: Chanchai Junlouchai \n" "Language-Team: Thai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.2\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "คุณสมบัติของมิกเซอร์" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "การตั้งค่าของแอพพลิเคชัน" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "โปรแกรมตัวแม่" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "โปรแกรมตัวแม่" #: src/gam-app.c:429 msgid "Contributors:" msgstr "ผู้มีส่วนร่วมสนับสนุน:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "โปรแกรม ALSA มิกเซอร์สำหรับ GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "โปรแกรมตัวแม่" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "หมายเลขของการ์ด" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "หมายเลขของการ์ด ALSA (ปกติจะใช้ค่าอัตโนมัติ)" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "แอพพลิเคชัน" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "โปรแกรมตัวแม่" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "ืชื่อของมิกเซอร์และสถานะการแสดง" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "แถบเลื่อนเดี่ยวพร้อมแถบควบคุมบาลานซ์ (_S)" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "แถบเลื่อนคู่แบบมีตัวล็อค (_D)" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "ปุ่ม (_B)" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "เช็กบ็อกซ์(_C)" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "การตั้งค่าของแอพพลิเคชัน" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "มิกเซอร์" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "ส่วนประกอบของมิกเซอร์และสถานะการแสดง" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "คุณสมบัติของมิกเซอร์" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "ล็อค" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "ส่วนประกอบ" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ส่วนประกอบของ ALSA มิกเซอร์" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "ปิดเสียง" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "บันทึก" #~ msgid " 2001-2003 PAW Digital Dynamics" #~ msgstr " 2001-2003 PAW Digital Dynamics" #~ msgid "Slider Style" #~ msgstr "แบบของแถบเลื่อน" #~ msgid "Slider Toggle Style" #~ msgstr "รูปแบบตัวสลับ" gnome-alsamixer-0.9.7~cvs.20060916/po/sv.po0000644000175000017500000001111310420521415016122 0ustar adnadn# Swedish messages for gnome-alsamixer. # Copyright (C) 2003-2006 Free Software Foundation, Inc. # Christian Rose , 2003. # Daniel Nylander , 2006. # # $Id: sv.po,v 1.5 2006/04/16 20:03:25 dnylande Exp $ # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-04-12 19:28+0200\n" "PO-Revision-Date: 2006-04-16 20:57+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Arkiv" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Redigera" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Hjälp" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "A_vsluta" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Avsluta programmet" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Egenska_per för ljudkort" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Konfigurera det aktuella ljudkortet" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Programi_nställningar" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Konfigurera programmet" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Om" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Om detta program" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Bidragsgivare:" #: ../src/gam-app.c:438 #: ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "En ALSA-mixer för GNOME" #: ../src/gam-app.c:440 #: ../src/gam-app.c:446 #: ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA-mixer" #: ../src/gam-mixer.c:159 #: ../src/gam-mixer.c:160 #: ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 #: ../src/gam-toggle.c:127 #: ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Huvudprogram" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Kort-id" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA-kort-id (vanligtvis \"default\")" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Program" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Förälderprogram" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Ljudkortets namn och synlighet" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Stil på skjutreglage" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Enkelt sljutreglage med panorering" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dubbelt sljutreglage med lås" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Stil på skjutreglageväxel" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Knapp" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Kryssruta" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Programinställningar" #: ../src/gam-props-dlg.c:112 #: ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 #: ../src/gam-slider.c:150 #: ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixer" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Ljudkortets elementnamn och synlighet" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Egenskaper för ljudkort" #: ../src/gam-slider-dual.c:207 #: ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Lås" #: ../src/gam-slider.c:142 #: ../src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: ../src/gam-slider.c:143 #: ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA-mixerelement" # jdahlin vill ha "tyst" istället för "tysta" #: ../src/gam-slider.c:251 #: ../src/gam-slider.c:253 msgid "Mute" msgstr "Tyst" #: ../src/gam-slider.c:269 #: ../src/gam-slider.c:271 msgid "Rec." msgstr "Insp." #~ msgid " 2001-2003 PAW Digital Dynamics" #~ msgstr " 2001-2003 PAW Digital Dynamics" #~ msgid "Mixer Names and Visiblility" #~ msgstr "Mixernamn och synlighet" #~ msgid "Slider Style" #~ msgstr "Stil på skjutreglage" #~ msgid "Slider Toggle Style" #~ msgstr "Stil på skjutreglageväxel" #~ msgid "Application Preferences" #~ msgstr "Programinställningar" #~ msgid "Mixer Element Names and Visiblility" #~ msgstr "Namn på mixerelement och synlighet" #~ msgid "Properties" #~ msgstr "Egenskaper" gnome-alsamixer-0.9.7~cvs.20060916/po/uk.po0000644000175000017500000001040210276746561016135 0ustar adnadn# Ukrainian translation of the gnome-alsamixer module. # Copyright (C) 1999 Free Software Foundation, Inc. # Yuri Syrota , 2004 # Maxim Dziumanenko , 2005 # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-12 01:08+0300\n" "PO-Revision-Date: 2005-08-12 11:21+0300\n" "Last-Translator: Maxim Dziumanenko \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Файл" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Правка" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Довідка" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "Ви_хід" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Вихід з програми" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "В_ластивості звукової карти" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Налаштувати поточну звукову карту" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "П_араметри програми" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Налаштовування програми" #: ../src/gam-app.c:98 msgid "_About" msgstr "_Про програму" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Про цю програму" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Учасники:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Мікшер до ALSA для GNOME" #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Мікшер до ALSA для GNOME" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Головна програма" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Ідентифікатор плати" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "Ідентифікатор плати ALSA (зазвичай \"default\")" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Програма" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Батьківська програма" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Назви і видимість звукових карт" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Тип повзунка" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Одинарний повзунок з прокручуванням" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Подвійний повзунок із блокуванням" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Стиль перемикача повзунка" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Кнопка" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Вимикач" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Параметри програми" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Мікшер" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Назви та видимість елементів звукової карти" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Властивості звукової карти" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Спільн." #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Елемент" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Елемент мікшера" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Вимкн." #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Запис" gnome-alsamixer-0.9.7~cvs.20060916/po/vi.po0000644000175000017500000001002210453226052016113 0ustar adnadn# Vietnamese translation for Gnome Alsa Mixer. # Copyright © 2005 Gnome i18n Project for Vietnamese. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer Gnome HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-14 11:35+0000\n" "PO-Revision-Date: 2005-08-27 16:34+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: LocFactoryEditor 1.2.2\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_Tập tin" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Hiệu chỉnh" #: ../src/gam-app.c:94 msgid "_Help" msgstr "Trợ _giúp" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "T_hoát" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Thoát khỏi chương trình" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Th_uộc tính Thẻ Âm thanh" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Cấu hình thẻ âm thanh hiện có." #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Tù_y thích Chương trình" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Cấu hình ứng dụng." #: ../src/gam-app.c:98 msgid "_About" msgstr "_Giới thiệu" #: ../src/gam-app.c:98 msgid "About this application" msgstr "Giới thiệu ứng dụng này." #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Người đóng góp:" #: ../src/gam-app.c:438 ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Một bộ hoà tiếng ALSA cho Gnome." #: ../src/gam-app.c:440 ../src/gam-app.c:446 ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixer" #: ../src/gam-mixer.c:159 ../src/gam-mixer.c:160 ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 ../src/gam-toggle.c:127 ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Ứng dụng chính" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "ID thẻ" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID thẻ ALSA (thường « default »)" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "Ứngd" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Ứng dụng mẹ" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Tên và khả năng hiển thị của các thẻ âm thanh." #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Kiểu dạng con trượt" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Con trượt _đơn có thể di chuyển quanh" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Con trượt _đôi có thể khóa" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Kiểu dạng bật/tắt con trượt" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Nút" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "Hộp _chọn" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Tùy thích chương trình" #: ../src/gam-props-dlg.c:112 ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 ../src/gam-slider.c:150 ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Bộ hoà tiếng" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Tên và khả năng hiển thị của phần tử thẻ âm thanh." #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Thuộc tính thẻ âm thanh" #: ../src/gam-slider-dual.c:207 ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Khóa" #: ../src/gam-slider.c:142 ../src/gam-toggle.c:113 msgid "Element" msgstr "Phần tử" #: ../src/gam-slider.c:143 ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Phần tử trình hoà tiếng ALSA" #: ../src/gam-slider.c:251 ../src/gam-slider.c:253 msgid "Mute" msgstr "Câm" #: ../src/gam-slider.c:269 ../src/gam-slider.c:271 msgid "Rec." msgstr "Thu" gnome-alsamixer-0.9.7~cvs.20060916/po/en_CA.po0000644000175000017500000000706510263665703016470 0ustar adnadn# English/Canada translation of gnome-alsamixer. # Copyright (C) 2004-2005 Adam Weinberger and the GNOME Foundation # This file is distributed under the same licence as the gnome-alsamixer package. # Adam Weinberger , 2004, 2005. # # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-09 02:16-0400\n" "PO-Revision-Date: 2005-07-09 12:57-0400\n" "Last-Translator: Adam Weinberger \n" "Language-Team: Canadian English \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "_File" #: src/gam-app.c:93 msgid "_Edit" msgstr "_Edit" #: src/gam-app.c:94 msgid "_Help" msgstr "_Help" #: src/gam-app.c:95 msgid "E_xit" msgstr "E_xit" #: src/gam-app.c:95 msgid "Exit the program" msgstr "Exit the program" #: src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Sound Card _Properties" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Configure the current sound card" #: src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Program Prefere_nces" #: src/gam-app.c:97 msgid "Configure the application" msgstr "Configure the application" #: src/gam-app.c:98 msgid "_About" msgstr "_About" #: src/gam-app.c:98 msgid "About this application" msgstr "About this application" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Contributors:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "An ALSA mixer for GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixer" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 msgid "Main Application" msgstr "Main Application" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "Card ID" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA Card ID (usually 'default')" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "App" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Parent Application" #: src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Sound Card Names and Visibility" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Slider Style" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Single slider with pan" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dual slider with lock" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Slider Toggle Style" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Button" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Checkbox" #: src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Program Preferences" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixer" #: src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Sound Card Element Names and Visibility" #: src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Sound Card Properties" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Lock" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA mixer element" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Mute" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Rec." gnome-alsamixer-0.9.7~cvs.20060916/po/en_GB.po0000644000175000017500000000730010501623267016457 0ustar adnadn# English (British) translation. # Copyright (C) 2004 THE gnome-alsamixer's COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-alsamixer package. # Gareth Owen , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-09-12 22:28+0100\n" "PO-Revision-Date: 2006-09-12 22:28-0000\n" "Last-Translator: David Lodge \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gam-app.c:92 msgid "_File" msgstr "_File" #: ../src/gam-app.c:93 msgid "_Edit" msgstr "_Edit" #: ../src/gam-app.c:94 msgid "_Help" msgstr "_Help" #: ../src/gam-app.c:95 msgid "E_xit" msgstr "E_xit" #: ../src/gam-app.c:95 msgid "Exit the program" msgstr "Exit the program" #: ../src/gam-app.c:96 msgid "Sound Card _Properties" msgstr "Sound Card _Properties" #: ../src/gam-app.c:96 msgid "Configure the current sound card" msgstr "Configure the current sound card" #: ../src/gam-app.c:97 msgid "Program Prefere_nces" msgstr "Program Prefere_nces" #: ../src/gam-app.c:97 msgid "Configure the application" msgstr "Configure the application" #: ../src/gam-app.c:98 msgid "_About" msgstr "_About" #: ../src/gam-app.c:98 msgid "About this application" msgstr "About this application" #: ../src/gam-app.c:429 msgid "Contributors:" msgstr "Contributors:" #: ../src/gam-app.c:438 #: ../src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "An ALSA mixer for GNOME" #: ../src/gam-app.c:440 #: ../src/gam-app.c:446 #: ../src/gam-app.c:578 #: ../src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixer" #: ../src/gam-mixer.c:159 #: ../src/gam-mixer.c:160 #: ../src/gam-slider.c:156 #: ../src/gam-slider.c:157 #: ../src/gam-toggle.c:127 #: ../src/gam-toggle.c:128 msgid "Main Application" msgstr "Main Application" #: ../src/gam-mixer.c:166 msgid "Card ID" msgstr "Card ID" #: ../src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ALSA Card ID (usually 'default')" #: ../src/gam-prefs-dlg.c:115 msgid "App" msgstr "App" #: ../src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Parent Application" #: ../src/gam-prefs-dlg.c:213 msgid "Sound Card Names and Visibility" msgstr "Sound Card Names and Visibility" #: ../src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Slider Style" #: ../src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Single slider with pan" #: ../src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dual slider with lock" #: ../src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Slider Toggle Style" #: ../src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Button" #: ../src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Checkbox" #: ../src/gam-prefs-dlg.c:338 msgid "Program Preferences" msgstr "Program Preferences" #: ../src/gam-props-dlg.c:112 #: ../src/gam-props-dlg.c:113 #: ../src/gam-slider.c:149 #: ../src/gam-slider.c:150 #: ../src/gam-toggle.c:120 #: ../src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixer" #: ../src/gam-props-dlg.c:227 msgid "Sound Card Element Names and Visibility" msgstr "Sound Card Element Names and Visibility" #: ../src/gam-props-dlg.c:298 msgid "Sound Card Properties" msgstr "Sound Card Properties" #: ../src/gam-slider-dual.c:207 #: ../src/gam-slider-dual.c:209 msgid "Lock" msgstr "Lock" #: ../src/gam-slider.c:142 #: ../src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: ../src/gam-slider.c:143 #: ../src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "ALSA mixer element" #: ../src/gam-slider.c:251 #: ../src/gam-slider.c:253 msgid "Mute" msgstr "Mute" #: ../src/gam-slider.c:269 #: ../src/gam-slider.c:271 msgid "Rec." msgstr "Rec." gnome-alsamixer-0.9.7~cvs.20060916/po/POTFILES.in0000644000175000017500000000063407747225727016746 0ustar adnadn# List of source files containing translatable strings. # Please keep this file sorted alphabetically. src/gam-app.c src/gam-app.h src/gam-main.c src/gam-mixer.c src/gam-mixer.h src/gam-prefs-dlg.c src/gam-prefs-dlg.h src/gam-props-dlg.c src/gam-props-dlg.h src/gam-slider-dual.c src/gam-slider-dual.h src/gam-slider-pan.c src/gam-slider-pan.h src/gam-slider.c src/gam-slider.h src/gam-toggle.c src/gam-toggle.h gnome-alsamixer-0.9.7~cvs.20060916/po/sr@Latn.po0000644000175000017500000000761310263503542017055 0ustar adnadn# Serbian translation of gnome-alsamixer # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # # This file is distributed under the same license as the gnome-alsamixer package. # # Maintainer: Danilo Šegan # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2003-10-28 04:59+0100\n" "Last-Translator: Danilo Šegan \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Osobine miksera" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Postavke programa" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Nadprogram" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Nadprogram" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Doprineli:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Alsa mikser za Gnoma" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "Gnomov Alsa mikser" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Nadprogram" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "Kartica" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "Identifikacija Alsa kartice (obično „podrazumevano“)" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Program" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Nadprogram" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Imena i vidljivost miksera" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Stil klizača" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "_Jednostruki klizač sa preskocima" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "_Dvostruki klizač sa katancem" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Stil prekidača klizača" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Dugme" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Kućica za izbor" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Postavke programa" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Mikser" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Imena i vidljivost elemenata miksera" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Osobine miksera" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Zaključaj" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Element" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Element Alsinog miksera" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Utišaj" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Snim." #~ msgid "© 2001-2003 PAW Digital Dynamics" #~ msgstr "© 2001–2003 PAW digitalna dinamika" #~ msgid "Slider Style" #~ msgstr "Vrsta klizača" #~ msgid "Slider Toggle Style" #~ msgstr "Vrsta prekidača klizača" gnome-alsamixer-0.9.7~cvs.20060916/po/pt_BR.po0000644000175000017500000000720710263503542016517 0ustar adnadn# Brazilian Portuguese Translation for gnome-alsamixer. # Copyright (C) 2001-2003 Dennis J Houy . # This file is distributed under the same license as the gnome-alsamixer # package. # Luiz Guaraldo # msgid "" msgstr "" "Project-Id-Version: gnome-alsamixer\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-07-08 15:59+0200\n" "PO-Revision-Date: 2004-03-15 13:54-0300\n" "Last-Translator: Luiz Guaraldo \n" "Language-Team: GNOME-BR \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gam-app.c:92 msgid "_File" msgstr "" #: src/gam-app.c:93 msgid "_Edit" msgstr "" #: src/gam-app.c:94 msgid "_Help" msgstr "" #: src/gam-app.c:95 msgid "E_xit" msgstr "" #: src/gam-app.c:95 msgid "Exit the program" msgstr "" #: src/gam-app.c:96 #, fuzzy msgid "Sound Card _Properties" msgstr "Propriedades do Mixer" #: src/gam-app.c:96 msgid "Configure the current sound card" msgstr "" #: src/gam-app.c:97 #, fuzzy msgid "Program Prefere_nces" msgstr "Preferências do Aplicativo" #: src/gam-app.c:97 #, fuzzy msgid "Configure the application" msgstr "Aplicativo Pai" #: src/gam-app.c:98 msgid "_About" msgstr "" #: src/gam-app.c:98 #, fuzzy msgid "About this application" msgstr "Aplicativo Pai" #: src/gam-app.c:429 msgid "Contributors:" msgstr "Contribuições de:" #: src/gam-app.c:438 src/gam-app.c:448 msgid "An ALSA mixer for GNOME" msgstr "Um mixer ALSA para GNOME" #: src/gam-app.c:440 src/gam-app.c:446 src/gam-app.c:578 src/gam-main.c:44 msgid "GNOME ALSA Mixer" msgstr "GNOME ALSA Mixer" #: src/gam-mixer.c:159 src/gam-mixer.c:160 src/gam-slider.c:156 #: src/gam-slider.c:157 src/gam-toggle.c:127 src/gam-toggle.c:128 #, fuzzy msgid "Main Application" msgstr "Aplicativo Pai" #: src/gam-mixer.c:166 msgid "Card ID" msgstr "ID do Cartão" #: src/gam-mixer.c:167 msgid "ALSA Card ID (usually 'default')" msgstr "ID do Cartão ALSA (normalmente 'default')" #: src/gam-prefs-dlg.c:115 msgid "App" msgstr "Aplicativo" #: src/gam-prefs-dlg.c:116 msgid "Parent Application" msgstr "Aplicativo Pai" #: src/gam-prefs-dlg.c:213 #, fuzzy msgid "Sound Card Names and Visibility" msgstr "Nomes e Visibilidade do Mixer" #: src/gam-prefs-dlg.c:268 msgid "Slider Style" msgstr "Estilo do controle" #: src/gam-prefs-dlg.c:285 msgid "_Single slider with pan" msgstr "Controlador _simples com pan" #: src/gam-prefs-dlg.c:288 msgid "_Dual slider with lock" msgstr "Controlador _duplo com tranca" #: src/gam-prefs-dlg.c:309 msgid "Slider Toggle Style" msgstr "Troca de Estilo do controlador" #: src/gam-prefs-dlg.c:326 msgid "_Button" msgstr "_Botão" #: src/gam-prefs-dlg.c:329 msgid "_Checkbox" msgstr "_Caixa" #: src/gam-prefs-dlg.c:338 #, fuzzy msgid "Program Preferences" msgstr "Preferências do Aplicativo" #: src/gam-props-dlg.c:112 src/gam-props-dlg.c:113 src/gam-slider.c:149 #: src/gam-slider.c:150 src/gam-toggle.c:120 src/gam-toggle.c:121 msgid "Mixer" msgstr "Mixer" #: src/gam-props-dlg.c:227 #, fuzzy msgid "Sound Card Element Names and Visibility" msgstr "Nomes e Visibilidade dos Elementos do Mixer" #: src/gam-props-dlg.c:298 #, fuzzy msgid "Sound Card Properties" msgstr "Propriedades do Mixer" #: src/gam-slider-dual.c:207 src/gam-slider-dual.c:209 msgid "Lock" msgstr "Trancar" #: src/gam-slider.c:142 src/gam-toggle.c:113 msgid "Element" msgstr "Elemento" #: src/gam-slider.c:143 src/gam-toggle.c:114 msgid "ALSA mixer element" msgstr "Elemento de mixer ALSA" #: src/gam-slider.c:251 src/gam-slider.c:253 msgid "Mute" msgstr "Mudo" #: src/gam-slider.c:269 src/gam-slider.c:271 msgid "Rec." msgstr "Gravar" gnome-alsamixer-0.9.7~cvs.20060916/po/.cvsignore0000644000175000017500000000021307746102751017150 0ustar adnadn*.gmo *.mo *.pot Makefile Makefile.in Makefile.in.in POTFILES cat-id-tbl.c messages missing notexist po2tbl.sed po2tbl.sed.in stamp-cat-id gnome-alsamixer-0.9.7~cvs.20060916/po/ChangeLog0000644000175000017500000001533410501623267016725 0ustar adnadn2006-09-12 David Lodge * en_GB.po: Updated English (British) translation 2006-08-16 Gabor Kelemen * hu.po: Translation updated. 2006-07-28 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2006-07-23 Christophe Merlet * fr.po: Updated French translation from Emmanuel Andry and Jonathan Ernst . 2006-04-16 Daniel Nylander * sv.po: Updated Swedish translation. 2006-04-11 Pema Geyleg * dz.po: Added Dzongkha translation. 2006-01-07 Kjartan Maraas * nb.po: Added * no.po: Updated Norwegian bokmål translation. 2005-12-04 Ignacio Casal Quinteiro * gl.po: Updated Galician Translation. 2005-10-04 Funda Wang * zh_CN.po: Updated Simplified Chinese translation. 2005-09-09 Inaki Larranaga * eu.po: Updated Basque translation. 2005-08-31 Gabor Kelemen * hu.po: Hungarian translation updated. 2005-08-28 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-08-27 Josep Puigdemont * ca.po: Updated Catalan translation. 2005-08-27 Clytie Siddall * vi.po: Updated Vietnamese translation. 2005-08-24 Pawan Chitrakar * ne.po: Added Nepali Translation 2005-08-19 Vincent van Adrighem * nl.po: Translation updated by Reinout van Schouwen. 2005-08-18 Clytie Siddall * vi.po: Updated Vietnamese translation. 2005-08-18 Chao-Hsiung Liao * zh_TW.po: Updated Traditional Chinese translation. 2005-08-15 Ilkka Tuohela * fi.po: Added Finnish translation. 2005-08-14 Kostas Papadimas * el.po: Added Greek translation. 2005-08-11 Maxim Dziumanenko * uk.po: Updated Ukrainian translation. 2005-08-04 Abel Cheung * zh_TW.po: Fix language team reference and my email address. 2005-07-23 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-07-14 Miloslav Trmac * cs.po: Updated Czech translation. 2005-07-10 Marcel Telka * sk.po: Updated Slovak translation. 2005-07-09 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-07-07 Marcel Telka * sk.po: Updated Slovak translation. 2005-07-07 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-07-06 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-06-14 Christian Rose * gl.po: Added Galician translation by Ignacio Casal Quinteiro . 2005-04-14 Abel Cheung * zh_TW.po: New traditional Chinese translation from GNOME HK Team 2005-03-16 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2004-09-15 Jordi Mallach * ca.po: Updated Catalan translation by Xavier Conde Rueda . 2004-08-20 Laurent Dhima * sq.po: Added Albanian translation. 2004-07-31 Jordi Mallach * ca.po: Added Catalan translation by Xavier Conde Rueda . 2004-05-01 Adam Weinberger * en_CA.po: Added Canadian English translation. 2004-04-24 Andras Timar * hu.po: Updated Hungarian translation. 2004-04-07 Yuriy Syrota * uk.po: Added Ukrainian translation. 2004-03-29 Gareth Owen * en_GB.po: Added British English translation 2004-03-28 Takeshi AIHANA * ja.po: Added Japanese translation. 2004-03-20 Robert Sedak * hr.po: Updated Croatian translation. 2004-03-15 Gustavo Noronha Silva * pt_BR.po: added Brazilian translation by "Luiz Guaraldo (Software.Livre)" 2004-03-04 Guntupalli Karunakar * pa.po: Added Punjabi translations by Amanpreet Singh Alam . 2004-02-21 Paisa Seeluangsawat * th.po: Added Thai translation by Sapa and Chanchai Junlouchai. 2004-02-11 Funda Wang * zh_CN.po: Added Simplified Chinese translation. 2004-02-05 Robert Sedak * hr.po: Updated Croatian translation. 2004-01-28 Miloslav Trmac * cs.po: Fixed Czech translation. 2004-01-17 Kjartan Maraas * no.po: Added Norwegian translation. 2004-01-08 Iñaki Larrañaga * eu.po: Added Basque translation by Mikel Olasagasti . 2004-01-04 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2003-12-16 Stanislav Visnovsky * sk.po: Added Slovak translation by Zdenko Podobny. 2003-12-04 Sanlig Badral * mn.po: Added Mongolian translation by Dulmandakh. 2003-11-23 Christian Neumair * de.po: Added German translation. 2003-11-20 Kostas Papadimas * el.po: Added Greek translation. 2003-11-12 Duarte Loreto * pt.po: Added Portuguese translation. 2003-11-11 Pablo Gonzalo del Campo * es.po: Added Spanish translation by Antonio Ognio 2003-11-11 Vincent van Adrighem * nl.po: Dutch translation updated by Tino Meinen. 2003-10-29 Vincent van Adrighem * nl.po: Dutch translation added by Reinout van Schouwen. 2003-10-28 Danilo Šegan * sr.po, sr@Latn.po: Updated Serbian translation. 2003-10-28 Miloslav Trmac * cs.po: Added Czech translation. 2003-10-26 Metin Amiroff * az.po: Added Azerbaijani translation. 2003-10-25 Danilo Šegan * sr.po, sr@Latn.po: Added Serbian translation. 2003-10-24 Christian Rose * sv.po: Small typo fixes. 2003-10-24 Christian Rose * sv.po: Added Swedish translation. 2003-10-24 Christian Rose * gnome-alsamixer.pot: Removed. This is a generated file and it doesn't need to be stored in CVS. * .cvsignore: Added this. * POTFILES.in: Sorted and added comment. gnome-alsamixer-0.9.7~cvs.20060916/po/Makefile.in.in0000777000175000017500000000000010622436310027567 2/usr/share/glib-2.0/gettext/po/Makefile.in.inustar adnadngnome-alsamixer-0.9.7~cvs.20060916/src/0000755000175000017500000000000010622436340015314 5ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/src/gam-slider.c0000644000175000017500000005114210263506056017512 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "gam-slider.h" enum { PROP_0, PROP_ELEM, PROP_MIXER, PROP_APP }; enum { REFRESH, LAST_SIGNAL }; #define GAM_SLIDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_SLIDER, GamSliderPrivate)) typedef struct _GamSliderPrivate GamSliderPrivate; struct _GamSliderPrivate { gpointer app; gpointer mixer; snd_mixer_elem_t *elem; gchar *name; gchar *name_config; GtkWidget *vbox; GtkWidget *label; GtkWidget *mute_button; GtkWidget *capture_button; }; static void gam_slider_class_init (GamSliderClass *klass); static void gam_slider_init (GamSlider *gam_slider); static void gam_slider_finalize (GObject *object); static GObject *gam_slider_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static void gam_slider_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gam_slider_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gam_slider_set_elem (GamSlider *gam_slider, snd_mixer_elem_t *elem); static gint gam_slider_mute_button_toggled_cb (GtkWidget *widget, GamSlider *gam_slider); static gint gam_slider_capture_button_toggled_cb (GtkWidget *widget, GamSlider *gam_slider); static gint gam_slider_refresh (snd_mixer_elem_t *elem, guint mask); static void gam_slider_real_refresh (GamSlider *gam_slider); static gint gam_slider_get_widget_position (GamSlider *gam_slider, GtkWidget *widget); static gpointer parent_class; static guint signals[LAST_SIGNAL] = { 0 }; GType gam_slider_get_type (void) { static GType gam_slider_type = 0; if (!gam_slider_type) { static const GTypeInfo gam_slider_info = { sizeof (GamSliderClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_slider_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamSlider), 0, /* n_preallocs */ (GInstanceInitFunc) gam_slider_init, }; gam_slider_type = g_type_register_static (GTK_TYPE_HBOX, "GamSlider", &gam_slider_info, 0); } return gam_slider_type; } static void gam_slider_class_init (GamSliderClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GtkObjectClass *object_class = (GtkObjectClass*) klass; parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_slider_finalize; gobject_class->constructor = gam_slider_constructor; gobject_class->set_property = gam_slider_set_property; gobject_class->get_property = gam_slider_get_property; signals[REFRESH] = g_signal_new ("refresh", G_OBJECT_CLASS_TYPE (gobject_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GamSliderClass, refresh), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); g_object_class_install_property (gobject_class, PROP_ELEM, g_param_spec_pointer ("elem", _("Element"), _("ALSA mixer element"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property (gobject_class, PROP_MIXER, g_param_spec_pointer ("mixer", _("Mixer"), _("Mixer"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property (gobject_class, PROP_APP, g_param_spec_pointer ("app", _("Main Application"), _("Main Application"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_type_class_add_private (gobject_class, sizeof (GamSliderPrivate)); } static void gam_slider_init (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_if_fail (GAM_IS_SLIDER (gam_slider)); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); priv->elem = NULL; priv->app = NULL; priv->mixer = NULL; priv->vbox = NULL; priv->name = NULL; priv->name_config = NULL; priv->mute_button = NULL; priv->capture_button = NULL; } static void gam_slider_finalize (GObject *object) { GamSlider *gam_slider; GamSliderPrivate *priv; g_return_if_fail (GAM_IS_SLIDER (object)); gam_slider = GAM_SLIDER (object); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); snd_mixer_elem_set_callback (priv->elem, NULL); g_free (priv->name); g_free (priv->name_config); priv->name = NULL; priv->name_config = NULL; priv->label = NULL; priv->mute_button = NULL; priv->capture_button = NULL; priv->elem = NULL; priv->app = NULL; priv->mixer = NULL; priv->vbox = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject * gam_slider_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamSlider *gam_slider; GamSliderPrivate *priv; GtkWidget *label, *separator; gint value; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_slider = GAM_SLIDER (object); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); priv->vbox = gtk_vbox_new (FALSE, 0); gtk_widget_show (priv->vbox); gtk_box_pack_start (GTK_BOX (gam_slider), priv->vbox, TRUE, TRUE, 0); separator = gtk_vseparator_new (); gtk_widget_show (separator); gtk_box_pack_start (GTK_BOX (gam_slider), separator, FALSE, TRUE, 0); priv->label = gtk_label_new_with_mnemonic (gam_slider_get_display_name (gam_slider)); gtk_widget_show (priv->label); gtk_box_pack_start (GTK_BOX (priv->vbox), priv->label, FALSE, TRUE, 0); if (snd_mixer_selem_has_playback_switch (priv->elem)) { if (gam_app_get_slider_toggle_style (GAM_APP (priv->app)) == 0) priv->mute_button = gtk_toggle_button_new_with_label (_("Mute")); else priv->mute_button = gtk_check_button_new_with_label (_("Mute")); snd_mixer_selem_get_playback_switch (priv->elem, SND_MIXER_SCHN_FRONT_LEFT, &value); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->mute_button), !value); g_signal_connect (G_OBJECT (priv->mute_button), "toggled", G_CALLBACK (gam_slider_mute_button_toggled_cb), gam_slider); } else priv->mute_button = gtk_label_new (NULL); gtk_widget_show (priv->mute_button); gtk_box_pack_start (GTK_BOX (priv->vbox), priv->mute_button, FALSE, FALSE, 0); if (snd_mixer_selem_has_capture_switch (priv->elem)) { if (gam_app_get_slider_toggle_style (GAM_APP (priv->app)) == 0) priv->capture_button = gtk_toggle_button_new_with_label (_("Rec.")); else priv->capture_button = gtk_check_button_new_with_label (_("Rec.")); snd_mixer_selem_get_capture_switch (priv->elem, SND_MIXER_SCHN_FRONT_LEFT, &value); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->capture_button), value); g_signal_connect (G_OBJECT (priv->capture_button), "toggled", G_CALLBACK (gam_slider_capture_button_toggled_cb), gam_slider); } else priv->capture_button = gtk_label_new (NULL); gtk_widget_show (priv->capture_button); gtk_box_pack_start (GTK_BOX (priv->vbox), priv->capture_button, FALSE, FALSE, 0); return object; } static void gam_slider_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GamSlider *gam_slider; GamSliderPrivate *priv; gam_slider = GAM_SLIDER (object); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); switch (prop_id) { case PROP_ELEM: gam_slider_set_elem (gam_slider, g_value_get_pointer (value)); break; case PROP_MIXER: priv->mixer = g_value_get_pointer (value); g_object_notify (G_OBJECT (gam_slider), "mixer"); break; case PROP_APP: priv->app = g_value_get_pointer (value); g_object_notify (G_OBJECT (gam_slider), "app"); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_slider_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GamSlider *gam_slider; GamSliderPrivate *priv; gam_slider = GAM_SLIDER (object); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); switch (prop_id) { case PROP_ELEM: g_value_set_pointer (value, priv->elem); break; case PROP_MIXER: g_value_set_pointer (value, priv->mixer); break; case PROP_APP: g_value_set_pointer (value, priv->app); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_slider_set_elem (GamSlider *gam_slider, snd_mixer_elem_t *elem) { GamSliderPrivate *priv; g_return_if_fail (GAM_IS_SLIDER (gam_slider)); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); if (priv->elem) snd_mixer_elem_set_callback (priv->elem, NULL); if (elem) { snd_mixer_elem_set_callback_private (elem, gam_slider); snd_mixer_elem_set_callback (elem, gam_slider_refresh); } priv->elem = elem; g_object_notify (G_OBJECT (gam_slider), "elem"); } static gint gam_slider_mute_button_toggled_cb (GtkWidget *widget, GamSlider *gam_slider) { GamSliderPrivate *priv; priv = GAM_SLIDER_GET_PRIVATE (gam_slider); snd_mixer_selem_set_playback_switch_all (priv->elem, !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))); return TRUE; } static gint gam_slider_capture_button_toggled_cb (GtkWidget *widget, GamSlider *gam_slider) { GamSliderPrivate *priv; priv = GAM_SLIDER_GET_PRIVATE (gam_slider); snd_mixer_selem_set_capture_switch_all (priv->elem, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))); return TRUE; } static gint gam_slider_get_widget_position (GamSlider *gam_slider, GtkWidget *widget) { GamSliderPrivate *priv; GValue value = { 0, }; gint position = -1; priv = GAM_SLIDER_GET_PRIVATE (gam_slider); g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), -1); g_return_val_if_fail (GTK_IS_WIDGET (widget), -1); g_value_init (&value, G_TYPE_INT); gtk_container_child_get_property (GTK_CONTAINER (priv->vbox), widget, "position", &value); position = g_value_get_int (&value); g_value_unset (&value); return position; } static gint gam_slider_refresh (snd_mixer_elem_t *elem, guint mask) { GamSlider * const gam_slider = GAM_SLIDER (snd_mixer_elem_get_callback_private (elem)); GamSliderPrivate *priv; gint value; priv = GAM_SLIDER_GET_PRIVATE (gam_slider); if (snd_mixer_selem_has_playback_switch (priv->elem)) { snd_mixer_selem_get_playback_switch (priv->elem, SND_MIXER_SCHN_FRONT_LEFT, &value); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->mute_button), !value); } if (snd_mixer_selem_has_capture_switch (priv->elem)) { snd_mixer_selem_get_capture_switch (priv->elem, SND_MIXER_SCHN_FRONT_LEFT, &value); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->capture_button), value); } g_signal_emit (gam_slider, signals[REFRESH], 0); } G_CONST_RETURN gchar * gam_slider_get_name (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); return snd_mixer_selem_get_name (priv->elem); } G_CONST_RETURN gchar * gam_slider_get_config_name (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); if (priv->name_config == NULL) { priv->name_config = g_strdup (gam_slider_get_name (gam_slider)); priv->name_config = g_strdelimit (priv->name_config, GAM_CONFIG_DELIMITERS, '_'); } return priv->name_config; } gchar * gam_slider_get_display_name (GamSlider *gam_slider) { GamSliderPrivate *priv; gchar *key, *name, *disp_name; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); disp_name = g_strndup (gam_slider_get_name (gam_slider), 8); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); name = gconf_client_get_string (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); if (name == NULL) name = g_strdup (disp_name); g_free (disp_name); g_free (key); return name; } void gam_slider_set_display_name (GamSlider *gam_slider, const gchar *name) { GamSliderPrivate *priv; gchar *key; g_return_if_fail (GAM_IS_SLIDER (gam_slider)); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); gconf_client_set_string (gam_app_get_gconf_client (GAM_APP (priv->app)), key, name, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); gtk_label_set_text_with_mnemonic (GTK_LABEL (priv->label), name); } gboolean gam_slider_get_visible (GamSlider *gam_slider) { GamSliderPrivate *priv; gchar *key; gboolean visible = TRUE; g_return_if_fail (GAM_IS_SLIDER (gam_slider)); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_sliders/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); if (gconf_client_dir_exists (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL)) visible = gconf_client_get_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); g_free (key); return visible; } void gam_slider_set_visible (GamSlider *gam_slider, gboolean visible) { GamSliderPrivate *priv; gchar *key; g_return_if_fail (GAM_IS_SLIDER (gam_slider)); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_sliders/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_slider_get_config_name (gam_slider)); gconf_client_set_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, visible, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); if (visible) gtk_widget_show (GTK_WIDGET (gam_slider)); else gtk_widget_hide (GTK_WIDGET (gam_slider)); g_free (key); } snd_mixer_elem_t * gam_slider_get_elem (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); g_return_val_if_fail (priv->elem != NULL, NULL); return priv->elem; } GtkLabel * gam_slider_get_label_widget (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); return GTK_LABEL (priv->label); } GtkWidget * gam_slider_get_mute_widget (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); return priv->mute_button; } GtkWidget * gam_slider_get_capture_widget (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); return priv->capture_button; } GamMixer * gam_slider_get_mixer (GamSlider *gam_slider) { GamSliderPrivate *priv; g_return_val_if_fail (GAM_IS_SLIDER (gam_slider), NULL); g_return_val_if_fail (GAM_IS_MIXER (priv->mixer), NULL); priv = GAM_SLIDER_GET_PRIVATE (gam_slider); return priv->mixer; } void gam_slider_add_pan_widget (GamSlider *gam_slider, GtkWidget *widget) { GamSliderPrivate *priv; priv = GAM_SLIDER_GET_PRIVATE (gam_slider); gtk_box_pack_start (GTK_BOX (priv->vbox), widget, FALSE, FALSE, 0); gtk_box_reorder_child (GTK_BOX (priv->vbox), widget, gam_slider_get_widget_position (gam_slider, priv->mute_button)); } void gam_slider_add_volume_widget (GamSlider *gam_slider, GtkWidget *widget) { GamSliderPrivate *priv; priv = GAM_SLIDER_GET_PRIVATE (gam_slider); gtk_box_pack_start (GTK_BOX (priv->vbox), widget, TRUE, TRUE, 0); gtk_box_reorder_child (GTK_BOX (priv->vbox), widget, 1); } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-slider.h0000644000175000017500000000704110263503273017514 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_SLIDER_H__ #define __GAM_SLIDER_H__ #include #include #include #include #undef ABS #define ABS(a) (((a) < 0) ? -(a) : (a)) #undef MAX #define MAX(a, b) (((a) > (b)) ? (a) : (b)) G_BEGIN_DECLS #define GAM_TYPE_SLIDER (gam_slider_get_type ()) #define GAM_SLIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_SLIDER, GamSlider)) #define GAM_SLIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_SLIDER, GamSliderClass)) #define GAM_IS_SLIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_SLIDER)) #define GAM_IS_SLIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_SLIDER)) #define GAM_SLIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_SLIDER, GamSliderClass)) typedef struct _GamSlider GamSlider; typedef struct _GamSliderClass GamSliderClass; struct _GamSlider { GtkHBox parent_instance; }; struct _GamSliderClass { GtkHBoxClass parent_class; void (* refresh) (GamSlider *gam_slider); }; #include "gam-mixer.h" GType gam_slider_get_type (void) G_GNUC_CONST; G_CONST_RETURN gchar *gam_slider_get_name (GamSlider *gam_slider); G_CONST_RETURN gchar *gam_slider_get_config_name (GamSlider *gam_slider); gchar *gam_slider_get_display_name (GamSlider *gam_slider); void gam_slider_set_display_name (GamSlider *gam_slider, const gchar *name); gboolean gam_slider_get_visible (GamSlider *gam_slider); void gam_slider_set_visible (GamSlider *gam_slider, gboolean visible); gint gam_slider_get_toggle_style (GamSlider *gam_slider); void gam_slider_set_toggle_style (GamSlider *gam_slider, gint style); snd_mixer_elem_t *gam_slider_get_elem (GamSlider *gam_slider); GtkLabel *gam_slider_get_label_widget (GamSlider *gam_slider); GtkWidget *gam_slider_get_mute_widget (GamSlider *gam_slider); GtkWidget *gam_slider_get_capture_widget (GamSlider *gam_slider); GamMixer *gam_slider_get_mixer (GamSlider *gam_slider); void gam_slider_add_pan_widget (GamSlider *gam_slider, GtkWidget *widget); void gam_slider_add_volume_widget (GamSlider *gam_slider, GtkWidget *widget); G_END_DECLS #endif /* __GAM_SLIDER_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/gam-toggle.c0000644000175000017500000003676310263506056017525 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include "gam-toggle.h" enum { PROP_0, PROP_ELEM, PROP_MIXER, PROP_APP }; #define GAM_TOGGLE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_TOGGLE, GamTogglePrivate)) typedef struct _GamTogglePrivate GamTogglePrivate; struct _GamTogglePrivate { snd_mixer_elem_t *elem; gpointer app; gpointer mixer; gchar *name_config; }; static void gam_toggle_class_init (GamToggleClass *klass); static void gam_toggle_init (GamToggle *gam_toggle); static void gam_toggle_finalize (GObject *object); static GObject *gam_toggle_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static void gam_toggle_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gam_toggle_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gam_toggle_set_elem (GamToggle *gam_slider, snd_mixer_elem_t *elem); static gint gam_toggle_toggled_cb (GtkWidget *widget, GamToggle *gam_toggle); static gint gam_toggle_refresh (snd_mixer_elem_t *elem, guint mask); static gpointer parent_class; GType gam_toggle_get_type (void) { static GType gam_toggle_type = 0; if (!gam_toggle_type) { static const GTypeInfo gam_toggle_info = { sizeof (GamToggleClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_toggle_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamToggle), 0, /* n_preallocs */ (GInstanceInitFunc) gam_toggle_init, }; gam_toggle_type = g_type_register_static (GTK_TYPE_CHECK_BUTTON, "GamToggle", &gam_toggle_info, 0); } return gam_toggle_type; } static void gam_toggle_class_init (GamToggleClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GtkObjectClass *object_class = (GtkObjectClass*) klass; parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_toggle_finalize; gobject_class->constructor = gam_toggle_constructor; gobject_class->set_property = gam_toggle_set_property; gobject_class->get_property = gam_toggle_get_property; g_object_class_install_property (gobject_class, PROP_ELEM, g_param_spec_pointer ("elem", _("Element"), _("ALSA mixer element"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property (gobject_class, PROP_MIXER, g_param_spec_pointer ("mixer", _("Mixer"), _("Mixer"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property (gobject_class, PROP_APP, g_param_spec_pointer ("app", _("Main Application"), _("Main Application"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_type_class_add_private (gobject_class, sizeof (GamTogglePrivate)); } static void gam_toggle_init (GamToggle *gam_toggle) { GamTogglePrivate *priv; g_return_if_fail (GAM_IS_TOGGLE (gam_toggle)); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); priv->elem = NULL; priv->name_config = NULL; priv->app = NULL; priv->mixer = NULL; } static void gam_toggle_finalize (GObject *object) { GamToggle *gam_toggle; GamTogglePrivate *priv; g_return_if_fail (GAM_IS_TOGGLE (object)); gam_toggle = GAM_TOGGLE (object); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); snd_mixer_elem_set_callback (priv->elem, NULL); g_free (priv->name_config); priv->name_config = NULL; priv->elem = NULL; priv->mixer = NULL; priv->app = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject* gam_toggle_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamToggle *gam_toggle; GamTogglePrivate *priv; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_toggle = GAM_TOGGLE (object); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); gtk_button_set_label (GTK_BUTTON (gam_toggle), gam_toggle_get_display_name (gam_toggle)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (gam_toggle), gam_toggle_get_state (gam_toggle)); g_signal_connect (G_OBJECT (gam_toggle), "toggled", G_CALLBACK (gam_toggle_toggled_cb), gam_toggle); return object; } static void gam_toggle_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GamToggle *gam_toggle; GamTogglePrivate *priv; gam_toggle = GAM_TOGGLE (object); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); switch (prop_id) { case PROP_ELEM: gam_toggle_set_elem (gam_toggle, g_value_get_pointer (value)); break; case PROP_MIXER: priv->mixer = g_value_get_pointer (value); g_object_notify (G_OBJECT (gam_toggle), "mixer"); break; case PROP_APP: priv->app = g_value_get_pointer (value); g_object_notify (G_OBJECT (gam_toggle), "app"); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_toggle_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GamToggle *gam_toggle; GamTogglePrivate *priv; gam_toggle = GAM_TOGGLE (object); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); switch (prop_id) { case PROP_ELEM: g_value_set_pointer (value, priv->elem); break; case PROP_MIXER: g_value_set_pointer (value, priv->mixer); break; case PROP_APP: g_value_set_pointer (value, priv->app); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static gint gam_toggle_toggled_cb (GtkWidget *widget, GamToggle *gam_toggle) { gam_toggle_set_state (gam_toggle, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))); return TRUE; } static gint gam_toggle_refresh (snd_mixer_elem_t *elem, guint mask) { GamToggle * const gam_toggle = GAM_TOGGLE (snd_mixer_elem_get_callback_private (elem)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (gam_toggle), gam_toggle_get_state (gam_toggle)); return 0; } GtkWidget * gam_toggle_new (gpointer elem, GamMixer *gam_mixer, GamApp *gam_app) { g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); return g_object_new (GAM_TYPE_TOGGLE, "elem", elem, "mixer", gam_mixer, "app", gam_app, "use_underline", TRUE, NULL); } snd_mixer_elem_t * gam_toggle_get_elem (GamToggle *gam_toggle) { GamTogglePrivate *priv; g_return_val_if_fail (GAM_IS_TOGGLE (gam_toggle), NULL); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); return priv->elem; } void gam_toggle_set_elem (GamToggle *gam_toggle, snd_mixer_elem_t *elem) { GamTogglePrivate *priv; g_return_if_fail (GAM_IS_TOGGLE (gam_toggle)); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); if (priv->elem) snd_mixer_elem_set_callback (priv->elem, NULL); if (elem) { snd_mixer_elem_set_callback_private (elem, gam_toggle); snd_mixer_elem_set_callback (elem, gam_toggle_refresh); } priv->elem = elem; g_object_notify (G_OBJECT (gam_toggle), "elem"); } gboolean gam_toggle_get_state (GamToggle *gam_toggle) { GamTogglePrivate *priv; gint value = 0; priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); if (snd_mixer_selem_has_playback_switch (priv->elem)) { snd_mixer_selem_get_playback_switch (priv->elem, 0, &value); } else if (snd_mixer_selem_has_capture_switch (priv->elem)) { snd_mixer_selem_get_capture_switch (priv->elem, 0, &value); } else { g_warning ("%s (). No idea what to do for mixer element \"%s\"!", __FUNCTION__, snd_mixer_selem_get_name (priv->elem)); } return value; } void gam_toggle_set_state (GamToggle *gam_toggle, gboolean state) { GamTogglePrivate *priv; const gboolean internal_state = gam_toggle_get_state (gam_toggle); int err; priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); if (state == internal_state) return; if (snd_mixer_selem_has_playback_switch (priv->elem)) { err = snd_mixer_selem_set_playback_switch_all (priv->elem, state); } else if (snd_mixer_selem_has_capture_switch (priv->elem)) { err = snd_mixer_selem_set_capture_switch_all (priv->elem, state); } else { g_warning ("%s (). No idea what to do for mixer element \"%s\"!", __FUNCTION__, snd_mixer_selem_get_name (priv->elem)); err = 0; } if (err) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (gam_toggle), internal_state); } G_CONST_RETURN gchar * gam_toggle_get_name (GamToggle *gam_toggle) { GamTogglePrivate *priv; g_return_val_if_fail (GAM_IS_TOGGLE (gam_toggle), NULL); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); return snd_mixer_selem_get_name (priv->elem); } G_CONST_RETURN gchar * gam_toggle_get_config_name (GamToggle *gam_toggle) { GamTogglePrivate *priv; g_return_val_if_fail (GAM_IS_TOGGLE (gam_toggle), NULL); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); if (priv->name_config == NULL) { priv->name_config = g_strdup (gam_toggle_get_name (gam_toggle)); priv->name_config = g_strdelimit (priv->name_config, GAM_CONFIG_DELIMITERS, '_'); } return priv->name_config; } gchar * gam_toggle_get_display_name (GamToggle *gam_toggle) { GamTogglePrivate *priv; gchar *key, *name; g_return_val_if_fail (GAM_IS_TOGGLE (gam_toggle), NULL); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/toggle_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); name = gconf_client_get_string (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); g_free (key); return name == NULL ? g_strdup (gam_toggle_get_name (gam_toggle)) : name; } void gam_toggle_set_display_name (GamToggle *gam_toggle, const gchar *name) { GamTogglePrivate *priv; gchar *key; g_return_if_fail (GAM_IS_TOGGLE (gam_toggle)); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/toggle_display_names/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); gconf_client_set_string (gam_app_get_gconf_client (GAM_APP (priv->app)), key, name, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); gtk_button_set_label (GTK_BUTTON (gam_toggle), name); } gboolean gam_toggle_get_visible (GamToggle *gam_toggle) { GamTogglePrivate *priv; gchar *key; gboolean visible = TRUE; g_return_if_fail (GAM_IS_TOGGLE (gam_toggle)); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_toggles/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); if (gconf_client_dir_exists (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL)) visible = gconf_client_get_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); g_free (key); return visible; } void gam_toggle_set_visible (GamToggle *gam_toggle, gboolean visible) { GamTogglePrivate *priv; gchar *key; g_return_if_fail (GAM_IS_TOGGLE (gam_toggle)); priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_toggles/%s-%s", gam_mixer_get_config_name (GAM_MIXER (priv->mixer)), gam_toggle_get_config_name (gam_toggle)); gconf_client_set_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, visible, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); if (visible) gtk_widget_show (GTK_WIDGET (gam_toggle)); else gtk_widget_hide (GTK_WIDGET (gam_toggle)); } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-toggle.h0000644000175000017500000000565110263503273017520 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_TOGGLE_H__ #define __GAM_TOGGLE_H__ #include #include G_BEGIN_DECLS #define GAM_TYPE_TOGGLE (gam_toggle_get_type ()) #define GAM_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_TOGGLE, GamToggle)) #define gam_toggle_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_TOGGLE, GamToggleClass)) #define GAM_IS_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_TOGGLE)) #define GAM_IS_TOGGLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_TOGGLE)) #define gam_toggle_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_TOGGLE, GamToggleClass)) typedef struct _GamToggle GamToggle; typedef struct _GamToggleClass GamToggleClass; struct _GamToggle { GtkCheckButton parent_instance; }; struct _GamToggleClass { GtkCheckButtonClass parent_class; }; #include "gam-mixer.h" GType gam_toggle_get_type (void) G_GNUC_CONST; GtkWidget *gam_toggle_new (gpointer elem, GamMixer *gam_mixer, GamApp *gam_app); gboolean gam_toggle_get_state (GamToggle *gam_toggle); void gam_toggle_set_state (GamToggle *gam_toggle, gboolean state); G_CONST_RETURN gchar *gam_toggle_get_name (GamToggle *gam_toggle); G_CONST_RETURN gchar *gam_toggle_get_config_name (GamToggle *gam_toggle); gchar *gam_toggle_get_display_name (GamToggle *gam_toggle); void gam_toggle_set_display_name (GamToggle *gam_toggle, const gchar *name); gboolean gam_toggle_get_visible (GamToggle *gam_toggle); void gam_toggle_set_visible (GamToggle *gam_toggle, gboolean visible); G_END_DECLS #endif /* __GAM_TOGGLE_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/gam-app.c0000644000175000017500000005412410263503273017011 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "gam-app.h" #include "gam-mixer.h" #include "gam-prefs-dlg.h" #define GAM_APP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_APP, GamAppPrivate)) typedef struct _GamAppPrivate GamAppPrivate; struct _GamAppPrivate { GtkWidget *status_bar; GtkWidget *notebook; GConfClient *gconf_client; GtkUIManager *ui_manager; GtkAccelGroup *ui_accel_group; GtkActionGroup *main_action_group; gint num_cards; guint tip_message_cid; }; static void gam_app_class_init (GamAppClass *klass); static void gam_app_init (GamApp *gam_app); static gboolean gam_app_delete (GtkWidget *widget, gpointer user_data); static void gam_app_destroy (GtkObject *object); static GObject *gam_app_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static void gam_app_load_prefs (GamApp *gam_app); static void gam_app_save_prefs (GamApp *gam_app); static GamMixer *gam_app_get_current_mixer (GamApp *gam_app); static void gam_app_quit_cb (GtkWidget *widget, GamApp *gam_app); static void gam_app_about_cb (GtkWidget *widget, gpointer data); static void gam_app_preferences_cb (GtkMenuItem *menuitem, GamApp *gam_app); static void gam_app_properties_cb (GtkMenuItem *menuitem, GamApp *gam_app); static void gam_app_mixer_display_name_changed_cb (GamMixer *gam_mixer, GamApp *gam_app); static void gam_app_mixer_visibility_changed_cb (GamMixer *gam_mixer, GamApp *gam_app); static void gam_app_menu_item_select_cb (GtkMenuItem *proxy, GamApp *gam_app); static void gam_app_menu_item_deselect_cb (GtkMenuItem *proxy, GamApp *gam_app); static void gam_app_ui_connect_proxy_cb (GtkUIManager *manager, GtkAction *action, GtkWidget *proxy, GamApp *gam_app); static void gam_app_ui_disconnect_proxy_cb (GtkUIManager *manager, GtkAction *action, GtkWidget *proxy, GamApp *gam_app); static gpointer parent_class; static GtkActionEntry action_entries[] = { { "FileMenu", NULL, N_("_File") }, { "EditMenu", NULL, N_("_Edit") }, { "HelpMenu", NULL, N_("_Help") }, { "Exit", GTK_STOCK_OPEN, N_("E_xit"), "Q", N_("Exit the program"), G_CALLBACK (gam_app_quit_cb) }, { "Properties", GTK_STOCK_PROPERTIES, N_("Sound Card _Properties"), "", N_("Configure the current sound card"), G_CALLBACK (gam_app_properties_cb) }, { "Preferences", GTK_STOCK_PREFERENCES, N_("Program Prefere_nces"), "", N_("Configure the application"), G_CALLBACK (gam_app_preferences_cb) }, { "About", GNOME_STOCK_ABOUT, N_("_About"), "", N_("About this application"), G_CALLBACK (gam_app_about_cb) }, }; static const gchar *ui_description = "" " " " " " " " " " " " " " " " " " " " " " " " " ""; GType gam_app_get_type (void) { static GType gam_app_type = 0; if (!gam_app_type) { static const GTypeInfo gam_app_info = { sizeof (GamAppClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_app_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamApp), 0, /* n_preallocs */ (GInstanceInitFunc) gam_app_init, }; gam_app_type = g_type_register_static (GTK_TYPE_WINDOW, "GamApp", &gam_app_info, 0); } return gam_app_type; } static void gam_app_class_init (GamAppClass *klass) { GObjectClass *gobject_class; GtkObjectClass *object_class; gobject_class = G_OBJECT_CLASS (klass); object_class = GTK_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); gobject_class->constructor = gam_app_constructor; object_class->destroy = gam_app_destroy; g_type_class_add_private (gobject_class, sizeof (GamAppPrivate)); } static void gam_app_init (GamApp *gam_app) { GamAppPrivate *priv; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); priv->gconf_client = gconf_client_get_default (); /*gconf_client_add_dir (priv->gconf_client, "/apps/PAW/PAWed/preferences", GCONF_CLIENT_PRELOAD_NONE, NULL);*/ priv->ui_manager = gtk_ui_manager_new (); priv->ui_accel_group = gtk_ui_manager_get_accel_group (priv->ui_manager); priv->main_action_group = gtk_action_group_new ("MainActions"); #ifdef ENABLE_NLS gtk_action_group_set_translation_domain (priv->main_action_group, GETTEXT_PACKAGE); #endif priv->status_bar = gtk_statusbar_new (); priv->tip_message_cid = gtk_statusbar_get_context_id (GTK_STATUSBAR (priv->status_bar), "GamAppToolTips"); priv->notebook = gtk_notebook_new (); gtk_notebook_set_scrollable (GTK_NOTEBOOK (priv->notebook), TRUE); gtk_notebook_set_tab_pos (GTK_NOTEBOOK (priv->notebook), GTK_POS_TOP); } static gboolean gam_app_delete (GtkWidget *widget, gpointer user_data) { #ifdef DEBUG g_message ("%s - %d: gam_app_delete", __FILE__, __LINE__); #endif GamApp *gam_app; g_return_if_fail (widget != NULL); g_return_if_fail (GAM_IS_APP (widget)); gam_app = GAM_APP (widget); gam_app_save_prefs (gam_app); return FALSE; } static void gam_app_destroy (GtkObject *object) { #ifdef DEBUG g_message ("%s - %d: gam_app_destroy", __FILE__, __LINE__); #endif GamApp *gam_app; GamAppPrivate *priv; g_return_if_fail (object != NULL); g_return_if_fail (GAM_IS_APP (object)); gam_app = GAM_APP (object); priv = GAM_APP_GET_PRIVATE (gam_app); gtk_main_quit (); priv->gconf_client = NULL; priv->status_bar = NULL; priv->notebook = NULL; gtk_container_foreach (GTK_CONTAINER (gam_app), (GtkCallback) gtk_widget_destroy, NULL); } static GObject * gam_app_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamApp *gam_app; GamAppPrivate *priv; GtkWidget *main_box, *mixer, *label; GError *error; snd_ctl_t *ctl_handle; gint result, index = 0; gchar *card; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_app = GAM_APP (object); priv = GAM_APP_GET_PRIVATE (gam_app); g_signal_connect (G_OBJECT (gam_app), "delete_event", G_CALLBACK (gam_app_delete), NULL); gnome_window_icon_set_default_from_file (PIXMAP_ICONDIR"/gnome-alsamixer-icon.png"); // Build the main menu and toolbar gtk_action_group_add_actions (priv->main_action_group, action_entries, G_N_ELEMENTS (action_entries), gam_app); gtk_ui_manager_insert_action_group (priv->ui_manager, priv->main_action_group, 0); gtk_window_add_accel_group (GTK_WINDOW (gam_app), priv->ui_accel_group); error = NULL; if (!gtk_ui_manager_add_ui_from_string (priv->ui_manager, ui_description, -1, &error)) { g_message ("building ui failed: %s", error->message); g_error_free (error); exit (EXIT_FAILURE); } g_signal_connect (G_OBJECT (priv->ui_manager), "connect_proxy", G_CALLBACK (gam_app_ui_connect_proxy_cb), gam_app); g_signal_connect (G_OBJECT (priv->ui_manager), "disconnect_proxy", G_CALLBACK (gam_app_ui_disconnect_proxy_cb), gam_app); do { card = g_strdup_printf ("hw:%d", index++); result = snd_ctl_open (&ctl_handle, card, 0); if (result == 0) { snd_ctl_close(ctl_handle); mixer = gam_mixer_new (gam_app, card); if (gam_mixer_get_visible (GAM_MIXER (mixer))) gtk_widget_show (mixer); g_signal_connect (G_OBJECT (mixer), "display_name_changed", G_CALLBACK (gam_app_mixer_display_name_changed_cb), gam_app); g_signal_connect (G_OBJECT (mixer), "visibility_changed", G_CALLBACK (gam_app_mixer_visibility_changed_cb), gam_app); label = gtk_label_new (gam_mixer_get_display_name (GAM_MIXER (mixer))); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT); gtk_notebook_append_page (GTK_NOTEBOOK (priv->notebook), mixer, label); } g_free (card); } while (result == 0); priv->num_cards = index - 1; // Pack widgets into window main_box = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (gam_app), main_box); gtk_box_pack_start (GTK_BOX (main_box), gtk_ui_manager_get_widget (priv->ui_manager, "/MainMenu"), FALSE, FALSE, 0); gtk_box_pack_end (GTK_BOX (main_box), priv->status_bar, FALSE, FALSE, 0); gtk_widget_show_all (GTK_WIDGET (main_box)); gtk_box_pack_start (GTK_BOX (main_box), priv->notebook, TRUE, TRUE, 0); gtk_widget_show (priv->notebook); gam_app_load_prefs (gam_app); /*gconf_client_notify_add (priv->gconf_client, "/apps/PAW/gnomealsamixer/preferences/tab_position", (GConfClientNotifyFunc) pawed_app_gconf_notify_func, pawed_app, NULL, NULL);*/ return object; } static void gam_app_load_prefs (GamApp *gam_app) { GamAppPrivate *priv; gint height, width; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); width = gconf_client_get_int (priv->gconf_client, "/apps/PAW/gnome-alsamixer/geometry/main_window_width", NULL); height = gconf_client_get_int (priv->gconf_client, "/apps/PAW/gnome-alsamixer/geometry/main_window_height", NULL); if ((height != 0) && (width != 0)) gtk_window_resize (GTK_WINDOW (gam_app), width, height); else /* This is really pedantic, since it is very unlikely to ever happen */ gtk_window_set_default_size (GTK_WINDOW (gam_app), 480, 350); } static void gam_app_save_prefs (GamApp *gam_app) { GamAppPrivate *priv; gint height, width; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); gdk_window_get_geometry (GDK_WINDOW (GTK_WIDGET (gam_app)->window), NULL, NULL, &width, &height, NULL); gconf_client_set_int (priv->gconf_client, "/apps/PAW/gnome-alsamixer/geometry/main_window_height", height, NULL); gconf_client_set_int (priv->gconf_client, "/apps/PAW/gnome-alsamixer/geometry/main_window_width", width, NULL); gconf_client_suggest_sync (priv->gconf_client, NULL); } static GamMixer * gam_app_get_current_mixer (GamApp *gam_app) { GamAppPrivate *priv; GtkWidget *mixer; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); mixer = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), gtk_notebook_get_current_page (GTK_NOTEBOOK (priv->notebook))); return (GAM_MIXER (mixer)); } static void gam_app_quit_cb (GtkWidget *widget, GamApp *gam_app) { #ifdef DEBUG g_message ("%s - %d: gam_app_quit_cb", __FILE__, __LINE__); #endif g_return_if_fail (GAM_IS_APP (gam_app)); if (!gam_app_delete (GTK_WIDGET (gam_app), NULL)) { #ifdef DEBUG g_message ("%s - %d: gam_app deleted, calling gtk_widget_destroy", __FILE__, __LINE__); #endif gtk_widget_destroy (GTK_WIDGET (gam_app)); } } static void gam_app_about_cb (GtkWidget *widget, gpointer data) { const gchar *authors[] = { "Derrick J Houy ", "", N_("Contributors:"), "David Fort ", "Ben Liblit ", NULL }; #ifdef HAVE_GTK26 gtk_show_about_dialog (GTK_WINDOW (data), "authors", authors, "comments", _("An ALSA mixer for GNOME"), "copyright", "\302\251 2001\342\200\2232005 PAW Digital Dynamics", "name", _("GNOME ALSA Mixer"), "version", VERSION, NULL); #else GtkWidget *about; about = gnome_about_new (_("GNOME ALSA Mixer"), VERSION, "\302\251 2001\342\200\2232005 PAW Digital Dynamics", _("An ALSA mixer for GNOME"), authors, NULL, NULL, NULL); gtk_widget_set_name (about, "about"); gtk_window_set_wmclass (GTK_WINDOW (about), "GAMAbout", "GAMAbout"); gtk_window_set_destroy_with_parent (GTK_WINDOW (about), TRUE); gtk_widget_show (about); #endif } static void gam_app_preferences_cb (GtkMenuItem *menuitem, GamApp *gam_app) { static GtkWidget *dialog = NULL; if (dialog != NULL) { gtk_window_present (GTK_WINDOW (dialog)); gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (gam_app)); return; } dialog = gam_prefs_dlg_new (GTK_WINDOW (gam_app)); g_signal_connect (G_OBJECT (dialog), "destroy", G_CALLBACK (gtk_widget_destroyed), &dialog); gtk_widget_show (dialog); } static void gam_app_properties_cb (GtkMenuItem *menuitem, GamApp *gam_app) { gam_mixer_show_props_dialog (gam_app_get_current_mixer (gam_app)); } static void gam_app_mixer_display_name_changed_cb (GamMixer *gam_mixer, GamApp *gam_app) { GamAppPrivate *priv; g_return_if_fail (GAM_IS_APP (gam_app)); g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_APP_GET_PRIVATE (gam_app); gtk_notebook_set_tab_label_text (GTK_NOTEBOOK (priv->notebook), GTK_WIDGET (gam_mixer), gam_mixer_get_display_name (gam_mixer)); } static void gam_app_mixer_visibility_changed_cb (GamMixer *gam_mixer, GamApp *gam_app) { if (gam_mixer_get_visible (gam_mixer)) gtk_widget_show (GTK_WIDGET (gam_mixer)); else gtk_widget_hide (GTK_WIDGET (gam_mixer)); } static void gam_app_menu_item_select_cb (GtkMenuItem *proxy, GamApp *gam_app) { GamAppPrivate *priv; GtkAction *action; gchar *message; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); action = g_object_get_data (G_OBJECT (proxy), "gtk-action"); g_return_if_fail (action != NULL); g_object_get (G_OBJECT (action), "tooltip", &message, NULL); if (message) { gtk_statusbar_push (GTK_STATUSBAR (priv->status_bar), priv->tip_message_cid, message); g_free (message); } } static void gam_app_menu_item_deselect_cb (GtkMenuItem *proxy, GamApp *gam_app) { GamAppPrivate *priv; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); gtk_statusbar_pop (GTK_STATUSBAR (priv->status_bar), priv->tip_message_cid); } static void gam_app_ui_connect_proxy_cb (GtkUIManager *manager, GtkAction *action, GtkWidget *proxy, GamApp *gam_app) { if (GTK_IS_MENU_ITEM (proxy)) { g_signal_connect (G_OBJECT (proxy), "select", G_CALLBACK (gam_app_menu_item_select_cb), gam_app); g_signal_connect (G_OBJECT (proxy), "deselect", G_CALLBACK (gam_app_menu_item_deselect_cb), gam_app); } } static void gam_app_ui_disconnect_proxy_cb (GtkUIManager *manager, GtkAction *action, GtkWidget *proxy, GamApp *gam_app) { if (GTK_IS_MENU_ITEM (proxy)) { g_signal_handlers_disconnect_by_func (G_OBJECT (proxy), G_CALLBACK (gam_app_menu_item_select_cb), gam_app); g_signal_handlers_disconnect_by_func (G_OBJECT (proxy), G_CALLBACK (gam_app_menu_item_deselect_cb), gam_app); } } GtkWidget * gam_app_new (void) { return g_object_new (GAM_TYPE_APP, "title", _("GNOME ALSA Mixer"), NULL); } void gam_app_run (GamApp *gam_app) { gtk_widget_show (GTK_WIDGET (gam_app)); gtk_main (); } gint gam_app_get_num_cards (GamApp *gam_app) { GamAppPrivate *priv; g_return_val_if_fail (GAM_IS_APP (gam_app), 0); priv = GAM_APP_GET_PRIVATE (gam_app); return priv->num_cards; } GamMixer * gam_app_get_mixer (GamApp *gam_app, gint index) { GamAppPrivate *priv; GtkWidget *mixer; g_return_val_if_fail (GAM_IS_APP (gam_app), NULL); priv = GAM_APP_GET_PRIVATE (gam_app); g_return_val_if_fail ((index >= 0) && (index <= priv->num_cards), NULL); mixer = gtk_notebook_get_nth_page (GTK_NOTEBOOK (priv->notebook), index); return GAM_MIXER (mixer); } GConfClient * gam_app_get_gconf_client (GamApp *gam_app) { GamAppPrivate *priv; g_return_if_fail (GAM_IS_APP (gam_app)); priv = GAM_APP_GET_PRIVATE (gam_app); return priv->gconf_client; } gint gam_app_get_mixer_slider_style (GamApp *gam_app) { const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_style"; gint style = 0; g_return_if_fail (GAM_IS_APP (gam_app)); if (gconf_client_dir_exists (gam_app_get_gconf_client (gam_app), key, NULL)) style = gconf_client_get_int (gam_app_get_gconf_client (gam_app), key, NULL); return style; } void gam_app_set_mixer_slider_style (GamApp *gam_app, gint style) { const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_style"; g_return_if_fail (GAM_IS_APP (gam_app)); gconf_client_set_bool (gam_app_get_gconf_client (gam_app), key, style, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (gam_app), NULL); } gint gam_app_get_slider_toggle_style (GamApp *gam_app) { const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_toggle_style"; gint style = 1; g_return_if_fail (GAM_IS_APP (gam_app)); if (gconf_client_dir_exists (gam_app_get_gconf_client (gam_app), key, NULL)) style = gconf_client_get_int (gam_app_get_gconf_client (gam_app), key, NULL); return style; } void gam_app_set_slider_toggle_style (GamApp *gam_app, gint style) { const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_toggle_style"; g_return_if_fail (GAM_IS_APP (gam_app)); gconf_client_set_bool (gam_app_get_gconf_client (gam_app), key, style, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (gam_app), NULL); } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-app.h0000644000175000017500000000500110263506056017006 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_APP_H__ #define __GAM_APP_H__ #include #include G_BEGIN_DECLS #define GAM_CONFIG_DELIMITERS " &()+/" #define GAM_TYPE_APP (gam_app_get_type ()) #define GAM_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_APP, GamApp)) #define GAM_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_APP, GamAppClass)) #define GAM_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_APP)) #define GAM_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_APP)) #define GAM_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_APP, GamAppClass)) typedef struct _GamApp GamApp; typedef struct _GamAppClass GamAppClass; struct _GamApp { GtkWindow app; }; struct _GamAppClass { GtkWindowClass parent_class; }; #include "gam-mixer.h" GType gam_app_get_type (void) G_GNUC_CONST; GtkWidget *gam_app_new (void); void gam_app_run (GamApp *gam_app); gint gam_app_get_num_cards (GamApp *gam_app); GamMixer *gam_app_get_mixer (GamApp *gam_app, gint index); GConfClient *gam_app_get_gconf_client (GamApp *gam_app); gint gam_app_get_mixer_slider_style (GamApp *gam_app); void gam_app_set_mixer_slider_style (GamApp *gam_app, gint style); gint gam_app_get_slider_toggle_style (GamApp *gam_app); void gam_app_set_slider_toggle_style (GamApp *gam_app, gint style); G_END_DECLS #endif /* __GAM_APP_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/gam-props-dlg.c0000644000175000017500000003411110263146313020130 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include "gam-props-dlg.h" #include "gam-slider.h" enum { PROP_0, PROP_MIXER }; #define GAM_PROPS_DLG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_PROPS_DLG, GamPropsDlgPrivate)) typedef struct _GamPropsDlgPrivate GamPropsDlgPrivate; struct _GamPropsDlgPrivate { gpointer mixer; GSList *slider_entries; GSList *slider_toggles; GSList *toggle_entries; GSList *toggle_toggles; }; static void gam_props_dlg_class_init (GamPropsDlgClass *klass); static void gam_props_dlg_init (GamPropsDlg *gam_props_dlg); static void gam_props_dlg_finalize (GObject *object); static GObject *gam_props_dlg_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static void gam_props_dlg_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gam_props_dlg_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gam_props_dlg_response_handler (GtkDialog *dialog, gint res_id, GamPropsDlg *gam_props_dlg); static gpointer parent_class; GType gam_props_dlg_get_type (void) { static GType gam_props_dlg_type = 0; if (!gam_props_dlg_type) { static const GTypeInfo gam_props_dlg_info = { sizeof (GamPropsDlgClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_props_dlg_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamPropsDlg), 0, /* n_preallocs */ (GInstanceInitFunc) gam_props_dlg_init, }; gam_props_dlg_type = g_type_register_static (GTK_TYPE_DIALOG, "GamPropsDlg", &gam_props_dlg_info, 0); } return gam_props_dlg_type; } static void gam_props_dlg_class_init (GamPropsDlgClass *klass) { GObjectClass *gobject_class; gobject_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_props_dlg_finalize; gobject_class->constructor = gam_props_dlg_constructor; gobject_class->set_property = gam_props_dlg_set_property; gobject_class->get_property = gam_props_dlg_get_property; g_object_class_install_property (gobject_class, PROP_MIXER, g_param_spec_pointer ("mixer", _("Mixer"), _("Mixer"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_type_class_add_private (gobject_class, sizeof (GamPropsDlgPrivate)); } static void gam_props_dlg_init (GamPropsDlg *gam_props_dlg) { GamPropsDlgPrivate *priv; g_return_if_fail (GAM_IS_PROPS_DLG (gam_props_dlg)); priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); priv->mixer = NULL; priv->slider_entries = NULL; priv->slider_toggles = NULL; priv->toggle_entries = NULL; priv->toggle_toggles = NULL; } static void gam_props_dlg_finalize (GObject *object) { GamPropsDlg *gam_props_dlg; GamPropsDlgPrivate *priv; g_return_if_fail (object != NULL); gam_props_dlg = GAM_PROPS_DLG (object); g_return_if_fail (GAM_IS_PROPS_DLG (gam_props_dlg)); priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); g_slist_free (priv->slider_entries); g_slist_free (priv->slider_toggles); g_slist_free (priv->toggle_entries); g_slist_free (priv->toggle_toggles); priv->mixer = NULL; priv->slider_entries = NULL; priv->slider_toggles = NULL; priv->toggle_entries = NULL; priv->toggle_toggles = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject * gam_props_dlg_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamPropsDlg *gam_props_dlg; GamPropsDlgPrivate *priv; GtkWidget *vbox1, *vbox2, *vbox3, *hbox, *entry, *toggle, *label, *separator, *scrolled_window; GtkObject *hadjustment, *vadjustment; GtkSizeGroup *size_group; GamSlider *gam_slider; GamToggle *gam_toggle; gchar *slider_name, *toggle_name, *label_text; gint i; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_props_dlg = GAM_PROPS_DLG (object); priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); gtk_dialog_set_has_separator (GTK_DIALOG (gam_props_dlg), FALSE); gtk_dialog_add_button (GTK_DIALOG (gam_props_dlg), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); gtk_dialog_set_default_response (GTK_DIALOG (gam_props_dlg), GTK_RESPONSE_CLOSE); g_signal_connect(G_OBJECT (gam_props_dlg), "response", G_CALLBACK (gam_props_dlg_response_handler), gam_props_dlg); gtk_container_set_border_width (GTK_CONTAINER (gam_props_dlg), 12); gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (gam_props_dlg)->vbox), 18); hadjustment = gtk_adjustment_new (0, 0, 101, 5, 5, 5); vadjustment = gtk_adjustment_new (0, 0, 101, 5, 5, 5); scrolled_window = gtk_scrolled_window_new (GTK_ADJUSTMENT (hadjustment), GTK_ADJUSTMENT (vadjustment)); gtk_widget_set_usize (scrolled_window, -1, 350); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (gam_props_dlg)->vbox), scrolled_window, FALSE, FALSE, 0); vbox1 = gtk_vbox_new (FALSE, 18); gtk_container_set_border_width (GTK_CONTAINER (vbox1), 12); gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), vbox1); size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH); vbox2 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, FALSE, 0); label = gtk_label_new (""); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); label_text = g_strdup_printf ("%s", _("Sound Card Element Names and Visibility")); gtk_label_set_markup (GTK_LABEL (label), label_text); g_free (label_text); gtk_box_pack_start (GTK_BOX (vbox2), label, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0); label = gtk_label_new (" "); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); vbox3 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (hbox), vbox3, FALSE, FALSE, 0); for (i = 0; i < gam_mixer_slider_count (GAM_MIXER (priv->mixer)); i++) { hbox = gtk_hbox_new (FALSE, 0); gtk_container_set_border_width (GTK_CONTAINER (hbox), 0); gam_slider = gam_mixer_get_nth_slider (GAM_MIXER (priv->mixer), i); toggle = gtk_check_button_new_with_label (gam_slider_get_name (gam_slider)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), gam_slider_get_visible (gam_slider)); gtk_size_group_add_widget (size_group, toggle); priv->slider_toggles = g_slist_append (priv->slider_toggles, toggle); entry = gtk_entry_new (); priv->slider_entries = g_slist_append (priv->slider_entries, entry); slider_name = gam_slider_get_display_name (gam_slider); gtk_entry_set_text (GTK_ENTRY (entry), slider_name); gtk_entry_set_max_length (GTK_ENTRY (entry), 8); g_free (slider_name); gtk_box_pack_start (GTK_BOX (hbox), toggle, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), entry, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox3), hbox, FALSE, FALSE, 0); } for (i = 0; i < gam_mixer_toggle_count (GAM_MIXER (priv->mixer)); i++) { hbox = gtk_hbox_new (FALSE, 0); gtk_container_set_border_width (GTK_CONTAINER (hbox), 0); gam_toggle = gam_mixer_get_nth_toggle (GAM_MIXER (priv->mixer), i); toggle = gtk_check_button_new_with_label (gam_toggle_get_name (gam_toggle)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), gam_toggle_get_visible (gam_toggle)); gtk_size_group_add_widget (size_group, toggle); priv->toggle_toggles = g_slist_append (priv->toggle_toggles, toggle); entry = gtk_entry_new (); priv->toggle_entries = g_slist_append (priv->toggle_entries, entry); toggle_name = gam_toggle_get_display_name (gam_toggle); gtk_entry_set_text (GTK_ENTRY (entry), toggle_name); g_free (toggle_name); gtk_box_pack_start (GTK_BOX (hbox), toggle, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), entry, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox3), hbox, FALSE, FALSE, 0); } gtk_widget_show_all (GTK_DIALOG (gam_props_dlg)->vbox); gtk_window_set_title (GTK_WINDOW (gam_props_dlg), _("Sound Card Properties")); gtk_window_set_resizable (GTK_WINDOW (gam_props_dlg), FALSE); return object; } static void gam_props_dlg_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GamPropsDlg *gam_props_dlg; GamPropsDlgPrivate *priv; gam_props_dlg = GAM_PROPS_DLG (object); priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); switch (prop_id) { case PROP_MIXER: priv->mixer = g_value_get_pointer (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_props_dlg_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GamPropsDlg *gam_props_dlg; GamPropsDlgPrivate *priv; gam_props_dlg = GAM_PROPS_DLG (object); priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); switch (prop_id) { case PROP_MIXER: g_value_set_pointer (value, priv->mixer); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_props_dlg_response_handler (GtkDialog *dialog, gint res_id, GamPropsDlg *gam_props_dlg) { GamPropsDlgPrivate *priv; GamMixer *gam_mixer; GamSlider *gam_slider; GamToggle *gam_toggle; GtkEntry *entry; GtkToggleButton *toggle; gint i; priv = GAM_PROPS_DLG_GET_PRIVATE (gam_props_dlg); switch (res_id) { default: gam_mixer = GAM_MIXER (priv->mixer); for (i = 0; i < g_slist_length (priv->slider_toggles); i++) { gam_slider = gam_mixer_get_nth_slider (gam_mixer, i); entry = GTK_ENTRY (g_slist_nth_data (priv->slider_entries, i)); toggle = GTK_TOGGLE_BUTTON (g_slist_nth_data (priv->slider_toggles, i)); gam_slider_set_display_name (gam_slider, gtk_entry_get_text (entry)); gam_slider_set_visible (gam_slider, gtk_toggle_button_get_active (toggle)); } for (i = 0; i < g_slist_length (priv->toggle_toggles); i++) { gam_toggle = gam_mixer_get_nth_toggle (gam_mixer, i); entry = GTK_ENTRY (g_slist_nth_data (priv->toggle_entries, i)); toggle = GTK_TOGGLE_BUTTON (g_slist_nth_data (priv->toggle_toggles, i)); gam_toggle_set_display_name (gam_toggle, gtk_entry_get_text (entry)); gam_toggle_set_visible (gam_toggle, gtk_toggle_button_get_active (toggle)); } gtk_widget_destroy (GTK_WIDGET (dialog)); } } GtkWidget * gam_props_dlg_new (GtkWindow *parent, GamMixer *gam_mixer) { GtkWidget *dialog; dialog = g_object_new (GAM_TYPE_PROPS_DLG, "mixer", gam_mixer, NULL); if (parent) gtk_window_set_transient_for (GTK_WINDOW (dialog), parent); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); return dialog; } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-props-dlg.h0000644000175000017500000000366110262772561020154 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_PROPS_H__ #define __GAM_PROPS_H__ #include #include "gam-mixer.h" G_BEGIN_DECLS #define GAM_TYPE_PROPS_DLG (gam_props_dlg_get_type ()) #define GAM_PROPS_DLG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_PROPS_DLG, GamPropsDlg)) #define GAM_PROPS_DLG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_PROPS_DLG, GamPropsDlgClass)) #define GAM_IS_PROPS_DLG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_PROPS_DLG)) #define GAM_IS_PROPS_DLG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_PROPS_DLG)) #define GAM_PROPS_DLG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_PROPS_DLG, GamPropsDlgClass)) typedef struct _GamPropsDlg GamPropsDlg; typedef struct _GamPropsDlgClass GamPropsDlgClass; struct _GamPropsDlg { GtkDialog parent_instance; }; struct _GamPropsDlgClass { GtkDialogClass parent_class; }; GType gam_props_dlg_get_type (void) G_GNUC_CONST; GtkWidget *gam_props_dlg_new (GtkWindow *parent, GamMixer *gam_mixer); G_END_DECLS #endif /* __GAM_PROPS_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/Makefile.am0000644000175000017500000000144607724636341017371 0ustar adnadn## Process this file with automake to produce Makefile.in INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)/gnome-alsamixer"\" \ -DPIXMAP_ICONDIR=\""$(datadir)/pixmaps/gnome-alsamixer"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ -DGTK_DISABLE_DEPRECATED \ -DGNOME_DISABLE_DEPRECATED \ @PACKAGE_CFLAGS@ bin_PROGRAMS = gnome-alsamixer gnome_alsamixer_SOURCES = \ gam-main.c \ gam-app.c gam-app.h \ gam-mixer.c gam-mixer.h \ gam-slider.c gam-slider.h \ gam-slider-pan.c gam-slider-pan.h \ gam-slider-dual.c gam-slider-dual.h \ gam-toggle.c gam-toggle.h \ gam-prefs-dlg.c gam-prefs-dlg.h \ gam-props-dlg.c gam-props-dlg.h gnome_alsamixer_LDADD = @PACKAGE_LIBS@ gnome-alsamixer-0.9.7~cvs.20060916/src/Makefile.in0000644000175000017500000003505610502647066017400 0ustar adnadn# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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 = : bin_PROGRAMS = gnome-alsamixer$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_gnome_alsamixer_OBJECTS = gam-main.$(OBJEXT) gam-app.$(OBJEXT) \ gam-mixer.$(OBJEXT) gam-slider.$(OBJEXT) \ gam-slider-pan.$(OBJEXT) gam-slider-dual.$(OBJEXT) \ gam-toggle.$(OBJEXT) gam-prefs-dlg.$(OBJEXT) \ gam-props-dlg.$(OBJEXT) gnome_alsamixer_OBJECTS = $(am_gnome_alsamixer_OBJECTS) gnome_alsamixer_DEPENDENCIES = DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(gnome_alsamixer_SOURCES) DIST_SOURCES = $(gnome_alsamixer_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 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@ DBUS_GTK_CFLAGS = @DBUS_GTK_CFLAGS@ DBUS_GTK_LIBS = @DBUS_GTK_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ 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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 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@ 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@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)/gnome-alsamixer"\" \ -DPIXMAP_ICONDIR=\""$(datadir)/pixmaps/gnome-alsamixer"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ -DGTK_DISABLE_DEPRECATED \ -DGNOME_DISABLE_DEPRECATED \ @PACKAGE_CFLAGS@ gnome_alsamixer_SOURCES = \ gam-main.c \ gam-app.c gam-app.h \ gam-mixer.c gam-mixer.h \ gam-slider.c gam-slider.h \ gam-slider-pan.c gam-slider-pan.h \ gam-slider-dual.c gam-slider-dual.h \ gam-toggle.c gam-toggle.h \ gam-prefs-dlg.c gam-prefs-dlg.h \ gam-props-dlg.c gam-props-dlg.h gnome_alsamixer_LDADD = @PACKAGE_LIBS@ all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(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) gnome-alsamixer$(EXEEXT): $(gnome_alsamixer_OBJECTS) $(gnome_alsamixer_DEPENDENCIES) @rm -f gnome-alsamixer$(EXEEXT) $(LINK) $(gnome_alsamixer_LDFLAGS) $(gnome_alsamixer_OBJECTS) $(gnome_alsamixer_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-app.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-mixer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-prefs-dlg.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-props-dlg.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-slider-dual.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-slider-pan.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-slider.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gam-toggle.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` uninstall-info-am: 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 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; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi 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 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"; \ $(mkdir_p) "$(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: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(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 -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-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 -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-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: gnome-alsamixer-0.9.7~cvs.20060916/src/gam-slider-dual.c0000644000175000017500000004570510263503273020443 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "gam-slider-dual.h" #define GAM_SLIDER_DUAL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_SLIDER_DUAL, GamSliderDualPrivate)) typedef struct _GamSliderDualPrivate GamSliderDualPrivate; struct _GamSliderDualPrivate { gpointer app; GtkWidget *lock_button; GtkWidget *vol_slider_left; GtkWidget *vol_slider_right; GtkObject *vol_adjustment_left; GtkObject *vol_adjustment_right; gdouble pan; gboolean refreshing; }; static void gam_slider_dual_class_init (GamSliderDualClass *klass); static void gam_slider_dual_init (GamSliderDual *gam_slider_dual); static void gam_slider_dual_finalize (GObject *object); static GObject *gam_slider_dual_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static gint gam_slider_dual_get_volume_left (GamSliderDual *gam_slider_dual); static gint gam_slider_dual_get_volume_right (GamSliderDual *gam_slider_dual); static void gam_slider_dual_update_volume_left (GamSliderDual *gam_slider_dual); static void gam_slider_dual_update_volume_right (GamSliderDual *gam_slider_dual); static gint gam_slider_dual_lock_button_toggled_cb (GtkWidget *widget, GamSliderDual *gam_slider_dual); static gint gam_slider_dual_volume_left_value_changed_cb (GtkWidget *widget, GamSliderDual *gam_slider_dual); static gint gam_slider_dual_volume_right_value_changed_cb (GtkWidget *widget, GamSliderDual *gam_slider_dual); static void gam_slider_dual_refresh (GamSlider *gam_slider); static void gam_slider_dual_set_pan (GamSliderDual *gam_slider_dual); static gboolean gam_slider_dual_get_locked (GamSliderDual *gam_slider_dual); static void gam_slider_dual_set_locked (GamSliderDual *gam_slider_dual, gboolean locked); static gpointer parent_class; GType gam_slider_dual_get_type (void) { static GType gam_slider_dual_type = 0; if (!gam_slider_dual_type) { static const GTypeInfo gam_slider_dual_info = { sizeof (GamSliderDualClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_slider_dual_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamSliderDual), 0, /* n_preallocs */ (GInstanceInitFunc) gam_slider_dual_init, }; gam_slider_dual_type = g_type_register_static (GAM_TYPE_SLIDER, "GamSliderDual", &gam_slider_dual_info, 0); } return gam_slider_dual_type; } static void gam_slider_dual_class_init (GamSliderDualClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GamSliderClass *object_class = GAM_SLIDER_CLASS (klass); parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_slider_dual_finalize; gobject_class->constructor = gam_slider_dual_constructor; object_class->refresh = gam_slider_dual_refresh; g_type_class_add_private (gobject_class, sizeof (GamSliderDualPrivate)); } static void gam_slider_dual_init (GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_DUAL (gam_slider_dual)); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); g_object_get (G_OBJECT (gam_slider_dual), "app", &priv->app, NULL); priv->lock_button = NULL; priv->vol_slider_left = NULL; priv->vol_slider_right = NULL; priv->vol_adjustment_left = NULL; priv->vol_adjustment_right = NULL; priv->refreshing = FALSE; } static void gam_slider_dual_finalize (GObject *object) { GamSliderDual *gam_slider_dual; GamSliderDualPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_DUAL (object)); gam_slider_dual = GAM_SLIDER_DUAL (object); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); g_object_unref (priv->app); priv->app = NULL; priv->vol_adjustment_left = NULL; priv->vol_adjustment_right = NULL; priv->vol_slider_left = NULL; priv->vol_slider_right = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject * gam_slider_dual_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamSliderDual *gam_slider_dual; GamSliderDualPrivate *priv; GtkWidget *hbox; gint value; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_slider_dual = GAM_SLIDER_DUAL (object); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); hbox = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox); priv->vol_adjustment_left = gtk_adjustment_new (gam_slider_dual_get_volume_left (gam_slider_dual), 0, 101, 1, 5, 1); g_signal_connect (G_OBJECT (priv->vol_adjustment_left), "value-changed", G_CALLBACK (gam_slider_dual_volume_left_value_changed_cb), gam_slider_dual); priv->vol_slider_left = gtk_vscale_new (GTK_ADJUSTMENT (priv->vol_adjustment_left)); gtk_widget_show (priv->vol_slider_left); gtk_scale_set_draw_value (GTK_SCALE (priv->vol_slider_left), FALSE); gtk_box_pack_start (GTK_BOX (hbox), priv->vol_slider_left, TRUE, TRUE, 0); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) { priv->vol_adjustment_right = gtk_adjustment_new (gam_slider_dual_get_volume_right (gam_slider_dual), 0, 101, 1, 5, 1); g_signal_connect (G_OBJECT (priv->vol_adjustment_right), "value-changed", G_CALLBACK (gam_slider_dual_volume_right_value_changed_cb), gam_slider_dual); priv->vol_slider_right = gtk_vscale_new (GTK_ADJUSTMENT (priv->vol_adjustment_right)); gtk_widget_show (priv->vol_slider_right); gtk_scale_set_draw_value (GTK_SCALE (priv->vol_slider_right), FALSE); gtk_box_pack_start (GTK_BOX (hbox), priv->vol_slider_right, TRUE, TRUE, 0); } gam_slider_add_volume_widget (GAM_SLIDER (gam_slider_dual), hbox); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) { if (gam_app_get_slider_toggle_style (GAM_APP (priv->app)) == 0) priv->lock_button = gtk_toggle_button_new_with_label (_("Lock")); else priv->lock_button = gtk_check_button_new_with_label (_("Lock")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->lock_button), gam_slider_dual_get_locked (gam_slider_dual)); g_signal_connect (G_OBJECT (priv->lock_button), "toggled", G_CALLBACK (gam_slider_dual_lock_button_toggled_cb), gam_slider_dual); } else priv->lock_button = gtk_label_new (NULL); gtk_widget_show (priv->lock_button); gam_slider_add_pan_widget (GAM_SLIDER (gam_slider_dual), priv->lock_button); gtk_label_set_mnemonic_widget (gam_slider_get_label_widget (GAM_SLIDER (gam_slider_dual)), priv->vol_slider_left); return object; } static gint gam_slider_dual_get_volume_left (GamSliderDual *gam_slider_dual) { glong left_chn, pmin, pmax; if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) snd_mixer_selem_get_playback_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); else snd_mixer_selem_get_capture_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) snd_mixer_selem_get_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_LEFT, &left_chn); else snd_mixer_selem_get_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_LEFT, &left_chn); return rint (100 - (left_chn * (100 / (gfloat)pmax))); } static gint gam_slider_dual_get_volume_right (GamSliderDual *gam_slider_dual) { glong right_chn, pmin, pmax; if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) snd_mixer_selem_get_playback_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); else snd_mixer_selem_get_capture_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) snd_mixer_selem_get_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_RIGHT, &right_chn); else snd_mixer_selem_get_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_RIGHT, &right_chn); return rint (100 - (right_chn * (100 / (gfloat)pmax))); } static void gam_slider_dual_update_volume_left (GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; gint left_chn = 0; glong pmin, pmax; priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) snd_mixer_selem_get_playback_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); else snd_mixer_selem_get_capture_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); left_chn = rint ((100 - GTK_ADJUSTMENT (priv->vol_adjustment_left)->value) / (100 / (gfloat)pmax)); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) { snd_mixer_selem_set_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_LEFT, left_chn); } else { snd_mixer_selem_set_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_LEFT, left_chn); } } static void gam_slider_dual_update_volume_right (GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; gint right_chn = 0; glong pmin, pmax; priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) snd_mixer_selem_get_playback_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); else snd_mixer_selem_get_capture_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), &pmin, &pmax); right_chn = rint ((100 - GTK_ADJUSTMENT (priv->vol_adjustment_right)->value) / (100 / (gfloat)pmax)); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) { snd_mixer_selem_set_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_RIGHT, right_chn); } else { snd_mixer_selem_set_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)), SND_MIXER_SCHN_FRONT_RIGHT, right_chn); } } static gint gam_slider_dual_lock_button_toggled_cb (GtkWidget *widget, GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); gam_slider_dual_set_locked (gam_slider_dual, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->lock_button))); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->lock_button))) gam_slider_dual_set_pan (gam_slider_dual); return TRUE; } static gint gam_slider_dual_volume_left_value_changed_cb (GtkWidget *widget, GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); if (priv->refreshing) return TRUE; gam_slider_dual_update_volume_left (gam_slider_dual); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) { if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->lock_button))) { gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->vol_adjustment_right), gtk_adjustment_get_value (GTK_ADJUSTMENT (priv->vol_adjustment_left)) - priv->pan); gam_slider_dual_update_volume_right (gam_slider_dual); gam_slider_dual_set_pan (gam_slider_dual); } } return TRUE; } static gint gam_slider_dual_volume_right_value_changed_cb (GtkWidget *widget, GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); if (priv->refreshing) return TRUE; gam_slider_dual_update_volume_right (gam_slider_dual); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_dual)))) { if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->lock_button))) { gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->vol_adjustment_left), gtk_adjustment_get_value (GTK_ADJUSTMENT (priv->vol_adjustment_right)) + priv->pan); gam_slider_dual_update_volume_left (gam_slider_dual); gam_slider_dual_set_pan (gam_slider_dual); } } return TRUE; } static void gam_slider_dual_refresh (GamSlider *gam_slider) { GamSliderDual * const gam_slider_dual = GAM_SLIDER_DUAL (snd_mixer_elem_get_callback_private (gam_slider_get_elem (gam_slider))); GamSliderDualPrivate *priv; gint value; priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); priv->refreshing = TRUE; gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->vol_adjustment_left), (gdouble) gam_slider_dual_get_volume_left (gam_slider_dual)); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (gam_slider))) { gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->vol_adjustment_right), (gdouble) gam_slider_dual_get_volume_right (gam_slider_dual)); } gam_slider_dual_set_pan (gam_slider_dual); priv->refreshing = FALSE; } static void gam_slider_dual_set_pan (GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_DUAL (gam_slider_dual)); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); priv->pan = gtk_adjustment_get_value (GTK_ADJUSTMENT (priv->vol_adjustment_left)) - gtk_adjustment_get_value (GTK_ADJUSTMENT (priv->vol_adjustment_right)); } static gboolean gam_slider_dual_get_locked (GamSliderDual *gam_slider_dual) { GamSliderDualPrivate *priv; gchar *key; gboolean locked = TRUE; g_return_if_fail (GAM_IS_SLIDER_DUAL (gam_slider_dual)); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); key = g_strdup_printf ("/gnome-alsamixer/slider_locked/%s-%s", gam_mixer_get_config_name (gam_slider_get_mixer (GAM_SLIDER (gam_slider_dual))), gam_slider_get_config_name (GAM_SLIDER (gam_slider_dual))); if (gconf_client_dir_exists (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL)) locked = gconf_client_get_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); g_free (key); return locked; } static void gam_slider_dual_set_locked (GamSliderDual *gam_slider_dual, gboolean locked) { GamSliderDualPrivate *priv; gchar *key; g_return_if_fail (GAM_IS_SLIDER_DUAL (gam_slider_dual)); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_locked/%s-%s", gam_mixer_get_config_name (gam_slider_get_mixer (GAM_SLIDER (gam_slider_dual))), gam_slider_get_config_name (GAM_SLIDER (gam_slider_dual))); gconf_client_set_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, locked, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); g_free (key); } GtkWidget * gam_slider_dual_new (gpointer elem, GamMixer *gam_mixer, GamApp *gam_app) { g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); return g_object_new (GAM_TYPE_SLIDER_DUAL, "elem", elem, "mixer", gam_mixer, "app", gam_app, NULL); } void gam_slider_dual_set_size_groups (GamSliderDual *gam_slider_dual, GtkSizeGroup *pan_size_group, GtkSizeGroup *mute_size_group, GtkSizeGroup *capture_size_group) { GamSliderDualPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_DUAL (gam_slider_dual)); priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual); gtk_size_group_add_widget (pan_size_group, priv->lock_button); gtk_size_group_add_widget (mute_size_group, gam_slider_get_mute_widget (GAM_SLIDER (gam_slider_dual))); gtk_size_group_add_widget (capture_size_group, gam_slider_get_capture_widget (GAM_SLIDER (gam_slider_dual))); } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-slider-dual.h0000644000175000017500000000460510263503273020442 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_SLIDER_DUAL_H__ #define __GAM_SLIDER_DUAL_H__ #include "gam-slider.h" G_BEGIN_DECLS #define GAM_TYPE_SLIDER_DUAL (gam_slider_dual_get_type ()) #define GAM_SLIDER_DUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_SLIDER_DUAL, GamSliderDual)) #define GAM_SLIDER_DUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_SLIDER_DUAL, GamSliderDualClass)) #define GAM_IS_SLIDER_DUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_SLIDER_DUAL)) #define GAM_IS_SLIDER_DUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_SLIDER_DUAL)) #define GAM_SLIDER_DUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_SLIDER_DUAL, GamSliderDualClass)) typedef struct _GamSliderDual GamSliderDual; typedef struct _GamSliderDualClass GamSliderDualClass; struct _GamSliderDual { GamSlider parent_instance; }; struct _GamSliderDualClass { GamSliderClass parent_class; }; #include "gam-mixer.h" GType gam_slider_dual_get_type (void) G_GNUC_CONST; GtkWidget *gam_slider_dual_new (gpointer elem, GamMixer *gam_mixer, GamApp *gam_app); void gam_slider_dual_set_size_groups (GamSliderDual *gam_slider_dual, GtkSizeGroup *pan_size_group, GtkSizeGroup *mute_size_group, GtkSizeGroup *capture_size_group); G_END_DECLS #endif /* __GAM_SLIDER_DUAL_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/gam-main.c0000644000175000017500000000321010262772561017152 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "gam-app.h" int main (int argc, char *argv[]) { GtkWidget *app; GnomeProgram *prog; #ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); #endif prog = gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv, GNOME_PARAM_HUMAN_READABLE_NAME, _("GNOME ALSA Mixer"), GNOME_PARAM_APP_DATADIR, PACKAGE_DATA_DIR, NULL); if (!prog) return 1; app = gam_app_new (); if (!app) return 1; gam_app_run (GAM_APP (app)); return 0; } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-prefs-dlg.c0000644000175000017500000003700010263503273020106 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include "gam-prefs-dlg.h" #include "gam-app.h" #include "gam-mixer.h" enum { PROP_0, PROP_APP }; #define GAM_PREFS_DLG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_PREFS_DLG, GamPrefsDlgPrivate)) typedef struct _GamPrefsDlgPrivate GamPrefsDlgPrivate; struct _GamPrefsDlgPrivate { gpointer app; GSList *entries; GSList *toggles; GtkWidget *mixer_slider_style_0; GtkWidget *mixer_slider_style_1; GtkWidget *mixer_slider_toggle_style_0; GtkWidget *mixer_slider_toggle_style_1; }; static void gam_prefs_dlg_class_init (GamPrefsDlgClass *klass); static void gam_prefs_dlg_init (GamPrefsDlg *gam_prefs_dlg); static void gam_prefs_dlg_finalize (GObject *object); static GObject *gam_prefs_dlg_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static void gam_prefs_dlg_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gam_prefs_dlg_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gam_prefs_dlg_response_handler (GtkDialog *dialog, gint res_id, GamPrefsDlg *gam_prefs_dlg); static gpointer parent_class; GType gam_prefs_dlg_get_type (void) { static GType gam_prefs_dlg_type = 0; if (!gam_prefs_dlg_type) { static const GTypeInfo gam_prefs_dlg_info = { sizeof (GamPrefsDlgClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_prefs_dlg_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamPrefsDlg), 0, /* n_preallocs */ (GInstanceInitFunc) gam_prefs_dlg_init, }; gam_prefs_dlg_type = g_type_register_static (GTK_TYPE_DIALOG, "GamPrefsDlg", &gam_prefs_dlg_info, 0); } return gam_prefs_dlg_type; } static void gam_prefs_dlg_class_init (GamPrefsDlgClass *klass) { GObjectClass *gobject_class; gobject_class = G_OBJECT_CLASS (klass); parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_prefs_dlg_finalize; gobject_class->constructor = gam_prefs_dlg_constructor; gobject_class->set_property = gam_prefs_dlg_set_property; gobject_class->get_property = gam_prefs_dlg_get_property; g_object_class_install_property (gobject_class, PROP_APP, g_param_spec_pointer ("app", _("App"), _("Parent Application"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_type_class_add_private (gobject_class, sizeof (GamPrefsDlgPrivate)); } static void gam_prefs_dlg_init (GamPrefsDlg *gam_prefs_dlg) { GamPrefsDlgPrivate *priv; g_return_if_fail (GAM_IS_PREFS_DLG (gam_prefs_dlg)); priv = GAM_PREFS_DLG_GET_PRIVATE (gam_prefs_dlg); priv->app = NULL; priv->entries = NULL; priv->toggles = NULL; priv->mixer_slider_style_0 = NULL; priv->mixer_slider_style_1 = NULL; } static void gam_prefs_dlg_finalize (GObject *object) { GamPrefsDlg *gam_prefs_dlg; GamPrefsDlgPrivate *priv; g_return_if_fail (object != NULL); gam_prefs_dlg = GAM_PREFS_DLG (object); g_return_if_fail (GAM_IS_PREFS_DLG (gam_prefs_dlg)); priv = GAM_PREFS_DLG_GET_PRIVATE (gam_prefs_dlg); g_slist_free (priv->entries); g_slist_free (priv->toggles); priv->app = NULL; priv->entries = NULL; priv->toggles = NULL; priv->mixer_slider_style_0 = NULL; priv->mixer_slider_style_1 = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject *gam_prefs_dlg_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamPrefsDlg *gam_prefs_dlg; GamPrefsDlgPrivate *priv; GamApp *gam_app; GamMixer *mixer; GtkWidget *hbox, *entry, *toggle, *label, *separator, *vbox1, *vbox2, *vbox3; GtkSizeGroup *size_group; gchar *mixer_name, *label_text; gint i; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_prefs_dlg = GAM_PREFS_DLG (object); priv = GAM_PREFS_DLG_GET_PRIVATE (gam_prefs_dlg); gam_app = GAM_APP (priv->app); gtk_dialog_add_button (GTK_DIALOG (gam_prefs_dlg), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); gtk_dialog_set_default_response (GTK_DIALOG (gam_prefs_dlg), GTK_RESPONSE_CLOSE); g_signal_connect (G_OBJECT (gam_prefs_dlg), "response", G_CALLBACK (gam_prefs_dlg_response_handler), gam_prefs_dlg); size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH); gtk_container_set_border_width (GTK_CONTAINER (gam_prefs_dlg), 12); gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (gam_prefs_dlg)->vbox), 18); vbox1 = gtk_vbox_new (FALSE, 18); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (gam_prefs_dlg)->vbox), vbox1, FALSE, FALSE, 0); vbox2 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, FALSE, 0); label = gtk_label_new (""); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); label_text = g_strdup_printf ("%s", _("Sound Card Names and Visibility")); gtk_label_set_markup (GTK_LABEL (label), label_text); g_free (label_text); gtk_box_pack_start (GTK_BOX (vbox2), label, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0); label = gtk_label_new (" "); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); vbox3 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (hbox), vbox3, FALSE, FALSE, 0); for (i = 0; i < gam_app_get_num_cards (gam_app); i++) { hbox = gtk_hbox_new (FALSE, 12); gtk_container_set_border_width (GTK_CONTAINER (hbox), 0); mixer = gam_app_get_mixer (gam_app, i); toggle = gtk_check_button_new_with_label (gam_mixer_get_mixer_name (mixer)); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), gam_mixer_get_visible (mixer)); gtk_size_group_add_widget (size_group, toggle); priv->toggles = g_slist_append (priv->toggles, toggle); entry = gtk_entry_new (); priv->entries = g_slist_append (priv->entries, entry); mixer_name = gam_mixer_get_display_name (mixer); gtk_entry_set_text (GTK_ENTRY (entry), mixer_name); g_free (mixer_name); gtk_box_pack_start (GTK_BOX (hbox), toggle, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), entry, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox3), hbox, FALSE, FALSE, 0); } /* Mixer slider style section */ vbox1 = gtk_vbox_new (FALSE, 18); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (gam_prefs_dlg)->vbox), vbox1, FALSE, FALSE, 0); vbox2 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, FALSE, 0); label = gtk_label_new (""); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); label_text = g_strdup_printf ("%s", _("Slider Style")); gtk_label_set_markup (GTK_LABEL (label), label_text); g_free (label_text); gtk_box_pack_start (GTK_BOX (vbox2), label, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0); label = gtk_label_new (" "); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); vbox3 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (hbox), vbox3, FALSE, FALSE, 0); priv->mixer_slider_style_0 = gtk_radio_button_new_with_mnemonic (NULL, _("_Single slider with pan")); gtk_box_pack_start (GTK_BOX (vbox3), priv->mixer_slider_style_0, FALSE, FALSE, 0); priv->mixer_slider_style_1 = gtk_radio_button_new_with_mnemonic_from_widget (GTK_RADIO_BUTTON (priv->mixer_slider_style_0), _("_Dual slider with lock")); gtk_box_pack_start (GTK_BOX (vbox3), priv->mixer_slider_style_1, FALSE, FALSE, 0); if (gam_app_get_mixer_slider_style (GAM_APP (priv->app)) == 0) { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->mixer_slider_style_0), TRUE); } else { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->mixer_slider_style_1), TRUE); } /* Mixer slider toggle style section */ vbox1 = gtk_vbox_new (FALSE, 18); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (gam_prefs_dlg)->vbox), vbox1, FALSE, FALSE, 0); vbox2 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (vbox1), vbox2, FALSE, FALSE, 0); label = gtk_label_new (""); gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); label_text = g_strdup_printf ("%s", _("Slider Toggle Style")); gtk_label_set_markup (GTK_LABEL (label), label_text); g_free (label_text); gtk_box_pack_start (GTK_BOX (vbox2), label, FALSE, FALSE, 0); hbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0); label = gtk_label_new (" "); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); vbox3 = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (hbox), vbox3, FALSE, FALSE, 0); priv->mixer_slider_toggle_style_0 = gtk_radio_button_new_with_mnemonic (NULL, _("_Button")); gtk_box_pack_start (GTK_BOX (vbox3), priv->mixer_slider_toggle_style_0, FALSE, FALSE, 0); priv->mixer_slider_toggle_style_1 = gtk_radio_button_new_with_mnemonic_from_widget (GTK_RADIO_BUTTON (priv->mixer_slider_toggle_style_0), _("_Checkbox")); gtk_box_pack_start (GTK_BOX (vbox3), priv->mixer_slider_toggle_style_1, FALSE, FALSE, 0); if (gam_app_get_slider_toggle_style (GAM_APP (priv->app)) == 0) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->mixer_slider_toggle_style_0), TRUE); else gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->mixer_slider_toggle_style_1), TRUE); gtk_widget_show_all (GTK_DIALOG (gam_prefs_dlg)->vbox); gtk_window_set_title (GTK_WINDOW (gam_prefs_dlg), _("Program Preferences")); gtk_window_set_resizable (GTK_WINDOW (gam_prefs_dlg), FALSE); return object; } static void gam_prefs_dlg_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GamPrefsDlg *gam_prefs_dlg; GamPrefsDlgPrivate *priv; gam_prefs_dlg = GAM_PREFS_DLG (object); priv = GAM_PREFS_DLG_GET_PRIVATE (gam_prefs_dlg); switch (prop_id) { case PROP_APP: priv->app = g_value_get_pointer (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_prefs_dlg_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GamPrefsDlg *gam_prefs_dlg; GamPrefsDlgPrivate *priv; gam_prefs_dlg = GAM_PREFS_DLG (object); priv = GAM_PREFS_DLG_GET_PRIVATE (gam_prefs_dlg); switch (prop_id) { case PROP_APP: g_value_set_pointer (value, priv->app); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_prefs_dlg_response_handler (GtkDialog *dialog, gint res_id, GamPrefsDlg *gam_prefs_dlg) { GamPrefsDlgPrivate *priv; GamApp *gam_app; GamMixer *mixer; GtkEntry *entry; GtkToggleButton *toggle; gint i, style; priv = GAM_PREFS_DLG_GET_PRIVATE (gam_prefs_dlg); switch (res_id) { default: gam_app = GAM_APP (priv->app); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->mixer_slider_style_0))) style = 0; else style = 1; gam_app_set_mixer_slider_style (GAM_APP (priv->app), style); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->mixer_slider_toggle_style_0))) style = 0; else style = 1; gam_app_set_slider_toggle_style (GAM_APP (priv->app), style); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); for (i = 0; i < gam_app_get_num_cards (gam_app); i++) { mixer = gam_app_get_mixer (gam_app, i); entry = GTK_ENTRY (g_slist_nth_data (priv->entries, i)); toggle = GTK_TOGGLE_BUTTON (g_slist_nth_data (priv->toggles, i)); gam_mixer_construct_sliders (mixer); gam_mixer_set_display_name (mixer, gtk_entry_get_text (entry)); gam_mixer_set_visible (mixer, gtk_toggle_button_get_active (toggle)); } gtk_widget_destroy (GTK_WIDGET (dialog)); } } GtkWidget * gam_prefs_dlg_new (GtkWindow *parent) { GtkWidget *dialog; dialog = g_object_new (GAM_TYPE_PREFS_DLG, "app", parent, NULL); if (parent) gtk_window_set_transient_for (GTK_WINDOW (dialog), parent); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); return dialog; } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-prefs-dlg.h0000644000175000017500000000356610262772561020134 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_PREFS_H__ #define __GAM_PREFS_H__ #include #include "gam-app.h" G_BEGIN_DECLS #define GAM_TYPE_PREFS_DLG (gam_prefs_dlg_get_type ()) #define GAM_PREFS_DLG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_PREFS_DLG, GamPrefsDlg)) #define GAM_PREFS_DLG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_PREFS_DLG, GamPrefsDlgClass)) #define GAM_IS_PREFS_DLG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_PREFS_DLG)) #define GAM_IS_PREFS_DLG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_PREFS_DLG)) #define GAM_PREFS_DLG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_PREFS_DLG, GamPrefsDlgClass)) typedef struct _GamPrefsDlg GamPrefsDlg; typedef struct _GamPrefsDlgClass GamPrefsDlgClass; struct _GamPrefsDlg { GtkDialog parent_instance; }; struct _GamPrefsDlgClass { GtkDialogClass parent_class; }; GType gam_prefs_dlg_get_type (void) G_GNUC_CONST; GtkWidget *gam_prefs_dlg_new (GtkWindow *parent); G_END_DECLS #endif /* __GAM_PREFS_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/gam-mixer.c0000644000175000017500000005363610263506056017366 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "gam-mixer.h" #include "gam-slider-pan.h" #include "gam-slider-dual.h" #include "gam-toggle.h" #include "gam-props-dlg.h" enum { DISPLAY_NAME_CHANGED, VISIBILITY_CHANGED, LAST_SIGNAL }; enum { PROP_0, PROP_APP, PROP_CARD_ID }; #define GAM_MIXER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_MIXER, GamMixerPrivate)) typedef struct _GamMixerPrivate GamMixerPrivate; struct _GamMixerPrivate { gpointer app; GtkWidget *slider_box; GtkWidget *toggle_box; GtkSizeGroup *pan_size_group; GtkSizeGroup *mute_size_group; GtkSizeGroup *capture_size_group; GSList *sliders; GSList *toggles; snd_mixer_t *handle; guint input_id_count; guint *input_ids; gchar *card_id; gchar *card_name; gchar *mixer_name; gchar *mixer_name_config; }; static void gam_mixer_class_init (GamMixerClass *klass); static void gam_mixer_init (GamMixer *gam_mixer); static void gam_mixer_finalize (GObject *object); static GObject *gam_mixer_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static void gam_mixer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gam_mixer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gam_mixer_construct_elements (GamMixer *gam_mixer); static void gam_mixer_refresh (gpointer data, gint source, GdkInputCondition condition); static gpointer parent_class; static guint signals[LAST_SIGNAL] = { 0 }; GType gam_mixer_get_type (void) { static GType gam_mixer_type = 0; if (!gam_mixer_type) { static const GTypeInfo gam_mixer_info = { sizeof (GamMixerClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_mixer_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamMixer), 0, /* n_preallocs */ (GInstanceInitFunc) gam_mixer_init, }; gam_mixer_type = g_type_register_static (GTK_TYPE_VBOX, "GamMixer", &gam_mixer_info, 0); } return gam_mixer_type; } static void gam_mixer_class_init (GamMixerClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GtkObjectClass *object_class = (GtkObjectClass*) klass; parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_mixer_finalize; gobject_class->constructor = gam_mixer_constructor; gobject_class->set_property = gam_mixer_set_property; gobject_class->get_property = gam_mixer_get_property; signals[DISPLAY_NAME_CHANGED] = g_signal_new ("display_name_changed", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GamMixerClass, display_name_changed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); signals[VISIBILITY_CHANGED] = g_signal_new ("visibility_changed", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GamMixerClass, visibility_changed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); g_object_class_install_property (gobject_class, PROP_APP, g_param_spec_pointer ("app", _("Main Application"), _("Main Application"), G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property (gobject_class, PROP_CARD_ID, g_param_spec_string ("card_id", _("Card ID"), _("ALSA Card ID (usually 'default')"), NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_type_class_add_private (gobject_class, sizeof (GamMixerPrivate)); } static void gam_mixer_init (GamMixer *gam_mixer) { GamMixerPrivate *priv; GtkWidget *separator, *scrolled_window = NULL; GtkObject *hadjustment, *vadjustment; g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); priv->app = NULL; priv->card_id = NULL; priv->card_name = NULL; priv->mixer_name = NULL; priv->mixer_name_config = NULL; priv->handle = NULL; priv->input_id_count = 0; priv->input_ids = NULL; priv->sliders = NULL; priv->toggles = NULL; priv->pan_size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH); priv->mute_size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH); priv->capture_size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH); hadjustment = gtk_adjustment_new (0, 0, 101, 5, 5, 5); vadjustment = gtk_adjustment_new (0, 0, 101, 5, 5, 5); scrolled_window = gtk_scrolled_window_new (GTK_ADJUSTMENT (hadjustment), GTK_ADJUSTMENT (vadjustment)); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER); gtk_widget_show (scrolled_window); gtk_box_pack_start (GTK_BOX (gam_mixer), scrolled_window, TRUE, TRUE, 0); priv->slider_box = gtk_hbox_new (TRUE, 0); gtk_widget_show (priv->slider_box); gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), priv->slider_box); separator = gtk_hseparator_new (); gtk_widget_show (separator); gtk_box_pack_start (GTK_BOX (gam_mixer), separator, FALSE, TRUE, 1); priv->toggle_box = gtk_hbox_new (TRUE, 0); gtk_widget_show (priv->toggle_box); gtk_box_pack_start (GTK_BOX (gam_mixer), priv->toggle_box, FALSE, FALSE, 0); } static void gam_mixer_finalize (GObject *object) { GamMixer *gam_mixer = GAM_MIXER (object); GamMixerPrivate *priv = GAM_MIXER_GET_PRIVATE (gam_mixer); guint input_id; for (input_id = 0; input_id < priv->input_id_count; ++input_id) gtk_input_remove (priv->input_ids[input_id]); g_free (priv->card_id); g_free (priv->card_name); g_free (priv->mixer_name); g_free (priv->mixer_name_config); g_free (priv->input_ids); priv->handle = NULL; priv->app = NULL; priv->card_id = NULL; priv->card_name = NULL; priv->mixer_name = NULL; priv->input_ids = NULL; priv->slider_box = NULL; priv->toggle_box = NULL; priv->pan_size_group = NULL; priv->mute_size_group = NULL; priv->capture_size_group = NULL; g_slist_free (priv->sliders); g_slist_free (priv->toggles); priv->sliders = NULL; priv->toggles = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject* gam_mixer_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GamMixerPrivate *priv; snd_ctl_card_info_t *hw_info; snd_ctl_t *ctl_handle; GObject *object; GamMixer *gam_mixer; gint err, poll_count, poll_fill_count, input_id; guint *input_ids; struct pollfd *polls; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_mixer = GAM_MIXER (object); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); snd_ctl_card_info_alloca (&hw_info); err = snd_ctl_open (&ctl_handle, priv->card_id, 0); if (err != 0) return NULL; err = snd_ctl_card_info (ctl_handle, hw_info); if (err != 0) return NULL; snd_ctl_close (ctl_handle); err = snd_mixer_open (&priv->handle, 0); if (err != 0) return NULL; err = snd_mixer_attach (priv->handle, priv->card_id); if (err != 0) return NULL; err = snd_mixer_selem_register (priv->handle, NULL, NULL); if (err != 0) return NULL; err = snd_mixer_load (priv->handle); if (err != 0) return NULL; priv->card_name = g_strdup (snd_ctl_card_info_get_name (hw_info)); priv->mixer_name = g_strdup (snd_ctl_card_info_get_mixername (hw_info)); gam_mixer_construct_elements (gam_mixer); poll_count = snd_mixer_poll_descriptors_count (priv->handle); if (poll_count < 0) return NULL; polls = g_newa (struct pollfd, poll_count); poll_fill_count = snd_mixer_poll_descriptors (priv->handle, polls, poll_count); if (poll_count != poll_fill_count) return NULL; input_ids = g_new (guint, poll_count); for (input_id = 0; input_id < poll_count; ++input_id) { GdkInputCondition condition = 0; const struct pollfd * const pollfd = &polls[input_id]; const gint source = pollfd->fd; const short events = pollfd->events; if (events & POLLIN) condition |= GDK_INPUT_READ; if (events & POLLOUT) condition |= GDK_INPUT_WRITE; if (events & POLLPRI) condition |= GDK_INPUT_EXCEPTION; input_ids[input_id] = gtk_input_add_full (source, condition, gam_mixer_refresh, 0, gam_mixer, 0); } priv->input_ids = input_ids; priv->input_id_count = (guint) poll_count; return object; } static void gam_mixer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GamMixer *gam_mixer; GamMixerPrivate *priv; gam_mixer = GAM_MIXER (object); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); switch (prop_id) { case PROP_APP: priv->app = g_value_get_pointer (value); g_object_notify (G_OBJECT (gam_mixer), "app"); break; case PROP_CARD_ID: priv->card_id = g_strdup (g_value_get_string (value)); g_object_notify (G_OBJECT (gam_mixer), "card_id"); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_mixer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GamMixer *gam_mixer; GamMixerPrivate *priv; gam_mixer = GAM_MIXER (object); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); switch (prop_id) { case PROP_APP: g_value_set_pointer (value, priv->app); break; case PROP_CARD_ID: g_value_set_string (value, priv->card_id); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static void gam_mixer_construct_elements (GamMixer *gam_mixer) { GamMixerPrivate *priv; GtkWidget *slider, *toggle, *vbox; snd_mixer_elem_t *elem; gint i = 0; priv = GAM_MIXER_GET_PRIVATE (gam_mixer); gam_mixer_construct_sliders (gam_mixer); for (elem = snd_mixer_first_elem (priv->handle); elem; elem = snd_mixer_elem_next (elem)) { if (snd_mixer_selem_is_active (elem)) { /* if element is a switch */ if (!(snd_mixer_selem_has_playback_volume (elem) || snd_mixer_selem_has_capture_volume (elem))) { if (i % 5 == 0) { vbox = gtk_vbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (priv->toggle_box), vbox, TRUE, TRUE, 0); gtk_widget_show (vbox); } toggle = gam_toggle_new (elem, gam_mixer, GAM_APP (priv->app)); gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0); if (gam_toggle_get_visible (GAM_TOGGLE (toggle))) gtk_widget_show (toggle); priv->toggles = g_slist_append (priv->toggles, toggle); i++; } } } } GtkWidget * gam_mixer_new (GamApp *gam_app, const gchar *card_id) { return g_object_new (GAM_TYPE_MIXER, "app", gam_app, "card_id", card_id, NULL); } G_CONST_RETURN gchar * gam_mixer_get_mixer_name (GamMixer *gam_mixer) { GamMixerPrivate *priv; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); return priv->mixer_name; } G_CONST_RETURN gchar * gam_mixer_get_config_name (GamMixer *gam_mixer) { GamMixerPrivate *priv; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); if (priv->mixer_name_config == NULL) { priv->mixer_name_config = g_strdup (gam_mixer_get_mixer_name (gam_mixer)); priv->mixer_name_config = g_strdelimit (priv->mixer_name_config, GAM_CONFIG_DELIMITERS, '_'); } return priv->mixer_name_config; } gchar * gam_mixer_get_display_name (GamMixer *gam_mixer) { GamMixerPrivate *priv; gchar *key, *name; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_names/%s", gam_mixer_get_config_name (gam_mixer)); name = gconf_client_get_string (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); g_free (key); return name == NULL ? g_strdup (gam_mixer_get_mixer_name (gam_mixer)) : name; } void gam_mixer_set_display_name (GamMixer *gam_mixer, const gchar *name) { GamMixerPrivate *priv; gchar *key; g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_names/%s", gam_mixer_get_config_name (gam_mixer)); gconf_client_set_string (gam_app_get_gconf_client (GAM_APP (priv->app)), key, name, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); g_free (key); g_signal_emit (G_OBJECT (gam_mixer), signals[DISPLAY_NAME_CHANGED], 0); } gboolean gam_mixer_get_visible (GamMixer *gam_mixer) { GamMixerPrivate *priv; gchar *key; gboolean visible = TRUE; g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_mixers/%s", gam_mixer_get_config_name (gam_mixer)); if (gconf_client_dir_exists (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL)) visible = gconf_client_get_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL); g_free (key); return visible; } void gam_mixer_set_visible (GamMixer *gam_mixer, gboolean visible) { GamMixerPrivate *priv; gchar *key; g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_mixers/%s", gam_mixer_get_config_name (gam_mixer)); gconf_client_set_bool (gam_app_get_gconf_client (GAM_APP (priv->app)), key, visible, NULL); gconf_client_suggest_sync (gam_app_get_gconf_client (GAM_APP (priv->app)), NULL); g_free (key); g_signal_emit (G_OBJECT (gam_mixer), signals[VISIBILITY_CHANGED], 0); } static void gam_mixer_refresh (gpointer data, gint source, GdkInputCondition condition) { GamMixerPrivate *priv; const GamMixer * const gam_mixer = GAM_MIXER (data); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); snd_mixer_handle_events (priv->handle); } void gam_mixer_show_props_dialog (GamMixer *gam_mixer) { GamMixerPrivate *priv; static GtkWidget *dialog = NULL; g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); if (dialog != NULL) { gtk_window_present (GTK_WINDOW (dialog)); gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (GTK_WINDOW (priv->app))); return; } dialog = gam_props_dlg_new (GTK_WINDOW (priv->app), gam_mixer); g_signal_connect (G_OBJECT (dialog), "destroy", G_CALLBACK (gtk_widget_destroyed), &dialog); gtk_widget_show (dialog); } gint gam_mixer_slider_count (GamMixer *gam_mixer) { GamMixerPrivate *priv; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), 0); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); return g_slist_length (priv->sliders); } gint gam_mixer_toggle_count (GamMixer *gam_mixer) { GamMixerPrivate *priv; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), 0); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); return g_slist_length (priv->toggles); } GamSlider * gam_mixer_get_nth_slider (GamMixer *gam_mixer, gint index) { GamMixerPrivate *priv; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); g_return_val_if_fail (priv->sliders != NULL, NULL); return GAM_SLIDER (g_slist_nth_data (priv->sliders, index)); } GamToggle * gam_mixer_get_nth_toggle (GamMixer *gam_mixer, gint index) { GamMixerPrivate *priv; g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); g_return_val_if_fail (priv->toggles != NULL, NULL); return GAM_TOGGLE (g_slist_nth_data (priv->toggles, index)); } void gam_mixer_construct_sliders (GamMixer *gam_mixer) { GamMixerPrivate *priv; GtkWidget *slider; snd_mixer_elem_t *elem; gint i; g_return_if_fail (GAM_IS_MIXER (gam_mixer)); priv = GAM_MIXER_GET_PRIVATE (gam_mixer); if (priv->sliders) { for (i = 0; i < g_slist_length (priv->sliders); i++) { slider = g_slist_nth_data (priv->sliders, i); gtk_widget_hide (slider); gtk_container_remove (GTK_CONTAINER (priv->slider_box), slider); } g_slist_free (priv->sliders); priv->sliders = NULL; } for (elem = snd_mixer_first_elem (priv->handle); elem; elem = snd_mixer_elem_next (elem)) { if (snd_mixer_selem_is_active (elem)) { if (snd_mixer_selem_has_playback_volume (elem) || snd_mixer_selem_has_capture_volume (elem)) { if (gam_app_get_mixer_slider_style (GAM_APP (priv->app)) == 1) { slider = gam_slider_dual_new (elem, gam_mixer, GAM_APP (priv->app)); gam_slider_dual_set_size_groups (GAM_SLIDER_DUAL (slider), priv->pan_size_group, priv->mute_size_group, priv->capture_size_group); } else { slider = gam_slider_pan_new (elem, gam_mixer, GAM_APP (priv->app)); gam_slider_pan_set_size_groups (GAM_SLIDER_PAN (slider), priv->pan_size_group, priv->mute_size_group, priv->capture_size_group); } gtk_box_pack_start (GTK_BOX (priv->slider_box), slider, TRUE, TRUE, 0); if (gam_slider_get_visible (GAM_SLIDER (slider))) gtk_widget_show (slider); priv->sliders = g_slist_append (priv->sliders, slider); } } } } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-mixer.h0000644000175000017500000000641710263503273017364 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_MIXER_H__ #define __GAM_MIXER_H__ #include #include #include G_BEGIN_DECLS #define GAM_TYPE_MIXER (gam_mixer_get_type ()) #define GAM_MIXER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_MIXER, GamMixer)) #define GAM_MIXER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_MIXER, GamMixerClass)) #define GAM_IS_MIXER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_MIXER)) #define GAM_IS_MIXER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_MIXER)) #define GAM_MIXER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_MIXER, GamMixerClass)) typedef struct _GamMixer GamMixer; typedef struct _GamMixerClass GamMixerClass; struct _GamMixer { GtkVBox parent_instance; }; struct _GamMixerClass { GtkVBoxClass parent_class; void (* display_name_changed) (GtkWidget *w); void (* visibility_changed) (GtkWidget *w); }; #include "gam-app.h" #include "gam-slider.h" #include "gam-toggle.h" GType gam_mixer_get_type (void) G_GNUC_CONST; GtkWidget *gam_mixer_new (GamApp *gam_app, const gchar *card_id); G_CONST_RETURN gchar *gam_mixer_get_mixer_name (GamMixer *gam_mixer); G_CONST_RETURN gchar *gam_mixer_get_config_name (GamMixer *gam_mixer); gchar *gam_mixer_get_display_name (GamMixer *gam_mixer); void gam_mixer_set_display_name (GamMixer *gam_mixer, const gchar *name); gboolean gam_mixer_get_visible (GamMixer *gam_mixer); void gam_mixer_set_visible (GamMixer *gam_mixer, gboolean visible); void gam_mixer_show_props_dialog (GamMixer *gam_mixer); gint gam_mixer_slider_count (GamMixer *gam_mixer); gint gam_mixer_toggle_count (GamMixer *gam_mixer); GamSlider *gam_mixer_get_nth_slider (GamMixer *gam_mixer, gint index); GamToggle *gam_mixer_get_nth_toggle (GamMixer *gam_mixer, gint index); void gam_mixer_construct_sliders (GamMixer *gam_mixer); G_END_DECLS #endif /* __GAM_MIXER_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/src/gam-slider-pan.c0000644000175000017500000003434010263503273020265 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "gam-slider-pan.h" #define GAM_SLIDER_PAN_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GAM_TYPE_SLIDER_PAN, GamSliderPanPrivate)) typedef struct _GamSliderPanPrivate GamSliderPanPrivate; struct _GamSliderPanPrivate { GtkWidget *pan_slider; GtkWidget *vol_slider; GtkObject *pan_adjustment; GtkObject *vol_adjustment; }; static void gam_slider_pan_class_init (GamSliderPanClass *klass); static void gam_slider_pan_init (GamSliderPan *gam_slider_pan); static void gam_slider_pan_finalize (GObject *object); static GObject *gam_slider_pan_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params); static gint gam_slider_pan_get_pan (GamSliderPan *gam_slider_pan); static gint gam_slider_pan_get_volume (GamSliderPan *gam_slider_pan); static void gam_slider_pan_update_volume (GamSliderPan *gam_slider_pan); static gint gam_slider_pan_pan_event_cb (GtkWidget *widget, GdkEvent *event, GamSliderPan *gam_slider_pan); static gint gam_slider_pan_pan_value_changed_cb (GtkWidget *widget, GamSliderPan *gam_slider_pan); static gint gam_slider_pan_volume_value_changed_cb (GtkWidget *widget, GamSliderPan *gam_slider_pan); static void gam_slider_pan_refresh (GamSlider *gam_slider); static gpointer parent_class; GType gam_slider_pan_get_type (void) { static GType gam_slider_pan_type = 0; if (!gam_slider_pan_type) { static const GTypeInfo gam_slider_pan_info = { sizeof (GamSliderPanClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gam_slider_pan_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GamSliderPan), 0, /* n_preallocs */ (GInstanceInitFunc) gam_slider_pan_init, }; gam_slider_pan_type = g_type_register_static (GAM_TYPE_SLIDER, "GamSliderPan", &gam_slider_pan_info, 0); } return gam_slider_pan_type; } static void gam_slider_pan_class_init (GamSliderPanClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GamSliderClass *object_class = GAM_SLIDER_CLASS (klass); parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gam_slider_pan_finalize; gobject_class->constructor = gam_slider_pan_constructor; object_class->refresh = gam_slider_pan_refresh; g_type_class_add_private (gobject_class, sizeof (GamSliderPanPrivate)); } static void gam_slider_pan_init (GamSliderPan *gam_slider_pan) { GamSliderPanPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_PAN (gam_slider_pan)); priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); priv->pan_slider = NULL; priv->vol_slider = NULL; priv->pan_adjustment = NULL; priv->vol_adjustment = NULL; } static void gam_slider_pan_finalize (GObject *object) { GamSliderPan *gam_slider_pan; GamSliderPanPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_PAN (object)); gam_slider_pan = GAM_SLIDER_PAN (object); priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); priv->pan_adjustment = NULL; priv->vol_adjustment = NULL; priv->pan_slider = NULL; priv->vol_slider = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } static GObject * gam_slider_pan_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_params) { GObject *object; GamSliderPan *gam_slider_pan; GamSliderPanPrivate *priv; gint value; object = (* G_OBJECT_CLASS (parent_class)->constructor) (type, n_construct_properties, construct_params); gam_slider_pan = GAM_SLIDER_PAN (object); priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) { priv->pan_adjustment = gtk_adjustment_new (gam_slider_pan_get_pan (gam_slider_pan), -100, 101, 1, 5, 1); g_signal_connect (G_OBJECT (priv->pan_adjustment), "value-changed", G_CALLBACK (gam_slider_pan_pan_value_changed_cb), gam_slider_pan); priv->pan_slider = gtk_hscale_new (GTK_ADJUSTMENT (priv->pan_adjustment)); gtk_scale_set_draw_value (GTK_SCALE (priv->pan_slider), FALSE); g_signal_connect (G_OBJECT (priv->pan_slider), "event", G_CALLBACK (gam_slider_pan_pan_event_cb), gam_slider_pan); } else priv->pan_slider = gtk_label_new (NULL); gtk_widget_show (priv->pan_slider); gam_slider_add_pan_widget (GAM_SLIDER (gam_slider_pan), priv->pan_slider); priv->vol_adjustment = gtk_adjustment_new (gam_slider_pan_get_volume (gam_slider_pan), 0, 101, 1, 5, 1); g_signal_connect (G_OBJECT (priv->vol_adjustment), "value-changed", G_CALLBACK (gam_slider_pan_volume_value_changed_cb), gam_slider_pan); priv->vol_slider = gtk_vscale_new (GTK_ADJUSTMENT (priv->vol_adjustment)); gtk_widget_show (priv->vol_slider); gtk_scale_set_draw_value (GTK_SCALE (priv->vol_slider), FALSE); gam_slider_add_volume_widget (GAM_SLIDER (gam_slider_pan), priv->vol_slider); gtk_label_set_mnemonic_widget (gam_slider_get_label_widget (GAM_SLIDER (gam_slider_pan)), priv->vol_slider); return object; } static gint gam_slider_pan_get_pan (GamSliderPan *gam_slider_pan) { glong left_chn, right_chn; if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) { if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_get_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_LEFT, &left_chn); else snd_mixer_selem_get_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_LEFT, &left_chn); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_get_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_RIGHT, &right_chn); else snd_mixer_selem_get_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_RIGHT, &right_chn); if ((gam_slider_pan_get_volume (gam_slider_pan) != 0) && (left_chn != right_chn)) return rint (((gfloat)(right_chn - left_chn) / (gfloat)MAX(left_chn, right_chn)) * 100); } return 0; } static gint gam_slider_pan_get_volume (GamSliderPan *gam_slider_pan) { glong left_chn, right_chn, pmin, pmax; if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_get_playback_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), &pmin, &pmax); else snd_mixer_selem_get_capture_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), &pmin, &pmax); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_get_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_LEFT, &left_chn); else snd_mixer_selem_get_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_LEFT, &left_chn); if (snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) { return rint (100 - (left_chn * (100 / (gfloat)pmax))); } else { if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_get_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_RIGHT, &right_chn); else snd_mixer_selem_get_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_RIGHT, &right_chn); return rint (100 - (MAX(left_chn, right_chn) * (100 / (gfloat)pmax))); } } static void gam_slider_pan_update_volume (GamSliderPan *gam_slider_pan) { GamSliderPanPrivate *priv; gint left_chn = 0, right_chn = 0; glong pmin, pmax; priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_get_playback_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), &pmin, &pmax); else snd_mixer_selem_get_capture_volume_range (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), &pmin, &pmax); left_chn = right_chn = rint ((100 - GTK_ADJUSTMENT (priv->vol_adjustment)->value) / (100 / (gfloat)pmax)); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) { if (GTK_ADJUSTMENT (priv->pan_adjustment)->value < 0) { right_chn = rint (left_chn - ((gfloat)ABS(GTK_ADJUSTMENT (priv->pan_adjustment)->value) / 100) * left_chn); } else if (GTK_ADJUSTMENT (priv->pan_adjustment)->value > 0) { left_chn = rint (right_chn - ((gfloat)GTK_ADJUSTMENT (priv->pan_adjustment)->value / 100) * right_chn); } } if (snd_mixer_selem_has_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) { snd_mixer_selem_set_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_LEFT, left_chn); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_set_playback_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_RIGHT, right_chn); } else { snd_mixer_selem_set_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_LEFT, left_chn); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)))) snd_mixer_selem_set_capture_volume (gam_slider_get_elem (GAM_SLIDER (gam_slider_pan)), SND_MIXER_SCHN_FRONT_RIGHT, right_chn); } } static gint gam_slider_pan_pan_event_cb (GtkWidget *widget, GdkEvent *event, GamSliderPan *gam_slider_pan) { GamSliderPanPrivate *priv; priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); if (event->type == GDK_2BUTTON_PRESS) { gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->pan_adjustment), 0.0); gtk_adjustment_value_changed (GTK_ADJUSTMENT (priv->pan_adjustment)); return TRUE; } return FALSE; } static gint gam_slider_pan_pan_value_changed_cb (GtkWidget *widget, GamSliderPan *gam_slider_pan) { gam_slider_pan_update_volume (gam_slider_pan); return TRUE; } static gint gam_slider_pan_volume_value_changed_cb (GtkWidget *widget, GamSliderPan *gam_slider_pan) { gam_slider_pan_update_volume (gam_slider_pan); return TRUE; } static void gam_slider_pan_refresh (GamSlider *gam_slider) { GamSliderPan * const gam_slider_pan = GAM_SLIDER_PAN (snd_mixer_elem_get_callback_private (gam_slider_get_elem (gam_slider))); GamSliderPanPrivate *priv; gint value; priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->vol_adjustment), (gdouble) gam_slider_pan_get_volume (gam_slider_pan)); if (!snd_mixer_selem_is_playback_mono (gam_slider_get_elem (gam_slider))) { gtk_adjustment_set_value (GTK_ADJUSTMENT (priv->pan_adjustment), (gdouble) gam_slider_pan_get_pan (gam_slider_pan)); } } GtkWidget * gam_slider_pan_new (gpointer elem, GamMixer *gam_mixer, GamApp *gam_app) { g_return_val_if_fail (GAM_IS_MIXER (gam_mixer), NULL); return g_object_new (GAM_TYPE_SLIDER_PAN, "elem", elem, "mixer", gam_mixer, "app", gam_app, NULL); } void gam_slider_pan_set_size_groups (GamSliderPan *gam_slider_pan, GtkSizeGroup *pan_size_group, GtkSizeGroup *mute_size_group, GtkSizeGroup *capture_size_group) { GamSliderPanPrivate *priv; g_return_if_fail (GAM_IS_SLIDER_PAN (gam_slider_pan)); priv = GAM_SLIDER_PAN_GET_PRIVATE (gam_slider_pan); gtk_size_group_add_widget (pan_size_group, priv->pan_slider); gtk_size_group_add_widget (mute_size_group, gam_slider_get_mute_widget (GAM_SLIDER (gam_slider_pan))); gtk_size_group_add_widget (capture_size_group, gam_slider_get_capture_widget (GAM_SLIDER (gam_slider_pan))); } gnome-alsamixer-0.9.7~cvs.20060916/src/gam-slider-pan.h0000644000175000017500000000454010263503273020271 0ustar adnadn/* * (gnome-alsamixer) An ALSA mixer for GNOME * * Copyright (C) 2001-2005 Derrick J Houy . * * 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 */ #ifndef __GAM_SLIDER_PAN_H__ #define __GAM_SLIDER_PAN_H__ #include "gam-slider.h" G_BEGIN_DECLS #define GAM_TYPE_SLIDER_PAN (gam_slider_pan_get_type ()) #define GAM_SLIDER_PAN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAM_TYPE_SLIDER_PAN, GamSliderPan)) #define GAM_SLIDER_PAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAM_TYPE_SLIDER_PAN, GamSliderPanClass)) #define GAM_IS_SLIDER_PAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAM_TYPE_SLIDER_PAN)) #define GAM_IS_SLIDER_PAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAM_TYPE_SLIDER_PAN)) #define GAM_SLIDER_PAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAM_TYPE_SLIDER_PAN, GamSliderPanClass)) typedef struct _GamSliderPan GamSliderPan; typedef struct _GamSliderPanClass GamSliderPanClass; struct _GamSliderPan { GamSlider parent_instance; }; struct _GamSliderPanClass { GamSliderClass parent_class; }; #include "gam-mixer.h" GType gam_slider_pan_get_type (void) G_GNUC_CONST; GtkWidget *gam_slider_pan_new (gpointer elem, GamMixer *gam_mixer, GamApp *gam_app); void gam_slider_pan_set_size_groups (GamSliderPan *gam_slider_pan, GtkSizeGroup *pan_size_group, GtkSizeGroup *mute_size_group, GtkSizeGroup *capture_size_group); G_END_DECLS #endif /* __GAM_SLIDER_PAN_H__ */ gnome-alsamixer-0.9.7~cvs.20060916/NEWS0000644000175000017500000000000007542132253015215 0ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/TODO0000644000175000017500000000000007542132253015206 0ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/depcomp0000755000175000017500000003710010502636144016104 0ustar adnadn#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, 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 . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi 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. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # 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) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space 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 preprocessed 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 preprocessed 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 -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, 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 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-alsamixer-0.9.7~cvs.20060916/aclocal.m40000644000175000017500000014647410502636136016407 0ustar adnadn# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # 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. dnl AM_GCONF_SOURCE_2 dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas dnl (i.e. pass to gconftool-2 dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where dnl you should install foo.schemas files dnl AC_DEFUN([AM_GCONF_SOURCE_2], [ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi AC_ARG_WITH(gconf-source, [ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",) AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE) AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation]) if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi AC_ARG_WITH(gconf-schema-file-dir, [ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",) AC_SUBST(GCONF_SCHEMA_FILE_DIR) AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files]) AC_ARG_ENABLE(schemas-install, [ --disable-schemas-install Disable the schemas installation], [case ${enableval} in yes|no) ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;; esac]) AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no]) ]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 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 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # 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 ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_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 "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [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, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-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 and ngettext # 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" \ && test "$gt_cv_func_ngettext_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 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # 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.9"]) # 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.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # This was merged into AC_PROG_CC in Autoconf. AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC AC_DIAGNOSE([obsolete], [$0: your code should no longer depend upon `am_cv_prog_cc_stdc', but upon `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when you adjust the code. You can also remove the above call to AC_PROG_CC if you already called it elsewhere.]) am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ]) AU_DEFUN([fp_PROG_CC_STDC]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) 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])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # 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 # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 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=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 3 # _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 # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # 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_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # 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 (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. 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)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # 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 ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # 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 ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _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. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # 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)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR gnome-alsamixer-0.9.7~cvs.20060916/README0000644000175000017500000000000007542132253015376 0ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/configure0000755000175000017500000105213010502647067016445 0ustar adnadn#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.60a for gnome-alsamixer 0.9.7. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 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+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # PATH needs CR # 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 # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done 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 -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # 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'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF # 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+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF # 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+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # 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 after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, 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 # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { 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 sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' 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$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # Find out whether ``test -x'' works. Don't use a zero-byte file, as # systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then as_executable_p="test -x" else as_executable_p=: fi rm -f conf$$.file # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # 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` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='gnome-alsamixer' PACKAGE_TARNAME='gnome-alsamixer' PACKAGE_VERSION='0.9.7' PACKAGE_STRING='gnome-alsamixer 0.9.7' PACKAGE_BUGREPORT='' ac_unique_file="src/gam-main.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" 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 datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 GREP EGREP PKG_CONFIG DBUS_GTK_CFLAGS DBUS_GTK_LIBS PACKAGE_CFLAGS PACKAGE_LIBS GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS CPPFLAGS CPP PKG_CONFIG DBUS_GTK_CFLAGS DBUS_GTK_LIBS PACKAGE_CFLAGS PACKAGE_LIBS' # 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. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_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 ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_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'` 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 ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_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'` 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; }; } 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 directory names. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } 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 ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$0" || $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 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures gnome-alsamixer 0.9.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/gnome-alsamixer] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of gnome-alsamixer 0.9.7:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-debug=no/yes turn on debugging default=no --disable-schemas-install Disable the schemas installation Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gconf-source=sourceaddress Config database for installing schema files. --with-gconf-schema-file-dir=dir Directory for installing schema files. 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++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility DBUS_GTK_CFLAGS C compiler flags for DBUS_GTK, overriding pkg-config DBUS_GTK_LIBS linker flags for DBUS_GTK, overriding pkg-config PACKAGE_CFLAGS C compiler flags for PACKAGE, overriding pkg-config PACKAGE_LIBS linker flags for PACKAGE, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF gnome-alsamixer configure 0.9.7 generated by GNU Autoconf 2.60a Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gnome-alsamixer $as_me 0.9.7, which was generated by GNU Autoconf 2.60a. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`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_arg'" ;; 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: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h 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.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # 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 -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file 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 $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { 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.9" 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 # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { 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/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $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 IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { 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 -f 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 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { 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='gnome-alsamixer' VERSION='0.9.7' 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"} 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi 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. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_config_headers="$ac_config_headers config.h" 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 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 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { 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.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi 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` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 /* 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 file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then 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 # Check that 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' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 that 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 { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 | *.map | *.inf | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; *) 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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err 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 { 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 ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { 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 ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* 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; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu 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 # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 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=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { 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 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } if test "${ac_cv_search_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strerror (); int main () { return strerror (); ; return 0; } _ACEOF for ac_lib in '' cposix; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_strerror=$ac_res else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_strerror+set}" = set; then break fi done if test "${ac_cv_search_strerror+set}" = set; then : else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { 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.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi 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` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { 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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err 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 { 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 ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { 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 ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* 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; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu 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 # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 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=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { 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 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { 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.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS 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 if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi 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` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { 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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err 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 { 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 ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { 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 ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* 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; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu 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 # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 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=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { 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 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { 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/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $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 IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { 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_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 /* 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 { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_cpp_err=$ac_cpp_err$ac_c_werror_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 nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_cpp_err=$ac_cpp_err$ac_c_werror_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 /* 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 { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_cpp_err=$ac_cpp_err$ac_c_werror_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 nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_cpp_err=$ac_cpp_err$ac_c_werror_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 grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } if test "${ac_cv_path_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_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* 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 /* 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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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.conftest.* 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 { 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 /* 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 cs; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this 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; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err 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 for ac_func in rint 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 { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* 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 #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $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 #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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 # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then enableval=$enable_debug; else enable_debug=no fi if test "x$enable_debug" = "xyes"; then cat >>confdefs.h <<_ACEOF #define DEBUG _ACEOF else cat >>confdefs.h <<_ACEOF #define G_DISABLE_ASSERT _ACEOF cat >>confdefs.h <<_ACEOF #define G_DISABLE_CHECKS _ACEOF cat >>confdefs.h <<_ACEOF #define G_DISABLE_CAST_CHECKS _ACEOF fi GNOME_COMPILE_WARNINGS if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS ;; 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 -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_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 IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { echo "$as_me:$LINENO: checking for DBUS_GTK" >&5 echo $ECHO_N "checking for DBUS_GTK... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$DBUS_GTK_CFLAGS"; then pkg_cv_DBUS_GTK_CFLAGS="$DBUS_GTK_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_DBUS_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$DBUS_GTK_LIBS"; then pkg_cv_DBUS_GTK_LIBS="$DBUS_GTK_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_DBUS_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then DBUS_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"` else DBUS_GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_GTK_PKG_ERRORS" >&5 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } have_gtk26=no elif test $pkg_failed = untried; then have_gtk26=no else DBUS_GTK_CFLAGS=$pkg_cv_DBUS_GTK_CFLAGS DBUS_GTK_LIBS=$pkg_cv_DBUS_GTK_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } have_gtk26=yes fi if test x$have_gtk26 = xyes ; then cat >>confdefs.h <<_ACEOF #define HAVE_GTK26 _ACEOF fi pkg_modules="libgnomeui-2.0 gconf-2.0 alsa" pkg_failed=no { echo "$as_me:$LINENO: checking for PACKAGE" >&5 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PACKAGE_CFLAGS"; then pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PACKAGE_LIBS"; then pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"` else PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"` fi # Put the nasty error message in config.log where it belongs echo "$PACKAGE_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met: $PACKAGE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements ($pkg_modules) were not met: $PACKAGE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi # Check whether --with-gconf-source was given. if test "${with_gconf_source+set}" = set; then withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; } if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi # Check whether --with-gconf-schema-file-dir was given. if test "${with_gconf_schema_file_dir+set}" = set; then withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" fi { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } # Check whether --enable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then enableval=$enable_schemas_install; case ${enableval} in yes|no) ;; *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5 echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;} { (exit 1); exit 1; }; } ;; esac fi if test "$enable_schemas_install" != no; then GCONF_SCHEMAS_INSTALL_TRUE= GCONF_SCHEMAS_INSTALL_FALSE='#' else GCONF_SCHEMAS_INSTALL_TRUE='#' GCONF_SCHEMAS_INSTALL_FALSE= fi GETTEXT_PACKAGE=gnome-alsamixer cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF ALL_LINGUAS="az ca cs de dz el en_CA en_GB es eu fi fr gl hr hu ja mn mk nb ne nl pa pt pt_BR sk sq sr sr@Latn sv th uk vi zh_CN zh_TW" # 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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 for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err 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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_cpp_err=$ac_cpp_err$ac_c_werror_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:$ac_c_preproc_warn_flag 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 compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; 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: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&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;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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 /* 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 { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 /* 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 { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err 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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 ac_cpp_err=$ac_cpp_err$ac_c_werror_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:$ac_c_preproc_warn_flag 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 compiler's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; 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: see the Autoconf documentation" >&5 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&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;} { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&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 ngettext in libc" >&5 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; } if test "${gt_cv_func_ngettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_ngettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { 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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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; } fi if test "$gt_cv_func_ngettext_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 { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* 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 #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $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 #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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 "$gt_cv_func_ngettext_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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_ngettext+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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } if test $ac_cv_lib_intl_ngettext = 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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 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 ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_ngettext+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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } if test $ac_cv_lib_intl_ngettext = yes; then { 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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 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 and ngettext # 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 { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* 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 #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $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 #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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" \ && test "$gt_cv_func_ngettext_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 { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* 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 #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $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 #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $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 IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { 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 /* 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 { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* 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 #undef bind_textdomain_codeset /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char 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 #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 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); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 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 gnome-alsamixer.spec 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, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi 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 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 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 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" 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+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # PATH needs CR # 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 # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done 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 -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # 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'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # 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 after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, 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 # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { 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 sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' 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$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # Find out whether ``test -x'' works. Don't use a zero-byte file, as # systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then as_executable_p="test -x" else as_executable_p=: fi rm -f conf$$.file # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by gnome-alsamixer $as_me 0.9.7, which was generated by GNU Autoconf 2.60a. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ac_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 and configuration settings, 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="\\ gnome-alsamixer config.status 0.9.7 configured by $0, generated by GNU Autoconf 2.60a, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' _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 ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --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;; --he | --h) # Conflict between --help and --header { 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 ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { 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" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "gnome-alsamixer.spec") CONFIG_FILES="$CONFIG_FILES gnome-alsamixer.spec" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; *) { { 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 against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$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 "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for 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 _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim CPP!$CPP$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim DBUS_GTK_CFLAGS!$DBUS_GTK_CFLAGS$ac_delim DBUS_GTK_LIBS!$DBUS_GTK_LIBS$ac_delim PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim USE_NLS!$USE_NLS$ac_delim MSGFMT!$MSGFMT$ac_delim GMSGFMT!$GMSGFMT$ac_delim XGETTEXT!$XGETTEXT$ac_delim CATALOGS!$CATALOGS$ac_delim CATOBJEXT!$CATOBJEXT$ac_delim DATADIRNAME!$DATADIRNAME$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF GMOFILES!$GMOFILES$ac_delim INSTOBJEXT!$INSTOBJEXT$ac_delim INTLLIBS!$INTLLIBS$ac_delim PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim POFILES!$POFILES$ac_delim POSUB!$POSUB$ac_delim MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof _ACEOF # 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 cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$ac_file_inputs $ac_f" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF 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&@top_builddir@&$ac_top_builddir_sub&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :H) # # CONFIG_HEADER # _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" 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 rm -f $ac_file mv "$tmp/config.h" $ac_file fi else echo "/* $configure_input */" cat "$ac_result" fi rm -f "$tmp/out12" # 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" >`$as_dirname -- $ac_file || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| . 2>/dev/null || 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 ;; :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) 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=`$as_dirname -- "$mf" || $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 # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; esac done # for ac_tag { (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 gnome-alsamixer-0.9.7~cvs.20060916/configure.ac0000644000175000017500000000255510465252030017017 0ustar adnadndnl Process this file with autoconf to produce a configure script. AC_INIT(gnome-alsamixer, 0.9.7) AC_CONFIG_SRCDIR(src/gam-main.c) AM_INIT_AUTOMAKE(dist-bzip2) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_PROG_INSTALL AC_HEADER_STDC AC_C_CONST AC_CHECK_FUNCS([rint]) AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=no) if test "x$enable_debug" = "xyes"; then AC_DEFINE_UNQUOTED(DEBUG, , "") else AC_DEFINE_UNQUOTED(G_DISABLE_ASSERT, , "") AC_DEFINE_UNQUOTED(G_DISABLE_CHECKS, , "") AC_DEFINE_UNQUOTED(G_DISABLE_CAST_CHECKS, , "") fi GNOME_COMPILE_WARNINGS PKG_CHECK_MODULES(DBUS_GTK, gtk+-2.0 >= 2.6.0, have_gtk26=yes, have_gtk26=no) if test x$have_gtk26 = xyes ; then AC_DEFINE_UNQUOTED(HAVE_GTK26, , "") fi pkg_modules="libgnomeui-2.0 gconf-2.0 alsa" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) AM_GCONF_SOURCE_2 GETTEXT_PACKAGE=gnome-alsamixer AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", "") ALL_LINGUAS="az ca cs de dz el en_CA en_GB es eu fi fr gl hr hu ja mn mk nb ne nl pa pt pt_BR sk sq sr sr@Latn sv th uk vi zh_CN zh_TW" AM_GLIB_GNU_GETTEXT AC_CONFIG_FILES([Makefile gnome-alsamixer.spec po/Makefile.in src/Makefile]) AC_OUTPUT gnome-alsamixer-0.9.7~cvs.20060916/install-sh0000755000175000017500000002202110502636143016526 0ustar adnadn#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -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 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-alsamixer-0.9.7~cvs.20060916/autogen.sh0000754000175000017500000000070110262772561016533 0ustar adnadn#!/bin/sh # Run this to generate all the initial makefiles, etc. PROJECT=gnome-alsamixer srcdir=`dirname $0` test #! /bin/sh export WANT_AUTOMAKE_1_6=1 rm -rf autom4te.cache aclocal || exit 1 glib-gettextize --force || exit $? autoheader || exit $? automake --gnu --add-missing || exit $? autoconf || exit $? ./configure --enable-maintainer-mode --enable-compile-warnings "$@" || exit $? echo echo "Now type 'make' to compile $PROJECT." gnome-alsamixer-0.9.7~cvs.20060916/missing0000755000175000017500000002540610502636143016133 0ustar adnadn#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # 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., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, 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 msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' 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] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n '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' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -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 $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -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) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n '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) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # 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 is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-alsamixer-0.9.7~cvs.20060916/mkinstalldirs0000777000175000017500000000000010622436310027015 2/usr/share/glib-2.0/gettext/mkinstalldirsustar adnadngnome-alsamixer-0.9.7~cvs.20060916/gnome-alsamixer.spec.in0000644000175000017500000000623710263503272021106 0ustar adnadn%define name @PACKAGE@ %define ver @VERSION@ %define RELEASE paw.1 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr Summary: An ALSA mixer for GNOME written for ALSA 0.9.x. Name: %{name} Version: %{ver} Release: %{rel} Packager: Dennis J Houy Vendor: PAW Digital Dynamics Copyright: GPL Group: Applications/Multimedia Source: ftp://ftp.paw.za.org/pub/PAW/sources/@PACKAGE@-%{ver}.tar.gz URL: http://www.paw.za.org/projects/@PACKAGE@ BuildRoot: /var/tmp/@PACKAGE@-%{PACKAGE_VERSION}-root Requires: gtk2 >= 2.4.0 Requires: libgnomeui >= 2.4.0 Requires: GConf2 >= 2.8.0 Requires: alsa-lib >= 0.9.0 BuildRequires: gtk2-devel >= 2.0.0 BuildRequires: libgnomeui-devel >= 2.0.0 BuildRequires: GConf2-devel >= 2.8.0 BuildRequires: alsa-lib >= 0.9.0 BuildRequires: desktop-file-utils %description A sound mixer for GNOME which is written for the Advanced Linux Sound Architecture (ALSA), which supports ALSA 0.9.x. %prep %setup -q -n %{name}-%{version} %build %configure make %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR=$RPM_BUILD_ROOT install-strip unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL cat << EOF > gnome-alsamixer.desktop [Desktop Entry] Encoding=UTF-8 Name=ALSA Volume Control Comment=Adjust the volume level Exec=gnome-alsamixer Icon=gnome-alsamixer/gnome-alsamixer-icon.png Terminal=false Type=Application Categories=GNOME;Application;AudioVideo;X-Red-Hat-Base; StartupNotify=true X-Desktop-File-Install-Version=0.3 EOF mkdir ${RPM_BUILD_ROOT}%{_datadir}/applications desktop-file-install --vendor "PAW Digital Dynamics" --delete-original \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --add-category GNOME \ --add-category Application \ --add-category AudioVideo \ --add-category X-Red-Hat-Base \ gnome-alsamixer.desktop %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &> /dev/null || : /usr/bin/killall -HUP gconfd-2 %postun export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &> /dev/null || : /usr/bin/killall -HUP gconfd-2 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc README COPYING ChangeLog NEWS AUTHORS INSTALL TODO %{_bindir}/%{name} %{_sysconfdir}/gconf/schemas/%{name}.schemas %{_datadir}/applications/*%{name}.desktop %{_datadir}/pixmaps/%{name} %{_datadir}/locale/* %changelog * Thu Jul 7 2005 Derrick J Houy - Added GConf stuff, and gnome-alsamixer.schemas to files section. * Wed Sep 10 2003 Dennis J Houy - Added locale directory. * Mon Sep 8 2003 Dennis J Houy - Added creation of Red Hat menu entry to spec file. * Mon Nov 11 2002 Dennis J Houy - New build for GNOME2. * Sun Sep 22 2002 Dennis J Houy - 0.1.2b - Initial release version. gnome-alsamixer-0.9.7~cvs.20060916/Makefile.am0000644000175000017500000000165410263503272016567 0ustar adnadn## Process this file with automake to produce Makefile.in SUBDIRS = po src EXTRA_DIST = autogen.sh gnome-alsamixer.schemas schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_DATA = gnome-alsamixer.schemas install-data-local: @$(NORMAL_INSTALL) GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ gconftool-2 --makefile-install-rule $(srcdir)/$(schema_DATA) if test -d $(srcdir)/pixmaps; then \ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ for pixmap in $(srcdir)/pixmaps/*; do \ if test -f $$pixmap; then \ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ fi \ done \ fi dist-hook: if test -d pixmaps; then \ mkdir $(distdir)/pixmaps; \ for pixmap in pixmaps/*; do \ if test -f $$pixmap; then \ cp -p $$pixmap $(distdir)/pixmaps; \ fi \ done \ fi for spec in *.spec; do \ if test -f $$spec; then \ cp -p $$spec $(distdir); \ fi \ done gnome-alsamixer-0.9.7~cvs.20060916/Makefile.in0000644000175000017500000005216110502647066016605 0ustar adnadn# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 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 = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/gnome-alsamixer.spec.in $(top_srcdir)/configure \ AUTHORS COPYING ChangeLog INSTALL NEWS TODO depcomp install-sh \ missing mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = gnome-alsamixer.spec SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(schemadir)" schemaDATA_INSTALL = $(INSTALL_DATA) DATA = $(schema_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print 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@ DBUS_GTK_CFLAGS = @DBUS_GTK_CFLAGS@ DBUS_GTK_LIBS = @DBUS_GTK_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ 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@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 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@ 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@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = po src EXTRA_DIST = autogen.sh gnome-alsamixer.schemas schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_DATA = gnome-alsamixer.schemas all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 gnome-alsamixer.spec: $(top_builddir)/config.status $(srcdir)/gnome-alsamixer.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ uninstall-info-am: install-schemaDATA: $(schema_DATA) @$(NORMAL_INSTALL) test -z "$(schemadir)" || $(mkdir_p) "$(DESTDIR)$(schemadir)" @list='$(schema_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(schemaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(schemadir)/$$f'"; \ $(schemaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(schemadir)/$$f"; \ done uninstall-schemaDATA: @$(NORMAL_UNINSTALL) @list='$(schema_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(schemadir)/$$f'"; \ rm -f "$(DESTDIR)$(schemadir)/$$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): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ 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 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 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; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ 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; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi 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 distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/. $(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"; \ $(mkdir_p) "$(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='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -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 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac 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 ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${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 $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(schemadir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(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) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-schemaDATA install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-schemaDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-recursive \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-data-local install-exec \ install-exec-am install-info install-info-am install-man \ install-schemaDATA install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-info-am uninstall-schemaDATA install-data-local: @$(NORMAL_INSTALL) GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ gconftool-2 --makefile-install-rule $(srcdir)/$(schema_DATA) if test -d $(srcdir)/pixmaps; then \ $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ for pixmap in $(srcdir)/pixmaps/*; do \ if test -f $$pixmap; then \ $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \ fi \ done \ fi dist-hook: if test -d pixmaps; then \ mkdir $(distdir)/pixmaps; \ for pixmap in pixmaps/*; do \ if test -f $$pixmap; then \ cp -p $$pixmap $(distdir)/pixmaps; \ fi \ done \ fi for spec in *.spec; do \ if test -f $$spec; then \ cp -p $$spec $(distdir); \ fi \ done # 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: gnome-alsamixer-0.9.7~cvs.20060916/macros/0000755000175000017500000000000010502636107016011 5ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/config.h.in0000644000175000017500000000426210502636141016552 0ustar adnadn/* config.h.in. Generated from configure.ac by autoheader. */ /* "" */ #undef DEBUG /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* "" */ #undef GETTEXT_PACKAGE /* "" */ #undef G_DISABLE_ASSERT /* "" */ #undef G_DISABLE_CAST_CHECKS /* "" */ #undef G_DISABLE_CHECKS /* 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 if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* "" */ #undef HAVE_GTK26 /* 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 `rint' function. */ #undef HAVE_RINT /* 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 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 /* 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 gnome-alsamixer-0.9.7~cvs.20060916/AUTHORS0000644000175000017500000000023110263153723015573 0ustar adnadnMaintainer and main developer Derrick J Houy Contibutors David Fort Ben Liblit gnome-alsamixer-0.9.7~cvs.20060916/INSTALL0000777000175000017500000000000010622436310022706 2/usr/share/automake-1.9/INSTALLustar adnadngnome-alsamixer-0.9.7~cvs.20060916/pixmaps/0000755000175000017500000000000010502636107016206 5ustar adnadngnome-alsamixer-0.9.7~cvs.20060916/pixmaps/gnome-alsamixer-icon.png0000644000175000017500000000521307543334371022744 0ustar adnadnPNG  IHDR00WgAMA a BIDATxo[USر6ӔNPi!а=;Y u?`$Ēb5 *Tˬ`6:v'vo3 ssNK5hHG=s{n\AOb]ڟлZs>3>e@< Ph w7ofgffI)@  d_0 w!đo OTγH⋿T0*7nңu]Aرcgr?˿mD@{(r سY\\0 /!8{3ۼ/^-a `xVŭ[ }s]@6ekkpB`&cN `0@>|H>E!P(h6>Mi.ǎ>¯ jEJs6JO%A LRv.B àjsyyZ& Hh4\@_~e/7\|yX ĀgP Lb&Nj~~i)%NbpB\v( }Ql %i 4)m=AC+l6IW%Y\\dߑwvvvzNn!fj5_!~% S@(tt`&ne^`yy0x+G* f)b1\[oiloo;ܹsyǩ~۷o D5b u Pȉnز,[ 0 8L@ ,rlnn?v`nnt:ΝsERF aII@*dffƕRJvwwfd22 ӮUz?~T*E2t{,b`06 cdF )fӕȁ@t:VIB.]?w!:H$ 3VFRJ~gɁ>hUPJI:Vn6bo5Lt>}ڕKV:/>SFSJx< Q]U:'''%9UJZYYT*HOD"XEyMJI8vE@JXH$aV_c$XI)y7/'JݔY^q,m)R)oRr Hyb\$S:DǏ;x7U"b1g K/ H)iZGw56Ǿp2 011f˲mþJ@>}'-IBvess]iMF'rm Ԁ=K@*iRT(˔J%VWWA:6 횠]puGRBv6Uiwkj١p5,`~];2W ۖe/F᩵:GVݜ@FQ|}d2J))^jE@74ЦLӳi_;^{+y~UVq޽{zd4/<<к&7n( ޽[rr\R65Zoـ{(捀z^z{|>_u'_ӽ:PLO# l ~>{=jz=qhp( -9<$0( sNT*b ړq8,uo۸?&mpҾP@Cr[ hľ@o.i"`T&>a(5^G]7pGH?y?KbWKIENDB`gnome-alsamixer-0.9.7~cvs.20060916/ChangeLog0000644000175000017500000002147310465252235016312 0ustar adnadn2006-08-06 Arangel Angov * configure.ac: Added 'mk' for Macedonian to ALL_LINGUAS. 2006-04-18 Kjartan Maraas * configure.ac: Cruft removal. * po/no.po: 2006-04-11 Pema Geyleg * configure.ac: Added dz (Dzongkha) in ALL_LINGUAS. 2006-01-24 Clytie Siddall * configure.in Added vi in ALL_LINGUAS line. 2006-01-07 Kjartan Maraas * configure.ac: Add nb to ALL_LINGUAS. 2005-08-24 Pawan Chitrakar * configure.ac: Added ne in ALL_LINGUAS Mon Aug 15 2005 Ilkka Tuohela * configure.ac: Added Finnish translation to ALL_LINGUAS. Fri Jul 7 2005 Derrick J Houy * completed migration to GConf * configure.ac: - define HAVE_GTK26 if GTK+ version >= 2.6 * src/gam-app.c: - use gtk_show_about_dialog if GTK+ version >= 2.6 * src/gam-app.h, src/gam-mixer.c, src/gam-slider.c, src/gam-toggle.c: - added GAM_CONFIG_DELIMITERS to specify the characters to be replaced in keys used by GConf Thu Jul 7 2005 Derrick J Houy * src/gam-app.c, src/gam-mixer.c: - fixed a bug where priv-> is used before it is set. Wed Jul 6 2005 Derrick J Houy * re-write of autogen.sh to not rely on gnome-common * re-structured configure.in -- bumped version number to 0.9.7 * removed gam_app_finalize, added gam_app_destroy * changed gam_app_delete_cd to gam_app_delete * changed menus and toolbar to work with GtkUIManager instead of GnomeUIInfo - changed layout of menus to be more clear * changed private data structures to use GType private data functionality * including instead of * started migration to GConf 2005-06-14 Christian Rose * configure.ac: Added "gl" to ALL_LINGUAS. 2005-04-14 Abel Cheung * configure.ac: Added "zh_TW" to ALL_LINGUAS. 2004-07-31 Jordi Mallach * configure.ac (ALL_LINGUAS): Added "ca" (Catalan). 2004-05-01 Adam Weinberger * configure.in: Added en_CA to ALL_LINGUAS. 2004-04-24 Andras Timar * configure.ac: Added hu to ALL_LINGUAS. 2004-04-07 Yuriy Syrota * configure.ac: Added "uk" (Ukrainian) into ALL_LINGUAS. 2004-03-29 Gareth Owen * configure.ac: Added en_GB to ALL_LINGUAS 2004-03-28 Takeshi AIHANA * configure.ac: Added ja "Japanese" into ALL_LINGUAS. 2004-03-15 Gustavo Noronha Silva * configure.ac: added pt_BR (Brazilian Portuguese) to ALL_LINGUAS. 2004-03-04 Guntupalli Karunakar * configure.ac: Added "pa" (Punjabi) to ALL_LINGUAS. 2004-02-21 Paisa Seeluangsawat * configure.ac: Added Thai (th) to ALL_LINGUAS. 2004-02-05 Robert Sedak * configure.ac: Added "hr" (Croatian) to ALL_LINGUAS. 2004-01-17 Kjartan Maraas * configure.ac: Added "no" to ALL_LINGUAS. 2004-01-08 Iñaki Larrañaga * configure.ac: Added "eu" (Basque) to ALL_LINGUAS. 2003-12-16 Stanislav Visnovsky * configure.ac: Added Slovak "sk" to ALL_LINGUAS. 2003-12-04 Sanlig Badral * configure.ac: Added Mongolian "mn" to ALL_LINGUAS. 2003-11-23 Christian Neumair * configure.ac: Added German (de) to ALL_LINGUAS. 2003-11-12 Duarte Loreto * configure.ac: Added pt (Portuguese) to ALL_LINGUAS. 2003-11-11 Pablo Gonzalo del Campo * configure.ac: Added es (Spanish) to ALL_LINGUAS. 2003-10-28 Derrick J Houy * src/gam-app.c: Changed hyphen in about box copyright message to en-dash. 2003-10-28 Miloslav Trmac * configure.ac: Added cs (Czech) to ALL_LINGUAS. 2003-10-27 Derrick J Houy * src/gam-prefs-dlg.c, src/gam-props-dlg.c: Bug 125377 - Remove unnecessary markup from messages. * po.POTFILES.in: Removed the UTF-8 encoding requirement. * src/gam-app.c: Removed the about box copyright message from translation. 2003-10-26 Metin Amiroff * configure.in: Added az to ALL_LINGUAS. 2003-10-25 Danilo Šegan * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-10-24 Christian Rose * configure.ac: Added "sv" to ALL_LINGUAS. Fri Sep 12 2003 Derrick J Houy * src/gam-app.c: Added localization where it was missing. Added g_free () for some gchar variables. Extra cleanup in gam_mixer_finalize. Replaced some g_return_if_fail macros with if statements, so the logic still works when G_DISABLE_CHECKS is used. Added extra g_return_[val_]if_fail macros where needed. * src/gam-slider: Removed gam_slider_real_resfresh, placing code in gam_slider_refresh -- fixes bug where mute and capture buttons were not updating. Wed Sep 10 2003 Derrick J Houy * configure.za, po/fr.po: added French translation from Stephane Tranchemer Tue Sep 9 2003 Derrick J Houy * src/gam-slider.c, src/gam-slider-dual.c, src/gam-prefs-dlg.c: Added option to change slider toggles to checkboxes instead of buttons. Set this as the application default. * src/gam-slider-dual.c: fixed refresh bug. * src/gam-props-dlg.c: HIG'ified dialog. Mon Sep 8 2003 Derrick J Houy * Changelog: changed format. * acconfig.h: removed. * configure.ac: added --enable-debug option, and other defines to disable checks when debug option is not used - results in much smaller binary. Bumped up version number to 0.9.6. * gnome-alsamixer.desktop: removed. * Makefile.am: removed references to gnome-alsamixer.desktop. * gnome-alsamixer.spec.in: added creation and installation of gnome-alsamixer.desktop here. Changed co.za addresses to za.org. Added extra BuildRequires. Added -q -n gnome-alsamixer-%{version} to %setup. * Mon Sep 8 2003 Derrick J Houy - 0.9.5 - Added new optional dual slider with lock button - Added slider style option to preferences dialog - HIG'ified preferences dialog * Wed Aug 27 2003 Derrick J Houy - 0.9.4 - Moved various gam_app data to private structure - Replaced gam_app_destroy with gam_app_finalize - Added gam_app_ prefix to functions that were missing it - Removed prog argument from gam_app_new - Moved various gam_mixer data to private structure - Removed gam_mixer_set_card_id function - Added app property to gam_mixer->priv, to reference parent application - Moved various gam_slider data to private structure - Moved gam_slider_set_elem to private function - In gam_slider_refresh, changed mask property from unsigned int to guint, and changed return value from int to gint - Added g_object_notify for mixer property to gam_slider_set_property - Removed gam_slider_get_elem function - Added gam_slider_ prefix to functions that were missing it - Cleaned up some untidy code - Moved various gam_toggle data to private structure - Moved gam_toggle_set_elem to private function - In gam_toggle_refresh, changed mask property from unsigned int to guint, and changed return value from int to gint - Added g_object_notify for mixer property to gam_toggle_set_property - Removed gam_toggle_get_elem function - Added gam_toggle_ prefix to functions that were missing it - Cleaned up some untidy code - Added option to set mnemonics for sliders and toggles by using an underscore in the controls display name - Removed app property from gam_mixer * Wed Dec 18 2002 Derrick J Houy - 0.9.3 - Improved toggle layout - Improved state updating - Improved toggle state handling * Tue Dec 10 2002 Derrick J Houy - 0.9.2 - Added state update capability * Fri Nov 22 2002 Derrick J Houy - 0.9.1 - Added support for multiple sound cards - Added program preferences dialog - Started mixer properties dailog * Fri Nov 15 2002 Derrick J Houy - 0.9.0 - Re-coded for GNOME2 * Fri Sep 22 2002 Derrick J Houy - 0.1.2beta - Fixed preferences dialog crash - Fixed exclusive mode record buttons - Changed call back for capture mode switches * Thu Sep 22 2002 Derrick J Houy - 0.1.1beta - Added preferences dialog to change visibility and named of controls - Added scollable region for sliders, so mixer does not go wider than screen - Added save and restore of application window size - Hopefully fixed startup issues with SBLive and Ensoniq cards - Lots of bug fixes gnome-alsamixer-0.9.7~cvs.20060916/COPYING0000644000175000017500000004311007542132253015562 0ustar adnadn GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.