pidgin-guifications-2.16/0000777000175000017500000000000010731357020012401 500000000000000pidgin-guifications-2.16/pixmaps/0000777000175000017500000000000010731357017014070 500000000000000pidgin-guifications-2.16/pixmaps/item_position_north_west.png0000644000175000017500000000264010567471427021663 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME 3?'-IDATx"@@_7$nIENDB`pidgin-guifications-2.16/pixmaps/item_position_north_east.png0000644000175000017500000000264010567471427021635 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME P[=-IDATx"@@_HIENDB`pidgin-guifications-2.16/pixmaps/item_position_south.png0000644000175000017500000000264010567471427020631 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME (eZV-IDATx"@@r,_&IENDB`pidgin-guifications-2.16/pixmaps/item_icon_size_normal.png0000644000175000017500000000264010567471427021075 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME  koh-IDATx"@@@@.%Y<>AIENDB`pidgin-guifications-2.16/pixmaps/item_position_south_east.png0000644000175000017500000000264010567471427021645 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME '†-IDATx"@@T,ǚGIENDB`pidgin-guifications-2.16/pixmaps/item_text_clipping_truncate.png0000644000175000017500000000264010567471427022321 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME )-IDATx"UUU888ssssss:::888UUUUUUUUU999rrrUUUVVVVVV:::999qqq-j_IENDB`pidgin-guifications-2.16/pixmaps/item_icon_size_huge.png0000644000175000017500000000034610567471427020536 00000000000000PNG  IHDRVΎWbKGD pHYs  tIME$( tEXtCommentCreated with The GIMPd%nJIDATxc-A:  7DDB>B&[+CDD<1# z(%"5^Z5(o^BASh}w^8}vo]bI][J\2e*lsfN(k>Իxg[]žw#GȿTJļvJ!NĽx`\EHúR*;QD%I8;yL˼oMƷyrdK{±vnf]O$6yneZWU'vi^ZPMN4qR4-:FJK<koK&?HBAwV$$8D%,mh+,(LE +GWI0 Snt~uV3 @{w[7 M{gM0 %" ''& $& &''#  .- !4,   182$  ,, UE  :^-uM2*4Nbph48ȮyomkY7<ϬqjYNH8% rו SӘ Н ˫3 ȶF ͻc kѭR[ Lٱ2* V7p r! -06,Ȫp 4̼ ǭt Zʮ ǩD  L Ưo= uDzwc y]D XpbI 5zysaF#$ fihdus r¾Trq@ qſx[XQq¹d,E.q¸T qƿL S;vI ômH µrbG ҳ~rlf[J ŞmZFDGQF# XrQ# $F5 @R6 %% X_  '"A !  '7@>1 .Gm|uY0 =hr;  Mv9 Gwa/ 4RrtX9  "3BC1!       pO9)$ & oҧuV;1)"# pǓZ;& nM. n~F+  mu>%  li:!  P[,  H!  _;  M+ .     A,GRTM6 %pM*  zݣW<(UaG/yZC &܆hT/(l\7'o`< ͆o`< ^{m]8/̎tkX2ažhU1 XɷwZ:  { yO7  { tL.  {T6 {X4  {xjF2 {sm_XRK@2 qriO6%$$ TrhK- JtjM.8~lR3 nY< Ҫs^D trnixbN)FnlcO@h~]R1qRb]L0GxKK4 ?S9DRJ5  ,94;.*3+      Penguin     jZ h|N(!*/&wT#Er*C v kK\ +N/&wT#Er*+ v F1\ +NN/&wT#Er*v\+6~[Q ''(()*+,02kG' ~ 9$<< S m Z I   * g t  7۱  Uj ^RʩT# +15&]x?xShadow     xx=Oa  ? ? F<#wBevel      9wU.U.awy a y%))@>==============================================================@>==============================================================@>==============================================================@>==============================================================???? @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@?@?@?@?@?@?@?@?@?@@@?@?@?@?@?@?@@@@@@@@@@?@?@?@?@?@@@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@ @@@@@@@@@@@@@@@=@=@=@=@=@=@=@=@=@@@=@=@=@=@=@=@@@@@@@@@@=@=@=@=@=@@@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@ ======================================================@=@======================================================@=@======================================================@=@======================================================? ?@ ?@ ?@ ?@@ @@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @?@?@@@@@?@?@?@?@?@?@?@@@@@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@ @=@=@@@@@=@=@=@=@=@=@=@@@@@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@=@ @  E;"xIcy     / x/)//x/M/]/m/}//F<#xGtk Default Color     0sx011x000001F<#pidgin-guifications-2.16/pixmaps/item_text_clipping_ellipsis_end.png0000644000175000017500000000264010567471427023146 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME 0-IDATx"UUU888ssssss888UUUUUUUUUsssrrrUUUVVVVVV:::999qqqqqq̫iIENDB`pidgin-guifications-2.16/pixmaps/item_position_east.png0000644000175000017500000000264010567471427020423 00000000000000PNG  IHDRVΎWbKGD pHYs  ~tIME 'v:-IDATx"@@ Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. pidgin-guifications-2.16/nsis/0000777000175000017500000000000010731357017013363 500000000000000pidgin-guifications-2.16/nsis/install.ico0000644000175000017500000005357610567471427015472 00000000000000 V   00.#00 %1(0 `  QPM$???#(  +[[[2q39@---~M66jPP^FF,Thhh*ؔVY^efef.Dl"4[G21{{쵵qq]zeXM=5F^^ّ]|- U_DKffߊqqT]JatUWjjuu˄਻1""]] rXKUFJh[K`ƍmVV]n)  ZFOmٷ̦uu傁+]H)LSfɓts惂)]0rH(1Fuu}YYҀ]hQ)'w>{xooK22]ܤ[=v8 ahNGnn 2]ڶPVje̾ʌƉ˚ˡ˧˭˴˺=Izhvcxɮյ໩ĻYPP~~~777!xxxuuu[[[  >;;*MJJAPPP... ?( @<66`A>vV<wb:+1J?5D&5_=p$9hT>FNo.In7Gg'Qi9Zg)Gy9Qq0T|KKJEJPRQQUZ^___dKDkOQmXZtRT{`UNS`Z]fzT`]agnbbkkksbb{ggu`lvllrpnwvv|ttswxm8YY__gkklffvvrryy~~wwzz}}llsquuyy{{rryyYu7ؖ=FghݝKԖQAޢWQ͗y؟qh}wFLSW_&Ua(g(|G WP `vS|gmdmw}s?9=}aGT~j * ",  BVm&4;)3]AJSLTjsĊЄƔ‘וј㌌唔ֵȠؘɦަùնǠܦǴϲɼοֺ寯絩嫶佴ŇŐȘʯºŶʦȦƶɸұ߾*"(]V")/552$fcT ' <#wp_QPX8$~qod`Z,=#~xpdY -=)碑}yoY0=>2݉yp[,݇~xb %1ߌro[/)܃wvtn/3he\\S ̸4Cszuo_O3۳ɮI?p^!ɳ;EgݑoR4ijFjߏxUIJ7iݏr+BD˰kW@AGF÷lmMLHFD&й9::<KJN(Mȗ־ ????( @  'UUU 888E!')$ k73M@B@ K S O7888::: @bccOy a;@F998+** }$[@@z[[ӁbbnSS>**?<<llוƲbJJbA sdN?5DSSss㓓O88`888 T tPT>F__ss㌌*!u) XkOQffqqyyЄؘw^^Q3  alTV__wRUzT`Ǡ{> t-HmDy-Fxu`l̥ѻ'J(  _*IxgkȠտ<++mB+"9Qqhiϲƭƒ߳A..}=zn^Mn&Pho\_ӿܦ嫶ަ6%%ұg* mB*0IyyÊi QYu'4+f>>d;;;www/˴؟q͗yȕБˠ111~~~x̔wɐ˚Ǟġ침紨㳭DCC:UUU߾ĂǍ˚˟ˤ˨˭˲ʶʺż׹ kUUU (Ѭ~x‘řǟȣʩ˭˳˷˼漷xw999ZndYrm`RscUȮϲܹ⽰ſΫ>88wػpppLLLE^^^ (''LIH5fbaHZVVTjjj222MMM ?(0` ))8=::I76Y>9[O2hI!kM;xY72K $P0S1Z%-E17C.5U=>P1a)?f+?r@?R?@QF{.Ee4Ji%GuGGGVDIPPOIKS]KPXWWfHGzMLtWOkZZuVW`rRZ^`fMaBap[ntWx~khhvhhlsnorrlwzyvwib5p3u1[[ZZaB[yF|Wffeercvvvwllmmzmwvxx||~~By{};؉*Ӊ6Ԕ7(<:y~ɅCԔHڝRDGUĠhldfytw9 GLP LJU*n0u&{ K V\FXz fc[gtnx<20L^DZmyL % ': !He #5,5(9iWEtFVfvȉׇȕНƕݟꗘפٷʥδٺ⾈⽜̟֝Ȩצȸ׸̨۠ɸ׺訧鶢鮾并¸Njɚǿ˶âʧƺʷԿصΩʼ.&..)(./..>>w 0+#;??$#.~j+H>.5ɩ;#H*tj+l_"D$.ѥ|tmaacml!@$.uttrql 6AF$Hѯ0tri56AF#Ѥuti5ǣܧ;杛e>P;>pffhhnxn;P;.husoc $?,X*smi >˸˧>O1tqi+˸?ѾM%tr>˸>ѺMGt,˸CѽJv堖ub >˸E?ѺKy塙7$˱?}塙299=а?쬢n3IST:ç}h3ILNOOS:P©8z{/ľ]ZWVVJKR=$ҾZQ0.H쩩鯥@@?CDCCCCCDDP]Y\\+[^ö.^.^+Ѽ[^ĥHļ٨??(0` %   )2+  K  zucG% +84:1%#*..* !!!fOOOVjp<\l001tT@\ |QZ` r )( |Y: %%%vwwwᆇ2|4JiUUTPPOOON655### DA,,rPPߘooﱇjjeFF?**e5qqq!>>>y%OKMTged}|yzxvqomJHGFFL%>r#.?**~VV}}֣븸ؽvSS8%%H [[[}Uu}pN.EeUTUhebGKV*?dE4H;1N86vPPzzݟ~~S77 CZmYONCOE1aN71zMLkkă衡¤cEE Ge* }qkeZH%-EgBAXXkk̓Q554i: ~qaE-*=UU]]llс||7%%d~H lDA2<__ccoo~~ꐐvSS;Z, t GVAFddggqq||ڃ܇܍☙?**^i9! KbKMggggllllllpqΩsTT (u=$ S]KPffwWWfHHYBOfMaw{̟۠'7}F* `?@Q=>P)?iJ+?raą||z0 FL- v\UM@?RpRSʼ֝wxͩʮN77TY;& oJPDMnnҵ୯ض˯\CCXtU:0' "XRDIkkɠ¸z節Ҫ]CCW}c0u*n$|"w$}EDNllš߽|ϋ֢^AA Mlsn.} yr` K0S2K28CjUU~~ο鮾˖G00:ĠhZ{ p`F $PH9=tt.'˱>i& w\A%#4ncc룣hh$v῍&`rR!2AA1 wb.5UZFFԌbAA ?޼*By3RqrW9 nF{Y>9tddii4""|۹؉*/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) $(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) $(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 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 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: 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 clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am 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: pidgin-guifications-2.16/nsis/header.bmp0000644000175000017500000006233410567471427015250 00000000000000BMd6(9  |UyQxOvMtKrHpFoDmAk?j=i;g9e7d5c3a3`1_/^-],\+],^._/`0a2b4d6e8f9h;j=l?mBoDpFrHtJvMxOzR|T~WY\^adgjloÓrŕuƗxǚ|Ȝ~ɞˡ̣ΦϨЪҬӮԱճ׵ظٺڽܿòƴɷʻͽ|TzRxOvMtJrGqFoDmAk?j=h;g9f7d5b3b2`0_/^-],\+]-^-_/`1a2c4e6f8g:i;j=l?mBnDpErHtKvLxOzQ|T}VY\^bdgjm‘oÓsĕuƘyǙ{ɜɞˡ̣ΦϨЪҬүԱճ׶׸ٺڽܿıƴȸʻ̽{TzQxOvLtJrHqEoDmAl?j=h;g9e8d6c4b2`0`/^-],\+],^._/`0b2c3d5f7g9i;j=k?mAnCqErHtJvLxOzQ|T}WZ\_adgjl‘pērĕuƘxǚ{Ȝ~ʞˠͣͥϨЪҭүԱմֵ׸ٺۼۿòƴȸʺ̽|TyRxOuMtJrHpFoDmBl?i=ik?mAoDpEsHtJvLxOyR|T~WY\_adgimÐoÒrŕvƘxǚ|Ȝ~ɞˡ̣ͦϧЪҭӯԱմ׵ظٻڽܿıƴȷʺ̽|TyRxOvMtJrHpEnDmAk?j=h;f9e8d6c3a2a0_/].[+X)X)W*W+Z-\/`3c5f8g9h;j=l?mAoDoEoFpHqJsLvNyR|VZ\^adgjmpērŕvƗxǙ{ɜɟˡͣͥϨЪѬӯԱִֵظٻڽܿ®IJƵȷʺͽ{TyRxOvMtJrHpFnCmAl?j=h;g9f7d5c4b3a0_/]-Z*V(S(Q(P(S*W.]1a4d6g:i;j=l?nAmCmClDkEkFnHqMvQ|TY\_bdgjlpērŖvŘyȚ{Ȝʞˡ̣ͦϧЩѬүԱճֶظٺڽܿIJƴȸ˺ͽ|UyRxPuLtKrGpEoCmAl@j=h;f9f7d6c4b2`0^/\-X)R&M$I#I$L'R*Y.^2b6f9h;j=k?l@kAiAfAe@dAhDnIsOzU~X\_bdgjl‘oēsŕuƘyǚ|ɜ~ʞˡ̣ͦϧЪҬӮԱֳ׶ظٺڽܿ®òƴȸʺ̾|UzRxOvMtJrHpEnDmBk?j=h;g9e8d5c3b2V+O'L%H#N$G"vC!sB xE"K&S+Z0_4d7g:ici<m> uD#K(T,[1a5d8f;[5~O/lD,qH-V6T6W8]=gEqMxT~X\_adgimpÓrŕvƗxǚ|ɜ~ʞˡ̣ͥΨЪҬүԱմ׵ظٻڽܿIJƴȷʺͽ|TzRxOvMtJrHqFoCmAk?j=h;g9e7d6b3a2b9sE,Y1q@h;d9e;l? vE%M*T/[2^5[5[8!D/'-,EgA(zO2xN3~S5[B%V1d8`6`8e:l?!vE%L)R.R.U4I.8J/^<%qJ.sK0}R5\=hFrN{T~Y\_befilÑpērŕuƗxǚ|Ȝʞˡ̣ͦϧЪѭҮԱմ׵عٺڼۿ¯IJŴȷʻ̽|TzRxOvLtJrHpEoCmAl?j>i;g9e7d5c4}I%6@H _$)D9 R.^5]5`8e;k?!sD%tF'K-<%8"oC*mF*lF,rJ/S6_?kHuO|UY\^adgjm‘oÓsŖuƗxǚ{Ȝ~ɞˡ̣ΦΧЪҬӯԱճ׶׸ٺڼۿıŵȷʺ̾|TzRxOvLtJrHpEoDmAl?j=h;g9e7d6b4k>  hZ%$3E'\5]6_8c: X5:#5!8<&#H.gB(kD+sK0U8bAnJvP|VY\^bdgiloÓrŕvƘxǙ{Ȝ~ʞˡ̣ΥϨЪѭүԱճ׵ظٺڽۿIJƵȸʺ̾|TzRxOvMtKrHqEoDmAl?i=i;g9f7e5b4Y3xhZQ1:"M-O.<$4$!1J?85!T5 eA(kE+wM1Y:fCpKxQ}UZ[^adgjm‘pÓsĖuƘyǚ{ɜɞˠ̣ΥϨЪѬҮԱճֵظٺڽܿıƵȷ˺̾{TzRxOvLtJrHqFoDmAk?j=i;g9e7d5S,Y4uf\= "11!(?RHAd3 a>&e@(nF,{P3\%eA(pH-~R5_>jGsNzS}VY\_adgjmoērŖvƘxǙ{ɜ~ʟˠ̣ΥΨЪҭӯԱճ׵ظٻ۽ۿñŴɸʻ̾{TzQwPvMtJrHpFoCnAl?j=i;g9f8e5uD#d.$ rmhhf\XLD-P2b>%gA)rI.U6b?mHvO{S~WZ\^adgjlpÓrŖuŘxǚ|ɜ~ɞʡ̣ΦΧЪѬӯԱִֶظٻڼۿòƴȸʻͽ{TzQwOvLtJrHpFoCmBk@j=i;g9e7e5l?!c=. zrphZP>2[8"b>&iC)uK/W7dAoJvO{S~WZ\_adgjmoērŕuŗyǙ{ɝ~ʞʡ̣ΥϨЪҬҮԱմֶ׸ٻ۽ܿòƵȷʺ̽{TzRwPvMtJrHqFnDmBk?j>i;f9e7d5Y4nT4 zkaR'm7"`<$c?&jD*wL0X9eApIvOyR|V~X[]aegjm‘oÓsĕuƗxș|ɜɞˡͣͥΨЪҬүԱֳֶظٺۼۿ¯ñƴȸʺ;{TzQxOvMuKsHqEoDmAk?j=h;g9e8d5Y4uh1# uf\OA(`<$c?&kD+wM1Y9eBnHsNwPySzV|X\_cgjm‘pÓrĕvƘxǚ{Ȝ~ʞʠ̣ΥϨЪѭӮԱմֶ׸ٻ۽ܿ¯òŴȷʺ̾{UzRxPvLtJrHpFoCmAl?j=h;g9e7T-Y48* k\!&F+`<$c?&kE*wL0X8cAkFoKqLrOtQxU|Y^bgjl‘oÓsŕuƘyǙ|Ȝʟˡ̣ͥϨЪҬӮԱֳֵظٺڽۿñŴȷ˺;|UzRxOuLtKrGqFoDmAk?j>h;g9e7T-ooF5% rc! (O1`<$c?&jD*uL/U6^=dBfDgGiHlLqPwV~[agim‘pērŕvƘxǚ{ɝ~ʞˡ̣ͦϨЪҭүԱմ׶׸ٺڽۿòƴȸʻ;|TzRxOvMtKrHpFoCmAk?i=h;g9e7T-}noNA* xf'O1_;#b>&gA)pH-zP3V8Z;[>]@^AcEkLsS}ZagjmÐpēsŕuƗyǙ{Ȝ~ʟˡ̢ͥΧЪҭӮԱճ׶ظٺڽۿIJƵȷʻ̽|TzRxOvMuJsHqEoCnBk?j=h;g9e7T-~noXB- k-O1_;#a=%eA(jE+`>(^=(a?*bB,wP7Y=`CjKsS}Z`gjm‘oēsŕuƘxǙ{Ȝ~ʞʠ̣ΥϧѪѭүԱճֶ׸ٺڽܿòƵȷʻ;{TyRxOvLtJrGpFoCmAl?j=i;f9e8T-~noaD5 r!%4J._;#Q3E+6#9%'+F/;fS9+sN5Y>aDkLvU~[agjm‘oÓrŖvŗxǙ{Ȝ~ʞˡͣͥΧЪҭӯԱմ׵׸ٺڽܿıƵȷʻͽ|UzRxPvLtJrHpEnCmAl?j=h%kD)xM/Y8eAoHuMzR{T~VZ\_adgimÐpÓsŖuŘyǚ{ɜ~ʟˠ̣ΦϨЪҬӯӱճ׵ظٺ۽ۿòŴȷ˻̾|TzQwOvLtJsHqFoCnAl?j=h;g9e8a4^7$au uhXR!64[8 `;#c>%jC(uK.W7c?nHuMxQ|T}WY\_aegjl‘oÓrŕvŘyǚ|Ȝ~ɟˡ̣ΥϨЪѬӮԱմ׶ظٻڽۿıŵȷʻ̽{UzRwOuLtJrHqEoDmAk@j=i;g9e7O*a?'"" zfVL/J-^:"b=$hA(sI.T5b>mGtMxQ|T~WY\_aegjm‘pērŕuŗyǙ{Ȝʟˡ̣ͥΧЪѬӮԱճֶظٺڽ۾¯òƴȷʻ̾{TyRxOvMtJrHpFoCnAk?j=h;g9f7nA#!v$/7<8+#uh\Q<%^:"a=$f@(qH-T5`>lFtMxQ{U~WY\_adgjl‘oÒrŕvƗxǚ|Ȝ~ʞʡ̣ΥΨЪѬӮԱճֶظٻڼۿIJƴȷ˺̽{UyQwOvMtKrHqEoCmAl?j=i;g:f7_8$7FTZTH:' ucA4 ^:"a<$g@'qH-S5`=lEtMxQ|T}WZ\_adgjm‘pÓrĕvƘyǚ|ȜɞˡͣΥϨЪѬӯԱմֵظٻڽܾIJƵȷʺͽ|UzRxOvMtJrHqEoDmAl?j=i;g9e7Z51Jc}kP7% k\2^:"a=$fA'rH-T5`>kFtMyP|T~VY\_bdgjm‘oÓsŕuƘyǚ{Ȝ~ɟˡ̣ΦϨЪҭӮӲմ׵ظٻۼۿ¯ıƵȸʻ̾{TzRxOvLtJrHqFoDmBk?i=hmGtMyP{T~WY\_bdgjlÐpÓsŕuƗxǙ{Ȝ~ɟˡ̣ͥΧЪѭӯԱֳ׶ظڻ۽ܿñƴȸ˺ͽ|TzRwOvMtKsHpEnDmBl?j=h;f:f7[5%Bca=% f2`;#c>%kC)vK.W7d@nHuMyP|T~WZ\_bdgimoērĖuƘxǚ|ɜ~ʞˠ̣ΦϧЪѬӮԱճ׶ظٺڼܿòƴȷʻ;{UzRxPvLtJrHpFoCmAk?j=i;f9e8_8)AcmD+ W5!b<$f@&oE*|P1[9fBpHuMzR|T~VY\_bdgjm‘oÓrŕuƘyǚ{Ȝ~ʟˡ̣ΦϧЪѬӯԱճ׵ظٺ۽ܿıƴȷʻͽ{TzQxOvMtJsHpFoCnAk?j=h;g9f7nA"18T}kH* 5l?&d>$kC(vJ-T4_;jCqJvNzR{T}VZ\^bdgjl‘oēsĖuƘyǚ|ɜ~ʞˡ̣ͥΨЪѬӯԱֳֶظٻ۽ܿñŵȷʻ̽|TzQxOvMtJrHpFoCmAl?j=h;g9e8O+a?'-Dc}_=& 1O1jA'sH+~P0Z8d?mEsKvNzR|T~VY\_bdgjm‘pÓrŕuƘxǙ{Ȝ~ʞˠ̣ͥϨЪѬҮԱմ׶ظٺڼۿIJƴȷʻ;|TzQxOvLtJrHpFnDmBk?j=i;g9e8a5_8/v2DZkppaH4>f;#iA%uH*~O0W6`;iAoHtLwOzQ{T~WY\^adgjmoÓsŖvƗxǚ{Ȝ~ʟˡ̣ΥϨЪѬҮԲճ׶ظٺ۽ۿIJƴȸʻͽ|UzQwOvMtJrHqEoCmBl?j=hlCpFsIuLwOyQ|T~VY\_aegjl‘oērĕvƗxǚ|ɜ~ʞˠ̣ͥϧЪѭүԱճ׶ظٻ۽ۿñƵȸʻ̽{TzQxOvLtJrHpEoCmAk?j=h;g9f7d6c3a2O(]6_<$#|oN6#O/tF&W0Y3^6a9f=kAnEqGtKuLxOzR|T~WY\_adgjm‘oērŕuƘyǚ{Ȝ~ʟˡ̣ͦΧЪҬӯԱմ׶ظٺڽۿIJƴȷʺͽ|TzQxPvMtJrGqEoCmBl?j=h;g:e7d6b4a2`0\.J$k<[3W1V0T0W2d:zG&Y0]2_5a8c:h=j@mBqFrHtJvLwOzQ|T}WY\_adgil‘pērĕvƗxǚ{Ȝʞʡ̣ͥϨЪҭӯԱմֶظٺڼܿıŵȷʻͽ|TyQwOvMtJrGpFoDmAl?j=i;g9e7d5c4a3a0_/^-],\+],^._/a1b2c4d6f7g9i;j=k?mAoCqErHuKvLwOzR{T}WY\_adgjloÓrŕuƗyǚ|Ȝ~ɟˠ̣ͦϧЪҬүԱճֶ׸ٻ۽ۿòƵȸʺ̽|TzQxOvMtJrHpEoDnAk?i=hl@mAoCqFrHtJvMxOzR{T~WY\^adgjm‘pÓrŕvƗyǚ{Ȝ~ʞʠ̣ͥϨЪҬүԱֳֵظٺڼ۾ñƴȷʻ̽|TzRxOuMtJrHqFoCmBl?j=h;g9e7d5b4a2`1_/^.],\+]-^._/`0a2b4d6e7g9h;j=k?mAoDqFrHuJvMwOzR{T~WZ\^adgjl‘pērĕvƗyǚ|ɜ~ʞʡ̣ΥΧЪѭүԱմֶظںڽܿñƵȸ˻ͽ|TzQxOvMtJrHpFoCmAl?j=i;f9f7d5c3a2a1_/^.]-\+],^._/`1b2c4d5f8g9h;j=l?mAoDpFrHtJvMxOyQ|T}VY\^bdgjmÑpÓsĕuƘyǚ|ɜ~ɞˡ̣ΦϨЪѬӯԱմֶظٺڽۿòƵȸ˺̽|TzRxOvMtJrHpEoCmAk?j=h;g9f8d5c4b2`0_/^.],\+],^-_/`0b2c3d6f7g9h;j=k?mBoCqFsHtJvLxOzR{T~WY\_adgilpÓsŕuƗxǙ{Ȝʞˡ̣ͥϨЪѬүԱճֵظٻڽۿ¯òƵȷʺͽ|TyQxOvMtJrHqEnCmAk?j=h;g9e7d6c4a2`0_/^.],\+]-^-_/`1a2c3e6e7g:i;j=l?mBnDqFrHtJvLxOzR|T}WY\_adgil‘pÓsĕvƘxǙ{Ȝ~ɞˡ̣ͥϨЪҬӮԱֳ׶ظٺڽܿñŴȷ˻ͽpidgin-guifications-2.16/nsis/translations/0000777000175000017500000000000010731357017016104 500000000000000pidgin-guifications-2.16/nsis/translations/Makefile.in0000644000175000017500000002471210731356735020101 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = nsis/translations DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog 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)/pre_config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ ChangeLog \ english.nsh \ french.nsh \ italian.nsh \ spanish.nsh all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign nsis/translations/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign nsis/translations/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ 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-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ 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: pidgin-guifications-2.16/nsis/translations/english.nsh0000644000175000017500000000446410616774112020174 00000000000000;; ;; english.nsh ;; ;; Default language strings for the Windows guifications NSIS installer. ;; Windows Code page: 1252 ;; Language Code: 1033 ;; ; Startup Pidgin check LangString PIDGIN_NEEDED ${LANG_ENGLISH} "Guifications requires that Pidgin be installed. You must install Pidgin before installing Guifications." LangString GUIFICATIONS_TITLE ${LANG_ENGLISH} "Guifications plugin for Pidgin" LangString BAD_PIDGIN_VERSION_1 ${LANG_ENGLISH} "Incompatible version.$\r$\n$\r$\nThis version of the Guifications plugin was built for Pidgin version ${PIDGIN_VERSION}. It appears that you have Pidgin version" LangString BAD_PIDGIN_VERSION_2 ${LANG_ENGLISH} "installed.$\r$\n$\r$\nSee http://guifications.sourceforge.net for more information." LangString NO_PIDGIN_VERSION ${LANG_ENGLISH} "Unable to determine installed Pidgin version." ; Overrides for default text in windows: LangString WELCOME_TITLE ${LANG_ENGLISH} "Guifications v${GUIFICATIONS_VERSION} Installer" LangString WELCOME_TEXT ${LANG_ENGLISH} "Note: This version of the plugin is designed for Pidgin ${PIDGIN_VERSION}, and will not install or function with versions of Pidgin having a different major version number.\r\n\r\nWhen you upgrade your version of Pidgin, you must uninstall or upgrade this plugin as well.\r\n\r\n" LangString DIR_SUBTITLE ${LANG_ENGLISH} "Please locate the directory where Pidgin is installed" LangString DIR_INNERTEXT ${LANG_ENGLISH} "Install in this Pidgin folder:" LangString FINISH_TITLE ${LANG_ENGLISH} "Guifications v${GUIFICATIONS_VERSION} Install Complete" LangString FINISH_TEXT ${LANG_ENGLISH} "You will need to restart Pidgin for the plugin to be loaded, then go the Pidgin preferences and enable the Guifications Plugin." ; during install uninstaller LangString GUIFICATIONS_PROMPT_WIPEOUT ${LANG_ENGLISH} "The guifications.dll plugin is about to be deleted from your Pidgin/plugins directory. Continue?" ; for windows uninstall LangString GUIFICATIONS_UNINSTALL_DESC ${LANG_ENGLISH} "Guifications Plugin (remove only)" LangString un.GUIFICATIONS_UNINSTALL_ERROR_1 ${LANG_ENGLISH} "The uninstaller could not find registry entries for Guifications.$\rIt is likely that another user installed the plugin." LangString un.GUIFICATIONS_UNINSTALL_ERROR_2 ${LANG_ENGLISH} "You do not have the permissions necessary to uninstall the plugin." pidgin-guifications-2.16/nsis/translations/ChangeLog0000644000175000017500000000014610567471427017604 00000000000000Version 2.3: * Italian translation added (Giacomo Succi) * Spanish translation added (Davide Rubio) pidgin-guifications-2.16/nsis/translations/Makefile.am0000644000175000017500000000012510655207405020052 00000000000000EXTRA_DIST = \ ChangeLog \ english.nsh \ french.nsh \ italian.nsh \ spanish.nsh pidgin-guifications-2.16/nsis/translations/italian.nsh0000644000175000017500000000460110616774112020155 00000000000000;; ;; italian.nsh ;; ;; Italian language strings for the Windows Guifications NSIS installer. ;; Windows Code page: 1252 ;; Language Code: 1040 ;; Author: Giacomo Succi ;; ; Startup Pidgin check LangString PIDGIN_NEEDED ${LANG_ITALIAN} "Guifications richiede che Pidgin sia installato. Dovete installare Pidgin prima di installare Guifications." LangString GUIFICATIONS_TITLE ${LANG_ITALIAN} "Guifications plugin per Pidgin" LangString BAD_PIDGIN_VERSION_1 ${LANG_ITALIAN} "Versione incompatibile.$\r$\n$\r$\nQuesta versione di Guifications e' stata compilata per Pidgin ${PIDGIN_VERSION}. Sembra che avete installato la versione" LangString BAD_PIDGIN_VERSION_2 ${LANG_ITALIAN} "di Pidgin.$\r$\n$\r$\nVisitate http://guifications.sourceforge.net per maggiori informazioni." LangString NO_PIDGIN_VERSION ${LANG_ITALIAN} "Impossibile determinare la versione di Pidgin installata." ; Overrides for default text in windows: LangString WELCOME_TITLE ${LANG_ITALIAN} "Installatore di Guifications v${GUIFICATIONS_VERSION}" LangString WELCOME_TEXT ${LANG_ITALIAN} "Nota: Questa versione del plugin e' stata pensata per Pidgin ${PIDGIN_VERSION}, e non si installera' e non funzionera' con questa versione di Pidgin.\r\n\r\nQuando aggiorna la versione di Pidgin, dovete rimuovere o aggiornare la anche il plugin.\r\n\r\n" LangString DIR_SUBTITLE ${LANG_ITALIAN} "Perfavore indicate la cartella dove e' installato Pidgin" LangString DIR_INNERTEXT ${LANG_ITALIAN} "Installa in questa cartella di Pidgin:" LangString FINISH_TITLE ${LANG_ITALIAN} "Installazione di Guifications v${GUIFICATIONS_VERSION} installata" LangString FINISH_TEXT ${LANG_ITALIAN} "Dovete riavviare Pidgin per far caricare il plugin, quindi andate nelle preferenze di Pidgin e abilitate Guification Plugin." ; during install uninstaller LangString GUIFICATIONS_PROMPT_WIPEOUT ${LANG_ITALIAN} "Il file guifications.dll sta per essere cancellato dalla cartella Pidgin/plugins. Continuare?" ; for windows uninstall LangString GUIFICATIONS_UNINSTALL_DESC ${LANG_ITALIAN} "Guifications Plugin (soltanto rimozione)" LangString un.GUIFICATIONS_UNINSTALL_ERROR_1 ${LANG_ITALIAN} "L'uninstallatore non puo' trovare le entry nel registro per Guifications.$\rE' probabile che Guification sia stato installato da un'altro utente." LangString un.GUIFICATIONS_UNINSTALL_ERROR_2 ${LANG_ITALIAN} "Non avete i diritti necessari per rimuovere il plugin." pidgin-guifications-2.16/nsis/translations/spanish.nsh0000644000175000017500000000444710616774112020211 00000000000000;; ;; spanish.nsh ;; ;; Default language strings for the Windows guifications NSIS installer. ;; Windows Code page: 1252 ;; Author: David Rubio ;; ; Startup Pidgin check LangString PIDGIN_NEEDED ${LANG_SPANISH} "Guifications requiere que Pidgin est instalado. Debe instalar Pidgin antes de instalar Guifications." LangString GUIFICATIONS_TITLE ${LANG_SPANISH} "Plugin Guifications para Pidgin" LangString BAD_PIDGIN_VERSION_1 ${LANG_SPANISH} "Version Incompatible.$\r$\n$\r$\nEsta versin del plugin Guifications fue creada para la versin ${PIDGIN_VERSION} de Pidgin. Parece que usted tiene la versin" LangString BAD_PIDGIN_VERSION_2 ${LANG_SPANISH} "instalada.$\r$\n$\r$\nVisite http://guifications.sourceforge.net para ms informacin." LangString NO_PIDGIN_VERSION ${LANG_SPANISH} "Imposible determinar la versin de Pidgin instalada." ; Overrides for default text in windows: LangString WELCOME_TITLE ${LANG_SPANISH} "Instalador de Guifications v${GUIFICATIONS_VERSION}" LangString WELCOME_TEXT ${LANG_SPANISH} "Nota: Esta versin del plugin est diseada para Pidgin ${PIDGIN_VERSION}, y no se instalar o funcionar con otras versiones de Pidgin.\r\n\r\nCuando actualice su versin de Pidgin, deber desinstalar o actualizar tambin este plugin.\r\n\r\n" LangString DIR_SUBTITLE ${LANG_SPANISH} "Por favor indique la carpeta donde est instalado Pidgin" LangString DIR_INNERTEXT ${LANG_SPANISH} "Instalar en esta carpeta de Pidgin:" LangString FINISH_TITLE ${LANG_SPANISH} "Instalacin completa de Guifications v${GUIFICATIONS_VERSION}" LangString FINISH_TEXT ${LANG_SPANISH} "Necesitar reiniciar Pidgin para que se cargue el plugin, luego vaya a las preferencias de Pidgin y active el plugin Guifications." ; during install uninstaller LangString GUIFICATIONS_PROMPT_WIPEOUT ${LANG_SPANISH} "El plugin guifications.dll est a punto de borrarse de la carpeta de Pidgin/plugins. Continuar?" ; for windows uninstall LangString GUIFICATIONS_UNINSTALL_DESC ${LANG_SPANISH} "Guifications Plugin (borrar slo)" LangString un.GUIFICATIONS_UNINSTALL_ERROR_1 ${LANG_SPANISH} "El desinstalador no puede encontrar las entradas de registro de Guifications.$\rPodra deberse a que otro usuario instal el plugin." LangString un.GUIFICATIONS_UNINSTALL_ERROR_2 ${LANG_SPANISH} "Usted no tiene los permisos necesarios para desinstalar el plugin."pidgin-guifications-2.16/nsis/translations/french.nsh0000644000175000017500000000477310655207405020012 00000000000000;; ;; french.nsh ;; ;; French language strings for the Windows guifications NSIS installer. ;; Windows Code page: 1252 ;; Language Code: 1036 ;; Author: Yannick LE NY ;; ; Startup Pidgin check LangString PIDGIN_NEEDED ${LANG_FRENCH} "Guifications requiert que Pidgin soit install. Vous devez installer Pidgin avant de faire l'installation de Guifications." LangString GUIFICATIONS_TITLE ${LANG_FRENCH} "Plugin Guifications pour Pidgin" LangString BAD_PIDGIN_VERSION_1 ${LANG_FRENCH} "Version incompatible.$\r$\n$\r$\nCette version du plugin Guifications a t cr pour la version ${PIDGIN_VERSION} de Pidgin. Il apparait que vous avez la version" LangString BAD_PIDGIN_VERSION_2 ${LANG_FRENCH} "installe de Pidgin. $\r$\n$\r$\nRegardez http://guifications.sourceforge.net pour plus d'informations." LangString NO_PIDGIN_VERSION ${LANG_FRENCH} "Impossible de dterminer la version installe de Pidgin." ; Overrides for default text in windows: LangString WELCOME_TITLE ${LANG_FRENCH} "Installeur de Guifications v${GUIFICATIONS_VERSION}" LangString WELCOME_TEXT ${LANG_FRENCH} "Note: Cette version du plugin est conu pour Pidgin ${PIDGIN_VERSION}, et ne s'installera pas ou ne fonctionnera pas avec les versions de Pidgin ayant un numro de version majeur diffrent.\r\n\r\nQuand vous mettez jour votre version de Pidgin, vous devez dsinstaller ou mettre jour ce plugin aussi.\r\n\r\n" LangString DIR_SUBTITLE ${LANG_FRENCH} "Merci d'indiquer le rpertoire o Pidgin est install" LangString DIR_INNERTEXT ${LANG_FRENCH} "Installation dans le rpertoire Pidgin:" LangString FINISH_TITLE ${LANG_FRENCH} "Installation termine de Guifications v${GUIFICATIONS_VERSION}" LangString FINISH_TEXT ${LANG_FRENCH} "Vous avez besoin de redmarrer Pidgin pour que le plugin soit charg, ensuite allez dans les prfrences de Pidgin et activez le plugin Guifications." ; during install uninstaller LangString GUIFICATIONS_PROMPT_WIPEOUT ${LANG_FRENCH} "La librairie guifications.dll du plugin sera supprim de votre rpertoire Pidgin/plugins. Continuer ?" ; for windows uninstall LangString GUIFICATIONS_UNINSTALL_DESC ${LANG_FRENCH} "Plugin Guifications (supprimer uniquement)" LangString un.GUIFICATIONS_UNINSTALL_ERROR_1 ${LANG_FRENCH} "Le dsinstalleur ne peut pas trouver les entres de registre pour Guifications.$\rIl se peut qu'un autre utilisateur a install le plugin." LangString un.GUIFICATIONS_UNINSTALL_ERROR_2 ${LANG_FRENCH} "Vous n'avez pas les permissions ncessaires pour dsinstaller le plugin." pidgin-guifications-2.16/nsis/Makefile.am0000644000175000017500000000010210567471427015335 00000000000000SUBDIRS = translations EXTRA_DIST = \ header.bmp \ install.ico pidgin-guifications-2.16/intltool-update.in0000644000175000017500000007425710731356730016017 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Updater # # Copyright (C) 2000-2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Kenneth Christiansen # Maciej Stachowiak # Darin Adler ## Release information my $PROGRAM = "intltool-update"; my $VERSION = "0.36.2"; my $PACKAGE = "intltool"; ## Loaded modules use strict; use Getopt::Long; use Cwd; use File::Copy; use File::Find; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $DIST_ARG = 0; my $POT_ARG = 0; my $HEADERS_ARG = 0; my $MAINTAIN_ARG = 0; my $REPORT_ARG = 0; my $VERBOSE = 0; my $GETTEXT_PACKAGE = ""; my $OUTPUT_FILE = ""; my @languages; my %varhash = (); my %po_files_by_lang = (); # Regular expressions to categorize file types. # FIXME: Please check if the following is correct my $xml_support = "xml(?:\\.in)*|". # http://www.w3.org/XML/ (Note: .in is not required) "ui|". # Bonobo specific - User Interface desc. files "lang|". # ? "glade2?(?:\\.in)*|". # Glade specific - User Interface desc. files (Note: .in is not required) "scm(?:\\.in)*|". # ? (Note: .in is not required) "oaf(?:\\.in)+|". # DEPRECATED: Replaces by Bonobo .server files "etspec|". # ? "server(?:\\.in)+|". # Bonobo specific "sheet(?:\\.in)+|". # ? "schemas(?:\\.in)+|". # GConf specific "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer. "kbd(?:\\.in)+|". # GOK specific. "policy(?:\\.in)+"; # PolicyKit files my $ini_support = "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "desktop(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "caves(?:\\.in)+|". # GNOME Games specific "directory(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "soundlist(?:\\.in)+|". # GNOME specific "keys(?:\\.in)+|". # GNOME Mime database specific "theme(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "service(?:\\.in)+"; # DBus specific my $buildin_gettext_support = "c|y|cs|cc|cpp|c\\+\\+|h|hh|gob|py"; ## Always flush buffer when printing $| = 1; ## Sometimes the source tree will be rooted somewhere else. my $SRCDIR = $ENV{"srcdir"} || "."; my $POTFILES_in; $POTFILES_in = "<$SRCDIR/POTFILES.in"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "dist|d" => \$DIST_ARG, "pot|p" => \$POT_ARG, "headers|s" => \$HEADERS_ARG, "maintain|m" => \$MAINTAIN_ARG, "report|r" => \$REPORT_ARG, "verbose|x" => \$VERBOSE, "gettext-package|g=s" => \$GETTEXT_PACKAGE, "output-file|o=s" => \$OUTPUT_FILE, ) or &Console_WriteError_InvalidOption; &Console_Write_IntltoolHelp if $HELP_ARG; &Console_Write_IntltoolVersion if $VERSION_ARG; my $arg_count = ($DIST_ARG > 0) + ($POT_ARG > 0) + ($HEADERS_ARG > 0) + ($MAINTAIN_ARG > 0) + ($REPORT_ARG > 0); &Console_Write_IntltoolHelp if $arg_count > 1; my $PKGNAME = FindPackageName (); # --version and --help don't require a module name my $MODULE = $GETTEXT_PACKAGE || $PKGNAME || "unknown"; if ($POT_ARG) { &GenerateHeaders; &GeneratePOTemplate; } elsif ($HEADERS_ARG) { &GenerateHeaders; } elsif ($MAINTAIN_ARG) { &FindLeftoutFiles; } elsif ($REPORT_ARG) { &GenerateHeaders; &GeneratePOTemplate; &Console_Write_CoverageReport; } elsif ((defined $ARGV[0]) && $ARGV[0] =~ /^[a-z]/) { my $lang = $ARGV[0]; ## Report error if the language file supplied ## to the command line is non-existent &Console_WriteError_NotExisting("$SRCDIR/$lang.po") if ! -s "$SRCDIR/$lang.po"; if (!$DIST_ARG) { print "Working, please wait..." if $VERBOSE; &GenerateHeaders; &GeneratePOTemplate; } &POFile_Update ($lang, $OUTPUT_FILE); &Console_Write_TranslationStatus ($lang, $OUTPUT_FILE); } else { &Console_Write_IntltoolHelp; } exit; ######### sub Console_Write_IntltoolVersion { print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler. Copyright (C) 2000-2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } sub Console_Write_IntltoolHelp { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... LANGCODE Updates PO template files and merge them with the translations. Mode of operation (only one is allowed): -p, --pot generate the PO template only -s, --headers generate the header files in POTFILES.in -m, --maintain search for left out files from POTFILES.in -r, --report display a status report for the module -d, --dist merge LANGCODE.po with existing PO template Extra options: -g, --gettext-package=NAME override PO template name, useful with --pot -o, --output-file=FILE write merged translation to FILE -x, --verbose display lots of feedback --help display this help and exit --version output version information and exit Examples of use: ${PROGRAM} --pot just create a new PO template ${PROGRAM} xy create new PO template and merge xy.po with it Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } sub echo_n { my $str = shift; my $ret = `echo "$str"`; $ret =~ s/\n$//; # do we need the "s" flag? return $ret; } sub POFile_DetermineType ($) { my $type = $_; my $gettext_type; my $xml_regex = "(?:" . $xml_support . ")"; my $ini_regex = "(?:" . $ini_support . ")"; my $buildin_regex = "(?:" . $buildin_gettext_support . ")"; if ($type =~ /\[type: gettext\/([^\]].*)]/) { $gettext_type=$1; } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; } elsif ($type =~ /glade2?(\.in)*$/) { $gettext_type="glade"; } elsif ($type =~ /scm(\.in)*$/) { $gettext_type="scheme"; } elsif ($type =~ /keys(\.in)+$/) { $gettext_type="keys"; } # bucket types elsif ($type =~ /$xml_regex$/) { $gettext_type="xml"; } elsif ($type =~ /$ini_regex$/) { $gettext_type="ini"; } elsif ($type =~ /$buildin_regex$/) { $gettext_type="buildin"; } else { $gettext_type="unknown"; } return "gettext\/$gettext_type"; } sub TextFile_DetermineEncoding ($) { my $gettext_code="ASCII"; # All files are ASCII by default my $filetype=`file $_ | cut -d ' ' -f 2`; if ($? eq "0") { if ($filetype =~ /^(ISO|UTF)/) { chomp ($gettext_code = $filetype); } elsif ($filetype =~ /^XML/) { $gettext_code="UTF-8"; # We asume that .glade and other .xml files are UTF-8 } } return $gettext_code; } sub isNotValidMissing { my ($file) = @_; return if $file =~ /^\{arch\}\/.*$/; return if $file =~ /^$varhash{"PACKAGE"}-$varhash{"VERSION"}\/.*$/; } sub FindLeftoutFiles { my (@buf_i18n_plain, @buf_i18n_xml, @buf_i18n_xml_unmarked, @buf_i18n_ini, @buf_potfiles, @buf_potfiles_ignore, @buf_allfiles, @buf_allfiles_sorted, @buf_potfiles_sorted, @buf_potfiles_ignore_sorted ); ## Search and find all translatable files find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, ".."; find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, "$SRCDIR/.."; open POTFILES, $POTFILES_in or die "$PROGRAM: there's no POTFILES.in!\n"; @buf_potfiles = grep !/^(#|\s*$)/, ; close POTFILES; foreach (@buf_potfiles) { s/^\[.*]\s*//; } print "Searching for missing translatable files...\n" if $VERBOSE; ## Check if we should ignore some found files, when ## comparing with POTFILES.in foreach my $ignore ("POTFILES.skip", "POTFILES.ignore") { (-s "$SRCDIR/$ignore") or next; if ("$ignore" eq "POTFILES.ignore") { print "The usage of POTFILES.ignore is deprecated. Please consider moving the\n". "content of this file to POTFILES.skip.\n"; } print "Found $ignore: Ignoring files...\n" if $VERBOSE; open FILE, "<$SRCDIR/$ignore" or die "ERROR: Failed to open $SRCDIR/$ignore!\n"; while () { push @buf_potfiles_ignore, $_ unless /^(#|\s*$)/; } close FILE; @buf_potfiles_ignore_sorted = sort (@buf_potfiles_ignore); } foreach my $file (@buf_i18n_plain) { my $in_comment = 0; my $in_macro = 0; open FILE, "<$file"; while () { # Handle continued multi-line comment. if ($in_comment) { next unless s-.*\*/--; $in_comment = 0; } # Handle continued macro. if ($in_macro) { $in_macro = 0 unless /\\$/; next; } # Handle start of macro (or any preprocessor directive). if (/^\s*\#/) { $in_macro = 1 if /^([^\\]|\\.)*\\$/; next; } # Handle comments and quoted text. while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy { my $match = $1; if ($match eq "/*") { if (!s-/\*.*?\*/--) { s-/\*.*--; $in_comment = 1; } } elsif ($match eq "//") { s-//.*--; } else # ' or " { if (!s-$match([^\\]|\\.)*?$match-QUOTEDTEXT-) { warn "mismatched quotes at line $. in $file\n"; s-$match.*--; } } } if (/\w\.GetString *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } ## N_ Q_ and _ are the three macros defined in gi8n.h if (/[NQ]?_ *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml) { open FILE, "<$file"; while () { # FIXME: share the pattern matching code with intltool-extract if (/\s_[-A-Za-z0-9._:]+\s*=\s*\"([^"]+)\"/ || /<_[^>]+>/ || /translatable=\"yes\"/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_ini) { open FILE, "<$file"; while () { if (/_(.*)=/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml_unmarked) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } } @buf_allfiles_sorted = sort (@buf_allfiles); @buf_potfiles_sorted = sort (@buf_potfiles); my %in2; foreach (@buf_potfiles_sorted) { s#^$SRCDIR/../##; s#^$SRCDIR/##; $in2{$_} = 1; } foreach (@buf_potfiles_ignore_sorted) { s#^$SRCDIR/../##; s#^$SRCDIR/##; $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted) { my $dummy = $_; my $srcdir = $SRCDIR; $srcdir =~ s#^../##; $dummy =~ s#^$srcdir/../##; $dummy =~ s#^$srcdir/##; $dummy =~ s#_build/##; if (!exists($in2{$dummy})) { push @result, $dummy } } my @buf_potfiles_notexist; foreach (@buf_potfiles_sorted) { chomp (my $dummy = $_); if ("$dummy" ne "" and !(-f "$SRCDIR/../$dummy" or -f "../$dummy")) { push @buf_potfiles_notexist, $_; } } ## Save file with information about the files missing ## if any, and give information about this procedure. if (@result + @buf_potfiles_notexist > 0) { if (@result) { print "\n" if $VERBOSE; unlink "missing"; open OUT, ">missing"; print OUT @result; close OUT; warn "\e[1mThe following files contain translations and are currently not in use. Please\e[0m\n". "\e[1mconsider adding these to the POTFILES.in file, located in the po/ directory.\e[0m\n\n"; print STDERR @result, "\n"; warn "If some of these files are left out on purpose then please add them to\n". "POTFILES.skip instead of POTFILES.in. A file \e[1m'missing'\e[0m containing this list\n". "of left out files has been written in the current directory.\n"; } if (@buf_potfiles_notexist) { unlink "notexist"; open OUT, ">notexist"; print OUT @buf_potfiles_notexist; close OUT; warn "\n" if ($VERBOSE or @result); warn "\e[1mThe following files do not exist anymore:\e[0m\n\n"; warn @buf_potfiles_notexist, "\n"; warn "Please remove them from POTFILES.in. A file \e[1m'notexist'\e[0m\n". "containing this list of absent files has been written in the current directory.\n"; } } ## If there is nothing to complain about, notify the user else { print "\nAll files containing translations are present in POTFILES.in.\n" if $VERBOSE; } } sub Console_WriteError_InvalidOption { ## Handle invalid arguments print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit 1; } sub isProgramInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file --version >$devnull") == 0)); return 0; } sub isGNUGettextTool { my ($file) = @_; # Check that we are using GNU gettext tools if (isProgramInPath ($file)) { my $version = `$file --version`; return 1 if ($version =~ m/.*\(GNU .*\).*/); } return 0; } sub GenerateHeaders { my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract"; ## Generate the .h header files, so we can allow glade and ## xml translation support if (! isProgramInPath ("$EXTRACT")) { print STDERR "\n *** The intltool-extract script wasn't found!" ."\n *** Without it, intltool-update can not generate files.\n"; exit; } else { open (FILE, $POTFILES_in) or die "$PROGRAM: POTFILES.in not found.\n"; while () { chomp; next if /^\[\s*encoding/; ## Find xml files in POTFILES.in and generate the ## files with help from the extract script my $gettext_type= &POFile_DetermineType ($1); if (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[[^\[].*]\s*//; my $filename = "../$_"; if ($VERBOSE) { system ($EXTRACT, "--update", "--srcdir=$SRCDIR", "--type=$gettext_type", $filename); } else { system ($EXTRACT, "--update", "--type=$gettext_type", "--srcdir=$SRCDIR", "--quiet", $filename); } } } close FILE; } } # # Generate .pot file from POTFILES.in # sub GeneratePOTemplate { my $XGETTEXT = $ENV{"XGETTEXT"} || "xgettext"; my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || ''; chomp $XGETTEXT; if (! isGNUGettextTool ("$XGETTEXT")) { print STDERR " *** GNU xgettext is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Building $MODULE.pot...\n" if $VERBOSE; open INFILE, $POTFILES_in; unlink "POTFILES.in.temp"; open OUTFILE, ">POTFILES.in.temp" or die("Cannot open POTFILES.in.temp for writing"); my $gettext_support_nonascii = 0; # checks for GNU gettext >= 0.12 my $dummy = `$XGETTEXT --version --from-code=UTF-8 >$devnull 2>$devnull`; if ($? == 0) { $gettext_support_nonascii = 1; } else { # urge everybody to upgrade gettext print STDERR "WARNING: This version of gettext does not support extracting non-ASCII\n". " strings. That means you should install a version of gettext\n". " that supports non-ASCII strings (such as GNU gettext >= 0.12),\n". " or have to let non-ASCII strings untranslated. (If there is any)\n"; } my $encoding = "ASCII"; my $forced_gettext_code; my @temp_headers; my $encoding_problem_is_reported = 0; while () { next if (/^#/ or /^\s*$/); chomp; my $gettext_code; if (/^\[\s*encoding:\s*(.*)\s*\]/) { $forced_gettext_code=$1; } elsif (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[.*]\s*//; print OUTFILE "../$_.h\n"; push @temp_headers, "../$_.h"; $gettext_code = &TextFile_DetermineEncoding ("../$_.h") if ($gettext_support_nonascii and not defined $forced_gettext_code); } else { print OUTFILE "$SRCDIR/../$_\n"; $gettext_code = &TextFile_DetermineEncoding ("$SRCDIR/../$_") if ($gettext_support_nonascii and not defined $forced_gettext_code); } next if (! $gettext_support_nonascii); if (defined $forced_gettext_code) { $encoding=$forced_gettext_code; } elsif (defined $gettext_code and "$encoding" ne "$gettext_code") { if ($encoding eq "ASCII") { $encoding=$gettext_code; } elsif ($gettext_code ne "ASCII") { # Only report once because the message is quite long if (! $encoding_problem_is_reported) { print STDERR "WARNING: You should use the same file encoding for all your project files,\n". " but $PROGRAM thinks that most of the source files are in\n". " $encoding encoding, while \"$_\" is (likely) in\n". " $gettext_code encoding. If you are sure that all translatable strings\n". " are in same encoding (say UTF-8), please \e[1m*prepend*\e[0m the following\n". " line to POTFILES.in:\n\n". " [encoding: UTF-8]\n\n". " and make sure that configure.in/ac checks for $PACKAGE >= 0.27 .\n". "(such warning message will only be reported once.)\n"; $encoding_problem_is_reported = 1; } } } } close OUTFILE; close INFILE; unlink "$MODULE.pot"; my @xgettext_argument=("$XGETTEXT", "--add-comments", "--directory\=.", "--default-domain\=$MODULE", "--flag\=g_strdup_printf:1:c-format", "--flag\=g_string_printf:2:c-format", "--flag\=g_string_append_printf:2:c-format", "--flag\=g_error_new:3:c-format", "--flag\=g_set_error:4:c-format", "--flag\=g_markup_printf_escaped:1:c-format", "--flag\=g_log:3:c-format", "--flag\=g_print:1:c-format", "--flag\=g_printerr:1:c-format", "--flag\=g_printf:1:c-format", "--flag\=g_fprintf:2:c-format", "--flag\=g_sprintf:2:c-format", "--flag\=g_snprintf:3:c-format", "--flag\=g_scanner_error:2:c-format", "--flag\=g_scanner_warn:2:c-format", "--output\=$MODULE\.pot", "--files-from\=\.\/POTFILES\.in\.temp"); my $XGETTEXT_KEYWORDS = &FindPOTKeywords; push @xgettext_argument, $XGETTEXT_KEYWORDS; my $MSGID_BUGS_ADDRESS = &FindMakevarsBugAddress; push @xgettext_argument, "--msgid-bugs-address\=$MSGID_BUGS_ADDRESS" if $MSGID_BUGS_ADDRESS; push @xgettext_argument, "--from-code\=$encoding" if ($gettext_support_nonascii); push @xgettext_argument, $XGETTEXT_ARGS if $XGETTEXT_ARGS; my $xgettext_command = join ' ', @xgettext_argument; # intercept xgettext error message print "Running $xgettext_command\n" if $VERBOSE; my $xgettext_error_msg = `$xgettext_command 2>\&1`; my $command_failed = $?; unlink "POTFILES.in.temp"; print "Removing generated header (.h) files..." if $VERBOSE; unlink foreach (@temp_headers); print "done.\n" if $VERBOSE; if (! $command_failed) { if (! -e "$MODULE.pot") { print "None of the files in POTFILES.in contain strings marked for translation.\n" if $VERBOSE; } else { print "Wrote $MODULE.pot\n" if $VERBOSE; } } else { if ($xgettext_error_msg =~ /--from-code/) { # replace non-ASCII error message with a more useful one. print STDERR "ERROR: xgettext failed to generate PO template file because there is non-ASCII\n". " string marked for translation. Please make sure that all strings marked\n". " for translation are in uniform encoding (say UTF-8), then \e[1m*prepend*\e[0m the\n". " following line to POTFILES.in and rerun $PROGRAM:\n\n". " [encoding: UTF-8]\n\n"; } else { print STDERR "$xgettext_error_msg"; if (-e "$MODULE.pot") { # is this possible? print STDERR "ERROR: xgettext failed but still managed to generate PO template file.\n". " Please consult error message above if there is any.\n"; } else { print STDERR "ERROR: xgettext failed to generate PO template file. Please consult\n". " error message above if there is any.\n"; } } exit (1); } } sub POFile_Update { -f "$MODULE.pot" or die "$PROGRAM: $MODULE.pot does not exist.\n"; my $MSGMERGE = $ENV{"MSGMERGE"} || "msgmerge"; my ($lang, $outfile) = @_; if (! isGNUGettextTool ("$MSGMERGE")) { print STDERR " *** GNU msgmerge is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Merging $SRCDIR/$lang.po with $MODULE.pot..." if $VERBOSE; my $infile = "$SRCDIR/$lang.po"; $outfile = "$SRCDIR/$lang.po" if ($outfile eq ""); # I think msgmerge won't overwrite old file if merge is not successful system ("$MSGMERGE", "-o", $outfile, $infile, "$MODULE.pot"); } sub Console_WriteError_NotExisting { my ($file) = @_; ## Report error if supplied language file is non-existing print STDERR "$PROGRAM: $file does not exist!\n"; print STDERR "Try '$PROGRAM --help' for more information.\n"; exit; } sub GatherPOFiles { my @po_files = glob ("./*.po"); @languages = map (&POFile_GetLanguage, @po_files); foreach my $lang (@languages) { $po_files_by_lang{$lang} = shift (@po_files); } } sub POFile_GetLanguage ($) { s/^(.*\/)?(.+)\.po$/$2/; return $_; } sub Console_Write_TranslationStatus { my ($lang, $output_file) = @_; my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt"; if (! isGNUGettextTool ("$MSGFMT")) { print STDERR " *** GNU msgfmt is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } $output_file = "$SRCDIR/$lang.po" if ($output_file eq ""); system ("$MSGFMT", "-o", "$devnull", "--verbose", $output_file); } sub Console_Write_CoverageReport { my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt"; if (! isGNUGettextTool ("$MSGFMT")) { print STDERR " *** GNU msgfmt is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } &GatherPOFiles; foreach my $lang (@languages) { print STDERR "$lang: "; &POFile_Update ($lang, ""); } print STDERR "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages) { print STDERR "$lang: "; system ("$MSGFMT", "-o", "$devnull", "--verbose", "$SRCDIR/$lang.po"); } } sub SubstituteVariable { my ($str) = @_; # always need to rewind file whenever it has been accessed seek (CONF, 0, 0); # cache each variable. varhash is global to we can add # variables elsewhere. while () { if (/^(\w+)=(.*)$/) { ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1/; } } if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) { my $rest = $3; my $untouched = $1; my $sub = ""; # Ignore recursive definitions of variables $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; return SubstituteVariable ("$untouched$sub$rest"); } # We're using Perl backticks ` and "echo -n" here in order to # expand any shell escapes (such as backticks themselves) in every variable return echo_n ($str); } sub CONF_Handle_Open { my $base_dirname = getcwd(); $base_dirname =~ s@.*/@@; my ($conf_in, $src_dir); if ($base_dirname =~ /^po(-.+)?$/) { if (-f "Makevars") { my $makefile_source; local (*IN); open (IN, ") { if (/^top_builddir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_builddir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; if (-f "$src_dir" . "/configure.ac") { $conf_in = "$src_dir" . "/configure.ac" . "\n"; } else { $conf_in = "$src_dir" . "/configure.in" . "\n"; } last; } } close IN; $conf_in || die "Cannot find top_builddir in Makevars."; } elsif (-f "$SRCDIR/../configure.ac") { $conf_in = "$SRCDIR/../configure.ac"; } elsif (-f "$SRCDIR/../configure.in") { $conf_in = "$SRCDIR/../configure.in"; } else { my $makefile_source; local (*IN); open (IN, ") { if (/^top_srcdir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; $conf_in = "$src_dir" . "/configure.in" . "\n"; last; } } close IN; $conf_in || die "Cannot find top_srcdir in Makefile."; } open (CONF, "<$conf_in"); } else { print STDERR "$PROGRAM: Unable to proceed.\n" . "Make sure to run this script inside the po directory.\n"; exit; } } sub FindPackageName { my $version; my $domain = &FindMakevarsDomain; my $name = $domain || "untitled"; &CONF_Handle_Open; my $conf_source; { local (*IN); open (IN, "<&CONF") || return $name; seek (IN, 0, 0); local $/; # slurp mode $conf_source = ; close IN; } # priority for getting package name: # 1. GETTEXT_PACKAGE # 2. first argument of AC_INIT (with >= 2 arguments) # 3. first argument of AM_INIT_AUTOMAKE (with >= 2 argument) # /^AM_INIT_AUTOMAKE\([\s\[]*([^,\)\s\]]+)/m # the \s makes this not work, why? if ($conf_source =~ /^AM_INIT_AUTOMAKE\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } # \s makes this not work, why? $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\n\]]+)/m; # m4 macros AC_PACKAGE_NAME, AC_PACKAGE_VERSION etc. have same value # as corresponding $PACKAGE_NAME, $PACKAGE_VERSION etc. shell variables. $name =~ s/\bAC_PACKAGE_/\$PACKAGE_/g; $name = $domain if $domain; $name = SubstituteVariable ($name); $name =~ s/^["'](.*)["']$/$1/; return $name if $name; } sub FindPOTKeywords { my $keywords = "--keyword\=\_ --keyword\=N\_ --keyword\=U\_ --keyword\=Q\_"; my $varname = "XGETTEXT_OPTIONS"; my $make_source; { local (*IN); open (IN, "; close IN; } $keywords = $1 if $make_source =~ /^$varname[ ]*=\[?([^\n\]]+)/m; return $keywords; } sub FindMakevarsDomain { my $domain = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]\$]+)/m; $domain =~ s/^\s+//; $domain =~ s/\s+$//; return $domain; } sub FindMakevarsBugAddress { my $address = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $address = $1 if $makevars_source =~ /^MSGID_BUGS_ADDRESS[ ]*=\[?([^\n\]\$]+)/m; $address =~ s/^\s+//; $address =~ s/\s+$//; return $address; } pidgin-guifications-2.16/pidgin-guifications.spec.in0000644000175000017500000000665010615527525017553 00000000000000# # pidgin_major_ver and pidgin_minor_ver should be defined to match the minimum # Pidgin API version _required_ to build Guifications # Due to the way Pidgin checks plugin versions, we need to also ensure that # the correct minimum version of Pidgin is Require:'d based on what version of # the Pidgin headers we actually build with. # # This allows --define 'pidginver 1' to be used to build an rpm for Pidgin 1.x # default is to build for Pidgin 2.x %{!?pidginver: %{expand: %%define pidginver 2}} %define pidgin_major_ver %{pidginver} %define pidgin_minor_ver 0 %define pidgin_next_major_ver %(echo $((%{pidgin_major_ver}+1))) %define pidgin_build_minor_ver %(pkg-config --modversion pidgin | awk -F. '{ print $2 }') Summary: Guifications Plugin for Pidgin Name: @PACKAGE@ Version: @VERSION@ Release: 0%{?pidgindist:.%{pidgindist}} License: GPL Group: Applications/Internet Url: http://pidgin.guifications.org Source: http://downloads.guifications.org/pidgin-plugins/Guifications2/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: pidgin >= %{pidgin_major_ver}.%{pidgin_build_minor_ver}, pidgin < %{pidgin_next_major_ver} BuildRequires: pkgconfig, libtool, gettext BuildRequires: pidgin-devel >= %{pidgin_major_ver}.%{pidgin_minor_ver}, pidgin-devel < %{pidgin_next_major_ver} %if "%{_vendor}" == "MandrakeSoft" BuildRequires: libgtk+2.0_0-devel %else BuildRequires: gtk2-devel %endif %description Guifications is a graphical notification plugin for the open source instant messaging client Pidgin To rebuild for a specific Pidgin version: rpmbuild --rebuild %{name}-%{version}-%{release}.src.rpm --define 'pidgindist %{!?pidgindist:fc1}%{?pidgindist:%{pidgindist}}' %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install %if "%{_vendor}" == "MandrakeSoft" mv -f $RPM_BUILD_ROOT%{_libdir}/pidgin/guifications $RPM_BUILD_ROOT%{_libdir}/pidgin/guifications.so || : %endif strip $RPM_BUILD_ROOT%{_libdir}/pidgin/*.so || : rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la $RPM_BUILD_ROOT%{_libdir}/pidgin/*.a %find_lang guifications %clean rm -rf $RPM_BUILD_ROOT %files -f guifications.lang %defattr(-, root, root) %doc AUTHORS ChangeLog COPYING README doc/flow.png doc/flow.dia doc/QUOTES %{_libdir}/pidgin/*.so %{_datadir}/pixmaps/pidgin/guifications %changelog * Mon Apr 30 2007 Stu Tomlinson - Pidgin dropped the epochs, yay! - Use tar.bz2 for source * Sun Apr 1 2007 John Bailey - :%s/gaim/pidgin/g and :%s/Gaim/Pidgin/g to prep for eventual Pidgin releases. * Tue Dec 5 2006 John Bailey - Fix the source URL to point to our new download location * Thu Oct 19 2006 Stu Tomlinson - Fix finding the translations * Thu Nov 3 2005 Stu Tomlinson - Default to building for Pidgin 2.x with a bit of trickery to optionally build for Pidgin 1.x * Fri Apr 8 2005 Stu Tomlinson - spec file cleanup, build vs. install dependency fixes, use %%find_lang, tidy up release version, fix directory ownership * Fri Dec 17 2004 Stu Tomlinson - Tweaks to the Pidgin version dependencies * Sat Oct 9 2004 Stu Tomlinson - Add Pidgin version checks to match new Pidgin versioning * Wed Jun 30 2004 Stu Tomlinson - Initial spec file for Guifications 2 pidgin-guifications-2.16/pre_config.h.in0000644000175000017500000000436310731356766015234 00000000000000/* pre_config.h.in. Generated from configure.ac by autoheader. */ /* our header */ #ifndef _GF_CONFIG_H #define _GF_CONFIG_H /* Define if debugging is enabled. */ #undef DEBUG /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Define the gettext package to be used. */ #undef GETTEXT_PACKAGE /* Guifications Website */ #undef GF_WEBSITE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define if we've found pangoft2. */ #undef HAVE_PANGOFT2 /* 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 #endif /* _GF_CONFIG_H */ pidgin-guifications-2.16/src/0000777000175000017500000000000010731357020013170 500000000000000pidgin-guifications-2.16/src/gf_gtk_utils.c0000644000175000017500000001443210731311346015736 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_gtk_utils.h" /****************************************************************************** * Globals *****************************************************************************/ static GtkWidget *style_widget = NULL; /****************************************************************************** * API *****************************************************************************/ /* Color stuff */ guint32 gf_gtk_color_pixel_from_gdk(const GdkColor *color) { guint32 pixel; g_return_val_if_fail(color, 0); pixel = (((color->red & 0xFF00) << 8) | ((color->green & 0xFF00)) | ((color->blue & 0xFF00) >> 8)) << 8; return pixel; } void gf_gtk_color_pango_from_gdk(PangoColor *pango, const GdkColor *gdk) { g_return_if_fail(pango); g_return_if_fail(gdk); pango->red = gdk->red; pango->green = gdk->green; pango->blue = gdk->blue; } void gf_gtk_color_gdk_from_pango(GdkColor *gdk, const PangoColor *pango) { g_return_if_fail(gdk); g_return_if_fail(pango); gdk->red = pango->red; gdk->green = pango->green; gdk->blue = pango->blue; } /****************************************************************************** * Theme stuff *****************************************************************************/ void gf_gtk_theme_get_bg_color(GdkColor *color) { GtkStyle *style; g_return_if_fail(color); style = gtk_rc_get_style(style_widget); *color = style->bg[GTK_STATE_NORMAL]; } void gf_gtk_theme_get_fg_color(GdkColor *color) { GtkStyle *style; g_return_if_fail(color); style = gtk_rc_get_style(style_widget); *color = style->fg[GTK_STATE_NORMAL]; } GdkPixmap * gf_gtk_theme_get_bg_pixmap() { GtkStyle *style; style = gtk_rc_get_style(style_widget); return style->bg_pixmap[GTK_STATE_NORMAL]; } PangoFontDescription * gf_gtk_theme_get_font() { GtkStyle *style; style = gtk_rc_get_style(style_widget); if(!pango_font_description_get_family(style->font_desc)) pango_font_description_set_family(style->font_desc, "Sans"); if(pango_font_description_get_size(style->font_desc) <= 0) pango_font_description_set_size(style->font_desc, 10 * PANGO_SCALE); return style->font_desc; } /****************************************************************************** * Pixbuf stuff *****************************************************************************/ void gf_gtk_pixbuf_tile(GdkPixbuf *dest, const GdkPixbuf *tile) { gint dest_width, dest_height; gint tile_width, tile_height; gint copy_width, copy_height; gint x, y; g_return_if_fail(dest); g_return_if_fail(tile); dest_width = gdk_pixbuf_get_width(dest); dest_height = gdk_pixbuf_get_height(dest); tile_width = gdk_pixbuf_get_width(tile); tile_height = gdk_pixbuf_get_height(tile); for(y = 0; y < dest_height; y += tile_height) { for(x = 0; x < dest_width; x += tile_width) { if(x + tile_width < dest_width) copy_width = tile_width; else copy_width = dest_width - x; if(y + tile_height < dest_height) copy_height = tile_height; else copy_height = dest_height - y; gdk_pixbuf_copy_area(tile, 0, 0, copy_width, copy_height, dest, x, y); } } } void gf_gtk_pixbuf_clip_composite(const GdkPixbuf *src, gint x, gint y, GdkPixbuf *dest) { GdkPixbuf *clipped = NULL; GdkRectangle clip; gint width, height, diff; g_return_if_fail(src); g_return_if_fail(dest); /* grab the dimensions of the destination */ width = gdk_pixbuf_get_width(dest); height = gdk_pixbuf_get_height(dest); /* make sure the x is in the background */ g_return_if_fail(x < width); g_return_if_fail(y < height); /* setup our clipping rectangle with the default values */ clip.x = 0; clip.y = 0; clip.width = gdk_pixbuf_get_width(src); clip.height = gdk_pixbuf_get_height(src); /* make sure it will paritially show */ g_return_if_fail(x + clip.width > 0); g_return_if_fail(y + clip.height > 0); g_return_if_fail(x < width); g_return_if_fail(y < height); /* do our adjustments */ if(x < 0) { /* this looks goofy but we're adding a negative number, * * ie: it's subtraction.. * * I was considering using abs() so it was clearer, but thats another * function call that isn't really necessary. */ diff = clip.width + x; clip.x = clip.width - diff; clip.width = diff; x = 0; } if(y < 0) { /* see note above.. */ diff = clip.height + y; clip.y = clip.height - diff; clip.height = diff; y = 0; } if(x + clip.width > width) clip.width = width - (clip.x + x); if(y + clip.height > height) clip.height = height - (clip.y + y); /* a few last sanity checks */ g_return_if_fail(clip.width > 0); g_return_if_fail(clip.height > 0); /* create our clipped pixbuf */ clipped = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, clip.width, clip.height); g_return_if_fail(clipped); gdk_pixbuf_copy_area(src, clip.x, clip.y, clip.width, clip.height, clipped, 0, 0); /* composite it */ gdk_pixbuf_composite(clipped, dest, x, y, clip.width, clip.height, x, y, 1, 1, GDK_INTERP_BILINEAR, 255); /* kill the clipped pixbuf */ g_object_unref(G_OBJECT(clipped)); } /****************************************************************************** * Subsystem *****************************************************************************/ void gf_gtk_utils_init() { style_widget = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_set_name(style_widget, "guifications"); } void gf_gtk_utils_uninit() { gtk_widget_destroy(style_widget); } pidgin-guifications-2.16/src/gf_file.c0000644000175000017500000000453310731276755014667 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include /* MinGW has unistd.h!!! */ #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_file.h" #include "gf_internal.h" gboolean gf_file_copy_file(const gchar *source, const gchar *destination) { FILE *src, *dest; gint chr = EOF; if(!(src = g_fopen(source, "rb"))) return FALSE; if(!(dest = g_fopen(destination, "wb"))) return FALSE; while((chr = fgetc(src)) != EOF) { fputc(chr, dest); } fclose(dest); fclose(src); return TRUE; } gboolean gf_file_copy_directory(const gchar *source, const gchar *destination) { GDir *dir; const gchar *filename; gchar *oldfile, *newfile; g_return_val_if_fail(source, FALSE); g_return_val_if_fail(destination, FALSE); dir = g_dir_open(source, 0, NULL); if(!dir) return FALSE; while((filename = g_dir_read_name(dir))) { oldfile = g_build_filename(source, filename, NULL); newfile = g_build_filename(destination, filename, NULL); gf_file_copy_file(oldfile, newfile); g_free(oldfile); g_free(newfile); } g_dir_close(dir); return TRUE; } void gf_file_remove_dir(const gchar *directory) { GDir *dir; gchar *path; const gchar *file = NULL; g_return_if_fail(directory); dir = g_dir_open(directory, 0, NULL); while((file = g_dir_read_name(dir))) { path = g_build_filename(directory, file, NULL); g_remove(path); g_free(path); } g_dir_close(dir); g_rmdir(directory); } gint gf_file_access(const gchar *filename, gint mode) { #ifdef _WIN32 return _access(filename, mode); #else return access(filename, mode); #endif } pidgin-guifications-2.16/src/gf_stock.c0000644000175000017500000000751410731276755015075 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_stock.h" static GtkIconFactory *icon_factory; static inline gchar * gf_stock_file_name(const gchar *file_name) { return g_build_filename(DATADIR, "pixmaps", "pidgin", "guifications", "conf", file_name, NULL); } static void gf_add_to_stock(const gchar *file_name, const gchar *stock_name) { GtkIconSet *icon_set; GdkPixbuf *pixbuf; gchar *file; file = gf_stock_file_name(file_name); pixbuf = gdk_pixbuf_new_from_file(file, NULL); g_free(file); if(!pixbuf) { purple_debug_info("Guifications", "failed to load stock item '%s'\n", stock_name); return; } icon_set = gtk_icon_set_new_from_pixbuf(pixbuf); g_object_unref(G_OBJECT(pixbuf)); gtk_icon_factory_add(icon_factory, stock_name, icon_set); gtk_icon_set_unref(icon_set); } void gf_stock_init() { icon_factory = gtk_icon_factory_new(); gtk_icon_factory_add_default(icon_factory); gf_add_to_stock("window_position_north_east.png", GF_STOCK_WINDOW_POSITION_NORTH_EAST); gf_add_to_stock("window_position_north_west.png", GF_STOCK_WINDOW_POSITION_NORTH_WEST); gf_add_to_stock("window_position_south_east.png", GF_STOCK_WINDOW_POSITION_SOUTH_EAST); gf_add_to_stock("window_position_south_west.png", GF_STOCK_WINDOW_POSITION_SOUTH_WEST); gf_add_to_stock("item_icon_size_big.png", GF_STOCK_ITEM_ICON_SIZE_BIG); gf_add_to_stock("item_icon_size_huge.png", GF_STOCK_ITEM_ICON_SIZE_HUGE); gf_add_to_stock("item_icon_size_large.png", GF_STOCK_ITEM_ICON_SIZE_LARGE); gf_add_to_stock("item_icon_size_little.png", GF_STOCK_ITEM_ICON_SIZE_LITTLE); gf_add_to_stock("item_icon_size_normal.png", GF_STOCK_ITEM_ICON_SIZE_NORMAL); gf_add_to_stock("item_icon_size_small.png", GF_STOCK_ITEM_ICON_SIZE_SMALL); gf_add_to_stock("item_icon_size_tiny.png", GF_STOCK_ITEM_ICON_SIZE_TINY); gf_add_to_stock("item_position_center.png", GF_STOCK_ITEM_POSITION_CENTER); gf_add_to_stock("item_position_east.png", GF_STOCK_ITEM_POSITION_EAST); gf_add_to_stock("item_position_north_east.png", GF_STOCK_ITEM_POSITION_NORTH_EAST); gf_add_to_stock("item_position_north.png", GF_STOCK_ITEM_POSITION_NORTH); gf_add_to_stock("item_position_north_west.png", GF_STOCK_ITEM_POSITION_NORTH_WEST); gf_add_to_stock("item_position_south_east.png", GF_STOCK_ITEM_POSITION_SOUTH_EAST); gf_add_to_stock("item_position_south.png", GF_STOCK_ITEM_POSITION_SOUTH); gf_add_to_stock("item_position_south_west.png", GF_STOCK_ITEM_POSITION_SOUTH_WEST); gf_add_to_stock("item_position_west.png", GF_STOCK_ITEM_POSITION_WEST); gf_add_to_stock("item_text_clipping_ellipsis_end.png", GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_END); gf_add_to_stock("item_text_clipping_ellipsis_middle.png", GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE); gf_add_to_stock("item_text_clipping_ellipsis_start.png", GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_START); gf_add_to_stock("item_text_clipping_truncate.png", GF_STOCK_ITEM_TEXT_CLIPPING_TRUNCATE); } void gf_stock_uninit() { gtk_icon_factory_remove_default(icon_factory); } pidgin-guifications-2.16/src/gf_theme.h0000644000175000017500000000551110731276755015054 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_THEME_H #define GF_THEME_H #define GF_THEME(theme) ((GfTheme *)theme) #define GF_THEME_API_VERSION (1) typedef struct _GfTheme GfTheme; #include #include #include #include "account.h" #include "blist.h" #include "conversation.h" #include "gf_event_info.h" #include "gf_item.h" #include "gf_theme_info.h" #include "gf_theme_ops.h" G_BEGIN_DECLS GfTheme *gf_theme_new(); GfTheme *gf_theme_new_from_file(const gchar *filename); void gf_theme_destory(GfTheme *theme); GfTheme *gf_theme_find_theme_by_name(const gchar *name); gboolean gf_theme_save_to_file(GfTheme *theme, const gchar *filename); GfTheme *gf_theme_find_theme_by_filename(const gchar *filename); gchar *gf_theme_strip_name(GfTheme *theme); gboolean gf_theme_is_loaded(const gchar *filename); gboolean gf_theme_is_probed(const gchar *filename); void gf_theme_load(const gchar *filename); void gf_theme_unload(GfTheme *theme); void gf_theme_probe(const gchar *filename); void gf_theme_unprobe(const gchar *filename); void gf_themes_probe(); void gf_themes_unprobe(); gint gf_theme_get_api_version(GfTheme *theme); const gchar *gf_theme_get_filename(GfTheme *theme); const gchar *gf_theme_get_path(GfTheme *theme); GfNotification *gf_theme_get_master(GfTheme *theme); void gf_theme_set_master(GfTheme *theme, GfNotification *notification); gchar *gf_theme_get_supported_notifications(GfTheme *theme); void gf_theme_set_theme_info(GfTheme *theme, GfThemeInfo *info); GfThemeInfo *gf_theme_get_theme_info(GfTheme *theme); void gf_theme_set_theme_options(GfTheme *theme, GfThemeOptions *ops); GfThemeOptions *gf_theme_get_theme_options(GfTheme *theme); void gf_theme_add_notification(GfTheme *theme, GfNotification *notification); void gf_theme_remove_notification(GfTheme *theme, GfNotification *notification); GList *gf_theme_get_notifications(GfTheme *theme); GList *gf_themes_get_all(); GList *gf_themes_get_loaded(); void gf_themes_unload(); void gf_themes_save_loaded(); void gf_themes_load_saved(); G_END_DECLS #endif /* GF_THEME_H */ pidgin-guifications-2.16/src/gf_event_info.c0000644000175000017500000001316310731311346016065 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include "gf_event.h" #include "gf_event_info.h" struct _GfEventInfo { GfEvent *event; PurpleAccount *account; guint timeout_id; PurpleBuddy *buddy; PurpleConversation *conv; PurpleConvChatBuddyFlags flags; gboolean contact; gchar *target; gchar *message; gchar *extra; const GHashTable *components; GCallback open_action; }; /******************************************************************************* * API ******************************************************************************/ static void gf_event_info_free_string(gchar *string) { if(string) { g_free(string); string = NULL; } } GfEventInfo * gf_event_info_new(const gchar *notification_type) { GfEvent *event; GfEventInfo *info; g_return_val_if_fail(notification_type, NULL); event = gf_event_find_for_notification(notification_type); g_return_val_if_fail(event, NULL); info = g_new0(GfEventInfo, 1); info->event = event; return info; } void gf_event_info_destroy(GfEventInfo *info) { g_return_if_fail(info); info->event = NULL; info->account = NULL; info->buddy = NULL; info->conv= NULL; gf_event_info_free_string(info->target); gf_event_info_free_string(info->message); gf_event_info_free_string(info->extra); info->components = NULL; if(info->timeout_id) g_source_remove(info->timeout_id); g_free(info); info = NULL; } GfEvent * gf_event_info_get_event(GfEventInfo *info) { g_return_val_if_fail(info, GF_EVENT_TYPE_UNKNOWN); return info->event; } void gf_event_info_set_account(GfEventInfo *info, PurpleAccount *account) { g_return_if_fail(info); g_return_if_fail(account); info->account = account; } PurpleAccount * gf_event_info_get_account(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->account; } void gf_event_info_set_buddy(GfEventInfo *info, PurpleBuddy *buddy) { g_return_if_fail(info); g_return_if_fail(buddy); info->buddy = buddy; } PurpleBuddy * gf_event_info_get_buddy(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->buddy; } void gf_event_info_set_conversation(GfEventInfo *info, PurpleConversation *conv) { g_return_if_fail(info); g_return_if_fail(conv); info->conv = conv; } PurpleConversation * gf_event_info_get_conversation(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->conv; } void gf_event_info_set_target(GfEventInfo *info, const gchar *target) { g_return_if_fail(info); g_return_if_fail(target); gf_event_info_free_string(info->target); info->target = g_strdup(target); } const gchar * gf_event_info_get_target(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->target; } void gf_event_info_set_message(GfEventInfo *info, const gchar *message) { g_return_if_fail(info); g_return_if_fail(message); gf_event_info_free_string(info->message); info->message = g_strdup(message); } const gchar * gf_event_info_get_message(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->message; } void gf_event_info_set_extra(GfEventInfo *info, const gchar *extra) { g_return_if_fail(info); g_return_if_fail(extra); gf_event_info_free_string(info->extra); info->extra = g_strdup(extra); } const gchar * gf_event_info_get_extra(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->extra; } void gf_event_info_set_components(GfEventInfo *info, const GHashTable *components) { g_return_if_fail(info); g_return_if_fail(components); info->components = components; } const GHashTable * gf_event_info_get_components(GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->components; } void gf_event_info_set_timeout_id(GfEventInfo *info, guint timeout_id) { g_return_if_fail(info); info->timeout_id = timeout_id; } guint gf_event_info_get_timeout_id(GfEventInfo *info) { g_return_val_if_fail(info, -1); return info->timeout_id; } void gf_event_info_set_conv_chat_buddy_flags(GfEventInfo *info, PurpleConvChatBuddyFlags flags) { g_return_if_fail(info); info->flags = flags; } PurpleConvChatBuddyFlags gf_event_info_get_chat_buddy_flags(GfEventInfo *info) { g_return_val_if_fail(info, PURPLE_CBFLAGS_NONE); return info->flags; } void gf_event_info_set_is_contact(GfEventInfo *info, gboolean value) { g_return_if_fail(info); info->contact = value; } gboolean gf_event_info_get_is_contact(GfEventInfo *info) { g_return_val_if_fail(info, FALSE); return info->contact; } void gf_event_info_set_open_action(GfEventInfo *info, GCallback open_action) { g_return_if_fail(info); info->open_action = open_action; } GCallback gf_event_info_get_open_action(const GfEventInfo *info) { g_return_val_if_fail(info, NULL); return info->open_action; } pidgin-guifications-2.16/src/gf_blist.h0000644000175000017500000000222410731276755015065 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_BLIST_H #define GF_BLIST_H #include #include #include #include "gf_notification.h" G_BEGIN_DECLS void gf_blist_init(PurplePlugin *plugin); void gf_blist_uninit(); GfNotification *gf_blist_get_notification_for_buddy(PurpleBuddy *buddy, const gchar *n_type); G_END_DECLS #endif /* GF_BLIST_H */ pidgin-guifications-2.16/src/gf_notification.c0000644000175000017500000003224010731311346016414 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include "gf_event_info.h" #include "gf_gtk_utils.h" #include "gf_item.h" #include "gf_notification.h" #include "gf_preferences.h" #include "gf_theme.h" #include "gf_theme_ops.h" #include "gf_utils.h" struct _GfNotification { GfTheme *theme; gchar *n_type; gchar *alias; gboolean use_gtk; gchar *background; gint width; gint height; GList *items; }; /******************************************************************************* * API ******************************************************************************/ GfNotification * gf_notification_new(GfTheme *theme) { GfNotification *notification; g_return_val_if_fail(theme, NULL); notification = g_new0(GfNotification, 1); notification->theme = theme; notification->use_gtk = TRUE; notification->height = 140; notification->width = 120; return notification; } GfNotification * gf_notification_new_from_xmlnode(GfTheme *theme, xmlnode *node) { GfNotification *notification; GfItem *item; xmlnode *child; const gchar *data; g_return_val_if_fail(theme, NULL); g_return_val_if_fail(node, NULL); notification = gf_notification_new(theme); notification->n_type = g_strdup(xmlnode_get_attrib(node, "type")); if(!notification->n_type) { purple_debug_info("Guifications", "** Error: Notification type unknown\n"); gf_notification_destroy(notification); return NULL; } if(!g_utf8_collate(notification->n_type, GF_NOTIFICATION_MASTER)) gf_theme_set_master(theme, notification); data = xmlnode_get_attrib(node, "use_gtk"); if(data) notification->use_gtk = atoi(data); data = xmlnode_get_attrib(node, "background"); if(data) notification->background = g_strdup(data); data = xmlnode_get_attrib(node, "width"); if(data) notification->width = atoi(data); data = xmlnode_get_attrib(node, "height"); if(data) notification->height = atoi(data); data = xmlnode_get_attrib(node, "alias"); if(data) notification->alias = g_strdup(data); if(notification->use_gtk) { if(notification->width < GF_NOTIFICATION_MIN || notification->height < GF_NOTIFICATION_MIN) { purple_debug_info("Guifications", "** Error: notification '%s' is using the " "gtk background but %dx%d is less than the %dx%d minimum\n", notification->n_type, notification->width, notification->height, GF_NOTIFICATION_MIN, GF_NOTIFICATION_MIN); gf_notification_destroy(notification); return NULL; } } else if(!notification->background) { purple_debug_info("Guifications", "** Error: notification '%s' is not using the " "gtk background and does not have a background image\n", notification->n_type); gf_notification_destroy(notification); return NULL; } child = xmlnode_get_child(node, "item"); while(child) { item = gf_item_new_from_xmlnode(notification, child); if(item) gf_notification_add_item(notification, item); child = xmlnode_get_next_twin(child); } return notification; } GfNotification * gf_notification_copy(GfNotification *notification) { GfNotification *new_notification; GList *l; g_return_val_if_fail(notification, NULL); new_notification = gf_notification_new(notification->theme); if(notification->n_type) new_notification->n_type = g_strdup(notification->n_type); if(notification->background) new_notification->background = g_strdup(notification->background); if(notification->alias) new_notification->alias = g_strdup(notification->alias); new_notification->use_gtk = notification->use_gtk; new_notification->width = notification->width; new_notification->height = notification->height; for(l = notification->items; l; l = l->next) { GfItem *item; item = gf_item_copy(GF_ITEM(l->data)); new_notification->items = g_list_append(new_notification->items, item); } return new_notification; } xmlnode * gf_notification_to_xmlnode(GfNotification *notification) { GList *l; xmlnode *parent, *child; gchar *data; parent = xmlnode_new("notification"); xmlnode_set_attrib(parent, "type", notification->n_type); xmlnode_set_attrib(parent, "use_gtk", (notification->use_gtk) ? "1" : "0"); if(notification->background) xmlnode_set_attrib(parent, "background", notification->background); if(notification->alias) xmlnode_set_attrib(parent, "alias", notification->alias); data = g_strdup_printf("%d", notification->width); xmlnode_set_attrib(parent, "width", data); g_free(data); data = g_strdup_printf("%d", notification->height); xmlnode_set_attrib(parent, "height", data); g_free(data); for(l = notification->items; l; l = l->next) { if((child = gf_item_to_xmlnode(GF_ITEM(l->data)))) xmlnode_insert_child(parent, child); } return parent; } void gf_notification_destroy(GfNotification *notification) { GfItem *item; GList *l; g_return_if_fail(notification); if(notification->n_type) { g_free(notification->n_type); notification->n_type = NULL; } if(notification->background) { g_free(notification->background); notification->background = NULL; } if(notification->alias) { g_free(notification->alias); notification->alias = NULL; } if(notification->items) { for(l = notification->items; l; l = l->next) { item = GF_ITEM(l->data); gf_item_destroy(item); } g_list_free(notification->items); notification->items = NULL; } g_free(notification); } void gf_notification_set_type(GfNotification *notification, const gchar *n_type) { g_return_if_fail(notification); g_return_if_fail(n_type); if(notification->n_type) g_free(notification->n_type); notification->n_type = g_strdup(n_type); } const gchar * gf_notification_get_type(GfNotification *notification) { g_return_val_if_fail(notification, NULL); return notification->n_type; } void gf_notification_set_use_gtk(GfNotification *notification, gboolean value) { g_return_if_fail(notification); notification->use_gtk = value; } gboolean gf_notification_get_use_gtk(GfNotification *notification) { g_return_val_if_fail(notification, FALSE); return notification->use_gtk; } void gf_notification_set_background(GfNotification *notification, const gchar *background) { g_return_if_fail(notification); if(notification->background) g_free(notification->background); notification->background = g_strdup(background); } const gchar * gf_notification_get_background(GfNotification *notification) { g_return_val_if_fail(notification, NULL); return notification->background; } void gf_notification_set_width(GfNotification *notification, gint width) { g_return_if_fail(notification); notification->width = width; } gint gf_notification_get_width(GfNotification *notification) { g_return_val_if_fail(notification, -1); return notification->width; } void gf_notification_set_height(GfNotification *notification, gint height) { g_return_if_fail(notification); notification->height = height; } gint gf_notification_get_height(GfNotification *notification) { g_return_val_if_fail(notification, -1); return notification->height; } void gf_notification_add_item(GfNotification *notification, GfItem *item) { g_return_if_fail(notification); g_return_if_fail(item); notification->items = g_list_append(notification->items, item); } void gf_notification_remove_item(GfNotification *notification, GfItem *item) { g_return_if_fail(notification); g_return_if_fail(item); notification->items = g_list_remove(notification->items, item); } GList * gf_notification_get_items(GfNotification *notification) { g_return_val_if_fail(notification, NULL); return notification->items; } const gchar * gf_notification_get_alias(const GfNotification *notification) { g_return_val_if_fail(notification, NULL); return notification->alias; } void gf_notification_set_alias(GfNotification *notification, const gchar *alias) { g_return_if_fail(notification); if(notification->alias) g_free(notification->alias); notification->alias = (alias) ? g_strdup(alias) : NULL; } /******************************************************************************* * Finding, rendering, all that fun stuff... ******************************************************************************/ void gf_notifications_swap(GfNotification *notification1, GfNotification *notification2) { GfNotification *notification = NULL; GList *l = NULL, *l1 = NULL, *l2 = NULL; g_return_if_fail(notification1); g_return_if_fail(notification2); if(notification1->theme != notification2->theme) return; for(l = gf_theme_get_notifications(notification1->theme); l; l = l->next) { if(l->data == notification1) l1 = l; if(l->data == notification2) l2 = l; } g_return_if_fail(l1); g_return_if_fail(l2); /* swap 'em */ notification = l1->data; l1->data = l2->data; l2->data = notification; } GList * gf_notifications_for_event(const gchar *n_type) { GfTheme *theme; GfNotification *notification; GList *l = NULL, *t, *n; g_return_val_if_fail(n_type, NULL); for(t = gf_themes_get_loaded(); t; t = t->next) { theme = GF_THEME(t->data); for(n = gf_theme_get_notifications(theme); n; n = n->next) { notification = GF_NOTIFICATION(n->data); if(!g_ascii_strcasecmp(notification->n_type, n_type)) l = g_list_append(l, notification); } } return l; } GfNotification * gf_notification_find_for_event(const gchar *n_type) { GfNotification *notification = NULL; GList *n = NULL; gint c; g_return_val_if_fail(n_type, NULL); n = gf_notifications_for_event(n_type); if(!n) return NULL; c = rand() % g_list_length(n); notification = GF_NOTIFICATION(g_list_nth_data(n, c)); g_list_free(n); return notification; } GfNotification * gf_notification_find_for_theme(GfTheme *theme, const gchar *n_type) { GfNotification *notification = NULL; GList *n = NULL, *t = NULL; gint len; g_return_val_if_fail(theme, NULL); g_return_val_if_fail(n_type, NULL); /* Get the list of notifications for a theme */ for(t = gf_theme_get_notifications(theme); t; t = t->next) { notification = GF_NOTIFICATION(t->data); if(!gf_utils_strcmp(notification->n_type, n_type)) n = g_list_append(n, notification); } len = g_list_length(n); if(len == 0) notification = NULL; else if(len == 1) notification = GF_NOTIFICATION(n->data); else { gint c; time_t t; t = time(NULL); srand(t); c = rand() % len; notification = GF_NOTIFICATION(g_list_nth_data(n, c)); } g_list_free(n); return notification; } GdkPixbuf * gf_notification_render(GfNotification *notification, GfEventInfo *info) { GfItem *item = NULL; GdkPixbuf *pixbuf = NULL; GList *l = NULL; gchar *filename; const gchar *path; g_return_val_if_fail(notification, NULL); g_return_val_if_fail(info, NULL); if(notification->background) { /* create the pixbuf, return if it failed */ path = gf_theme_get_path(notification->theme); filename = g_build_filename(path, notification->background, NULL); pixbuf = gdk_pixbuf_new_from_file(filename, NULL); g_free(filename); if(!pixbuf) { purple_debug_info("Guifications", "Couldn't not load notification background\n"); return NULL; } } else { GdkPixmap *pixmap = NULL; pixmap = gf_gtk_theme_get_bg_pixmap(); if(pixmap) { GdkPixbuf *tile = NULL; gint width, height; gdk_drawable_get_size(GDK_DRAWABLE(pixmap), &width, &height); tile = gdk_pixbuf_get_from_drawable(NULL, GDK_DRAWABLE(pixmap), NULL, 0, 0, 0, 0, width, height); if(!tile) { purple_debug_info("Guifications", "Failed to get the gtk theme " "background image\n"); return NULL; } pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, FALSE, 8, notification->width, notification->height); gf_gtk_pixbuf_tile(pixbuf, tile); g_object_unref(G_OBJECT(tile)); } else { GdkColor color; guint32 pixel; pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, FALSE, 8, notification->width, notification->height); if(!pixbuf) { purple_debug_info("Guifications", "Failed to create notification background\n"); return NULL; } gf_gtk_theme_get_bg_color(&color); pixel = gf_gtk_color_pixel_from_gdk(&color); gdk_pixbuf_fill(pixbuf, pixel); } } /* render the items */ for(l = notification->items; l; l = l->next) { item = GF_ITEM(l->data); gf_item_render(item, pixbuf, info); } /* display it already!! */ return pixbuf; } GfTheme * gf_notification_get_theme(GfNotification *notification) { g_return_val_if_fail(notification, NULL); return notification->theme; } pidgin-guifications-2.16/src/gf_theme_ops.h0000644000175000017500000000354610731276755015743 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_THEME_OPTIONS_H #define GF_THEME_OPTIONS_H typedef struct _GfThemeOptions GfThemeOptions; #define GF_THEME_OPTIONS(obj) ((GfThemeOptions *)(obj)) #include #include "xmlnode.h" G_BEGIN_DECLS GfThemeOptions *gf_theme_options_new(); GfThemeOptions *gf_theme_options_new_from_xmlnode(xmlnode *node); xmlnode *gf_theme_options_to_xmlnode(GfThemeOptions *ops); void gf_theme_options_destroy(GfThemeOptions *ops); void gf_theme_options_set_time_format(GfThemeOptions *ops, const gchar *format); const gchar *gf_theme_options_get_time_format(GfThemeOptions *ops); void gf_theme_options_set_date_format(GfThemeOptions *ops, const gchar *format); const gchar *gf_theme_options_get_date_format(GfThemeOptions *ops); void gf_theme_options_set_warning(GfThemeOptions *ops, const gchar *warning); const gchar *gf_theme_options_get_warning(GfThemeOptions *ops); void gf_theme_options_set_ellipsis(GfThemeOptions *ops, const gchar *ellipsis); const gchar *gf_theme_options_get_ellipsis(GfThemeOptions *ops); G_END_DECLS #endif /* GF_THEME_OPTIONS_H */ pidgin-guifications-2.16/src/gf_item_offset.c0000644000175000017500000000553310731311346016237 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include "gf_item.h" struct _GfItemOffset { GfItem *item; gint value; gboolean percentage; }; #include "gf_item_offset.h" void gf_item_offset_destroy(GfItemOffset *item_offset) { g_return_if_fail(item_offset); item_offset->item = NULL; item_offset->value = 0; item_offset->percentage = FALSE; g_free(item_offset); item_offset = NULL; } GfItemOffset * gf_item_offset_new(GfItem *item) { GfItemOffset *offset; g_return_val_if_fail(item, NULL); offset = g_new0(GfItemOffset, 1); offset->item = item; return offset; } GfItemOffset * gf_item_offset_new_from_xmlnode(GfItem *item, xmlnode *node) { GfItemOffset *offset; const gchar *data; g_return_val_if_fail(item, NULL); g_return_val_if_fail(node, NULL); offset = gf_item_offset_new(item); data = xmlnode_get_attrib(node, "value"); if(!data) { gf_item_offset_destroy(offset); return NULL; } if(data[strlen(data) - 1] == '%') offset->percentage = TRUE; offset->value = atoi(data); return offset; } GfItemOffset * gf_item_offset_copy(GfItemOffset *offset) { GfItemOffset *new_offset; g_return_val_if_fail(offset, NULL); new_offset = gf_item_offset_new(offset->item); new_offset->value = offset->value; new_offset->percentage = offset->percentage; return new_offset; } void gf_item_offset_set_value(GfItemOffset *offset, gint value) { g_return_if_fail(offset); offset->value = value; } gint gf_item_offset_get_value(GfItemOffset *offset) { g_return_val_if_fail(offset, -1); return offset->value; } void gf_item_offset_set_is_percentage(GfItemOffset *offset, gboolean is_percentage) { g_return_if_fail(offset); offset->percentage = is_percentage; } gboolean gf_item_offset_get_is_percentage(GfItemOffset *offset) { g_return_val_if_fail(offset, FALSE); return offset->percentage; } GfItem * gf_item_offset_get_item(GfItemOffset *offset) { g_return_val_if_fail(offset, NULL); return offset->item; } pidgin-guifications-2.16/src/gf_item_text.c0000644000175000017500000006535210731311346015742 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifdef HAVE_CONFIG_H # include "../gf_config.h" # if HAVE_UNISTD_H # include # endif # if HAVE_PANGOFT2 # include # include FT_FREETYPE_H # include # endif #endif #include #include #include #include #include #include #include #include #include "gf_internal.h" #include #include #include #include #include #include #include #include #include #ifndef _WIN32 # include #endif #include "gf_event.h" #include "gf_event_info.h" #include "gf_gtk_utils.h" #include "gf_item.h" #include "gf_item_text.h" #include "gf_notification.h" #include "gf_preferences.h" #include "gf_theme.h" #include "gf_theme_ops.h" struct _GfItemText { GfItem *item; gchar *format; gchar *font; gchar *color; GfItemTextClipping clipping; gint width; }; #define IS_EVEN(number) ((number & 1) == 1 ? FALSE: TRUE) /******************************************************************************* * Subsystem * * If I read the mail thread correctly, a ft2 font map caches the glyphs. * I was disregarding the font map and everything because I only needed it to * create the context in order to create the layout, this was causing some * major memory issues. Therefore the gf_item_text subsystem was created. All * this does is hold our font map and context. On win32 we do not need a font * map so all it does is keep the context around until uninit is called. With * the caching in ft2, we should in theory be drawing anything thats not a * format token faster, which is a good thing. Also, we aren't constantly * getting the context and unref'n it which will save a few cycles as well. ******************************************************************************/ static PangoFontMap *map = NULL; static PangoContext *context = NULL; void gf_item_text_init() { #ifndef _WIN32 gdouble xdpi = 75, ydpi = 75; # if GTK_CHECK_VERSION(2,2,0) GdkDisplay *display; GdkScreen *screen; # endif #endif map = pango_ft2_font_map_new(); #ifndef _WIN32 # if GTK_CHECK_VERSION(2,2,0) display = gdk_display_get_default(); screen = gdk_display_get_screen(display, purple_prefs_get_int(GF_PREF_ADVANCED_SCREEN)); xdpi = (double)((float)gdk_screen_get_width(screen) / (float)gdk_screen_get_width_mm(screen) * 25.4); ydpi = (double)((float)gdk_screen_get_height(screen) / (float)gdk_screen_get_height_mm(screen) * 25.4); # endif pango_ft2_font_map_set_resolution(PANGO_FT2_FONT_MAP(map), xdpi, ydpi); #endif context = pango_ft2_font_map_create_context(PANGO_FT2_FONT_MAP(map)); } void gf_item_text_uninit() { if(map) g_object_unref(G_OBJECT(map)); if(context) g_object_unref(G_OBJECT(context)); } /******************************************************************************* * API ******************************************************************************/ void gf_item_text_destroy(GfItemText *item_text) { g_return_if_fail(item_text); item_text->item = NULL; if(item_text->format) { g_free(item_text->format); item_text->format = NULL; } if(item_text->font) { g_free(item_text->font); item_text->font = NULL; } if(item_text->color) { g_free(item_text->color); item_text->color = NULL; } item_text->clipping = GF_ITEM_TEXT_CLIPPING_UNKNOWN; item_text->width = 0; g_free(item_text); item_text = NULL; } GfItemText * gf_item_text_new(GfItem *item) { GfItemText *item_text; g_return_val_if_fail(item, NULL); item_text = g_new0(GfItemText, 1); item_text->item = item; return item_text; } static GfItemTextClipping text_clipping_from_string(const gchar *string) { g_return_val_if_fail(string, GF_ITEM_TEXT_CLIPPING_UNKNOWN); if(!g_ascii_strcasecmp(string, "truncate")) return GF_ITEM_TEXT_CLIPPING_TRUNCATE; if(!g_ascii_strcasecmp(string, "ellipsis-start")) return GF_ITEM_TEXT_CLIPPING_ELLIPSIS_START; if(!g_ascii_strcasecmp(string, "ellipsis-middle")) return GF_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE; if(!g_ascii_strcasecmp(string, "ellipsis-end")) return GF_ITEM_TEXT_CLIPPING_ELLIPSIS_END; else return GF_ITEM_TEXT_CLIPPING_UNKNOWN; } static const gchar * text_clipping_to_string(GfItemTextClipping clip) { g_return_val_if_fail(clip != GF_ITEM_TEXT_CLIPPING_UNKNOWN, NULL); switch(clip) { case GF_ITEM_TEXT_CLIPPING_TRUNCATE: return "truncate"; break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_START: return "ellipsis-start"; break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE: return "ellipsis-middle"; break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_END: return "ellipsis-end"; break; case GF_ITEM_TEXT_CLIPPING_UNKNOWN: default: return NULL; break; } } GfItemText * gf_item_text_new_from_xmlnode(GfItem *item, xmlnode *node) { GfItemText *item_text; const gchar *data = NULL; g_return_val_if_fail(item, NULL); g_return_val_if_fail(node, NULL); item_text = gf_item_text_new(item); if(!(data = xmlnode_get_attrib(node, "format"))) { purple_debug_info("Guifications", "** Error loading text item: 'No format given'\n"); gf_item_text_destroy(item_text); return NULL; } item_text->format = g_strdup(data); if((data = xmlnode_get_attrib(node, "font"))) item_text->font = g_strdup(data); if((data = xmlnode_get_attrib(node, "color"))) item_text->color = g_strdup(data); data = xmlnode_get_attrib(node, "clipping"); item_text->clipping = text_clipping_from_string(data); if(item_text->clipping == GF_ITEM_TEXT_CLIPPING_UNKNOWN) { purple_debug_info("Guifications", "** Error loading text item: " "'Unknown clipping type'\n"); gf_item_destroy(item); return NULL; } data = xmlnode_get_attrib(node, "width"); if(data) item_text->width = atoi(data); else item_text->width = 0; return item_text; } GfItemText * gf_item_text_copy(GfItemText *text) { GfItemText *new_text; g_return_val_if_fail(text, NULL); new_text = gf_item_text_new(text->item); if(text->format) new_text->format = g_strdup(text->format); if(text->font) new_text->font = g_strdup(text->font); if(text->color) new_text->color = g_strdup(text->color); new_text->clipping = text->clipping; new_text->width = text->width; return new_text; } xmlnode * gf_item_text_to_xmlnode(GfItemText *text) { xmlnode *parent; parent = xmlnode_new("text"); if(text->format) xmlnode_set_attrib(parent, "format", text->format); if(text->font) xmlnode_set_attrib(parent, "font", text->font); if(text->color) xmlnode_set_attrib(parent, "color", text->color); if(text->clipping != GF_ITEM_TEXT_CLIPPING_UNKNOWN) xmlnode_set_attrib(parent, "clipping", text_clipping_to_string(text->clipping)); if(text->width >= 0) { gchar *width = g_strdup_printf("%d", text->width); xmlnode_set_attrib(parent, "width", width); g_free(width); } return parent; } void gf_item_text_set_format(GfItemText *item_text, const gchar *format) { g_return_if_fail(item_text); g_return_if_fail(format); if(item_text->format) g_free(item_text->format); item_text->format = g_strdup(format); } const gchar * gf_item_text_get_format(GfItemText *item_text) { g_return_val_if_fail(item_text, NULL); return item_text->format; } void gf_item_text_set_font(GfItemText *item_text, const gchar *font) { g_return_if_fail(item_text); g_return_if_fail(font); if(item_text->font) g_free(item_text->font); item_text->font = g_strdup(font); } const gchar * gf_item_text_get_font(GfItemText *item_text) { g_return_val_if_fail(item_text, NULL); return item_text->font; } void gf_item_text_set_color(GfItemText *item_text, const gchar *color) { g_return_if_fail(item_text); g_return_if_fail(color); if(item_text->color) g_free(item_text->color); item_text->color = g_strdup(color); } const gchar * gf_item_text_get_color(GfItemText *item_text) { g_return_val_if_fail(item_text, NULL); return item_text->color; } void gf_item_text_set_clipping(GfItemText *item_text, GfItemTextClipping clipping) { g_return_if_fail(item_text); g_return_if_fail(clipping >= 0 || clipping < GF_ITEM_TEXT_CLIPPING_UNKNOWN); item_text->clipping = clipping; } GfItemTextClipping gf_item_text_get_clipping(GfItemText *item_text) { g_return_val_if_fail(item_text, GF_ITEM_TEXT_CLIPPING_UNKNOWN); return item_text->clipping; } void gf_item_text_set_width(GfItemText *item_text, gint width) { g_return_if_fail(item_text); g_return_if_fail(width >= 0); item_text->width = width; } gint gf_item_text_get_width(GfItemText *item_text) { g_return_val_if_fail(item_text, -1); return item_text->width; } void gf_item_text_set_item(GfItemText *item_text, GfItem *item) { g_return_if_fail(item_text); g_return_if_fail(item); item_text->item = item; } GfItem * gf_item_text_get_item(GfItemText *item_text) { g_return_val_if_fail(item_text, NULL); return item_text->item; } /******************************************************************************* * Rendering stuff ******************************************************************************/ /* why did I think this was a good idea? */ static gchar * gf_item_text_parse_format(GfItemText *item_text, GfEventInfo *info) { GfEvent *event; GfNotification *notification; GfTheme *theme; GfThemeOptions *ops; PurpleAccount *account; PurpleBuddy *buddy; PurpleConversation *conv = NULL; GString *str; gchar *ret; const gchar *tokens, *format, *time_format, *date_format, *warning; const gchar *target, *message, *extra; time_t rtime; static char buff[80]; struct tm *ltime; g_return_val_if_fail(item_text, NULL); g_return_val_if_fail(info, NULL); format = item_text->format; notification = gf_item_get_notification(item_text->item); theme = gf_notification_get_theme(notification); ops = gf_theme_get_theme_options(theme); time_format = gf_theme_options_get_time_format(ops); date_format = gf_theme_options_get_date_format(ops); warning = gf_theme_options_get_warning(ops); event = gf_event_info_get_event(info); target = gf_event_info_get_target(info); message = gf_event_info_get_message(info); extra = gf_event_info_get_extra(info); str = g_string_new(""); tokens = gf_event_get_tokens(event); time(&rtime); ltime = localtime(&rtime); account = gf_event_info_get_account(info); conv = gf_event_info_get_conversation(info); while(format && format[0]) { if(format[0] == '\\') { format++; continue; } if(format[0] != '%') { str = g_string_append_c(str, format[0]); format++; continue; } /* this increment is to get past the % */ format++; if(!format[0]) break; if(!strchr(tokens, format[0])) { format++; continue; } switch(format[0]) { case '%': /* % */ str = g_string_append_c(str, '%'); break; case 'a': /* account name */ str = g_string_append(str, purple_account_get_username(account)); break; case 'C': /* conversation title */ str = g_string_append(str, conv ? purple_conversation_get_title(conv) : target); break; case 'c': /* conversation name */ if (conv) { if(conv->type == PURPLE_CONV_TYPE_IM) { PurpleBuddy *buddy; buddy = purple_find_buddy(account, conv->name); if(buddy) str = g_string_append(str, purple_buddy_get_contact_alias(buddy)); else str = g_string_append(str, conv->name); } else if(conv->type == PURPLE_CONV_TYPE_CHAT) { PurpleChat *chat; chat = purple_blist_find_chat(account, conv->name); if(chat) { str = g_string_append(str, purple_chat_get_name(chat)); } else { str = g_string_append(str, conv->name); } } else { str = g_string_append(str, conv->name); } } else { str = g_string_append(str, target); } break; case 'D': /* date */ strftime(buff, sizeof(buff), date_format, ltime); str = g_string_append(str, buff); break; case 'd': /* day 01-31 */ strftime(buff, sizeof(buff), "%d", ltime); str = g_string_append(str, buff); break; case 'F': /* Chat Flags */ /* CODE ME !!! * which of course means to add theme options to give these numbers * text to make these make sense :) */ break; case 'f': /* Chat Flag Prefixes */ /* CODE ME !!! * which means to add theme options for the prefix, these should be 1 * char, like an ircd would send us. ie: @/+ */ break; case 'H': /* hour 01-23 */ strftime(buff, sizeof(buff), "%H", ltime); str = g_string_append(str, buff); break; case 'h': /* hour 01-12 */ strftime(buff, sizeof(buff), "%I", ltime); str = g_string_append(str, buff); break; case 'i': /* ip */ str = g_string_append(str, purple_network_get_public_ip()); break; case 'M': /* month */ strftime(buff, sizeof(buff), "%m", ltime); str = g_string_append(str, buff); break; case 'm': /* minute */ strftime(buff, sizeof(buff), "%M", ltime); str = g_string_append(str, buff); break; case 'N': /* computer name */ gethostname(buff, sizeof(buff)); str = g_string_append(str, buff); break; case 'n': /* buddy screen name */ buddy = gf_event_info_get_buddy(info); if(buddy) { const gchar *alias = purple_buddy_get_contact_alias(buddy); str = g_string_append(str, alias); } else { const gchar *target = gf_event_info_get_target(info); if(target) { const gchar *target; target = gf_event_info_get_target(info); buddy = purple_find_buddy(account, target); if(buddy) { const gchar *alias; alias = purple_buddy_get_contact_alias(buddy); str = g_string_append(str, alias); } else { str = g_string_append(str, target); } } } break; case 'p': /* protocol name */ str = g_string_append(str, purple_account_get_protocol_id(account)); break; case 'r': /* received message */ if(message) str = g_string_append(str, message); break; case 's': /* seconds 00-59 */ strftime(buff, sizeof(buff), "%S", ltime); str = g_string_append(str, buff); break; case 'T': /* Time according to the theme var */ strftime(buff, sizeof(buff), time_format, ltime); str = g_string_append(str, buff); break; case 't': /* seconds since the epoc */ strftime(buff, sizeof(buff), "%s", ltime); str = g_string_append(str, buff); break; case 'u': /* computer user name */ str = g_string_append(str, g_get_user_name()); break; #if !PURPLE_VERSION_CHECK(2,0,0) case 'W': /* warner */ if(target) str = g_string_append(str, target); break; case 'w': /* warning level */ buddy = gf_event_info_get_buddy(info); if(buddy) { const char *prpl_id; prpl_id = purple_account_get_protocol_id(account); if(!g_ascii_strcasecmp(prpl_id, "prpl-toc") || !g_ascii_strcasecmp(prpl_id, "prpl-oscar")) { g_string_append_printf(str, "%d", gf_get_warning_level(buddy)); } else { str = g_string_append(str, warning); } } else { str = g_string_append(str, warning); } #endif break; case 'X': /* extra info */ if(extra) str = g_string_append(str, extra); break; case 'Y': /* four digit year */ strftime(buff, sizeof(buff), "%Y", ltime); str = g_string_append(str, buff); break; case 'y': { /* two digit year */ /* dirty hack to avoid compiler warning */ const gchar *fmt = "%y"; strftime(buff, sizeof(buff), fmt, ltime); str = g_string_append(str, buff); break; } default: break; } /* this increment is to get past the formatting char */ format++; } ret = str->str; g_string_free(str, FALSE); return ret; } /* ugly hack to keep us working on glib 2.0 */ #if !GLIB_CHECK_VERSION(2,2,0) static gchar * g_utf8_strreverse(const gchar *str, gssize len) { gchar *result; const gchar *p; gchar *m, *r, skip; if (len < 0) len = strlen(str); result = g_new0(gchar, len + 1); r = result + len; p = str; while (*p) { skip = g_utf8_skip[*(guchar*)p]; r -= skip; for (m = r; skip; skip--) *m++ = *p++; } return result; } #endif /* this will probably break.. be sure to test it!!! */ static gchar * gf_utf8_strrndup(const gchar *text, gint n) { gchar *rev = NULL, *tmp = NULL; rev = g_utf8_strreverse(text, -1); /* ewww, what's going on here? */ /* oh, I remember... */ /* tell me then? */ /* well, g_utf8_strncpy doesn't allocate, so we use strdup to allocate for us */ /* oh neat, that's pretty ugly though */ /* yeah, there's probably a better way... */ tmp = g_strdup(rev); tmp = g_utf8_strncpy(tmp, rev, n); g_free(rev); rev = g_utf8_strreverse(tmp, -1); g_free(tmp); return rev; } /******************************************************************************* * The dreaded text clipping functions * * Hopefully now "utf8 safe" (tm) ******************************************************************************/ static void text_truncate(PangoLayout *layout, gint width, gint offset) { const gchar *text; gchar *new_text = NULL; gint l_width = 0; g_return_if_fail(layout); while(1) { pango_layout_get_pixel_size(layout, &l_width, NULL); if(l_width + offset <= width) break; text = pango_layout_get_text(layout); new_text = g_strdup(text); new_text = g_utf8_strncpy(new_text, text, g_utf8_strlen(text, -1) - 1); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } } static void text_ellipsis_start(PangoLayout *layout, gint width, gint offset, const gchar *ellipsis_text, gint ellipsis_width) { const gchar *text; gchar *new_text = NULL; gint l_width = 0; g_return_if_fail(layout); while(1) { pango_layout_get_pixel_size(layout, &l_width, NULL); if(l_width + offset + ellipsis_width <= width) break; text = pango_layout_get_text(layout); new_text = gf_utf8_strrndup(text, g_utf8_strlen(text, -1) - 1); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } text = pango_layout_get_text(layout); new_text = g_strdup_printf("%s%s", ellipsis_text, text); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } static void text_ellipsis_middle(PangoLayout *layout, gint width, gint offset, const gchar *ellipsis_text, gint ellipsis_width) { const gchar *text; gchar *new_text = NULL, *left_text = NULL, *right_text = NULL; gint l_width = 0, mid; g_return_if_fail(layout); while(1) { pango_layout_get_pixel_size(layout, &l_width, NULL); if(l_width + offset + ellipsis_width <= width) break; text = pango_layout_get_text(layout); mid = g_utf8_strlen(text, -1) / 2; left_text = g_strdup(text); left_text = g_utf8_strncpy(left_text, text, mid); if(IS_EVEN(g_utf8_strlen(text, -1))) right_text = gf_utf8_strrndup(text, mid - 1); else right_text = gf_utf8_strrndup(text, mid); new_text = g_strdup_printf("%s%s", left_text, right_text); g_free(left_text); g_free(right_text); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } text = pango_layout_get_text(layout); mid = g_utf8_strlen(text, -1) / 2; left_text = g_strdup(text); left_text = g_utf8_strncpy(left_text, text, mid); if(IS_EVEN(g_utf8_strlen(text, -1))) right_text = gf_utf8_strrndup(text, mid - 1); else right_text = gf_utf8_strrndup(text, mid); new_text = g_strdup_printf("%s%s%s", left_text, ellipsis_text, right_text); g_free(left_text); g_free(right_text); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } static void text_ellipsis_end(PangoLayout *layout, gint width, gint offset, const gchar *ellipsis_text, gint ellipsis_width) { const gchar *text; gchar *new_text = NULL; gint l_width = 0; g_return_if_fail(layout); while(1) { pango_layout_get_pixel_size(layout, &l_width, NULL); if(l_width + offset + ellipsis_width <= width) break; text = pango_layout_get_text(layout); new_text = g_strdup(text); new_text = g_utf8_strncpy(new_text, text, g_utf8_strlen(text, -1) - 1); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } text = pango_layout_get_text(layout); new_text = g_strdup_printf("%s%s", text, ellipsis_text); pango_layout_set_text(layout, new_text, -1); g_free(new_text); } static void gf_item_text_clip(GfItemText *item_text, PangoLayout *layout, gint pixbuf_width) { GfNotification *notification; GfTheme *theme; GfThemeOptions *ops; GfItemOffset *ioffset; PangoLayout *ellipsis; const gchar *ellipsis_text; gint e_width = 0, l_width = 0, width = 0, offset = 0; g_return_if_fail(item_text); g_return_if_fail(layout); notification = gf_item_get_notification(item_text->item); theme = gf_notification_get_theme(notification); ops = gf_theme_get_theme_options(theme); ellipsis_text = gf_theme_options_get_ellipsis(ops); if((ioffset = gf_item_get_horz_offset(item_text->item))) { if(ioffset && gf_item_offset_get_is_percentage(ioffset)) offset = (pixbuf_width * gf_item_offset_get_value(ioffset)) / 100; else offset = gf_item_offset_get_value(ioffset); } else { offset = 0; } width = item_text->width; if(width == 0) width = pixbuf_width; else offset = 0; ellipsis = pango_layout_copy(layout); pango_layout_set_text(ellipsis, ellipsis_text, -1); pango_layout_get_pixel_size(ellipsis, &e_width, NULL); g_object_unref(G_OBJECT(ellipsis)); pango_layout_get_pixel_size(layout, &l_width, NULL); if(l_width <= width) return; switch (item_text->clipping) { case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_START: text_ellipsis_start(layout, width, offset, ellipsis_text, e_width); break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE: text_ellipsis_middle(layout, width, offset, ellipsis_text, e_width); break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_END: text_ellipsis_end(layout, width, offset, ellipsis_text, e_width); break; case GF_ITEM_TEXT_CLIPPING_TRUNCATE: default: text_truncate(layout, width, offset); break; } } static PangoLayout * gf_item_text_create_layout(GfItemText *item_text, GfEventInfo *info, gint width) { PangoLayout *layout = NULL; PangoFontDescription *font = NULL; gchar *text = NULL; g_return_val_if_fail(item_text, NULL); g_return_val_if_fail(info, NULL); layout = pango_layout_new(context); pango_layout_set_width(layout, -1); if(item_text->font) { font = pango_font_description_from_string(item_text->font); pango_layout_set_font_description(layout, font); pango_font_description_free(font); } else { pango_layout_set_font_description(layout, gf_gtk_theme_get_font()); } text = gf_item_text_parse_format(item_text, info); pango_layout_set_text(layout, text, -1); g_free(text); gf_item_text_clip(item_text, layout, width); return layout; } /* This function has cost me 5 days of trying to find some way to make gtk/pango/gdk do * this. I'm only using this way because 2 gtk/pango developers said this is the only * way at this time. So if you change it.. Your changes better fucking work :P */ static GdkPixbuf * gf_pixbuf_new_from_ft2_bitmap(FT_Bitmap *bitmap, PangoColor *color) { GdkPixbuf *pixbuf; guchar *buffer, *pbuffer; gint w, h, rowstride; guint8 r, g, b, *alpha; /* Grab the colors from the PangoColor and shift 8 bits because we're only in 8 bit * mode, and a PangoColor's elements are guint16's which are 16 bits... */ r = color->red >> 8; g = color->green >> 8; b = color->blue >> 8; /* create the new pixbuf */ pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, bitmap->width, bitmap->rows); if(!pixbuf) return NULL; /* clear out the pixbuf to transparent black */ gdk_pixbuf_fill(pixbuf, 0x00000000); buffer = gdk_pixbuf_get_pixels(pixbuf); rowstride = gdk_pixbuf_get_rowstride(pixbuf); /* ok here's the run down... * * From devhelp: * Image data in a pixbuf is stored in memory in uncompressed, packed format. Rows * in the image are stored top to bottom, and in each row pixels are stored from * left to right. There may be padding at the end of a row. The "rowstride" value of * a pixbuf, as returned by gdk_pixbuf_get_rowstride(), indicates the number of * bytes between rows. * * So we take the height of the FT_Bitmap (the text), and increment until we're done. * simple enough. * * Then we get the alpha for the row in the FT_Bitmap * * Next we move left to right and draw accordingly. * * Repeat until we've gone through the whole FT_Bitmap. */ for(h = 0; h < bitmap->rows; h++) { pbuffer = buffer + (h * rowstride); /* get the alpha from the FT_Bitmap */ alpha = bitmap->buffer + (h * (bitmap->pitch)); for(w = 0; w < bitmap->width; w++) { *pbuffer++ = r; *pbuffer++ = g; *pbuffer++ = b; *pbuffer++ = *alpha++; } } return pixbuf; } void gf_item_text_render(GfItemText *item_text, GdkPixbuf *pixbuf, GfEventInfo *info) { GdkPixbuf *t_pixbuf = NULL; PangoColor color; PangoLayout *layout = NULL; FT_Bitmap bitmap; gint x = 0, y = 0; gint n_width = 0, n_height = 0; gint t_width = 0, t_height = 0; gint l_width = 0, l_height = 0; g_return_if_fail(item_text); g_return_if_fail(pixbuf); g_return_if_fail(info); /* get the width and height of the notification pixbuf */ n_width = gdk_pixbuf_get_width(pixbuf); n_height = gdk_pixbuf_get_height(pixbuf); /* create the layout */ layout = gf_item_text_create_layout(item_text, info, n_width); if(!layout) return; /* setup the FT_BITMAP */ pango_layout_get_pixel_size(layout, &l_width, &l_height); bitmap.rows = l_height; bitmap.width = l_width; bitmap.pitch = (bitmap.width + 3) & ~3; bitmap.buffer = g_new0(guint8, bitmap.rows * bitmap.pitch); bitmap.num_grays = 255; bitmap.pixel_mode = ft_pixel_mode_grays; pango_ft2_render_layout(&bitmap, layout, 0, 0); g_object_unref(G_OBJECT(layout)); if(!item_text->color) { GdkColor g_color; gf_gtk_theme_get_fg_color(&g_color); gf_gtk_color_pango_from_gdk(&color, &g_color); } else if(!pango_color_parse(&color, item_text->color)) color.red = color.green = color.blue = 0; t_pixbuf = gf_pixbuf_new_from_ft2_bitmap(&bitmap, &color); g_free(bitmap.buffer); if(!t_pixbuf) return; t_width = gdk_pixbuf_get_width(t_pixbuf); t_height = gdk_pixbuf_get_height(t_pixbuf); gf_item_get_render_position(&x, &y, t_width, t_height, n_width, n_height, item_text->item); gf_gtk_pixbuf_clip_composite(t_pixbuf, x, y, pixbuf); g_object_unref(G_OBJECT(t_pixbuf)); } pidgin-guifications-2.16/src/gf_theme_info.c0000644000175000017500000001471310731311346016050 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include struct _GfThemeInfo { gchar *name; gchar *version; gchar *summary; gchar *description; gchar *author; gchar *website; }; #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_theme_info.h" #include #include GfThemeInfo * gf_theme_info_new() { GfThemeInfo *info; info = g_new0(GfThemeInfo, 1); return info; } GfThemeInfo * gf_theme_info_new_from_xmlnode(xmlnode *node) { GfThemeInfo *info; xmlnode *child; gchar *data; g_return_val_if_fail(node, NULL); info = gf_theme_info_new(); child = xmlnode_get_child(node, "name"); if(child && (data = xmlnode_get_data(child))) { info->name = g_strdup(data); g_free(data); } child = xmlnode_get_child(node, "version"); if(child && (data = xmlnode_get_data(child))) { info->version = g_strdup(data); g_free(data); } child = xmlnode_get_child(node, "summary"); if(child && (data = xmlnode_get_data(child))) { info->summary = g_strdup(data); g_free(data); } child = xmlnode_get_child(node, "description"); if(child && (data = xmlnode_get_data(child))) { info->description = g_strdup(data); g_free(data); } child = xmlnode_get_child(node, "author"); if(child && (data = xmlnode_get_data(child))) { info->author = g_strdup(data); g_free(data); } child = xmlnode_get_child(node, "website"); if(child && (data = xmlnode_get_data(child))) { info->website = g_strdup(data); g_free(data); } return info; } xmlnode * gf_theme_info_to_xmlnode(GfThemeInfo *info) { xmlnode *parent, *child; parent = xmlnode_new("info"); if(info->name && strlen(info->name)) { child = xmlnode_new_child(parent, "name"); xmlnode_insert_data(child, info->name, strlen(info->name)); } if(info->version && strlen(info->version)) { child = xmlnode_new_child(parent, "version"); xmlnode_insert_data(child, info->version, strlen(info->version)); } if(info->summary && strlen(info->summary)) { child = xmlnode_new_child(parent, "summary"); xmlnode_insert_data(child, info->summary, strlen(info->summary)); } if(info->description && strlen(info->description)) { child = xmlnode_new_child(parent, "description"); xmlnode_insert_data(child, info->description, strlen(info->description)); } if(info->author && strlen(info->author)) { child = xmlnode_new_child(parent, "author"); xmlnode_insert_data(child, info->author, strlen(info->author)); } if(info->website && strlen(info->website)) { child = xmlnode_new_child(parent, "website"); xmlnode_insert_data(child, info->website, strlen(info->website)); } return parent; } void gf_theme_info_destroy(GfThemeInfo *info) { g_return_if_fail(info); if(info->name) g_free(info->name); if(info->version) g_free(info->version); if(info->summary) g_free(info->summary); if(info->description) g_free(info->description); if(info->author) g_free(info->author); if(info->website) g_free(info->website); g_free(info); info = NULL; } gchar * gf_theme_info_strip_name(GfThemeInfo *info) { GString *str; const gchar *iter; gchar *dir; g_return_val_if_fail(info, NULL); if(!info->name) return g_strdup("untitled"); str = g_string_new(""); iter = info->name; if(iter[0] == '.' && strlen(iter) > 1) iter++; for(; *iter != '\0'; iter++) { switch(iter[0]) { case '\\': case '/': case ':': case '*': case '?': case '"': case '<': case '>': case '|': case '[': case ']': case '{': case '}': break; case ' ': str = g_string_append_c(str, '_'); break; default: str = g_string_append_c(str, iter[0]); } } dir = str->str; g_string_free(str, FALSE); if(!dir) dir = g_strdup("untitled"); return dir; } void gf_theme_info_set_name(GfThemeInfo *info, const gchar *name) { g_return_if_fail(info); g_return_if_fail(name); if(info->name) g_free(info->name); info->name = g_strdup(name); } const gchar * gf_theme_info_get_name(GfThemeInfo *info) { g_return_val_if_fail(info, NULL); return info->name; } void gf_theme_info_set_version(GfThemeInfo *info, const gchar *version) { g_return_if_fail(info); g_return_if_fail(version); if(info->version) g_free(info->version); info->version = g_strdup(version); } const gchar * gf_theme_info_get_version(GfThemeInfo *info) { g_return_val_if_fail(info, NULL); return info->version; } void gf_theme_info_set_summary(GfThemeInfo *info, const gchar *summary) { g_return_if_fail(info); g_return_if_fail(summary); if(info->summary) g_free(info->summary); info->summary = g_strdup(summary); } const gchar * gf_theme_info_get_summary(GfThemeInfo *info) { g_return_val_if_fail(info, NULL); return info->summary; } void gf_theme_info_set_description(GfThemeInfo *info, const gchar *description) { g_return_if_fail(info); g_return_if_fail(description); if(info->description) g_free(info->description); info->description = g_strdup(description); } const gchar * gf_theme_info_get_description(GfThemeInfo *info) { g_return_val_if_fail(info, NULL); return info->description; } void gf_theme_info_set_author(GfThemeInfo *info, const gchar *author) { g_return_if_fail(info); g_return_if_fail(author); if(info->author) g_free(info->author); info->author = g_strdup(author); } const gchar * gf_theme_info_get_author(GfThemeInfo *info) { g_return_val_if_fail(info, NULL); return info->author; } void gf_theme_info_set_website(GfThemeInfo *info, const gchar *website) { g_return_if_fail(info); g_return_if_fail(website); if(info->website) g_free(info->website); info->website = g_strdup(website); } const gchar * gf_theme_info_get_website(GfThemeInfo *info) { g_return_val_if_fail(info, NULL); return info->website; } pidgin-guifications-2.16/src/gf_event.h0000644000175000017500000000440210731276755015071 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_EVENT_H #define GF_EVENT_H #define GF_EVENT(obj) ((GfEvent *)(obj)) #define TOKENS_DEFAULT "%aDdHhiMmNpsTtuwXYy" typedef enum _GfEventPriority { GF_EVENT_PRIORITY_LOWEST = -9999, GF_EVENT_PRIORITY_LOWER = -6666, GF_EVENT_PRIORITY_LOW = -3333, GF_EVENT_PRIORITY_NORMAL = 0, GF_EVENT_PRIORITY_HIGH = 3333, GF_EVENT_PRIORITY_HIGHER = 6666, GF_EVENT_PRIORITY_HIGHEST = 9999, } GfEventPriority; typedef struct _GfEvent GfEvent; #include #include G_BEGIN_DECLS GfEvent *gf_event_new(const gchar *notification_type, const gchar *tokens, const gchar *name, const gchar *description, GfEventPriority priority); GfEvent *gf_event_find_for_notification(const gchar *type); void gf_event_destroy(GfEvent *event); const gchar *gf_event_get_notification_type(GfEvent *event); const gchar *gf_event_get_tokens(GfEvent *event); const gchar *gf_event_get_name(GfEvent *event); const gchar *gf_event_get_description(GfEvent *event); GfEventPriority gf_event_get_priority(GfEvent *event); void gf_event_set_show(GfEvent *event, gboolean show); gboolean gf_event_get_show(GfEvent *event); gboolean gf_event_show_notification(const gchar *n_type); const GList *gf_events_get(); void gf_events_save(); gint gf_events_count(); const gchar *gf_events_get_nth_name(gint nth); const gchar *gf_events_get_nth_notification(gint nth); void gf_events_init(PurplePlugin *plugin); void gf_events_uninit(); G_END_DECLS #endif /* GF_EVENT_H */ pidgin-guifications-2.16/src/Makefile.in0000644000175000017500000005024310731356736015172 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ 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)/pre_config.h CONFIG_CLEAN_FILES = 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)$(gfdir)" gfLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(gf_LTLIBRARIES) am__DEPENDENCIES_1 = @PLUGINS_TRUE@guifications_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @PLUGINS_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ @PLUGINS_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__guifications_la_SOURCES_DIST = gf_action.c gf_blist.c gf_display.c \ gf_event.c gf_event_info.c gf_file.c gf_gtk_utils.c gf_item.c \ gf_item_icon.c gf_item_image.c gf_item_offset.c gf_item_text.c \ gf_menu.c gf_notification.c gf_preferences.c gf_stock.c \ gf_theme.c gf_theme_editor.c gf_theme_info.c gf_theme_ops.c \ gf_utils.c guifications.c @PLUGINS_TRUE@am_guifications_la_OBJECTS = gf_action.lo gf_blist.lo \ @PLUGINS_TRUE@ gf_display.lo gf_event.lo gf_event_info.lo \ @PLUGINS_TRUE@ gf_file.lo gf_gtk_utils.lo gf_item.lo \ @PLUGINS_TRUE@ gf_item_icon.lo gf_item_image.lo \ @PLUGINS_TRUE@ gf_item_offset.lo gf_item_text.lo gf_menu.lo \ @PLUGINS_TRUE@ gf_notification.lo gf_preferences.lo gf_stock.lo \ @PLUGINS_TRUE@ gf_theme.lo gf_theme_editor.lo gf_theme_info.lo \ @PLUGINS_TRUE@ gf_theme_ops.lo gf_utils.lo guifications.lo guifications_la_OBJECTS = $(am_guifications_la_OBJECTS) @PLUGINS_TRUE@am_guifications_la_rpath = -rpath $(gfdir) 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) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(guifications_la_SOURCES) DIST_SOURCES = $(am__guifications_la_SOURCES_DIST) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ gf_action.h \ gf_blist.h \ gf_display.h \ gf_event.h \ gf_event_info.h \ gf_file.h \ gf_gtk_utils.h \ gf_internal.h \ gf_item.h \ gf_item_icon.h \ gf_item_image.h \ gf_item_offset.h \ gf_item_text.h \ gf_menu.h \ gf_notification.h \ gf_preferences.h \ gf_stock.h \ gf_theme.h \ gf_theme_editor.h \ gf_theme_info.h \ gf_theme_ops.h \ gf_utils.h \ Makefile.mingw gfdir = $(PIDGIN_LIBDIR)/pidgin guifications_la_LDFLAGS = -module -avoid-version @PLUGINS_TRUE@gf_LTLIBRARIES = guifications.la @PLUGINS_TRUE@guifications_la_SOURCES = \ @PLUGINS_TRUE@ gf_action.c \ @PLUGINS_TRUE@ gf_blist.c \ @PLUGINS_TRUE@ gf_display.c \ @PLUGINS_TRUE@ gf_event.c \ @PLUGINS_TRUE@ gf_event_info.c \ @PLUGINS_TRUE@ gf_file.c \ @PLUGINS_TRUE@ gf_gtk_utils.c \ @PLUGINS_TRUE@ gf_item.c \ @PLUGINS_TRUE@ gf_item_icon.c \ @PLUGINS_TRUE@ gf_item_image.c \ @PLUGINS_TRUE@ gf_item_offset.c \ @PLUGINS_TRUE@ gf_item_text.c \ @PLUGINS_TRUE@ gf_menu.c \ @PLUGINS_TRUE@ gf_notification.c \ @PLUGINS_TRUE@ gf_preferences.c \ @PLUGINS_TRUE@ gf_stock.c \ @PLUGINS_TRUE@ gf_theme.c \ @PLUGINS_TRUE@ gf_theme_editor.c \ @PLUGINS_TRUE@ gf_theme_info.c \ @PLUGINS_TRUE@ gf_theme_ops.c \ @PLUGINS_TRUE@ gf_utils.c \ @PLUGINS_TRUE@ guifications.c @PLUGINS_TRUE@guifications_la_LIBADD = \ @PLUGINS_TRUE@ $(BINRELOC_LIBS) \ @PLUGINS_TRUE@ $(GTK_LIBS) \ @PLUGINS_TRUE@ $(GLIB_LIBS) \ @PLUGINS_TRUE@ $(PANGOFT2_LIBS) \ @PLUGINS_TRUE@ $(PIDGIN_LIBS) \ @PLUGINS_TRUE@ $(PURPLE_LIBS) AM_CPPFLAGS = \ -DVERSION=\"$(VERSION)\" \ -DDATADIR=\"$(PIDGIN_DATADIR)\" \ -DLOCALEDIR=\"$(PIDGIN_DATADIR)/locale\" \ $(BINRELOC_CFLAGS) \ $(DEBUG_CFLAGS) \ $(GTK_CFLAGS) \ $(GLIB_CFLAGS) \ $(PANGOFT2_CFLAGS) \ $(PIDGIN_CFLAGS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-gfLTLIBRARIES: $(gf_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(gfdir)" || $(mkdir_p) "$(DESTDIR)$(gfdir)" @list='$(gf_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=install $(gfLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(gfdir)/$$f'"; \ $(LIBTOOL) --mode=install $(gfLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(gfdir)/$$f"; \ else :; fi; \ done uninstall-gfLTLIBRARIES: @$(NORMAL_UNINSTALL) @set -x; list='$(gf_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(gfdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(gfdir)/$$p"; \ done clean-gfLTLIBRARIES: -test -z "$(gf_LTLIBRARIES)" || rm -f $(gf_LTLIBRARIES) @list='$(gf_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done guifications.la: $(guifications_la_OBJECTS) $(guifications_la_DEPENDENCIES) $(LINK) $(am_guifications_la_rpath) $(guifications_la_LDFLAGS) $(guifications_la_OBJECTS) $(guifications_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_action.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_blist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_display.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_event.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_event_info.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_file.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_gtk_utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_item.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_item_icon.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_item_image.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_item_offset.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_item_text.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_menu.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_notification.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_preferences.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_stock.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_theme.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_theme_editor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_theme_info.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_theme_ops.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gf_utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/guifications.Plo@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) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool 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 $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(gfdir)"; 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-generic clean-gfLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-gfLTLIBRARIES install-exec-am: 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 \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gfLTLIBRARIES uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-gfLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-gfLTLIBRARIES install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-gfLTLIBRARIES \ 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: pidgin-guifications-2.16/src/gf_utils.c0000644000175000017500000000256110731311346015071 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_utils.h" gint gf_utils_strcmp(const gchar *s1, const gchar *s2) { gchar *s1k = NULL, *s2k = NULL; gint ret = 0; if(!s1 && !s2) return 0; if(!s1) return -1; if(!s2) return 1; s1k = g_utf8_collate_key(s1, -1); s2k = g_utf8_collate_key(s2, -1); ret = strcmp(s1k, s2k); g_free(s1k); g_free(s2k); return ret; } gint gf_utils_compare_strings(gconstpointer a, gconstpointer b) { return gf_utils_strcmp(a, b); } pidgin-guifications-2.16/src/gf_theme.c0000644000175000017500000003322310731311346015032 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include "gf_item.h" #include "gf_preferences.h" #include "gf_theme_info.h" #include "gf_theme_ops.h" #include "gf_utils.h" struct _GfTheme { gint api_version; gchar *file; gchar *path; GfThemeInfo *info; GfThemeOptions *ops; GList *notifications; GfNotification *master; }; #include "gf_theme.h" static GList *probed_themes = NULL; static GList *loaded_themes = NULL; /*********************************************************************** * Loading, Unloading, Probing, and Finding ... **********************************************************************/ GfTheme * gf_theme_new() { GfTheme *theme; theme = g_new0(GfTheme, 1); return theme; } GfTheme * gf_theme_new_from_file(const gchar *filename) { GfTheme *theme; gchar *contents; gint api_version; gsize length; xmlnode *root, *parent, *child; g_return_val_if_fail(filename, NULL); if(!g_file_get_contents(filename, &contents, &length, NULL)) { purple_debug_info("Guifications", "** Error: failed to get file contents\n"); return NULL; } if(!(root = xmlnode_from_str(contents, length))) { purple_debug_info("Guifications", "** Error: Could not parse file\n"); return NULL; } g_free(contents); if(!(parent = xmlnode_get_child(root, "theme"))) { purple_debug_info("Guifications", "** Error: No theme element found\n"); xmlnode_free(root); return NULL; } api_version = atoi(xmlnode_get_attrib(parent, "api")); if(api_version != GF_THEME_API_VERSION) { purple_debug_info("Guifications", "** Error: Theme API version mismatch\n"); xmlnode_free(root); return NULL; } /* allocate the theme */ theme = gf_theme_new(); /* info to know */ theme->api_version = api_version; theme->file = g_strdup(filename); theme->path = g_path_get_dirname(filename); /* get the themes info */ if(!(child = xmlnode_get_child(parent, "info"))) { purple_debug_info("Guifications", "** Error: No info element found\n"); gf_theme_unload(theme); xmlnode_free(root); return NULL; } if(!(theme->info = gf_theme_info_new_from_xmlnode(child))) { purple_debug_info("Guifications", "** Error: could not load theme info\n"); gf_theme_unload(theme); xmlnode_free(root); return NULL; } /* get the themes options */ if(!(child = xmlnode_get_child(parent, "options"))) { gf_theme_unload(theme); xmlnode_free(root); return NULL; } theme->ops = gf_theme_options_new_from_xmlnode(child); /* get all the notifications */ child = xmlnode_get_child(parent, "notification"); while(child) { GfNotification *notification; notification = gf_notification_new_from_xmlnode(theme, child); if(notification) theme->notifications = g_list_append(theme->notifications, notification); child = xmlnode_get_next_twin(child); } /* loading was successful free the xmlnode */ xmlnode_free(root); return theme; } GfTheme * gf_theme_find_theme_by_name(const gchar *name) { GfTheme *theme; GList *l; g_return_val_if_fail(name, NULL); for(l = loaded_themes; l; l = l->next) { theme = GF_THEME(l->data); if(!g_utf8_collate(gf_theme_info_get_name(theme->info), name)) return theme; } return NULL; } GfTheme * gf_theme_find_theme_by_filename(const gchar *filename) { GfTheme *theme; GList *l; g_return_val_if_fail(filename, NULL); for(l = loaded_themes; l; l = l->next) { theme = GF_THEME(l->data); if(!g_ascii_strcasecmp(gf_theme_get_filename(theme), filename)) return theme; } return NULL; } gchar * gf_theme_strip_name(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return gf_theme_info_strip_name(theme->info); } gboolean gf_theme_is_loaded(const gchar *filename) { GfTheme *theme; GList *l; g_return_val_if_fail(filename, FALSE); for(l = loaded_themes; l; l = l->next) { theme = GF_THEME(l->data); if(!g_ascii_strcasecmp(filename, theme->file)) return TRUE; } return FALSE; } gboolean gf_theme_is_probed(const gchar *filename) { g_return_val_if_fail(filename, FALSE); if(g_list_find_custom(probed_themes, filename, gf_utils_compare_strings)) return TRUE; else return FALSE; } gboolean gf_theme_save_to_file(GfTheme *theme, const gchar *filename) { GList *l; gchar *api, *data; FILE *fp = NULL; xmlnode *root, *parent, *child; g_return_val_if_fail(theme, FALSE); g_return_val_if_fail(filename, FALSE); root = xmlnode_new("guifications"); parent = xmlnode_new_child(root, "theme"); api = g_strdup_printf("%d", GF_THEME_API_VERSION); xmlnode_set_attrib(parent, "api", api); g_free(api); if((child = gf_theme_info_to_xmlnode(theme->info))) xmlnode_insert_child(parent, child); if((child = gf_theme_options_to_xmlnode(theme->ops))) xmlnode_insert_child(parent, child); for(l = theme->notifications; l; l = l->next) { if((child = gf_notification_to_xmlnode(GF_NOTIFICATION(l->data)))) xmlnode_insert_child(parent, child); } data = xmlnode_to_formatted_str(root, NULL); fp = g_fopen(filename, "wb"); if(!fp) { purple_debug_info("guifications", "Error trying to save theme %s\n", filename); } else { if(data) fprintf(fp, "%s", data); fclose(fp); } g_free(data); xmlnode_free(root); return TRUE; } void gf_theme_destory(GfTheme *theme) { GList *l; g_return_if_fail(theme); theme->api_version = 0; if(theme->file) g_free(theme->file); if(theme->path) g_free(theme->path); if(theme->info) gf_theme_info_destroy(theme->info); if(theme->ops) gf_theme_options_destroy(theme->ops); for(l = theme->notifications; l; l = l->next) gf_notification_destroy(GF_NOTIFICATION(l->data)); g_list_free(theme->notifications); theme->notifications = NULL; g_free(theme); theme = NULL; } void gf_theme_load(const gchar *filename) { GfTheme *theme = NULL; if((theme = gf_theme_new_from_file(filename))) loaded_themes = g_list_append(loaded_themes, theme); } void gf_theme_unload(GfTheme *theme) { g_return_if_fail(theme); loaded_themes = g_list_remove(loaded_themes, theme); gf_theme_destory(theme); } void gf_theme_probe(const gchar *filename) { GfTheme *theme; gboolean loaded; g_return_if_fail(filename); loaded = gf_theme_is_loaded(filename); if(gf_theme_is_probed(filename)) gf_theme_unprobe(filename); if(loaded) gf_theme_unload(gf_theme_find_theme_by_filename(filename)); theme = gf_theme_new_from_file(filename); if(theme) { probed_themes = g_list_append(probed_themes, g_strdup(filename)); if(loaded) loaded_themes = g_list_append(loaded_themes, theme); else gf_theme_destory(theme); } } void gf_themes_probe() { GDir *dir; gchar *path = NULL, *probe_dirs[3]; const gchar *file; gint i; probe_dirs[0] = g_build_filename(DATADIR, "pixmaps", "pidgin", "guifications", "themes", NULL); probe_dirs[1] = g_build_filename(purple_user_dir(), "guifications", "themes", NULL); probe_dirs[2] = NULL; for(i = 0; probe_dirs[i]; i++) { dir = g_dir_open(probe_dirs[i], 0, NULL); if(dir) { while((file = g_dir_read_name(dir))) { /* disallow themes in hidden dirs */ if(file[0] == '.') continue; path = g_build_filename(probe_dirs[i], file, "theme.xml", NULL); if(path) { if(g_file_test(path, G_FILE_TEST_EXISTS)) { purple_debug_info("Guifications", "Probing %s\n", path); gf_theme_probe(path); } g_free(path); } } g_dir_close(dir); } else if(i == 1) { /* if the user theme dir doesn't exist, create it */ purple_build_dir(probe_dirs[i], S_IRUSR | S_IWUSR | S_IXUSR); } g_free(probe_dirs[i]); } } void gf_theme_unprobe(const gchar *filename) { GList *l, *ll; gchar *file; g_return_if_fail(filename); for(l = probed_themes; l; l = ll) { ll = l->next; file = (gchar*)l->data; if(!g_ascii_strcasecmp(file, filename)) { probed_themes = g_list_remove(probed_themes, file); g_free(file); } } } void gf_themes_unprobe() { GList *l; gchar *file; for(l = probed_themes; l; l = l->next) { if((file = (gchar*)l->data)) { purple_debug_info("Guifications", "unprobing %s\n", file); g_free(file); } } if(probed_themes) g_list_free(probed_themes); probed_themes = NULL; } /******************************************************************************* * Theme API ******************************************************************************/ gint gf_theme_get_api_version(GfTheme *theme) { g_return_val_if_fail(theme, -1); return theme->api_version; } const gchar * gf_theme_get_filename(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return theme->file; } const gchar * gf_theme_get_path(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return theme->path; } GfNotification * gf_theme_get_master(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return theme->master; } void gf_theme_set_master(GfTheme *theme, GfNotification *notification) { g_return_if_fail(theme); g_return_if_fail(notification); theme->master = notification; } static void gf_theme_get_supported_func(gpointer key, gpointer val, gpointer data) { GString *str = data; gchar *type = key; gint value = GPOINTER_TO_INT(val); if(strlen(str->str) != 0) str = g_string_append(str, ", "); str = g_string_append(str, type); if(value > 1) g_string_append_printf(str, " (%d)", value); } gchar * gf_theme_get_supported_notifications(GfTheme *theme) { GfNotification *notification; GHashTable *table; GList *l; GString *str; const gchar *type; gchar *ret; gint value; gpointer pvalue; g_return_val_if_fail(theme, NULL); table = g_hash_table_new(g_str_hash, g_str_equal); for(l = theme->notifications; l; l = l->next) { notification = GF_NOTIFICATION(l->data); type = gf_notification_get_type(notification); if(type && type[0] == '!') continue; pvalue = g_hash_table_lookup(table, type); if(pvalue) value = GPOINTER_TO_INT(pvalue) + 1; else value = 1; g_hash_table_replace(table, (gpointer)type, GINT_TO_POINTER(value)); } str = g_string_new(""); g_hash_table_foreach(table, gf_theme_get_supported_func, str); g_hash_table_destroy(table); ret = str->str; g_string_free(str, FALSE); return ret; } void gf_theme_set_theme_info(GfTheme *theme, GfThemeInfo *info) { g_return_if_fail(theme); g_return_if_fail(info); if(theme->info) gf_theme_info_destroy(theme->info); theme->info = info; } GfThemeInfo * gf_theme_get_theme_info(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return theme->info; } void gf_theme_set_theme_options(GfTheme *theme, GfThemeOptions *ops) { g_return_if_fail(theme); g_return_if_fail(ops); if(theme->ops) gf_theme_options_destroy(theme->ops); theme->ops = ops; } GfThemeOptions * gf_theme_get_theme_options(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return theme->ops; } void gf_theme_add_notification(GfTheme *theme, GfNotification *notification) { const gchar *type = NULL; g_return_if_fail(theme); g_return_if_fail(notification); type = gf_notification_get_type(notification); if(!g_utf8_collate(GF_NOTIFICATION_MASTER, type)) { if(theme->master) { const gchar *name = NULL; name = gf_theme_info_get_name(theme->info); purple_debug_info("Guifications", "Theme %s already has a master notification\n", name ? name : "(NULL)"); return; } else { theme->master = notification; } } theme->notifications = g_list_append(theme->notifications, notification); } void gf_theme_remove_notification(GfTheme *theme, GfNotification *notification) { const gchar *type = NULL; g_return_if_fail(theme); g_return_if_fail(notification); type = gf_notification_get_type(notification); if(!g_utf8_collate(GF_NOTIFICATION_MASTER, type)) { purple_debug_info("Guifications", "Master notifications can not be removed\n"); return; } theme->notifications = g_list_remove(theme->notifications, notification); } GList * gf_theme_get_notifications(GfTheme *theme) { g_return_val_if_fail(theme, NULL); return theme->notifications; } GList * gf_themes_get_all() { return probed_themes; } GList * gf_themes_get_loaded() { return loaded_themes; } void gf_themes_unload() { GfTheme *theme; GList *l = NULL, *ll = NULL; for(l = loaded_themes; l; l = ll) { ll = l->next; theme = GF_THEME(l->data); if(theme) { gf_theme_unload(theme); theme = NULL; } } g_list_free(loaded_themes); loaded_themes = NULL; } void gf_themes_save_loaded() { GfTheme *theme; GList *l = NULL, *s = NULL; for(l = loaded_themes; l; l = l->next) { theme = GF_THEME(l->data); if(theme) s = g_list_append(s, theme->file); } purple_prefs_set_string_list(GF_PREF_LOADED_THEMES, s); g_list_free(s); } void gf_themes_load_saved(){ GList *s = NULL; gchar *filename = NULL; for(s = purple_prefs_get_string_list(GF_PREF_LOADED_THEMES); s; s = s->next) { filename = (gchar*)s->data; if(gf_theme_is_probed(filename)) gf_theme_load(filename); } } pidgin-guifications-2.16/src/gf_item.c0000644000175000017500000003464610731311346014700 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_event_info.h" #include "gf_item.h" #include "gf_item_icon.h" #include "gf_item_image.h" #include "gf_item_offset.h" #include "gf_item_text.h" #include "gf_notification.h" #include "gf_preferences.h" #include "gf_theme.h" /* This setup sucks, but meh.. it works... be sure to update both the translated * and the English versions if you add or remove anything. The english is used * only for the files, so they're case insentive. The i18n are used in the * theme editor. * * I'd fix this.. But whats translated doesn't match what is in the themes, and * while we could use the text that's used in the theme's as display text, why * mess with it while this, as ugly as it is, does work. */ const gchar *items_norm[] = { "icon", "image", "text", NULL }; const gchar *items_i18n[] = { N_("Icon"), N_("Image"), N_("Text"), NULL }; const gchar *positions_norm[] = { "north-west", "north", "north-east", "west", "center", "east", "south-west", "south", "south-east", NULL }; const gchar *positions_i18n[] = { N_("North West"), N_("North"), N_("North East"), N_("West"), N_("Center"), N_("East"), N_("South West"), N_("South"), N_("South East"), NULL }; struct _GfItem { GfNotification *notification; GfItemType type; GfItemPosition position; GfItemOffset *h_offset; GfItemOffset *v_offset; union { GfItemIcon *icon; GfItemText *text; GfItemImage *image; } u; }; void gf_item_get_render_position(gint *x, gint *y, gint width, gint height, gint img_width, gint img_height, GfItem *item) { gint north, east, south, west, lat, lon; gint item_h_w, item_h_h; gint img_h_w, img_h_h; gint h_offset, v_offset; g_return_if_fail(item); item_h_w = width / 2; item_h_h = height / 2; img_h_w = img_width / 2; img_h_h = img_height / 2; if(item->h_offset) { if(gf_item_offset_get_is_percentage(item->h_offset)) h_offset = (img_width * gf_item_offset_get_value(item->h_offset)) / 100; else h_offset = gf_item_offset_get_value(item->h_offset); } else { h_offset = 0; } if(item->v_offset) { if(gf_item_offset_get_is_percentage(item->v_offset)) v_offset = (img_height * gf_item_offset_get_value(item->v_offset)) / 100; else v_offset = gf_item_offset_get_value(item->v_offset); } else { v_offset = 0; } north = v_offset; east = img_width - width + h_offset; south = img_height - height + v_offset; west = h_offset; lon = img_h_w - item_h_w + h_offset; lat = img_h_h - item_h_h + v_offset; switch(item->position) { case GF_ITEM_POSITION_NW: *x = west; *y = north; break; case GF_ITEM_POSITION_N: *x = lon; *y = north; break; case GF_ITEM_POSITION_NE: *x = east; *y = north; break; case GF_ITEM_POSITION_W: *x = west; *y = lat; break; case GF_ITEM_POSITION_C: *x = lon; *y = lat; break; case GF_ITEM_POSITION_E: *x = east; *y = lat; break; case GF_ITEM_POSITION_SW: *x = west; *y = south; break; case GF_ITEM_POSITION_S: *x = lon; *y = south; break; case GF_ITEM_POSITION_SE: *x = east; *y = south; break; default: *x = 0; *y = 0; break; } } const gchar * gf_item_type_to_string(GfItemType type, gboolean i18n) { g_return_val_if_fail(type < GF_ITEM_TYPE_UNKNOWN, NULL); g_return_val_if_fail(type >= 0, NULL); if(i18n) return _(items_i18n[type]); else return items_norm[type]; } GfItemType gf_item_type_from_string(const gchar *string, gboolean i18n) { gint i; const gchar *val; g_return_val_if_fail(string, GF_ITEM_TYPE_UNKNOWN); for(i = 0; i < GF_ITEM_TYPE_UNKNOWN; i++) { if(i18n) val = _(items_i18n[i]); else val = items_norm[i]; if(!val) return GF_ITEM_TYPE_UNKNOWN; if(!g_ascii_strcasecmp(string, val)) return i; } return GF_ITEM_TYPE_UNKNOWN; } const gchar * gf_item_position_to_string(GfItemPosition position, gboolean i18n) { g_return_val_if_fail(position < GF_ITEM_POSITION_UNKNOWN, NULL); g_return_val_if_fail(position >= 0, NULL); if(i18n) return _(positions_i18n[position]); else return positions_norm[position]; } GfItemPosition gf_item_position_from_string(const gchar *position, gboolean i18n) { gint i; const gchar *val; g_return_val_if_fail(position, GF_ITEM_POSITION_UNKNOWN); for(i = 0; i < GF_ITEM_POSITION_UNKNOWN; i++) { if(i18n) val = _(positions_i18n[i]); else val = positions_norm[i]; if(!val) return GF_ITEM_POSITION_UNKNOWN; if(!g_ascii_strcasecmp(val, position)) return i; } return GF_ITEM_POSITION_UNKNOWN; } GfItem * gf_item_new(GfNotification *notification) { GfItem *item; g_return_val_if_fail(notification, NULL); item = g_new0(GfItem, 1); item->notification = notification; return item; } GfItem * gf_item_new_from_xmlnode(GfNotification *notification, xmlnode *node) { GfItem *item; xmlnode *child; g_return_val_if_fail(node, NULL); g_return_val_if_fail(notification, NULL); item = gf_item_new(notification); if(!item) return NULL; item->type = gf_item_type_from_string(xmlnode_get_attrib(node, "type"), FALSE); if(item->type == GF_ITEM_TYPE_UNKNOWN) { purple_debug_info("Guifications", "** Error: unknown item type\n"); gf_item_destroy(item); return NULL; } if((child = xmlnode_get_child(node, "position"))) { item->position = gf_item_position_from_string(xmlnode_get_attrib(child, "value"), FALSE); if(item->position == GF_ITEM_POSITION_UNKNOWN) { purple_debug_info("Guifications", "** Error: invalid position\n"); gf_item_destroy(item); return NULL; } } else { /* if we don't have a position we drop the item */ purple_debug_info("Guifications", "** Error: no positioning found for item\n"); gf_item_destroy(item); return NULL; } /* if we don't have an offset node, we create it anyways so it can be * changed in the theme editor. */ if((child = xmlnode_get_child(node, "h_offset"))) item->h_offset = gf_item_offset_new_from_xmlnode(item, child); if(!item->h_offset) item->h_offset = gf_item_offset_new(item); if((child = xmlnode_get_child(node, "v_offset"))) item->v_offset = gf_item_offset_new_from_xmlnode(item, child); if(!item->v_offset) item->v_offset = gf_item_offset_new(item); switch(item->type) { case GF_ITEM_TYPE_ICON: if((child = xmlnode_get_child(node, "icon"))) { item->u.icon = gf_item_icon_new_from_xmlnode(item, child); if(!item->u.icon) { gf_item_destroy(item); return NULL; } } else { purple_debug_info("Guifications", "** Error loading icon item: 'No icon element found'\n"); gf_item_destroy(item); return NULL; } break; case GF_ITEM_TYPE_IMAGE: if((child = xmlnode_get_child(node, "image"))) { item->u.image = gf_item_image_new_from_xmlnode(item, child); if(!item->u.image) { gf_item_destroy(item); return NULL; } } else { purple_debug_info("Guifications", "** Error loading image item: 'No image element found'\n"); gf_item_destroy(item); return NULL; } break; case GF_ITEM_TYPE_TEXT: if((child = xmlnode_get_child(node, "text"))) { item->u.text = gf_item_text_new_from_xmlnode(item, child); if(!item->u.text) { gf_item_destroy(item); return NULL; } } else { purple_debug_info("Guifications", "** Error loading text item: 'No text element found'\n"); gf_item_destroy(item); return NULL; } break; case GF_ITEM_TYPE_UNKNOWN: default: purple_debug_info("Guifications", "** Error loading item: 'Unknown item type'\n"); gf_item_destroy(item); return NULL; break; } return item; } GfItem * gf_item_copy(GfItem *item) { GfItem *new_item; g_return_val_if_fail(item, NULL); new_item = gf_item_new(item->notification); new_item->type = item->type; new_item->position = item->position; new_item->h_offset = gf_item_offset_copy(item->h_offset); new_item->v_offset = gf_item_offset_copy(item->v_offset); if(item->type == GF_ITEM_TYPE_ICON) new_item->u.icon = gf_item_icon_copy(item->u.icon); else if(item->type == GF_ITEM_TYPE_ICON) new_item->u.image = gf_item_image_copy(item->u.image); else if(item->type == GF_ITEM_TYPE_TEXT) new_item->u.text = gf_item_text_copy(item->u.text); else { gf_item_destroy(new_item); new_item = NULL; } return new_item; } xmlnode * gf_item_to_xmlnode(GfItem *item) { gchar *offset; xmlnode *parent, *child; parent = xmlnode_new("item"); xmlnode_set_attrib(parent, "type", gf_item_type_to_string(item->type, FALSE)); child = xmlnode_new_child(parent, "position"); xmlnode_set_attrib(child, "value", gf_item_position_to_string(item->position, FALSE)); child = xmlnode_new_child(parent, "h_offset"); offset = g_strdup_printf("%d%s", gf_item_offset_get_value(item->h_offset), gf_item_offset_get_is_percentage(item->h_offset) ? "%" : ""); xmlnode_set_attrib(child, "value", offset); g_free(offset); child = xmlnode_new_child(parent, "v_offset"); offset = g_strdup_printf("%d%s", gf_item_offset_get_value(item->v_offset), gf_item_offset_get_is_percentage(item->v_offset) ? "%" : ""); xmlnode_set_attrib(child, "value", offset); g_free(offset); switch(item->type) { case GF_ITEM_TYPE_ICON: child = gf_item_icon_to_xmlnode(item->u.icon); break; case GF_ITEM_TYPE_IMAGE: child = gf_item_image_to_xmlnode(item->u.image); break; case GF_ITEM_TYPE_TEXT: child = gf_item_text_to_xmlnode(item->u.text); break; case GF_ITEM_TYPE_UNKNOWN: default: child = NULL; } if(child) xmlnode_insert_child(parent, child); return parent; } void gf_item_destroy(GfItem *item) { g_return_if_fail(item); if(item->h_offset) { gf_item_offset_destroy(item->h_offset); item->h_offset = NULL; } if(item->v_offset) { gf_item_offset_destroy(item->v_offset); item->v_offset = NULL; } if(item->type == GF_ITEM_TYPE_ICON && item->u.icon) { gf_item_icon_destroy(item->u.icon); item->u.icon = NULL; } if(item->type == GF_ITEM_TYPE_IMAGE && item->u.image) { gf_item_image_destroy(item->u.image); item->u.image = NULL; } if(item->type == GF_ITEM_TYPE_TEXT && item->u.text) { gf_item_text_destroy(item->u.text); item->u.text = NULL; } g_free(item); item = NULL; } void gf_item_set_type(GfItem *item, GfItemType type) { g_return_if_fail(item); g_return_if_fail(type != GF_ITEM_TYPE_UNKNOWN); item->type = type; } GfItemType gf_item_get_type(GfItem *item) { g_return_val_if_fail(item, GF_ITEM_TYPE_UNKNOWN); return item->type; } void gf_item_set_notification(GfItem *item, GfNotification *notification) { g_return_if_fail(item); g_return_if_fail(notification); item->notification = notification; } GfNotification * gf_item_get_notification(GfItem *item) { g_return_val_if_fail(item, NULL); return item->notification; } void gf_item_set_horz_offset(GfItem *item, GfItemOffset *offset) { g_return_if_fail(item); g_return_if_fail(offset); item->h_offset = offset; } GfItemOffset * gf_item_get_horz_offset(GfItem *item) { g_return_val_if_fail(item, NULL); return item->h_offset; } void gf_item_set_vert_offset(GfItem *item, GfItemOffset *offset) { g_return_if_fail(item); g_return_if_fail(offset); item->v_offset = offset; } GfItemOffset * gf_item_get_vert_offset(GfItem *item) { g_return_val_if_fail(item, NULL); return item->v_offset; } void gf_item_set_position(GfItem *item, GfItemPosition position) { g_return_if_fail(item); g_return_if_fail(position != GF_ITEM_POSITION_UNKNOWN); item->position = position; } GfItemPosition gf_item_get_position(GfItem *item) { g_return_val_if_fail(item, GF_ITEM_POSITION_UNKNOWN); return item->position; } static void gf_item_free_old_subtype(GfItem *item) { if(item->type == GF_ITEM_TYPE_ICON && item->u.icon) gf_item_icon_destroy(item->u.icon); else if(item->type == GF_ITEM_TYPE_IMAGE && item->u.image) gf_item_image_destroy(item->u.image); else if(item->type == GF_ITEM_TYPE_TEXT && item->u.text) gf_item_text_destroy(item->u.text); } void gf_item_set_item_icon(GfItem *item, GfItemIcon *icon) { g_return_if_fail(item); g_return_if_fail(icon); gf_item_free_old_subtype(item); item->u.icon = icon; } GfItemIcon * gf_item_get_item_icon(GfItem *item) { g_return_val_if_fail(item->type == GF_ITEM_TYPE_ICON, NULL); return item->u.icon; } void gf_item_set_item_image(GfItem *item, GfItemImage *image) { g_return_if_fail(item); g_return_if_fail(image); gf_item_free_old_subtype(item); item->u.image = image; } GfItemImage * gf_item_get_item_image(GfItem *item) { g_return_val_if_fail(item->type == GF_ITEM_TYPE_IMAGE, NULL); return item->u.image; } void gf_item_set_item_text(GfItem *item, GfItemText *text) { g_return_if_fail(item); g_return_if_fail(text); gf_item_free_old_subtype(item); item->u.text = text; } GfItemText * gf_item_get_item_text(GfItem *item) { g_return_val_if_fail(item->type == GF_ITEM_TYPE_TEXT, NULL); return item->u.text; } void gf_item_render(GfItem *item, GdkPixbuf *pixbuf, GfEventInfo *info) { g_return_if_fail(item); g_return_if_fail(pixbuf); g_return_if_fail(info); switch(item->type) { case GF_ITEM_TYPE_ICON: gf_item_icon_render(item->u.icon, pixbuf, info); break; case GF_ITEM_TYPE_TEXT: gf_item_text_render(item->u.text, pixbuf, info); break; case GF_ITEM_TYPE_IMAGE: gf_item_image_render(item->u.image, pixbuf, info); break; default: break; } }; void gf_items_swap(GfItem *item1, GfItem *item2) { GfItem *item = NULL; GList *l = NULL, *l1 = NULL, *l2 = NULL; g_return_if_fail(item1); g_return_if_fail(item2); g_return_if_fail(item1->notification == item2->notification); for(l = gf_notification_get_items(item1->notification); l; l = l->next) { if(l->data == item1) l1 = l; if(l->data == item2) l2 = l; } g_return_if_fail(l1); g_return_if_fail(l2); item = l1->data; l1->data = l2->data; l2->data = item; } pidgin-guifications-2.16/src/gf_file.h0000644000175000017500000000224510731276755014672 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_FILE_H #define GF_FILE_H #include G_BEGIN_DECLS gboolean gf_file_copy_file(const gchar *source, const gchar *dest); gboolean gf_file_copy_directory(const gchar *source, const gchar *destination); void gf_file_remove_dir(const gchar *directory); gint gf_file_access(const gchar *filename, gint mode); G_END_DECLS #endif /* GF_FILE_H */ pidgin-guifications-2.16/src/gf_display.c0000644000175000017500000010371610731311346015402 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef _WIN32 # include # include # include # include #else # ifndef WINVER # define WINVER 0x0500 /* This is Windows 2000 */ # endif /* WINVER */ # include typedef HMONITOR WINAPI GF_MonitorFromRect(LPCRECT,DWORD); typedef BOOL WINAPI GF_GetMonitorInfo(HMONITOR,LPMONITORINFO); #endif /* _WIN32 */ #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include #include #include "gf_action.h" #include "gf_event_info.h" #include "gf_notification.h" #include "gf_preferences.h" typedef enum { GF_DISPLAY_STATE_UNKNOWN = 0, GF_DISPLAY_STATE_SHOWING, GF_DISPLAY_STATE_SHOWN, GF_DISPLAY_STATE_HIDING, GF_DISPLAY_STATE_DESTROYED } GfDisplayState; struct _GfDisplay { /* Widgets */ GtkWidget *window; GtkWidget *event; GtkWidget *image; /* Display stuff */ GfDisplayState state; GdkPixbuf *pixbuf; GdkRectangle partial; gboolean has_alpha; gint height; gint width; gint x; gint y; /* Timer intervals */ gint anim_time; gint disp_time; /* Animation stuff */ gint round; gint rounds; /* Action stuff */ GfEventInfo *info; guint button; }; #include "gf_display.h" /******************************************************************************* * consts/macros ******************************************************************************/ #define GF_DISPLAY_ROUND(x) ((x)+0.5) static const double DELTA_SIZE = 1.333; static const gint DELTA_TIME = 33.33; /******************************************************************************* * Globals ******************************************************************************/ static GList *displays = NULL; static gboolean vertical, animate; static GfDisplayPosition position; #if GTK_CHECK_VERSION(2,2,0) static gint disp_screen = 0, disp_monitor = 0; #endif /* GTK_CHECK_VERSION(2,2,0) */ /******************************************************************************* * Prototypes... * * Yeah, I know they're bad, but sometimes you just can't avoid them... * * Well, I could, but it'd add more complication... ******************************************************************************/ static gboolean gf_display_shown_cb(gpointer data); static gboolean gf_display_animate_cb(gpointer data); /******************************************************************************* * Callbacks ******************************************************************************/ static gboolean gf_display_button_press_cb(GtkWidget *w, GdkEventButton *e, gpointer data) { GfDisplay *display = GF_DISPLAY(data); gint x = 0, y = 0; if(e->type == GDK_BUTTON_PRESS) { display->button = e->button; return TRUE; } else if(e->type == GDK_BUTTON_RELEASE) { GfAction *action = NULL; const gchar *pref = NULL; gdk_window_get_pointer(w->window, &x, &y, NULL); if(x < 0 || x > display->width || y < 0 || y > display->height) return FALSE; switch(display->button) { case 1: pref = GF_PREF_MOUSE_LEFT; break; case 2: pref = GF_PREF_MOUSE_MIDDLE; break; case 3: pref = GF_PREF_MOUSE_RIGHT; break; default: pref = NULL; break; } if(!pref) return FALSE; action = gf_action_find_with_name(purple_prefs_get_string(pref)); if(!action) return FALSE; gf_action_execute(action, display, e); return TRUE; } return FALSE; } /******************************************************************************* * Uses _NET_WORKAREA or SPI_GETWORKAREA to get the geometry of a screen ******************************************************************************/ #ifdef _WIN32 static gboolean win32_get_workarea_fallback(GdkRectangle *rect) { RECT rcWork; if (SystemParametersInfo(SPI_GETWORKAREA, 0, &rcWork, FALSE)) { rect->x = rcWork.left; rect->y = rcWork.top; rect->width = rcWork.right - rcWork.left; rect->height = rcWork.bottom - rcWork.top; return TRUE; } return FALSE; } /** * This will only work on Win98+ and Win2K+ */ static gboolean win32_adjust_workarea_multi_monitor(GdkRectangle *rect) { GF_GetMonitorInfo *the_GetMonitorInfo; GF_MonitorFromRect *the_MonitorFromRect; HMODULE hmod; HMONITOR monitor; MONITORINFO info; RECT monitorRect; gint virtual_screen_x, virtual_screen_y; monitorRect.left = rect->x; monitorRect.right = rect->x + rect->width; monitorRect.top = rect->y; monitorRect.bottom = rect->y + rect->height; /* Convert the coordinates so that 0, 0 is the top left of the Primary * Monitor, not the top left of the virtual screen */ virtual_screen_x = GetSystemMetrics(SM_XVIRTUALSCREEN); virtual_screen_y = GetSystemMetrics(SM_YVIRTUALSCREEN); if (virtual_screen_x != 0) { monitorRect.left += virtual_screen_x; monitorRect.right += virtual_screen_x; } if (virtual_screen_y != 0) { monitorRect.top += virtual_screen_y; monitorRect.bottom += virtual_screen_y; } if (!(hmod = GetModuleHandle("user32"))) { return FALSE; } if (!(the_MonitorFromRect = (GF_MonitorFromRect*) GetProcAddress(hmod, "MonitorFromRect"))) { return FALSE; } if (!(the_GetMonitorInfo = (GF_GetMonitorInfo*) GetProcAddress(hmod, "GetMonitorInfoA"))) { return FALSE; } monitor = the_MonitorFromRect(&monitorRect, MONITOR_DEFAULTTONEAREST); info.cbSize = sizeof(info); if (!the_GetMonitorInfo(monitor, &info)) { return FALSE; } rect->x = info.rcWork.left; rect->y = info.rcWork.top; rect->width = info.rcWork.right - info.rcWork.left; rect->height = info.rcWork.bottom - info.rcWork.top; /** Convert the coordinates so that 0, 0 is the top left of the virtual screen, * not the top left of the primary monitor */ if (virtual_screen_x != 0) { rect->x += -virtual_screen_x; } if (virtual_screen_y != 0) { rect->y += -virtual_screen_y; } return TRUE; } static void win32_adjust_workarea(GdkRectangle *rect) { if (!win32_adjust_workarea_multi_monitor(rect)) { if (!win32_get_workarea_fallback(rect)) { /* I don't think this will ever happen */ rect->x = 0; rect->y = 0; rect->height = GetSystemMetrics(SM_CXSCREEN); rect->width = GetSystemMetrics(SM_CYSCREEN); } } } #endif /** _WIN32 */ gboolean gf_display_get_workarea(GdkRectangle *rect) { #ifndef _WIN32 Atom xa_desktops, xa_current, xa_workarea, xa_type; Display *x_display; Window x_root; guint32 desktops = 0, current = 0; gulong *workareas, len, fill; guchar *data; gint format; # if !GTK_CHECK_VERSION(2,2,0) x_display = GDK_DISPLAY(); x_root = XDefaultRootWindow(x_display); # else /* GTK 2.2.0 and up */ GdkDisplay *g_display; GdkScreen *g_screen; Screen *x_screen; /* get the gdk display */ g_display = gdk_display_get_default(); if(!g_display) return FALSE; /* get the x display from the gdk display */ x_display = gdk_x11_display_get_xdisplay(g_display); if(!x_display) return FALSE; /* get the screen according to the prefs */ g_screen = gdk_display_get_screen(g_display, disp_screen); if(!g_screen) return FALSE; /* get the x screen from the gdk screen */ x_screen = gdk_x11_screen_get_xscreen(g_screen); if(!x_screen) return FALSE; /* get the root window from the screen */ x_root = XRootWindowOfScreen(x_screen); # endif /* !GTK_CHECK_VERSION(2,2,0) */ /* find the _NET_NUMBER_OF_DESKTOPS atom */ xa_desktops = XInternAtom(x_display, "_NET_NUMBER_OF_DESKTOPS", True); if(xa_desktops == None) return FALSE; /* get the number of desktops */ if(XGetWindowProperty(x_display, x_root, xa_desktops, 0, 1, False, XA_CARDINAL, &xa_type, &format, &len, &fill, &data) != Success) { return FALSE; } if(!data) return FALSE; desktops = *(guint32 *)data; XFree(data); /* find the _NET_CURRENT_DESKTOP atom */ xa_current = XInternAtom(x_display, "_NET_CURRENT_DESKTOP", True); if(xa_current == None) return FALSE; /* get the current desktop */ if(XGetWindowProperty(x_display, x_root, xa_current, 0, 1, False, XA_CARDINAL, &xa_type, &format, &len, &fill, &data) != Success) { return FALSE; } if(!data) return FALSE; current = *(guint32 *)data; XFree(data); /* find the _NET_WORKAREA atom */ xa_workarea = XInternAtom(x_display, "_NET_WORKAREA", True); if(xa_workarea == None) return FALSE; if(XGetWindowProperty(x_display, x_root, xa_workarea, 0, (glong)(4 * 32), False, AnyPropertyType, &xa_type, &format, &len, &fill, &data) != Success) { return FALSE; } /* make sure the type and format are good */ if(xa_type == None || format == 0) return FALSE; /* make sure we don't have any leftovers */ if(fill) return FALSE; /* make sure len divides evenly by 4 */ if(len % 4) return FALSE; /* it's good, lets use it */ workareas = (gulong *)(guint32 *)data; rect->x = (guint32)workareas[current * 4]; rect->y = (guint32)workareas[current * 4 + 1]; rect->width = (guint32)workareas[current * 4 + 2]; rect->height = (guint32)workareas[current * 4 + 3]; /* clean up our memory */ XFree(data); #else GdkDisplay *display; GdkScreen *screen; display = gdk_display_get_default(); screen = gdk_display_get_screen(display, disp_screen); gdk_screen_get_monitor_geometry(screen, disp_monitor, rect); win32_adjust_workarea(rect); #endif /* _WIN32 */ return TRUE; } /******************************************************************************* * Gtk 2.0.0 stuff * * This is the default behavior of 2.0 and 1.x ******************************************************************************/ #if !GTK_CHECK_VERSION(2,2,0) static void gf_display_get_geometry(gint *x, gint *y, gint *width, gint *height) { *x = *y = 0; *width = gdk_screen_width(); *height = gdk_screen_height(); } static void gf_display_shape(GfDisplay *display) { if(display->has_alpha) { GdkBitmap *bitmap = NULL; GdkPixbuf *pixbuf; if(display->state == GF_DISPLAY_STATE_SHOWING || display->state == GF_DISPLAY_STATE_HIDING) { pixbuf = gtk_image_get_pixbuf(GTK_IMAGE(display->image)); if(!pixbuf) { /* image has no pixbuf.. so we have no business continuing */ return; } } else { pixbuf = display->pixbuf; } gdk_pixbuf_render_pixmap_and_mask(pixbuf, NULL, &bitmap, 255); if(bitmap) { gtk_widget_shape_combine_mask(display->window, bitmap, 0, 0); g_object_unref(G_OBJECT(bitmap)); } } } static void gf_display_move(GfDisplay *display) { gtk_window_move(GTK_WINDOW(display->window), display->x, display->y); } #else /* !GTK_CHECK_VERSION(2,2,0) */ /******************************************************************************* * Gtk 2.2.0 and up stuff * * Allows users to specify which screen to display the notifications on and * in the case of xinerama, to position it correctly ******************************************************************************/ static void gf_display_get_geometry(gint *x, gint *y, gint *width, gint *height) { GdkDisplay *display; GdkScreen *screen; GdkRectangle geo, m_geo, w_geo; display = gdk_display_get_default(); screen = gdk_display_get_screen(display, disp_screen); gdk_screen_get_monitor_geometry(screen, disp_monitor, &m_geo); if(gf_display_get_workarea(&w_geo)) { gdk_rectangle_intersect(&w_geo, &m_geo, &geo); } else { geo.x = m_geo.x; geo.y = m_geo.y; geo.width = m_geo.width; geo.height = m_geo.height; } *x = geo.x; *y = geo.y; *width = geo.width; *height = geo.height; } static void gf_display_shape(GfDisplay *display) { if(display->has_alpha) { GdkBitmap *bmap; GdkColormap *cmap; GdkPixbuf *pixbuf; GdkScreen *screen; screen = gdk_display_get_screen(gdk_display_get_default(), disp_screen); cmap = gdk_screen_get_system_colormap(screen); if(display->state == GF_DISPLAY_STATE_SHOWING || display->state == GF_DISPLAY_STATE_HIDING) { pixbuf = gtk_image_get_pixbuf(GTK_IMAGE(display->image)); if(!pixbuf) { /* image has no pixbuf.. so we have no business continuing */ return; } } else { pixbuf = display->pixbuf; } gdk_pixbuf_render_pixmap_and_mask_for_colormap(pixbuf, cmap, NULL, &bmap, 255); if(bmap) { gtk_widget_shape_combine_mask(display->window, bmap, 0, 0); g_object_unref(G_OBJECT(bmap)); } } } static void gf_display_move(GfDisplay *display) { GdkScreen *screen_t, *screen_s; screen_t = gdk_display_get_screen(gdk_display_get_default(), disp_screen); screen_s = gtk_window_get_screen(GTK_WINDOW(display->window)); if(gdk_screen_get_number(screen_s) != gdk_screen_get_number(screen_t)) { if(display->has_alpha) gtk_widget_shape_combine_mask(display->window, NULL, 0, 0); gtk_window_set_screen(GTK_WINDOW(display->window), screen_t); if(display->has_alpha) gf_display_shape(display); } gtk_window_move(GTK_WINDOW(display->window), display->x, display->y); } gint gf_display_get_default_screen() { GdkScreen *screen; screen = gdk_screen_get_default(); return gdk_screen_get_number(screen); } gint gf_display_get_screen_count() { return gdk_display_get_n_screens(gdk_display_get_default()) - 1; } gint gf_display_get_default_monitor() { return 0; } gint gf_display_get_monitor_count() { GdkDisplay *display; GdkScreen *screen = NULL; gint screens = 0, monitors = 0, i = 0; display = gdk_display_get_default(); screens = gdk_display_get_n_screens(display); for(i = 0; i < screens; i++) { screen = gdk_display_get_screen(display, i); monitors = MAX(monitors, gdk_screen_get_n_monitors(screen)); } return monitors - 1; } #endif /* GTK_CHECK_VERSION(2,2,0) */ /******************************************************************************* * The normal code (tm) ******************************************************************************/ static void gf_display_position(GfDisplay *new_display) { GfDisplay *display; GList *l = NULL; gint pad_x = 0, pad_y = 0; gint disp_width = 0, disp_height = 0; gint width = 0, height = 0; gint total = 0; g_return_if_fail(new_display); gf_display_get_geometry(&pad_x, &pad_y, &width, &height); for(l = displays; l; l = l->next) { display = GF_DISPLAY(l->data); if(display == new_display) break; if(vertical) total += display->height; else total += display->width; } if(new_display->state == GF_DISPLAY_STATE_SHOWING || new_display->state == GF_DISPLAY_STATE_HIDING) { disp_width = new_display->partial.width; disp_height = new_display->partial.height; } else { disp_width = new_display->width; disp_height = new_display->height; } /* set the correct size for the window */ gtk_widget_set_size_request(new_display->window, disp_width, disp_height); switch(position) { case GF_DISPLAY_POSITION_NW: if(vertical) { new_display->x = pad_x; new_display->y = pad_y + total; } else { new_display->x = pad_x + total; new_display->y = pad_y; } break; case GF_DISPLAY_POSITION_NE: if(vertical) { new_display->x = pad_x + width - disp_width; new_display->y = pad_y + total; } else { new_display->x = pad_x + width - (total + disp_width); new_display->y = pad_y; } break; case GF_DISPLAY_POSITION_SW: if(vertical) { new_display->x = pad_x; new_display->y = pad_y + height - (total + disp_height); } else { new_display->x = pad_x + total; new_display->y = pad_y + height - (disp_height); } break; case GF_DISPLAY_POSITION_SE: if(vertical) { new_display->x = pad_x + width - disp_width; new_display->y = pad_y + height - (total + disp_height); } else { new_display->x = pad_x + width - (total + disp_width); new_display->y = pad_y + height - disp_height; } break; default: break; } gf_display_move(new_display); } static void gf_displays_position() { GfDisplay *display; GList *l; for(l = displays; l; l = l->next) { display = GF_DISPLAY(l->data); gf_display_position(display); } } GfDisplay * gf_display_new() { GfDisplay *display; display = g_new0(GfDisplay, 1); return display; } void gf_display_destroy(GfDisplay *display) { g_return_if_fail(display); displays = g_list_remove(displays, display); if(display->window) { gtk_widget_destroy(display->window); display->window = NULL; } if(display->pixbuf) { g_object_unref(G_OBJECT(display->pixbuf)); display->pixbuf = NULL; } if(display->info) { gf_event_info_destroy(display->info); display->info = NULL; } g_free(display); display = NULL; gf_displays_position(); } static gboolean gf_display_shown_cb(gpointer data) { GfDisplay *display = GF_DISPLAY(data); guint timeout_id; /* in case something wicked happened */ g_return_val_if_fail(display, FALSE); display->state = GF_DISPLAY_STATE_HIDING; timeout_id = g_timeout_add(DELTA_TIME, gf_display_animate_cb, data); gf_event_info_set_timeout_id(display->info, timeout_id); return FALSE; } static gint gf_display_calculate_change(GfDisplay *display, gint maximum) { /* This function calculates an an exponential change. * * It's a basic scalable exponential movement formula, given to us by * Nathaniel Waters. */ gint ret; /* this could probably use some type casting somewhere.. */ ret = GF_DISPLAY_ROUND(((gdouble)maximum / pow(DELTA_SIZE, display->rounds)) * pow(DELTA_SIZE, display->round)); return ret; } static gboolean gf_display_animate(GfDisplay *display) { GdkPixbuf *pixbuf; GdkRectangle full; gint total, current; gboolean ret = TRUE; /* figure out what we're modifing */ if(vertical) total = display->height; else total = display->width; /* calculate the change */ current = gf_display_calculate_change(display, total); /* create our rects */ full.x = 0; full.y = 0; full.width = display->width; full.height = display->height; /* ugh too many possibilities */ switch(position) { case GF_DISPLAY_POSITION_NW: if(vertical) { display->partial.x = full.x; display->partial.y = full.height - current; display->partial.width = full.width; display->partial.height = current; } else { display->partial.x = full.width - current; display->partial.y = full.y; display->partial.width = current; display->partial.height = full.height; } break; case GF_DISPLAY_POSITION_NE: if(vertical) { display->partial.x = full.x; display->partial.y = full.y; display->partial.width = full.width; display->partial.height = current; } else { display->partial.x = full.x; display->partial.y = full.y; display->partial.width = current; display->partial.height = full.height; } break; case GF_DISPLAY_POSITION_SW: if(vertical) { display->partial.x = full.x; display->partial.y = full.y; display->partial.width = full.width; display->partial.height = current; } else { display->partial.x = full.width - current; display->partial.y = full.y; display->partial.width = current; display->partial.height = full.height; } break; case GF_DISPLAY_POSITION_SE: if(vertical) { display->partial.x = full.x; display->partial.y = full.y; display->partial.width = full.width; display->partial.height = current; } else { display->partial.x = full.x; display->partial.y = full.y; display->partial.width = current; display->partial.height = full.height; } break; default: display->partial.x = full.x; display->partial.y = full.y; display->partial.width = full.width; display->partial.height = full.height; break; } /* Add some sanity checks */ if(display->partial.width <= 0) display->partial.width = 1; if(display->partial.height <= 0) display->partial.height = 1; /* create our partial pixbuf and fill it */ pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, display->has_alpha, 8, display->partial.width, display->partial.height); if(!pixbuf) { purple_debug_info("guifications", "failed to created partial pixbuf, " "destroying display %p\n", display); gf_display_destroy(display); return FALSE; } gdk_pixbuf_copy_area(display->pixbuf, display->partial.x, display->partial.y, display->partial.width, display->partial.height, pixbuf, 0, 0); /* force the image and event box to be the same size as the partial * pixbuf */ gtk_widget_set_size_request(display->image, display->partial.width, display->partial.height); gtk_widget_set_size_request(display->event, display->partial.width, display->partial.height); /* update the image's pixbuf */ gtk_image_set_from_pixbuf(GTK_IMAGE(display->image), pixbuf); /* unref the partial pixbuf */ g_object_unref(G_OBJECT(pixbuf)); /* update the display and force gdk to redraw it */ gf_display_shape(display); gf_display_position(display); gdk_window_process_updates(GDK_WINDOW(display->window->window), TRUE); /* Finish up */ if(display->state == GF_DISPLAY_STATE_SHOWING) { display->round++; if(display->round > display->rounds) { guint timeout_id; /* set rounds back to the max */ display->round = display->rounds - 1; display->state = GF_DISPLAY_STATE_SHOWN; timeout_id = gtk_timeout_add(display->disp_time, gf_display_shown_cb, (gpointer)display); gf_event_info_set_timeout_id(display->info, timeout_id); ret = FALSE; } } else { /* if(display->state == GF_DISPLAY_STATE_HIDING) { */ display->round--; if(display->round <= 0) { gf_display_destroy(display); ret = FALSE; } } return ret; } static gboolean gf_display_animate_cb(gpointer data) { GfDisplay *display = GF_DISPLAY(data); gboolean ret; /* in the event something wicked happened... */ g_return_val_if_fail(display, FALSE); /* we call a function to do our animation here to modularize the process * so we can do other types of animation, like fading depending on other * conditions. These conditions should be checked here, and then called * accordingly. * * The animation function should return a boolean so we can tell the * timer handler whether or not to keep the timer around. */ ret = gf_display_animate(display); return ret; } static gboolean gf_display_destroy_cb(gpointer data) { GfDisplay *display = GF_DISPLAY(data); gf_display_destroy(display); return FALSE; } /* Yes this big ugly function has a purpose... * It checks for existing notification from the same buddy, or conv with * with the same target, and condenses contacts. * * It returns TRUE if the new notification/event should be destroyed because * theres a matching notification that has a higher priority than the new * notification/event */ static gboolean gf_display_condense(GfEventInfo *info) { GfDisplay *display = NULL; GfEvent *event1 = NULL, *event2 = NULL; GfEventPriority priority1, priority2; PurpleBuddy *buddy1 = NULL, *buddy2 = NULL; PurpleContact *contact1 = NULL, *contact2 = NULL; PurpleConversation *conv1 = NULL, *conv2 = NULL; GList *l = NULL, *ll = NULL; gchar *ck1 = NULL, *ck2 = NULL; const gchar *target1 = NULL, *target2 = NULL; gboolean ret = FALSE; event1 = gf_event_info_get_event(info); priority1 = gf_event_get_priority(event1); buddy1 = gf_event_info_get_buddy(info); conv1 = gf_event_info_get_conversation(info); target1 = gf_event_info_get_target(info); if(buddy1) contact1 = purple_buddy_get_contact(buddy1); if(target1) ck1 = g_utf8_collate_key(target1, -1); for(l = displays; l; l = ll) { display = GF_DISPLAY(l->data); ll = l->next; event2 = gf_event_info_get_event(display->info); priority2 = gf_event_get_priority(event2); conv2 = gf_event_info_get_conversation(display->info); if(buddy1) { buddy2 = gf_event_info_get_buddy(display->info); /* check contacts */ if(buddy2) { contact2 = purple_buddy_get_contact(buddy2); if(contact1 && contact1 == contact2) { ck2 = g_utf8_collate_key(buddy2->name, -1); if(!(buddy1->account == buddy2->account && !strcmp(ck1, ck2))) { if(priority1 >= priority2) { gf_event_info_set_is_contact(info, TRUE); gf_display_destroy(display); continue; } else { ret = TRUE; break; } } g_free(ck2); } } /* check for duplicate buddies */ if(buddy1 == buddy2) { if(priority1 >= priority2) { gf_display_destroy(display); continue; } else { ret = TRUE; break; } } } /* check for duplicate targets from the same conv */ if(ck1 && conv1 && conv1 == conv2) { target2 = gf_event_info_get_target(display->info); if(target2) ck2 = g_utf8_collate_key(target2, -1); if(ck2 && !strcmp(ck1, ck2)) { g_free(ck2); if(priority1 >= priority2) { gf_display_destroy(display); continue; } else { ret = TRUE; break; } } } } if(ck1) g_free(ck1); /* we only check the stack count if ret is true, because that means one * has been removed, so we have space. */ if(ret == FALSE) { gint throttle = purple_prefs_get_int(GF_PREF_BEHAVIOR_THROTTLE); if(throttle > 0 && g_list_length(displays) + 1 > throttle) { display = GF_DISPLAY(g_list_nth_data(displays, 0)); if(display) gf_display_destroy(display); gf_displays_position(); } } return ret; } gboolean gf_display_screen_saver_is_running() { gboolean ret = FALSE; #ifndef _WIN32 static Atom xss, locked, blanked; static gboolean init = FALSE; Atom ratom; gint rtatom; guchar *data = NULL; gulong items, padding; if(!init) { xss = XInternAtom(GDK_DISPLAY(),"_SCREENSAVER_STATUS", FALSE); locked = XInternAtom(GDK_DISPLAY(), "LOCK", FALSE); blanked = XInternAtom(GDK_DISPLAY(), "BLANK", FALSE); init = TRUE; } if(XGetWindowProperty(GDK_DISPLAY(), GDK_ROOT_WINDOW(), xss, 0, 999, FALSE, XA_INTEGER, &ratom, &rtatom, &items, &padding, &data) == Success) { if(ratom == XA_INTEGER || items >= 3) { guint *item_data = (guint *)data; if(item_data[0] == locked || item_data[0] == blanked) ret = TRUE; } XFree(data); } #else if(!SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, (unsigned int) NULL, &ret, FALSE)) { ret = FALSE; } #endif /* _WIN32 */ return ret; } void gf_display_show_event(GfEventInfo *info, GfNotification *notification) { GfDisplay *display = NULL; gint display_time; guint timeout_id = 0; g_return_if_fail(info); /* Here we kill the notification if the screen saver is running */ if(gf_display_screen_saver_is_running()) { gf_event_info_destroy(info); return; } /* we should never make it here with out a notification, but just in * case we do.... */ if(!notification) { const gchar *event_name = gf_event_get_name(gf_event_info_get_event(info)); purple_debug_info("Guifications", "could not find a notification for the event \"%s\"\n", event_name ? event_name : ""); return; } /* condense contacts and same buddy notifications, a return value of TRUE * means theres a higher priority notification already being displayed */ if(gf_display_condense(info)) { gf_event_info_destroy(info); return; } /* create the display */ display = gf_display_new(); display->info = info; /* Render the pixbuf, if we get NULL destroy the display and return */ display->pixbuf = gf_notification_render(notification, display->info); if(!display->pixbuf) { GfTheme *theme = gf_notification_get_theme(notification); GfThemeInfo *info = gf_theme_get_theme_info(theme); purple_debug_info("Guifications", "render '%s' failed for theme '%s'\n", gf_notification_get_type(notification), gf_theme_info_get_name(info)); gf_display_destroy(display); return; } /* grab info about the pixbuf */ display->has_alpha = gdk_pixbuf_get_has_alpha(display->pixbuf); display->height = gdk_pixbuf_get_height(display->pixbuf); display->width = gdk_pixbuf_get_width(display->pixbuf); /* if we've made it this far, we can create the window safely */ display->window = gtk_window_new(GTK_WINDOW_POPUP); gtk_window_set_role(GTK_WINDOW(display->window), "guification"); /* Create the event box, you know, so the mouse works! */ display->event = gtk_event_box_new(); if(!gtk_check_version(2,4,0)) g_object_set(G_OBJECT(display->event), "visible-window", FALSE, NULL); gtk_container_add(GTK_CONTAINER(display->window), display->event); /* now we create all our mouse signals that should play nice with * other apps.. */ g_signal_connect(G_OBJECT(display->window), "button-press-event", G_CALLBACK(gf_display_button_press_cb), (gpointer)display); g_signal_connect(G_OBJECT(display->window), "button-release-event", G_CALLBACK(gf_display_button_press_cb), (gpointer)display); /* create the image but don't put the pixbuf in it quite yet. */ display->image = gtk_image_new(); gtk_container_add(GTK_CONTAINER(display->event), display->image); /* grab the display time */ display_time = 1000 * purple_prefs_get_int(GF_PREF_BEHAVIOR_DISPLAY_TIME); /* animation is set, this is a new notification, so we animate it */ if(animate) { /* we explicitly set the size request because the window is created * with an image with no child, so it defaults to some insane size. */ gtk_widget_set_size_request(display->window, display->width, display->height); /* calculate our timer intervals. anim_time is used for showing and * hiding, so that's 2/8ths which is 1/4th. * * Remember display time is stored in seconds! */ display->anim_time = display_time / 8; display->disp_time = display_time * 3 / 4; /* Calculate and store some more information about animating */ display->rounds = GF_DISPLAY_ROUND((gfloat)display->anim_time / (gfloat)DELTA_TIME); display->round = 0; /* Set the state of the display */ display->state = GF_DISPLAY_STATE_SHOWING; /* setup a timeout of DELTA_TIME ms for animating */ timeout_id = g_timeout_add(DELTA_TIME, gf_display_animate_cb, (gpointer)display); } else { /* no animation! */ /* set the image since we're not animating */ gtk_image_set_from_pixbuf(GTK_IMAGE(display->image), display->pixbuf); /* shape it */ gf_display_shape(display); /* We're showing! */ display->state = GF_DISPLAY_STATE_SHOWN; /* build our timeout */ timeout_id = g_timeout_add(display_time, gf_display_destroy_cb, (gpointer)display); } gf_event_info_set_timeout_id(info, timeout_id); /* position and show the widget */ gf_display_position(display); gtk_widget_show_all(display->window); /* add the display to the list */ displays = g_list_append(displays, display); } GfEventInfo * gf_display_get_event_info(GfDisplay *display) { g_return_val_if_fail(display, NULL); return display->info; } static void gf_display_position_changed_cb(const gchar *name, PurplePrefType type, gconstpointer val, gpointer data) { vertical = purple_prefs_get_bool(GF_PREF_APPEARANCE_VERTICAL); position = purple_prefs_get_int(GF_PREF_APPEARANCE_POSITION); gf_displays_position(); } static void gf_display_animate_changed_cb(const gchar *name, PurplePrefType type, gconstpointer val, gpointer data) { animate = GPOINTER_TO_INT(val); } /******************************************************************************* * Pref callbacks for the display/screen/monitor stuff ******************************************************************************/ #if GTK_CHECK_VERSION(2,2,0) static void gf_display_screen_changed_cb(const gchar *name, PurplePrefType type, gconstpointer val, gpointer data) { disp_screen = GPOINTER_TO_INT(val); gf_item_text_uninit(); gf_displays_position(); gf_item_text_init(); } static void gf_display_monitor_changed_cb(const gchar *name, PurplePrefType type, gconstpointer val, gpointer data) { disp_monitor = GPOINTER_TO_INT(val); gf_displays_position(); } static guint scr_chg_id = 0, mon_chg_id = 0; #endif /* GTK_CHECK_VERSION(2,2,0) */ /******************************************************************************* * Regular pref callbacks ******************************************************************************/ static guint pos_chg_id = 0, ver_chg_id = 0, ani_chg_id = 0; void gf_display_init(PurplePlugin *plugin) { /* since we just use the callbacks to get the changes we need to know * what these are initially at. */ position = purple_prefs_get_int(GF_PREF_APPEARANCE_POSITION); vertical = purple_prefs_get_bool(GF_PREF_APPEARANCE_VERTICAL); animate = purple_prefs_get_bool(GF_PREF_APPEARANCE_ANIMATE); /* Connect our pref callbacks */ pos_chg_id = purple_prefs_connect_callback(plugin, GF_PREF_APPEARANCE_POSITION, gf_display_position_changed_cb, NULL); ver_chg_id = purple_prefs_connect_callback(plugin, GF_PREF_APPEARANCE_VERTICAL, gf_display_position_changed_cb, NULL); ani_chg_id = purple_prefs_connect_callback(plugin, GF_PREF_APPEARANCE_ANIMATE, gf_display_animate_changed_cb, NULL); #if GTK_CHECK_VERSION(2,2,0) /* setup our multi screen prefs */ disp_screen = purple_prefs_get_int(GF_PREF_ADVANCED_SCREEN); disp_monitor = purple_prefs_get_int(GF_PREF_ADVANCED_MONITOR); scr_chg_id = purple_prefs_connect_callback(plugin, GF_PREF_ADVANCED_SCREEN, gf_display_screen_changed_cb, NULL); mon_chg_id = purple_prefs_connect_callback(plugin, GF_PREF_ADVANCED_MONITOR, gf_display_monitor_changed_cb, NULL); #endif /* GTK_CHECK_VERSION(2,2,0) */ } void gf_display_uninit() { purple_prefs_disconnect_callback(pos_chg_id); purple_prefs_disconnect_callback(ver_chg_id); #if GTK_CHECK_VERSION(2,2,0) purple_prefs_disconnect_callback(scr_chg_id); purple_prefs_disconnect_callback(mon_chg_id); #endif /* GTK_CHECK_VERSION(2,2,0) */ } pidgin-guifications-2.16/src/gf_internal.h0000755000175000017500000000411210731311346015547 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_INTERNAL_H #define GF_INTERNAL_H #include #if GLIB_CHECK_VERSION(2,4,0) #include #else #include #include #define _(String) dgettext (GETTEXT_PACKAGE, String) #define Q_(String) g_strip_context ((String), dgettext (GETTEXT_PACKAGE, String)) #ifdef gettext_noop #define N_(String) gettext_noop (String) #else #define N_(String) (String) #endif #endif /* This works around the lack of G_GNUC_NULL_TERMINATED in old glib and the * lack of the NULL sentinel in GCC older than 4.0.0 and non-GCC compilers */ #ifndef G_GNUC_NULL_TERMINATED # if __GNUC__ >= 4 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) # else # define G_GNUC_NULL_TERMINATED # endif #endif #if GLIB_CHECK_VERSION(2,6,0) # include #endif /* GLIB_CHECK_VERSION(2,6,0) */ #ifdef _WIN32 # include #endif /* _WIN32 */ #if !GLIB_CHECK_VERSION(2,6,0) # define g_freopen freopen # define g_fopen fopen # define g_rmdir rmdir # define g_remove remove # define g_unlink unlink # define g_lstat lstat # define g_stat stat # define g_mkdir mkdir # define g_rename rename # define g_open open #endif /* !GLIB_CHECK_VERSION(2,6,0) */ #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif /* HAVE_CONFIG_H */ #endif pidgin-guifications-2.16/src/gf_item_image.c0000644000175000017500000001002110731311346016017 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include "gf_event_info.h" #include "gf_gtk_utils.h" #include "gf_item.h" #include "gf_notification.h" #include "gf_theme.h" struct _GfItemImage { GfItem *item; gchar *filename; }; #include "gf_item_image.h" void gf_item_image_destroy(GfItemImage *item_image) { g_return_if_fail(item_image); item_image->item = NULL; if(item_image->filename) { g_free(item_image->filename); item_image->filename = NULL; } g_free(item_image); item_image = NULL; } GfItemImage * gf_item_image_new(GfItem *item) { GfItemImage *item_image; g_return_val_if_fail(item, NULL); item_image = g_new0(GfItemImage, 1); item_image->item = item; return item_image; } GfItemImage * gf_item_image_new_from_xmlnode(GfItem *item, xmlnode *node) { GfItemImage *item_image; g_return_val_if_fail(item, NULL); g_return_val_if_fail(node, NULL); item_image = gf_item_image_new(item); item_image->filename = g_strdup(xmlnode_get_attrib(node, "filename")); if(!item_image) { purple_debug_info("Guifications", "** Error loading image item: 'Unknown filename'\n"); gf_item_image_destroy(item_image); return NULL; } return item_image; } GfItemImage * gf_item_image_copy(GfItemImage *image) { GfItemImage *new_image; g_return_val_if_fail(image, NULL); new_image = gf_item_image_new(image->item); if(image->filename) new_image->filename = g_strdup(image->filename); return new_image; } xmlnode * gf_item_image_to_xmlnode(GfItemImage *image) { xmlnode *parent; parent = xmlnode_new("image"); xmlnode_set_attrib(parent, "filename", image->filename); return parent; } void gf_item_image_set_item(GfItemImage *item_image, GfItem *item) { g_return_if_fail(item_image); g_return_if_fail(item); item_image->item = item; } GfItem * gf_item_image_get_item(GfItemImage *item_image) { g_return_val_if_fail(item_image, NULL); return item_image->item; } void gf_item_image_set_image(GfItemImage *item_image, const gchar *image) { g_return_if_fail(item_image); g_return_if_fail(image); item_image->filename = g_strdup(image); } const gchar * gf_item_image_get_image(GfItemImage *item_image) { g_return_val_if_fail(item_image, NULL); return item_image->filename; } void gf_item_image_render(GfItemImage *item_image, GdkPixbuf *pixbuf, GfEventInfo *info) { GfNotification *notification; GfTheme *theme; GdkPixbuf *image; gint x, y; gint width, height; gchar *filename; g_return_if_fail(item_image); g_return_if_fail(pixbuf); g_return_if_fail(info); notification = gf_item_get_notification(item_image->item); theme = gf_notification_get_theme(notification); filename = g_build_filename(gf_theme_get_path(theme), item_image->filename, NULL); image = gdk_pixbuf_new_from_file(filename, NULL); g_free(filename); if(!image) return; width = gdk_pixbuf_get_width(image); height = gdk_pixbuf_get_height(image); gf_item_get_render_position(&x, &y, width, height, gdk_pixbuf_get_width(pixbuf), gdk_pixbuf_get_height(pixbuf), item_image->item); gf_gtk_pixbuf_clip_composite(image, x, y, pixbuf); g_object_unref(G_OBJECT(image)); } pidgin-guifications-2.16/src/gf_gtk_utils.h0000644000175000017500000000322210731276755015754 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_GTK_UTILS_H #define GF_GTK_UTILS_H #include #include #include G_BEGIN_DECLS /* Color stuff */ guint32 gf_gtk_color_pixel_from_gdk(const GdkColor *color); void gf_gtk_color_pango_from_gdk(PangoColor *pango, const GdkColor *gdk); void gf_gtk_color_gdk_from_pango(GdkColor *gdk, const PangoColor *pango); /* Gtk Theme Stuff */ void gf_gtk_theme_get_bg_color(GdkColor *color); void gf_gtk_theme_get_fg_color(GdkColor *color); GdkPixmap *gf_gtk_theme_get_bg_pixmap(); PangoFontDescription *gf_gtk_theme_get_font(); /* Pixbuf Stuff */ void gf_gtk_pixbuf_tile(GdkPixbuf *dest, const GdkPixbuf *tile); void gf_gtk_pixbuf_clip_composite(const GdkPixbuf *src, gint x, gint y, GdkPixbuf *dest); /* Subsystem */ void gf_gtk_utils_init(); void gf_gtk_utils_uninit(); G_END_DECLS #endif /* GF_GTK_UTILS_H */ pidgin-guifications-2.16/src/gf_theme_ops.c0000644000175000017500000001124210731311346015710 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include struct _GfThemeOptions { gchar *date_format; gchar *time_format; gchar *warning; gchar *ellipsis; }; #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_theme_ops.h" #include #include GfThemeOptions * gf_theme_options_new() { GfThemeOptions *ops; ops = g_new0(GfThemeOptions, 1); ops->date_format = g_strdup("%x"); ops->time_format = g_strdup("%X"); ops->warning = g_strdup("N/A"); ops->ellipsis = g_strdup("..."); return ops; } GfThemeOptions * gf_theme_options_new_from_xmlnode(xmlnode *node) { GfThemeOptions *ops; xmlnode *child; gchar *data; g_return_val_if_fail(node, NULL); ops = gf_theme_options_new(); child = xmlnode_get_child(node, "date_format"); if(child && (data = xmlnode_get_data(child))) { gf_theme_options_set_date_format(ops, data); g_free(data); } child = xmlnode_get_child(node, "time_format"); if(child && (data = xmlnode_get_data(child))) { gf_theme_options_set_time_format(ops, data); g_free(data); } child = xmlnode_get_child(node, "warning"); if(child && (data = xmlnode_get_data(child))) { gf_theme_options_set_warning(ops, data); g_free(data); } child = xmlnode_get_child(node, "ellipsis"); if(child && (data = xmlnode_get_data(child))) { gf_theme_options_set_ellipsis(ops, data); g_free(data); } return ops; } xmlnode * gf_theme_options_to_xmlnode(GfThemeOptions *ops) { xmlnode *parent, *child; parent = xmlnode_new("options"); if(ops->date_format && strlen(ops->date_format)) { child = xmlnode_new_child(parent, "date_format"); xmlnode_insert_data(child, ops->date_format, strlen(ops->date_format)); } if(ops->time_format && strlen(ops->time_format)) { child = xmlnode_new_child(parent, "time_format"); xmlnode_insert_data(child, ops->time_format, strlen(ops->time_format)); } if(ops->warning && strlen(ops->warning)) { child = xmlnode_new_child(parent, "warning"); xmlnode_insert_data(child, ops->warning, strlen(ops->warning)); } if(ops->ellipsis && strlen(ops->ellipsis)) { child = xmlnode_new_child(parent, "ellipsis"); xmlnode_insert_data(child, ops->ellipsis, strlen(ops->ellipsis)); } return parent; } void gf_theme_options_destroy(GfThemeOptions *ops) { g_return_if_fail(ops); if(ops->date_format) g_free(ops->date_format); if(ops->time_format) g_free(ops->time_format); if(ops->warning) g_free(ops->warning); if(ops->ellipsis) g_free(ops->ellipsis); g_free(ops); ops = NULL; } void gf_theme_options_set_time_format(GfThemeOptions *ops, const gchar *format) { g_return_if_fail(ops); g_return_if_fail(format); if(ops->time_format) g_free(ops->time_format); ops->time_format = g_strdup(format); } const gchar * gf_theme_options_get_time_format(GfThemeOptions *ops) { g_return_val_if_fail(ops, NULL); return ops->time_format; } void gf_theme_options_set_date_format(GfThemeOptions *ops, const gchar *format) { g_return_if_fail(ops); g_return_if_fail(format); if(ops->date_format) g_free(ops->date_format); ops->date_format = g_strdup(format); } const gchar * gf_theme_options_get_date_format(GfThemeOptions *ops) { g_return_val_if_fail(ops, NULL); return ops->date_format; } void gf_theme_options_set_warning(GfThemeOptions *ops, const gchar *warning) { g_return_if_fail(ops); g_return_if_fail(warning); if(ops->warning) g_free(ops->warning); ops->warning = g_strdup(warning); } const gchar * gf_theme_options_get_warning(GfThemeOptions *ops) { g_return_val_if_fail(ops, NULL); return ops->warning; } void gf_theme_options_set_ellipsis(GfThemeOptions *ops, const gchar *ellipsis) { g_return_if_fail(ops); g_return_if_fail(ellipsis); if(ops->ellipsis) g_free(ops->ellipsis); ops->ellipsis = g_strdup(ellipsis); } const gchar * gf_theme_options_get_ellipsis(GfThemeOptions *ops) { g_return_val_if_fail(ops, NULL); return ops->ellipsis; } pidgin-guifications-2.16/src/gf_event_info.h0000644000175000017500000000564310731276755016114 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_EVENT_INFO_H #define GF_EVENT_INFO_H typedef struct _GfEventInfo GfEventInfo; typedef enum _GfEventType { GF_EVENT_TYPE_UNKNOWN = 0, GF_EVENT_TYPE_BUDDY, GF_EVENT_TYPE_CONVERSATION, GF_EVENT_TYPE_ACCOUNT, GF_EVENT_TYPE_MISC } GfEventType; #include #include #include #include #include "gf_event.h" #include "gf_notification.h" G_BEGIN_DECLS GfEventInfo *gf_event_info_new(const gchar *notification_type); void gf_event_info_destroy(GfEventInfo *info); GfEvent *gf_event_info_get_event(GfEventInfo *info); void gf_event_info_set_account(GfEventInfo *info, PurpleAccount *account); PurpleAccount *gf_event_info_get_account(GfEventInfo *info); void gf_event_info_set_buddy(GfEventInfo *info, PurpleBuddy *buddy); PurpleBuddy *gf_event_info_get_buddy(GfEventInfo *info); void gf_event_info_set_conversation(GfEventInfo *info, PurpleConversation *conv); PurpleConversation *gf_event_info_get_conversation(GfEventInfo *info); void gf_event_info_set_target(GfEventInfo *info, const gchar *target); const gchar *gf_event_info_get_target(GfEventInfo *info); void gf_event_info_set_message(GfEventInfo *info, const gchar *message); const gchar *gf_event_info_get_message(GfEventInfo *info); void gf_event_info_set_extra(GfEventInfo *info, const gchar *extra); const gchar *gf_event_info_get_extra(GfEventInfo *info); void gf_event_info_set_components(GfEventInfo *info, const GHashTable *components); const GHashTable *gf_event_info_get_components(GfEventInfo *info); void gf_event_info_set_timeout_id(GfEventInfo *info, guint timeout_id); guint gf_event_info_get_timeout_id(GfEventInfo *info); void gf_event_info_set_conv_chat_buddy_flags(GfEventInfo *info, PurpleConvChatBuddyFlags flags); PurpleConvChatBuddyFlags gf_event_info_get_chat_buddy_flags(GfEventInfo *info); void gf_event_info_set_is_contact(GfEventInfo *info, gboolean value); gboolean gf_event_info_get_is_contact(GfEventInfo *info); void gf_event_info_set_open_action(GfEventInfo *info, GCallback open_action); GCallback gf_event_info_get_open_action(const GfEventInfo *info); G_END_DECLS #endif /* GF_EVENT_INFO_H */ pidgin-guifications-2.16/src/guifications.c0000644000175000017500000000633710731311346015746 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #define PURPLE_PLUGINS #include "gf_internal.h" #include "gf_action.h" #include "gf_blist.h" #include "gf_display.h" #include "gf_event.h" #include "gf_gtk_utils.h" #include "gf_item_text.h" #include "gf_preferences.h" #include "gf_theme.h" #include "gf_theme_editor.h" #include "gf_stock.h" #include #include #include #include #include #include #include static gboolean gf_load(PurplePlugin *plugin) { gf_actions_init(); gf_blist_init(plugin); gf_events_init(plugin); gf_theme_editor_init(plugin); gf_item_text_init(); gf_display_init(plugin); gf_gtk_utils_init(); gf_stock_init(); gf_themes_probe(); gf_themes_load_saved(); return TRUE; } static gboolean gf_unload(PurplePlugin *plugin) { time_t t; /* seed the random number generator here so that two notifications that * occur within a second of each other use different notifications. */ t = time(NULL); srand(t); gf_stock_uninit(); gf_themes_unprobe(); gf_themes_save_loaded(); gf_themes_unload(); gf_gtk_utils_uninit(); gf_display_uninit(); gf_item_text_uninit(); gf_theme_editor_uninit(); gf_events_uninit(); gf_blist_uninit(); gf_actions_uninit(); return TRUE; } static PidginPluginUiInfo ui_info = { gf_preferences_get_frame, /* get prefs frame */ 0, /* page number - reserved */ NULL, /* reserved 1 */ NULL, /* reserved 2 */ NULL, /* reserved 3 */ NULL /* reserved 4 */ }; static PurplePluginInfo gf_info = { PURPLE_PLUGIN_MAGIC, PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, PURPLE_PLUGIN_STANDARD, PIDGIN_PLUGIN_TYPE, 0, NULL, PURPLE_PRIORITY_DEFAULT, "gtk-amc_grim-Guifications", NULL, #ifdef _WIN32 GF_VERSION, #else VERSION, #endif NULL, NULL, "Gary Kramlich ", GF_WEBSITE, gf_load, gf_unload, NULL, &ui_info, NULL, NULL, NULL, NULL, NULL, NULL, NULL }; static void init_plugin(PurplePlugin *plugin) { #ifdef ENABLE_NLS bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); #endif /* ENABLE_NLS */ gf_info.name = _("Guifications"); gf_info.summary = _("The end all, be all, toaster popup plugin"); gf_info.description = _("Guifications:\n" "The end all, be all, toaster popup plugin"); gf_preferences_add(); } PURPLE_INIT_PLUGIN(Guifications2, init_plugin, gf_info) pidgin-guifications-2.16/src/gf_item_offset.h0000644000175000017500000000305510731276755016257 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_ITEM_OFFSET_H #define GF_ITEM_OFFSET_H #include #include "gf_item.h" typedef struct _GfItemOffset GfItemOffset; G_BEGIN_DECLS GfItemOffset *gf_item_offset_new(GfItem *item); GfItemOffset *gf_item_offset_new_from_xmlnode(GfItem *item, xmlnode *node); GfItemOffset *gf_item_offset_copy(GfItemOffset *offset); void gf_item_offset_destroy(GfItemOffset *offset); void gf_item_offset_set_value(GfItemOffset *offset, gint value); gint gf_item_offset_get_value(GfItemOffset *offset); void gf_item_offset_set_is_percentage(GfItemOffset *offset, gboolean is_offset); gboolean gf_item_offset_get_is_percentage(GfItemOffset *offset); GfItem *gf_item_offset_get_item(GfItemOffset *offset); G_END_DECLS #endif /* GF_ITEM_OFFSET_H */ pidgin-guifications-2.16/src/gf_menu.h0000644000175000017500000000315510731276755014720 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_MENU_H #define GF_MENU_H #include typedef GtkWidget *(*GfMenuItemBuilder)(GtkWidget *menu, gint num, void *data); G_BEGIN_DECLS GtkWidget *gf_menu_build(GfMenuItemBuilder builder, void *data); GtkWidget *gf_menu_position(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_mouse(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_event(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_item_position(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_item_type(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_item_icon_type(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_item_icon_size(GtkWidget *menu, gint item, void *data); GtkWidget *gf_menu_item_text_clipping(GtkWidget *menu, gint item, void *data); G_END_DECLS #endif pidgin-guifications-2.16/src/gf_display.h0000644000175000017500000000405710731276755015423 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_DISPLAY_H #define GF_DISPLAY_H typedef struct _GfDisplay GfDisplay; #define GF_DISPLAY(obj) ((GfDisplay *)obj) #include #include #include "gf_event_info.h" #include "gf_notification.h" typedef enum _GfDisplayPosition { GF_DISPLAY_POSITION_NW = 0, GF_DISPLAY_POSITION_NE, GF_DISPLAY_POSITION_SW, GF_DISPLAY_POSITION_SE, GF_DISPLAY_POSITION_UNKNOWN } GfDisplayPosition; typedef enum _GfDisplayZoom { GF_DISPLAY_ZOOM_200 = 0, GF_DISPLAY_ZOOM_175, GF_DISPLAY_ZOOM_150, GF_DISPLAY_ZOOM_125, GF_DISPLAY_ZOOM_100, GF_DISPLAY_ZOOM_75, GF_DISPLAY_ZOOM_50, GF_DISPLAY_ZOOM_25, GF_DISPLAY_ZOOM_UNKNOWN } GfDisplayZoom; G_BEGIN_DECLS GfDisplay *gf_display_new(); void gf_display_destroy(GfDisplay *display); GfEventInfo *gf_display_get_event_info(GfDisplay *display); void gf_display_show_event(GfEventInfo *info, GfNotification *notification); void gf_display_init(PurplePlugin *plugin); void gf_display_uninit(); #if GTK_CHECK_VERSION(2,2,0) gint gf_display_get_default_screen(); gint gf_display_get_screen_count(); gint gf_display_get_default_monitor(); gint gf_display_get_monitor_count(); #endif /* GTK_CHECK_VERSION(2,2,0) */ gboolean gf_display_screen_saver_is_running(); G_END_DECLS #endif /* GF_DISPLAY_H */ pidgin-guifications-2.16/src/gf_theme_editor.h0000644000175000017500000000213010731276755016414 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_THEME_EDITOR_H #define GF_THEME_EDITOR_H #include #include G_BEGIN_DECLS void gf_theme_editor_init(PurplePlugin *plugin); void gf_theme_editor_uninit(); void gf_theme_editor_show(const gchar *filename); G_END_DECLS #endif /* GF_THEME_EDITOR_H */ pidgin-guifications-2.16/src/gf_preferences.c0000644000175000017500000012206210731311346016231 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #include #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include #include #include "gf_action.h" #include "gf_display.h" #include "gf_event.h" #include "gf_file.h" #include "gf_menu.h" #include "gf_preferences.h" #include "gf_stock.h" #include "gf_theme.h" #include "gf_theme_editor.h" #include "gf_theme_info.h" enum { GF_THEME_COL_FILE = 0, GF_THEME_COL_LOADED, GF_THEME_COL_NAME, GF_THEME_COL_VERSION, GF_THEME_COL_SUMMARY, GF_THEME_COL_DESCRIPTION, GF_THEME_COL_AUTHOR, GF_THEME_COL_WEBSITE, GF_THEME_COL_SUPPORTS }; enum { GF_NOTIF_COL_SHOW = 0, GF_NOTIF_COL_NAME, GF_NOTIF_COL_DESCRIPTION, GF_NOTIF_COL_TYPE }; /******************************************************************************* * Globals ******************************************************************************/ PurplePlugin *guifications; /******************************************************************************* * callbacks ******************************************************************************/ static void option_menu_cb(GtkOptionMenu *option_menu, gchar *pref) { purple_prefs_set_int(pref, gtk_option_menu_get_history(option_menu)); } static void mouse_option_menu_cb(GtkOptionMenu *option_menu, gchar *pref) { const gchar *name; name = gf_actions_get_nth_name(gtk_option_menu_get_history(option_menu)); purple_prefs_set_string(pref, name); } /*********************************************************************** * utilities **********************************************************************/ static GtkWidget * make_notebook_page(GtkNotebook *note, const gchar *text, gint position) { GtkWidget *vbox, *label; vbox = gtk_vbox_new(FALSE, 6); gtk_container_set_border_width(GTK_CONTAINER(vbox), 12); gtk_widget_show(vbox); label = gtk_label_new_with_mnemonic(text); gtk_widget_show(label); gtk_notebook_insert_page(note, vbox, label, position); return vbox; } static GtkWidget * make_label(const gchar *text, GtkSizeGroup *sg) { GtkWidget *label; label = gtk_label_new_with_mnemonic(text); gtk_misc_set_alignment(GTK_MISC(label), 0, 0); gtk_widget_show(label); if(sg) gtk_size_group_add_widget(sg, label); return label; } static GtkWidget * make_bold_label(const gchar *text, GtkSizeGroup *sg) { GtkWidget *label; gchar *escaped, *markup; escaped = g_markup_escape_text(text, strlen(text)); markup = g_strdup_printf("%s:", escaped); g_free(escaped); label = gtk_label_new(NULL); gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), markup); g_free(markup); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.0); if(sg) gtk_size_group_add_widget(sg, label); return label; } static GtkWidget * make_option_menu(const gchar *text, gchar *pref, GtkSizeGroup *sg, GfMenuItemBuilder builder) { GtkWidget *hbox, *option_menu, *menu, *label; hbox = gtk_hbox_new(FALSE, 4); if(text) { label = make_label(text, sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); } option_menu = gtk_option_menu_new(); gtk_box_pack_start(GTK_BOX(hbox), option_menu, FALSE, FALSE, 0); menu = gf_menu_build(builder, NULL); gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), menu); gtk_option_menu_set_history(GTK_OPTION_MENU(option_menu), purple_prefs_get_int(pref)); g_signal_connect(G_OBJECT(option_menu), "changed", G_CALLBACK(option_menu_cb), pref); gtk_widget_show_all(hbox); return hbox; } static GtkWidget * make_mouse_option_menu(const gchar *text, gchar *pref, GtkSizeGroup *sg) { GfAction *action = NULL; GtkWidget *hbox, *option_menu, *menu, *label; gint position = -1; hbox = gtk_hbox_new(FALSE, 4); if(text) { label = make_label(text, sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); } option_menu = gtk_option_menu_new(); gtk_box_pack_start(GTK_BOX(hbox), option_menu, FALSE, FALSE, 0); menu = gf_menu_build(gf_menu_mouse, NULL); gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), menu); action = gf_action_find_with_name(purple_prefs_get_string(pref)); if(action && (position = gf_action_get_position(action)) > -1) { gtk_option_menu_set_history(GTK_OPTION_MENU(option_menu), position); } g_signal_connect(G_OBJECT(option_menu), "changed", G_CALLBACK(mouse_option_menu_cb), pref); gtk_widget_show_all(hbox); return hbox; } /******************************************************************************* * General page stuff ******************************************************************************/ static void make_general_page(GtkWidget *notebook) { GtkWidget *vbox, *frame, *spin, *option, *label; GtkSizeGroup *sg; vbox = make_notebook_page(GTK_NOTEBOOK(notebook), _("General"), -1); gtk_widget_show(vbox); sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); /* Display Options */ frame = pidgin_make_frame(vbox, _("Display Options")); gtk_widget_show(frame); option = make_option_menu(_("_Position:"), GF_PREF_APPEARANCE_POSITION, sg, gf_menu_position); gtk_box_pack_start(GTK_BOX(frame), option, FALSE, FALSE, 0); label = pidgin_prefs_dropdown(frame, _("_Stack:"), PURPLE_PREF_BOOLEAN, GF_PREF_APPEARANCE_VERTICAL, _("Vertically"), TRUE, _("Horizontally"), FALSE, NULL); gtk_misc_set_alignment(GTK_MISC(label), 0, 0); gtk_size_group_add_widget(sg, label); label = pidgin_prefs_dropdown(frame, _("Show _while away:"), PURPLE_PREF_BOOLEAN, GF_PREF_BEHAVIOR_SHOW_WHILE_AWAY, _("Yes"), TRUE, _("No"), FALSE, NULL); gtk_misc_set_alignment(GTK_MISC(label), 0, 0); gtk_size_group_add_widget(sg, label); label = pidgin_prefs_dropdown(frame, _("_Animate:"), PURPLE_PREF_BOOLEAN, GF_PREF_APPEARANCE_ANIMATE, _("Yes"), TRUE, _("No"), FALSE, NULL); gtk_misc_set_alignment(GTK_MISC(label), 0, 0); gtk_size_group_add_widget(sg, label); spin = pidgin_prefs_labeled_spin_button(frame, _("_Display Time:"), GF_PREF_BEHAVIOR_DISPLAY_TIME, 1, 60, sg); label = make_label(_("seconds"), NULL); gtk_box_pack_start(GTK_BOX(spin), label, FALSE, FALSE, 0); /* Mouse Options */ frame = pidgin_make_frame(vbox, _("Mouse")); gtk_widget_show(frame); option = make_mouse_option_menu(_("_Left:"), GF_PREF_MOUSE_LEFT, sg); gtk_box_pack_start(GTK_BOX(frame), option, FALSE, FALSE, 0); option = make_mouse_option_menu(_("_Middle:"), GF_PREF_MOUSE_MIDDLE, sg); gtk_box_pack_start(GTK_BOX(frame), option, FALSE, FALSE, 0); option = make_mouse_option_menu(_("_Right:"), GF_PREF_MOUSE_RIGHT, sg); gtk_box_pack_start(GTK_BOX(frame), option, FALSE, FALSE, 0); } /******************************************************************************* * Notification page stuff ******************************************************************************/ static gint notification_sort_show(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) { gboolean a_show = FALSE, b_show = FALSE; gtk_tree_model_get(model, a, GF_NOTIF_COL_SHOW, &a_show, -1); gtk_tree_model_get(model, b, GF_NOTIF_COL_SHOW, &b_show, -1); if(a_show && !b_show) return 1; else if(!a_show && b_show) return -1; else return 0; } static gint notification_sort_name(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) { gchar *a_name = NULL, *b_name = NULL; gchar *a_ckey = NULL, *b_ckey = NULL; gint ret = 0; gtk_tree_model_get(model, a, GF_NOTIF_COL_NAME, &a_name, -1); gtk_tree_model_get(model, b, GF_NOTIF_COL_NAME, &b_name, -1); a_ckey = g_utf8_collate_key(a_name, g_utf8_strlen(a_name, -1)); b_ckey = g_utf8_collate_key(b_name, g_utf8_strlen(b_name, -1)); g_free(a_name); g_free(b_name); ret = strcmp(a_ckey, b_ckey); g_free(a_ckey); g_free(b_ckey); return ret; } static gint notification_sort_desc(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) { gchar *a_desc = NULL, *b_desc = NULL; gchar *a_ckey = NULL, *b_ckey = NULL; gint ret = 0; gtk_tree_model_get(model, a, GF_NOTIF_COL_DESCRIPTION, &a_desc, -1); gtk_tree_model_get(model, b, GF_NOTIF_COL_DESCRIPTION, &b_desc, -1); a_ckey = g_utf8_collate_key(a_desc, g_utf8_strlen(a_desc, -1)); b_ckey = g_utf8_collate_key(b_desc, g_utf8_strlen(b_desc, -1)); g_free(a_desc); g_free(b_desc); ret = strcmp(a_ckey, b_ckey); g_free(a_ckey); g_free(b_ckey); return ret; } static void notification_show_cb(GtkCellRendererToggle *renderer, gchar *path, gpointer data) { GfEvent *event; GtkListStore *store = (GtkListStore *)data; GtkTreeIter iter; gchar *type = NULL; gboolean show = FALSE; gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(store), &iter, path); gtk_tree_model_get(GTK_TREE_MODEL(store), &iter, GF_NOTIF_COL_SHOW, &show, GF_NOTIF_COL_TYPE, &type, -1); event = gf_event_find_for_notification(type); if(event) { gf_event_set_show(event, !show); gf_events_save(); } g_free(type); gtk_list_store_set(store, &iter, GF_NOTIF_COL_SHOW, !show, -1); } static void make_notification_list(GtkBox *parent) { GtkWidget *list, *sw; GtkListStore *store; GtkTreeSortable *sortable; GtkCellRenderer *renderer; GtkTreeViewColumn *col; const GList *events; sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_box_pack_start(parent, sw, TRUE, TRUE, 0); store = gtk_list_store_new(4, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); for(events = gf_events_get(); events; events = events->next) { GfEvent *event; GtkTreeIter iter; const gchar *type; event = GF_EVENT(events->data); type = gf_event_get_notification_type(event); if(type && type[0] == '!') continue; gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, GF_NOTIF_COL_SHOW, gf_event_show_notification(type), GF_NOTIF_COL_NAME, gf_event_get_name(event), GF_NOTIF_COL_DESCRIPTION, gf_event_get_description(event), GF_NOTIF_COL_TYPE, type, -1); } sortable = GTK_TREE_SORTABLE(store); gtk_tree_sortable_set_sort_func(sortable, GF_NOTIF_COL_SHOW, notification_sort_show, NULL, NULL); gtk_tree_sortable_set_sort_func(sortable, GF_NOTIF_COL_NAME, notification_sort_name, NULL, NULL); gtk_tree_sortable_set_sort_func(sortable, GF_NOTIF_COL_DESCRIPTION, notification_sort_desc, NULL, NULL); gtk_tree_sortable_set_sort_column_id(sortable, GF_NOTIF_COL_NAME, GTK_SORT_ASCENDING); list = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store)); gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(list), TRUE); gtk_widget_set_size_request(list, -1, 150); gtk_container_add(GTK_CONTAINER(sw), list); renderer = gtk_cell_renderer_toggle_new(); g_signal_connect(G_OBJECT(renderer), "toggled", G_CALLBACK(notification_show_cb), store); col = gtk_tree_view_column_new_with_attributes(_("Show"), renderer, "active", 0, NULL); gtk_tree_view_column_set_sort_column_id(col, GF_NOTIF_COL_SHOW); gtk_tree_view_append_column(GTK_TREE_VIEW(list), col); renderer = gtk_cell_renderer_text_new(); col = gtk_tree_view_column_new_with_attributes(_("Event"), renderer, "text", 1, NULL); gtk_tree_view_column_set_sort_column_id(col, GF_NOTIF_COL_NAME); gtk_tree_view_append_column(GTK_TREE_VIEW(list), col); renderer = gtk_cell_renderer_text_new(); col = gtk_tree_view_column_new_with_attributes(_("Description"), renderer, "text", 2, NULL); gtk_tree_view_column_set_sort_column_id(col, GF_NOTIF_COL_DESCRIPTION); gtk_tree_view_append_column(GTK_TREE_VIEW(list), col); gtk_widget_show_all(sw); } static void make_notifications_page(GtkWidget *notebook) { GtkWidget *vbox; vbox = make_notebook_page(GTK_NOTEBOOK(notebook), _("Notifications"), -1); gtk_widget_show(vbox); make_notification_list(GTK_BOX(vbox)); } /******************************************************************************* * Theme page stuff ******************************************************************************/ struct GfThemeListData { GtkWidget *tree; GtkListStore *store; GtkWidget *theme_new; GtkWidget *theme_edit; GtkWidget *theme_delete; GtkWidget *theme_copy; GtkWidget *theme_refresh; GtkWidget *theme_get_more; }; struct ThemeInfoPane { GtkWidget *theme_name; GtkWidget *theme_version; GtkWidget *theme_description; GtkWidget *theme_author; GtkWidget *theme_website; GtkWidget *theme_supports; GtkWidget *theme_filename; }; static struct GfThemeListData theme_data; static struct ThemeInfoPane theme_info_pane; static gint theme_sort_loaded(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) { gboolean a_loaded = FALSE, b_loaded = FALSE; gtk_tree_model_get(model, a, GF_THEME_COL_LOADED, &a_loaded, -1); gtk_tree_model_get(model, b, GF_THEME_COL_LOADED, &b_loaded, -1); if(a_loaded && !b_loaded) return 1; else if(!a_loaded && b_loaded) return -1; else return 0; } static gint theme_sort_name(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) { gchar *a_name = NULL, *b_name = NULL; gchar *a_ckey = NULL, *b_ckey = NULL; gint ret = 0; gtk_tree_model_get(model, a, GF_THEME_COL_NAME, &a_name, -1); gtk_tree_model_get(model, b, GF_THEME_COL_NAME, &b_name, -1); if(a_name && !b_name) return 1; else if(!a_name && b_name) return -1; a_ckey = g_utf8_collate_key(a_name, g_utf8_strlen(a_name, -1)); b_ckey = g_utf8_collate_key(b_name, g_utf8_strlen(b_name, -1)); g_free(a_name); g_free(b_name); ret = strcmp(a_ckey, b_ckey); g_free(a_ckey); g_free(b_ckey); return ret; } static gint theme_sort_summary(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) { gchar *a_summ = NULL, *b_summ = NULL; gchar *a_ckey = NULL, *b_ckey = NULL; gint ret = 0; gtk_tree_model_get(model, a, GF_THEME_COL_SUMMARY, &a_summ, -1); gtk_tree_model_get(model, b, GF_THEME_COL_SUMMARY, &b_summ, -1); if(!a_summ && !b_summ) return 0; if(a_summ && !b_summ) return 1; else if(!a_summ && b_summ) return -1; a_ckey = g_utf8_collate_key(a_summ, g_utf8_strlen(a_summ, -1)); b_ckey = g_utf8_collate_key(b_summ, g_utf8_strlen(b_summ, -1)); g_free(a_summ); g_free(b_summ); ret = strcmp(a_ckey, b_ckey); g_free(a_ckey); g_free(b_ckey); return ret; } static void theme_install_theme(char *path, char *extn) { #ifndef _WIN32 gchar *command, *escaped; #endif gchar *destdir; gchar *tail; /* Just to be safe */ g_strchomp(path); /* I dont know what you are, get out of here */ if (extn != NULL) tail = extn; else if ((tail = strrchr(path, '.')) == NULL) return; destdir = g_build_filename(purple_user_dir(), "guifications", "themes", NULL); /* We'll check this just to make sure. This also lets us do something * different on other platforms, if need be */ if (!g_ascii_strcasecmp(tail, ".gz") || !g_ascii_strcasecmp(tail, ".tgz")) { #ifndef _WIN32 escaped = g_shell_quote(path); command = g_strdup_printf("tar > /dev/null xzf %s -C %s", escaped, destdir); g_free(escaped); #else if(!winpidgin_gz_untar(path, destdir)) { g_free(destdir); return; } #endif } else { g_free(destdir); return; } #ifndef _WIN32 /* Fire! */ system(command); g_free(command); #endif g_free(destdir); gf_preferences_refresh_themes_list(); } static void theme_got_url(PurpleUtilFetchUrlData *url_data, void *data, const char *themedata, size_t len, const gchar *err_msg) { FILE *f; gchar *path; f = purple_mkstemp(&path, FALSE); fwrite(themedata, len, 1, f); fclose(f); theme_install_theme(path, data); g_unlink(path); g_free(path); } static void theme_dnd_recv(GtkWidget *widget, GdkDragContext *dc, guint x, guint y, GtkSelectionData *sd, guint info, guint t, gpointer data) { gchar *name = (gchar *)sd->data; if ((sd->length >= 0) && (sd->format == 8)) { /* Well, it looks like the drag event was cool. * Let's do something with it */ if (!g_ascii_strncasecmp(name, "file://", 7)) { GError *converr = NULL; gchar *tmp; /* It looks like we're dealing with a local file. Let's * just untar it in the right place */ if(!(tmp = g_filename_from_uri(name, NULL, &converr))) { purple_debug_error("guifications", "theme dnd %s\n", (converr ? converr->message : "g_filename_from_uri error")); return; } theme_install_theme(tmp, NULL); g_free(tmp); } else if (!g_ascii_strncasecmp(name, "http://", 7)) { /* Oo, a web drag and drop. This is where things * will start to get interesting */ gchar *tail; if ((tail = strrchr(name, '.')) == NULL) return; /* We'll check this just to make sure. This also lets us do something different on * other platforms, if need be */ /* Q: shouldn't tgz be tail? */ /* A: no. */ purple_util_fetch_url(name, TRUE, NULL, FALSE, theme_got_url, ".tgz"); } gtk_drag_finish(dc, TRUE, FALSE, t); } gtk_drag_finish(dc, FALSE, FALSE, t); } static void theme_load_cb(GtkCellRendererToggle *renderer, gchar *path, gpointer data) { GtkTreeIter iter; gchar *filename = NULL; gboolean loaded = FALSE; gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(theme_data.store), &iter, path); gtk_tree_model_get(GTK_TREE_MODEL(theme_data.store), &iter, GF_THEME_COL_LOADED, &loaded, GF_THEME_COL_FILE, &filename, -1); if(!loaded) { gf_theme_load(filename); } else { GfTheme *theme; theme = gf_theme_find_theme_by_filename(filename); if(theme) gf_theme_unload(theme); } gtk_list_store_set(theme_data.store, &iter, GF_THEME_COL_LOADED, !loaded, -1); if(filename) g_free(filename); gf_themes_save_loaded(); } static void theme_list_selection_cb(GtkTreeSelection *selection, gpointer data) { GtkTreeModel *model; GtkTreeIter iter; gchar *name = NULL, *version = NULL, *description = NULL; gchar *author = NULL, *website = NULL, *filename = NULL; gchar *supports = NULL; if(gtk_tree_selection_get_selected(selection, &model, &iter)) { gtk_tree_model_get(model, &iter, GF_THEME_COL_NAME, &name, GF_THEME_COL_VERSION, &version, GF_THEME_COL_DESCRIPTION, &description, GF_THEME_COL_AUTHOR, &author, GF_THEME_COL_WEBSITE, &website, GF_THEME_COL_FILE, &filename, GF_THEME_COL_SUPPORTS, &supports, -1); if(filename) { if(!gf_file_access(filename, W_OK)) { gtk_widget_set_sensitive(theme_data.theme_edit, TRUE); gtk_widget_set_sensitive(theme_data.theme_delete, TRUE); } else { gtk_widget_set_sensitive(theme_data.theme_edit, FALSE); gtk_widget_set_sensitive(theme_data.theme_delete, FALSE); } } gtk_widget_set_sensitive(theme_data.theme_copy, TRUE); } else { gtk_widget_set_sensitive(theme_data.theme_copy, FALSE); } gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_name), name); gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_version), version); gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_description), description); gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_author), author); gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_website), website); gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_supports), supports); gtk_label_set_text(GTK_LABEL(theme_info_pane.theme_filename), filename); g_free(name); g_free(version); g_free(description); g_free(author); g_free(website); g_free(supports); g_free(filename); } static GtkListStore * create_theme_store() { GfTheme *theme; GfThemeInfo *info; GtkListStore *store; GtkTreeSortable *sortable; GtkTreeIter iter; GList *l; gchar *supports; gboolean loaded = FALSE, destroy; gf_themes_unprobe(); gf_themes_probe(); purple_debug_info("Guifications", "probes refreshed\n"); store = gtk_list_store_new(9, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); for(l = gf_themes_get_all(); l; l = l->next) { gtk_list_store_append(store, &iter); loaded = gf_theme_is_loaded(l->data); /* set the filename and if it's loaded */ gtk_list_store_set(store, &iter, GF_THEME_COL_FILE, l->data, GF_THEME_COL_LOADED, loaded, -1); /* find the theme */ if(loaded) { theme = gf_theme_find_theme_by_filename(l->data); destroy = FALSE; } else { theme = gf_theme_new_from_file(l->data); destroy = TRUE; } info = gf_theme_get_theme_info(theme); supports = gf_theme_get_supported_notifications(theme); gtk_list_store_set(store, &iter, GF_THEME_COL_NAME, gf_theme_info_get_name(info), GF_THEME_COL_VERSION, gf_theme_info_get_version(info), GF_THEME_COL_SUMMARY, gf_theme_info_get_summary(info), GF_THEME_COL_DESCRIPTION, gf_theme_info_get_description(info), GF_THEME_COL_AUTHOR, gf_theme_info_get_author(info), GF_THEME_COL_WEBSITE, gf_theme_info_get_website(info), GF_THEME_COL_SUPPORTS, supports, -1); g_free(supports); if(destroy) gf_theme_destory(theme); } sortable = GTK_TREE_SORTABLE(store); gtk_tree_sortable_set_sort_func(sortable, GF_THEME_COL_LOADED, theme_sort_loaded, NULL, NULL); gtk_tree_sortable_set_sort_func(sortable, GF_THEME_COL_NAME, theme_sort_name, NULL, NULL); gtk_tree_sortable_set_sort_func(sortable, GF_THEME_COL_SUMMARY, theme_sort_summary, NULL, NULL); gtk_tree_sortable_set_sort_column_id(sortable, GF_THEME_COL_NAME, GTK_SORT_ASCENDING); return store; } static void theme_list_refresh() { if(theme_data.tree) { GtkTreeSelection *sel; GtkTreeIter iter; gtk_tree_view_set_model(GTK_TREE_VIEW(theme_data.tree), NULL); gtk_list_store_clear(theme_data.store); g_object_unref(G_OBJECT(theme_data.store)); theme_data.store = create_theme_store(); gtk_tree_view_set_model(GTK_TREE_VIEW(theme_data.tree), GTK_TREE_MODEL(theme_data.store)); gtk_tree_model_get_iter_first(GTK_TREE_MODEL(theme_data.store), &iter); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(GTK_TREE_VIEW(theme_data.tree))); gtk_tree_selection_select_iter(sel, &iter); } } static void theme_list_refresh_cb(GtkWidget *w, gpointer data) { gf_preferences_refresh_themes_list(); } static void theme_list_new_cb(GtkWidget *w, gpointer data) { gf_theme_editor_show(NULL); } static void theme_list_edit_cb(GtkWidget *w, gpointer data) { GtkTreeModel *model; GtkTreeSelection *sel; GtkTreeIter iter; gchar *filename; sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(theme_data.tree)); gtk_tree_selection_get_selected(sel, &model, &iter); gtk_tree_model_get(model, &iter, GF_THEME_COL_FILE, &filename, -1); gf_theme_editor_show(filename); if(filename) g_free(filename); } static void theme_list_delete_yes_cb(gpointer data, gint id) { gchar *filename, *path; filename = (char *)data; if(filename) { if(gf_theme_is_loaded(filename)) gf_theme_unload(gf_theme_find_theme_by_filename(filename)); path = g_path_get_dirname(filename); g_free(filename); gf_file_remove_dir(path); g_free(path); gf_preferences_refresh_themes_list(); } } static void theme_list_delete_no_cb(gpointer data, gint id) { gchar *filename = (char *)data; g_free(filename); } static void theme_list_delete_cb(GtkWidget *w, gpointer data) { GtkTreeSelection *sel; GtkTreeModel *model; GtkTreeIter iter; gchar *filename = NULL; sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(theme_data.tree)); if(gtk_tree_selection_get_selected(sel, &model, &iter)) gtk_tree_model_get(model, &iter, GF_THEME_COL_FILE, &filename, -1); if(!filename) return; purple_request_yes_no(guifications, _("Delete theme?"), NULL, _("Are you sure you want to delete this theme?"), 0, NULL, NULL, NULL, filename, G_CALLBACK(theme_list_delete_yes_cb), G_CALLBACK(theme_list_delete_no_cb)); } static void theme_list_copy_cb(GtkWidget *w, gpointer data) { GfTheme *theme; GfThemeInfo *info; GtkTreeSelection *sel; GtkTreeModel *model; GtkTreeIter iter; const gchar *oldname; gchar *filename, *newname, *fullname, *oldpath, *newpath, *dir; sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(theme_data.tree)); if(gtk_tree_selection_get_selected(sel, &model, &iter)) gtk_tree_model_get(model, &iter, GF_THEME_COL_FILE, &filename, -1); if(!filename) return; theme = gf_theme_new_from_file(filename); if(!theme) return; info = gf_theme_get_theme_info(theme); oldname = gf_theme_info_get_name(info); if(oldname) newname = g_strdup_printf("%s (copy)", oldname); else newname = g_strdup("untitled (copy)"); gf_theme_info_set_name(info, newname); g_free(newname); dir = gf_theme_info_strip_name(info); if(!dir) { gf_theme_destory(theme); return; } newpath = g_build_filename(purple_user_dir(), "guifications", "themes", dir, NULL); g_free(dir); purple_build_dir(newpath, S_IRUSR | S_IWUSR | S_IXUSR); fullname = g_build_filename(newpath, "theme.xml", NULL); /* we copy everything first, and then rewrite theme.xml. Yeah it's not ideal but it * keeps the code simple. */ oldpath = g_path_get_dirname(filename); gf_file_copy_directory(oldpath, newpath); g_free(oldpath); g_free(newpath); gf_theme_save_to_file(theme, fullname); g_free(fullname); theme_list_refresh(); } static void theme_list_get_more_cb(GtkWidget *w, gpointer data) { purple_notify_uri(NULL, "http://sourceforge.net/tracker/?atid=676821&group_id=92888&func=browse"); } static gboolean theme_list_clicked_cb(GtkWidget *w, GdkEventButton *e, gpointer data) { if(e->button == 3) { GtkWidget *menu; GtkTreeSelection *sel; GtkTreeModel *model; GtkTreeIter iter; menu = gtk_menu_new(); pidgin_new_item_from_stock(menu, _("New"), GTK_STOCK_NEW, G_CALLBACK(theme_list_new_cb), NULL, 0, 0, NULL); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(theme_data.tree)); if(gtk_tree_selection_get_selected(sel, &model, &iter)) { gchar *filename; gtk_tree_model_get(model, &iter, GF_THEME_COL_FILE, &filename, -1); if(!gf_file_access(filename, W_OK)) { pidgin_new_item_from_stock(menu, _("Edit"), GTK_STOCK_PREFERENCES, G_CALLBACK(theme_list_edit_cb), sel, 0, 0, NULL); pidgin_new_item_from_stock(menu, _("Delete"), GTK_STOCK_DELETE, G_CALLBACK(theme_list_delete_cb), sel, 0, 0, NULL); } if(filename) g_free(filename); } pidgin_separator(menu); pidgin_new_item_from_stock(menu, _("Refresh"), GTK_STOCK_REFRESH, G_CALLBACK(theme_list_refresh_cb), NULL, 0, 0, NULL); gtk_widget_show_all(menu); gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 3, gtk_get_current_event_time()); return TRUE; } return FALSE; } static void make_theme_list(GtkBox *parent) { GtkWidget *hbox, *sw; GtkCellRenderer *renderer; GtkTreeSelection *sel; GtkTreeViewColumn *col; GtkTargetEntry te[3] = {{"text/plain", 0, 0},{"text/uri-list", 0, 1},{"STRING", 0, 2}}; /* scrolled window and tree */ sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); gtk_box_pack_start(parent, sw, TRUE, TRUE, 0); theme_data.store = create_theme_store(); theme_data.tree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(theme_data.store)); gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(theme_data.tree), TRUE); gtk_widget_set_size_request(theme_data.tree, -1, 150); gtk_container_add(GTK_CONTAINER(sw), theme_data.tree); g_signal_connect(G_OBJECT(theme_data.tree), "button-press-event", G_CALLBACK(theme_list_clicked_cb), NULL); gtk_drag_dest_set(theme_data.tree, GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_HIGHLIGHT | GTK_DEST_DEFAULT_DROP, te, sizeof(te) / sizeof(GtkTargetEntry) , GDK_ACTION_COPY | GDK_ACTION_MOVE); g_signal_connect(G_OBJECT(theme_data.tree), "drag_data_received", G_CALLBACK(theme_dnd_recv), theme_data.store); renderer = gtk_cell_renderer_toggle_new(); g_signal_connect(G_OBJECT(renderer), "toggled", G_CALLBACK(theme_load_cb), NULL); col = gtk_tree_view_column_new_with_attributes(_("Loaded"), renderer, "active", GF_THEME_COL_LOADED, NULL); gtk_tree_view_column_set_sort_column_id(col, GF_THEME_COL_LOADED); gtk_tree_view_append_column(GTK_TREE_VIEW(theme_data.tree), col); renderer = gtk_cell_renderer_text_new(); col = gtk_tree_view_column_new_with_attributes(_("Name"), renderer, "text", GF_THEME_COL_NAME, NULL); gtk_tree_view_column_set_sort_column_id(col, GF_THEME_COL_NAME); gtk_tree_view_append_column(GTK_TREE_VIEW(theme_data.tree), col); renderer = gtk_cell_renderer_text_new(); col = gtk_tree_view_column_new_with_attributes(_("Summary"), renderer, "text", GF_THEME_COL_SUMMARY, NULL); gtk_tree_view_column_set_sort_column_id(col, GF_THEME_COL_SUMMARY); gtk_tree_view_append_column(GTK_TREE_VIEW(theme_data.tree), col); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(theme_data.tree)); g_signal_connect(G_OBJECT(sel), "changed", G_CALLBACK(theme_list_selection_cb), NULL); /* the new, edit, delete, refresh buttons and get more buttons */ hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); theme_data.theme_new = gtk_button_new_from_stock(GTK_STOCK_NEW); gtk_button_set_relief(GTK_BUTTON(theme_data.theme_new), GTK_RELIEF_NONE); g_signal_connect(G_OBJECT(theme_data.theme_new), "clicked", G_CALLBACK(theme_list_new_cb), NULL); gtk_box_pack_start(GTK_BOX(hbox), theme_data.theme_new, FALSE, FALSE, 0); theme_data.theme_edit = pidgin_pixbuf_button_from_stock(_("_Edit"), GTK_STOCK_PREFERENCES, PIDGIN_BUTTON_HORIZONTAL); gtk_button_set_relief(GTK_BUTTON(theme_data.theme_edit), GTK_RELIEF_NONE); gtk_widget_set_sensitive(theme_data.theme_edit, FALSE); g_signal_connect(G_OBJECT(theme_data.theme_edit), "clicked", G_CALLBACK(theme_list_edit_cb), NULL); gtk_box_pack_start(GTK_BOX(hbox), theme_data.theme_edit, FALSE, FALSE, 0); theme_data.theme_delete = gtk_button_new_from_stock(GTK_STOCK_DELETE); gtk_button_set_relief(GTK_BUTTON(theme_data.theme_delete), GTK_RELIEF_NONE); gtk_widget_set_sensitive(theme_data.theme_delete, FALSE); g_signal_connect(G_OBJECT(theme_data.theme_delete), "clicked", G_CALLBACK(theme_list_delete_cb), NULL); gtk_box_pack_start(GTK_BOX(hbox), theme_data.theme_delete, FALSE, FALSE, 0); theme_data.theme_copy = gtk_button_new_from_stock(GTK_STOCK_COPY); gtk_button_set_relief(GTK_BUTTON(theme_data.theme_copy), GTK_RELIEF_NONE); gtk_widget_set_sensitive(theme_data.theme_copy, FALSE); g_signal_connect(G_OBJECT(theme_data.theme_copy), "clicked", G_CALLBACK(theme_list_copy_cb), NULL); gtk_box_pack_start(GTK_BOX(hbox), theme_data.theme_copy, FALSE, FALSE, 0); theme_data.theme_refresh = gtk_button_new_from_stock(GTK_STOCK_REFRESH); gtk_button_set_relief(GTK_BUTTON(theme_data.theme_refresh), GTK_RELIEF_NONE); g_signal_connect(G_OBJECT(theme_data.theme_refresh), "clicked", G_CALLBACK(theme_list_refresh_cb), NULL); gtk_box_pack_start(GTK_BOX(hbox), theme_data.theme_refresh, FALSE, FALSE, 0); theme_data.theme_get_more = pidgin_pixbuf_button_from_stock(_("_Get More"), GTK_STOCK_JUMP_TO, PIDGIN_BUTTON_HORIZONTAL); gtk_button_set_relief(GTK_BUTTON(theme_data.theme_get_more), GTK_RELIEF_NONE); g_signal_connect(G_OBJECT(theme_data.theme_get_more), "clicked", G_CALLBACK(theme_list_get_more_cb), NULL); gtk_box_pack_start(GTK_BOX(hbox), theme_data.theme_get_more, FALSE, FALSE, 0); gtk_widget_show_all(sw); } static void make_theme_page(GtkWidget *notebook) { GtkWidget *sw, *vp, *mbox, *vbox, *hbox, *label; GtkSizeGroup *sg; mbox = make_notebook_page(GTK_NOTEBOOK(notebook), _("Themes"), -1); make_theme_list(GTK_BOX(mbox)); sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); gtk_box_pack_start(GTK_BOX(mbox), sw, TRUE, TRUE, 0); vp = gtk_viewport_new(NULL, NULL); gtk_viewport_set_shadow_type(GTK_VIEWPORT(vp), GTK_SHADOW_NONE); gtk_container_set_border_width(GTK_CONTAINER(vp), 4); gtk_container_add(GTK_CONTAINER(sw), vp); vbox = gtk_vbox_new(FALSE, 0); gtk_container_add(GTK_CONTAINER(vp), vbox); sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); /* name */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Name"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_name = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_name), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_name, FALSE, FALSE, 0); /* version */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Version"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_version = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_version), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_version, FALSE, FALSE, 0); /* description */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Description"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_description = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_description), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_description, FALSE, FALSE, 0); /* author */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Author"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_author = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_author), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_author, FALSE, FALSE, 0); /* website */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Website"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_website = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_website), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_website, FALSE, FALSE, 0); /* supports */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Supports"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_supports = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_supports), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_supports, FALSE, FALSE, 0); /* filename */ hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); label = make_bold_label(_("Filename"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); theme_info_pane.theme_filename = make_label(NULL, NULL); gtk_label_set_line_wrap(GTK_LABEL(theme_info_pane.theme_filename), TRUE); gtk_box_pack_start(GTK_BOX(hbox), theme_info_pane.theme_filename, FALSE, FALSE, 0); /* show it already */ gtk_widget_show_all(mbox); } /******************************************************************************* * Advanced page stuff ******************************************************************************/ static void make_advanced_page(GtkWidget *notebook) { GtkWidget *vbox, *frame; GtkSizeGroup *sg; #if GTK_CHECK_VERSION(2,2,0) gint screen_count, monitor_count; #endif sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); vbox = make_notebook_page(GTK_NOTEBOOK(notebook), _("Advanced"), -1); frame = pidgin_make_frame(vbox, _("Display Options")); pidgin_prefs_labeled_spin_button(frame, _("Max _Visible Guifications:"), GF_PREF_BEHAVIOR_THROTTLE, 0, 255, sg); #if GTK_CHECK_VERSION(2,2,0) screen_count = gf_display_get_screen_count(); monitor_count = gf_display_get_monitor_count(); if(screen_count > 0 || monitor_count > 0) { frame = pidgin_make_frame(vbox, _("Placement")); if(screen_count > 0) { pidgin_prefs_labeled_spin_button(frame, _("Show notifications on _screen:"), GF_PREF_ADVANCED_SCREEN, 0, screen_count, sg); } if(monitor_count > 0) { pidgin_prefs_labeled_spin_button(frame, _("Show notifications on _monitor:"), GF_PREF_ADVANCED_MONITOR, 0, monitor_count, sg); } } #endif /* GTK_CHECK_VERSION(2,2,0) */ gtk_widget_show_all(vbox); } /******************************************************************************* * Callbacks ******************************************************************************/ static void gf_preferences_notebook_destroy_cb(GtkObject *obj, gpointer data) { theme_data.tree = NULL; } /******************************************************************************* * exports ******************************************************************************/ GtkWidget * gf_preferences_get_frame(PurplePlugin *plugin) { GtkWidget *notebook; guifications = plugin; notebook = gtk_notebook_new(); g_signal_connect(GTK_OBJECT(notebook), "destroy", G_CALLBACK(gf_preferences_notebook_destroy_cb), NULL); gtk_widget_show(notebook); make_general_page(notebook); make_notifications_page(notebook); make_theme_page(notebook); make_advanced_page(notebook); return notebook; } void gf_preferences_refresh_themes_list() { theme_list_refresh(); } void gf_preferences_add() { GList *l = NULL; gchar *def_theme = NULL; purple_prefs_add_none(GF_PREF_ROOT); purple_prefs_add_none(GF_PREF_PLUGIN_ROOT); purple_prefs_add_none(GF_PREF_BEHAVIOR_ROOT); purple_prefs_add_int(GF_PREF_BEHAVIOR_DISPLAY_TIME, 6); purple_prefs_add_int(GF_PREF_BEHAVIOR_THROTTLE, 6); purple_prefs_add_bool(GF_PREF_BEHAVIOR_SHOW_WHILE_AWAY, TRUE); purple_prefs_add_none(GF_PREF_APPEARANCE_ROOT); purple_prefs_add_int(GF_PREF_APPEARANCE_POSITION, GF_DISPLAY_POSITION_SE); purple_prefs_add_bool(GF_PREF_APPEARANCE_VERTICAL, TRUE); purple_prefs_add_bool(GF_PREF_APPEARANCE_ANIMATE, TRUE); purple_prefs_add_none(GF_PREF_MOUSE_ROOT); purple_prefs_add_string(GF_PREF_MOUSE_LEFT, "open"); purple_prefs_add_string(GF_PREF_MOUSE_MIDDLE, "close"); purple_prefs_add_string(GF_PREF_MOUSE_RIGHT, "context"); def_theme = g_build_filename(DATADIR, "pixmaps", "pidgin", "guifications", "themes", "default", "theme.xml", NULL); l = g_list_append(l, def_theme); purple_prefs_add_string_list(GF_PREF_LOADED_THEMES, l); g_free(def_theme); g_list_free(l); purple_prefs_add_none(GF_PREF_ADVANCED_ROOT); purple_prefs_add_bool(GF_PREF_ADVANCED_RELEASE_NOTIFICATION, TRUE); purple_prefs_add_int(GF_PREF_ADVANCED_RELEASE_LAST_CHECK, 0); #if GTK_CHECK_VERSION(2,2,0) purple_prefs_add_int(GF_PREF_ADVANCED_SCREEN, 0); purple_prefs_add_int(GF_PREF_ADVANCED_MONITOR, 0); if(purple_prefs_get_int(GF_PREF_ADVANCED_SCREEN) > gf_display_get_screen_count()) { purple_prefs_set_int(GF_PREF_ADVANCED_SCREEN, gf_display_get_default_screen()); } if(purple_prefs_get_int(GF_PREF_ADVANCED_MONITOR) > gf_display_get_monitor_count()) { purple_prefs_set_int(GF_PREF_ADVANCED_MONITOR, gf_display_get_default_monitor()); } #endif /* GTK_CHECK_VERSION(2,2,0) */ /* clean up old prefs if they exist */ purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/behavior/show_during_screen_saver"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/appearance/h_offset"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/appearance/v_offset"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/appearance/zoom"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/appearance/show_contacts"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/appearance/alias"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/advanced/sign_on_delay"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/advanced/hide_joinleave"); purple_prefs_remove("/plugins/gtk/amc_grim/guifications2/advanced/hide_conv_focused"); } pidgin-guifications-2.16/src/gf_item_icon.h0000644000175000017500000000432210731276755015717 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_ITEM_ICON_H #define GF_ITEM_ICON_H typedef enum _GfItemIconType { GF_ITEM_ICON_TYPE_PROTOCOL = 0, GF_ITEM_ICON_TYPE_BUDDY, GF_ITEM_ICON_TYPE_STATUS, GF_ITEM_ICON_TYPE_UNKNOWN } GfItemIconType; typedef enum _GfItemIconSize { GF_ITEM_ICON_SIZE_TINY = 0, GF_ITEM_ICON_SIZE_SMALL, GF_ITEM_ICON_SIZE_LITTLE, GF_ITEM_ICON_SIZE_NORMAL, GF_ITEM_ICON_SIZE_BIG, GF_ITEM_ICON_SIZE_LARGE, GF_ITEM_ICON_SIZE_HUGE, GF_ITEM_ICON_SIZE_UNKNOWN } GfItemIconSize; #define GF_ITEM_ICON(obj) ((GfItemIcon *)(obj)) typedef struct _GfItemIcon GfItemIcon; #include #include #include "gf_event_info.h" #include "gf_item.h" G_BEGIN_DECLS GfItemIcon *gf_item_icon_new(GfItem *item); GfItemIcon *gf_item_icon_new_from_xmlnode(GfItem *item, xmlnode *node); GfItemIcon *gf_item_icon_copy(GfItemIcon *icon); xmlnode *gf_item_icon_to_xmlnode(GfItemIcon *icon); void gf_item_icon_destroy(GfItemIcon *item_icon); void gf_item_icon_set_type(GfItemIcon *icon, GfItemIconType type); GfItemIconType gf_item_icon_get_type(GfItemIcon *icon); void gf_item_icon_set_size(GfItemIcon *icon, GfItemIconSize size); GfItemIconSize gf_item_icon_get_size(GfItemIcon *icon); void gf_item_icon_set_item(GfItemIcon *icon, GfItem *item); GfItem *gf_item_icon_get_item(GfItemIcon *icon); void gf_item_icon_render(GfItemIcon *item_icon, GdkPixbuf *pixbuf, GfEventInfo *info); G_END_DECLS #endif /* GF_ITEM_ICON_H */ pidgin-guifications-2.16/src/Makefile.am0000644000175000017500000000243010731317057015145 00000000000000EXTRA_DIST = \ gf_action.h \ gf_blist.h \ gf_display.h \ gf_event.h \ gf_event_info.h \ gf_file.h \ gf_gtk_utils.h \ gf_internal.h \ gf_item.h \ gf_item_icon.h \ gf_item_image.h \ gf_item_offset.h \ gf_item_text.h \ gf_menu.h \ gf_notification.h \ gf_preferences.h \ gf_stock.h \ gf_theme.h \ gf_theme_editor.h \ gf_theme_info.h \ gf_theme_ops.h \ gf_utils.h \ Makefile.mingw gfdir = $(PIDGIN_LIBDIR)/pidgin guifications_la_LDFLAGS = -module -avoid-version if PLUGINS gf_LTLIBRARIES = guifications.la guifications_la_SOURCES = \ gf_action.c \ gf_blist.c \ gf_display.c \ gf_event.c \ gf_event_info.c \ gf_file.c \ gf_gtk_utils.c \ gf_item.c \ gf_item_icon.c \ gf_item_image.c \ gf_item_offset.c \ gf_item_text.c \ gf_menu.c \ gf_notification.c \ gf_preferences.c \ gf_stock.c \ gf_theme.c \ gf_theme_editor.c \ gf_theme_info.c \ gf_theme_ops.c \ gf_utils.c \ guifications.c guifications_la_LIBADD = \ $(BINRELOC_LIBS) \ $(GTK_LIBS) \ $(GLIB_LIBS) \ $(PANGOFT2_LIBS) \ $(PIDGIN_LIBS) \ $(PURPLE_LIBS) endif AM_CPPFLAGS = \ -DVERSION=\"$(VERSION)\" \ -DDATADIR=\"$(PIDGIN_DATADIR)\" \ -DLOCALEDIR=\"$(PIDGIN_DATADIR)/locale\" \ $(BINRELOC_CFLAGS) \ $(DEBUG_CFLAGS) \ $(GTK_CFLAGS) \ $(GLIB_CFLAGS) \ $(PANGOFT2_CFLAGS) \ $(PIDGIN_CFLAGS) pidgin-guifications-2.16/src/Makefile.mingw0000644000175000017500000000426410731311346015673 00000000000000# # Makefile.mingw # # Description: Makefile for guifications plugin. # # # PATHS # GF_TOP := .. -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak GF_VERSION := $(shell cat ${GF_TOP}/VERSION) ## ## VARIABLE DEFINITIONS ## GF = guifications # Compiler Options #CFLAGS = DEFINES = -DGF_VERSION=\"$(GF_VERSION)\" -DGETTEXT_PACKAGE=\"$(GF)\" -DHAVE_CONFIG_H #LDFLAGS = #-mwindows ## ## INCLUDE PATHS ## INCLUDE_PATHS += -I. \ -I$(PIDGIN_TREE_TOP) \ -I$(PURPLE_TOP) \ -I$(PURPLE_TOP)/win32 \ -I$(PIDGIN_TOP) \ -I$(PIDGIN_TOP)/win32 \ -I$(GTK_TOP)/include \ -I$(GTK_TOP)/include/gtk-2.0 \ -I$(GTK_TOP)/include/glib-2.0 \ -I$(GTK_TOP)/include/pango-1.0 \ -I$(GTK_TOP)/include/atk-1.0 \ -I$(GTK_TOP)/include/freetype2 \ -I$(GTK_TOP)/lib/glib-2.0/include \ -I$(GTK_TOP)/lib/gtk-2.0/include \ -I$(PIDGIN_TREE_TOP) LIB_PATHS = \ -L$(PURPLE_TOP) \ -L$(PIDGIN_TOP) \ -L$(GTK_TOP)/lib ## ## SOURCES, OBJECTS ## GF_SRC = \ gf_action.c \ gf_blist.c \ gf_display.c \ gf_event.c \ gf_event_info.c \ gf_file.c \ gf_gtk_utils.c \ gf_item.c \ gf_item_icon.c \ gf_item_image.c \ gf_item_offset.c \ gf_item_text.c \ gf_menu.c \ gf_notification.c \ gf_preferences.c \ gf_stock.c \ gf_theme.c \ gf_theme_editor.c \ gf_theme_info.c \ gf_theme_ops.c \ gf_utils.c \ guifications.c GF_OBJ = $(GF_SRC:%.c=%.o) ## ## LIBRARIES ## PLUGIN_LIBS = \ -lgtk-win32-2.0 \ -lglib-2.0 \ -lpango-1.0 \ -lpangoft2-1.0 \ -lgdk-win32-2.0 \ -lgdk_pixbuf-2.0 \ -lgobject-2.0 \ -lws2_32 \ -lintl \ -lpurple \ -lpidgin include $(PIDGIN_COMMON_RULES) ## ## TARGET DEFINITIONS ## .PHONY: all clean install all: $(GF).dll install: all $(PIDGIN_INSTALL_PLUGINS_DIR) cp $(GF).dll $(PIDGIN_INSTALL_PLUGINS_DIR) $(GF_OBJ): $(GF_TOP)/gf_config.h $(PURPLE_VERSION_H) $(GF_TOP)/gf_config.h: $(GF_TOP)/gf_config.h.mingw $(MAKE) -C $(GF_TOP) -f Makefile.mingw gf_config.h ## ## BUILD DLL ## $(GF).dll: $(PIDGIN_DLL).a $(GF_OBJ) $(CC) -shared $(GF_OBJ) $(LIB_PATHS) $(PLUGIN_LIBS) $(DLL_LD_FLAGS) -o $(GF).dll ## ## CLEAN RULES ## clean: rm -f *.o rm -f $(GF).dll include $(PIDGIN_COMMON_TARGETS) pidgin-guifications-2.16/src/gf_theme_editor.c0000644000175000017500000022673010731311346016407 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include #include #include #include #include #include "gf_internal.h" #define PURPLE_PLUGINS #include #include #include #include #include #include #include #include #include "gf_event.h" #include "gf_file.h" #include "gf_item.h" #include "gf_item_icon.h" #include "gf_item_image.h" #include "gf_item_offset.h" #include "gf_item_text.h" #include "gf_menu.h" #include "gf_notification.h" #include "gf_preferences.h" #include "gf_theme.h" #include "gf_theme_editor.h" #include "gf_theme_info.h" #include "gf_theme_ops.h" #include "gf_utils.h" /* Okay, heres the run down of how all of this works. * * The theme is loaded and then converted into a GtkTreeStore. The store holds, * the title of what to display in the tree view, as well as what page to * display when it's selected, as well as the object itself. * * The getters and setters are added as data to the widget at creation time. * This way when we hit the callback, we grab the item from the store, and pop * it into the getter or setter function, update accordingly, and go about our * business. * */ enum { GFTE_STORE_TITLE = 0, GFTE_STORE_PAGE, GFTE_STORE_OBJECT, GFTE_STORE_TOTAL }; enum { GFTE_PAGE_THEME = 0, GFTE_PAGE_INFO, GFTE_PAGE_OPS, GFTE_PAGE_NOTIFICATION, GFTE_PAGE_ICON, GFTE_PAGE_IMAGE, GFTE_PAGE_TEXT, GFTE_PAGE_TOTAL }; enum { GFTE_FLAGS_OBJECT = 0, GFTE_FLAGS_SUB_OBJECT, GFTE_FLAGS_H_OFFSET, GFTE_FLAGS_V_OFFSET, GFTE_FLAGS_TOTAL }; enum { GFTE_MODIFIED_CLOSE = 0, GFTE_MODIFIED_NEW, GFTE_MODIFIED_OPEN, GFTE_MODIFIED_TOTAL }; enum { GFTE_BUTTON_FILE = 0, GFTE_BUTTON_FONT, GFTE_BUTTON_COLOR, GFTE_BUTTON_TOTAL }; struct GfThemeEditorInfo { GtkWidget *name; GtkWidget *version; GtkWidget *summary; GtkWidget *description; GtkWidget *author; GtkWidget *website; }; struct GfThemeEditorOps { GtkWidget *time_format; GtkWidget *date_format; GtkWidget *warning; GtkWidget *ellipsis; }; struct GfThemeEditorNotification { GtkWidget *alias; GtkWidget *use_gtk; GtkWidget *filename; GtkWidget *button; GtkWidget *width; GtkWidget *height; }; struct GfThemeEditorItem { GtkWidget *position; GtkWidget *h_offset; GtkWidget *h_offset_p; GtkWidget *v_offset; GtkWidget *v_offset_p; }; struct GfThemeEditorIcon { struct GfThemeEditorItem item; GtkWidget *type; GtkWidget *size; }; struct GfThemeEditorImage { struct GfThemeEditorItem item; GtkWidget *filename; GtkWidget *button; }; struct GfThemeEditorText { struct GfThemeEditorItem item; GtkWidget *format; GtkWidget *width; GtkWidget *clipping; GtkWidget *font; GtkWidget *color; }; struct GfThemeEditor { GfTheme *theme; gchar *filename; gchar *path; gboolean changed; /* toolbar stuff */ GtkTooltips *tooltips; GtkWidget *tool_notification; GtkWidget *tool_item; GtkWidget *tool_copy; GtkWidget *tool_delete; GtkWidget *tool_up; GtkWidget *tool_down; /* main stuff */ GtkWidget *window; GtkWidget *vbox; GtkWidget *hbox; GtkWidget *tree; GtkWidget *note; GtkTreeStore *store; /* everything else */ struct GfThemeEditorInfo info; struct GfThemeEditorOps ops; struct GfThemeEditorNotification notification; struct GfThemeEditorIcon icon; struct GfThemeEditorImage image; struct GfThemeEditorText text; }; struct GfteModified { GtkWidget *window; gint type; gchar *filename; }; struct GfteDelete { GtkWidget *window; }; struct GfteNewNotification { GtkWidget *window; GtkWidget *type; }; struct GfteNewItem { GtkWidget *window; GtkWidget *type; }; typedef void (*GfteSetFunc)(gpointer obj, gconstpointer val); typedef gconstpointer (*GfteGetFunc)(gpointer obj); /******************************************************************************* * Prototypes ICK! ******************************************************************************/ static void gfte_selection_changed_cb(GtkTreeSelection *sel, gpointer data); /******************************************************************************* * Globals ******************************************************************************/ PurplePlugin *plugin_handle = NULL; gpointer image_dialog = NULL; GtkWidget *opt_dialog = NULL; struct GfThemeEditor editor; struct GfteModified modified; struct GfteDelete del_obj; struct GfteNewNotification new_notification; struct GfteNewItem new_item; /******************************************************************************* * Toolbar button stuff ******************************************************************************/ static void gfte_toolbar_buttons_update(gboolean item, gboolean copy, gboolean delete, gboolean up, gboolean down) { gtk_widget_set_sensitive(editor.tool_item, item); gtk_widget_set_sensitive(editor.tool_copy, copy); gtk_widget_set_sensitive(editor.tool_delete, delete); gtk_widget_set_sensitive(editor.tool_up, up); gtk_widget_set_sensitive(editor.tool_down, down); } /******************************************************************************* * Main stuff thats used all over the place ******************************************************************************/ static void gfte_remove_temp() { gchar *name; if(!editor.path) return; name = g_path_get_basename(editor.path); if(name && name[0] == '.') gf_file_remove_dir(editor.path); g_free(name); } static void gfte_save_theme() { gchar *path, *oldpath, *dir; gboolean loaded; loaded = gf_theme_is_loaded(editor.filename); if(loaded) { GfTheme *theme = gf_theme_find_theme_by_filename(editor.filename); if(theme) gf_theme_unload(theme); } gf_theme_save_to_file(editor.theme, editor.filename); dir = gf_theme_strip_name(editor.theme); oldpath = g_path_get_dirname(editor.path); /* ok, because windows is retarded, and everyone can edit everything, we get to take * the editor's path, remove the last part of it, and then attach the new dir name to * it. */ path = g_build_filename(oldpath, dir, NULL); g_free(oldpath); g_free(dir); /* move the dir */ g_rename(editor.path, path); /* update the editor's path */ g_free(editor.path); editor.path = path; /* update the editor's file */ g_free(editor.filename); editor.filename = g_build_filename(editor.path, "theme.xml", NULL); /* reprobe the theme and tell the prefs to refresh it.. */ gf_theme_probe(editor.filename); if(loaded) { gf_theme_load(editor.filename); gf_themes_save_loaded(); } gf_preferences_refresh_themes_list(); editor.changed = FALSE; } static void gfte_store_add(GtkTreeStore *store, GtkTreeIter *child, GtkTreeIter *parent, const gchar *title, gint page, gpointer data) { gtk_tree_store_append(store, child, parent); gtk_tree_store_set(store, child, GFTE_STORE_TITLE, title, GFTE_STORE_PAGE, page, GFTE_STORE_OBJECT, data, -1); } static GtkTreeStore * gfte_store_update() { GfThemeInfo *info; GfThemeOptions *ops; GfEvent *event; GfNotification *notification; GfItem *item; GtkTreeStore *store; GtkTreeIter parent, child, iter; GList *n, *i; store = gtk_tree_store_new(GFTE_STORE_TOTAL, G_TYPE_STRING, G_TYPE_INT, G_TYPE_POINTER); /* theme */ gfte_store_add(store, &parent, NULL, _("Theme"), GFTE_PAGE_THEME, editor.theme); /* info */ info = gf_theme_get_theme_info(editor.theme); gfte_store_add(store, &child, &parent, _("Info"), GFTE_PAGE_INFO, info); /* options */ ops = gf_theme_get_theme_options(editor.theme); gfte_store_add(store, &child, &parent, _("Options"), GFTE_PAGE_OPS, ops); /* notifications */ for(n = gf_theme_get_notifications(editor.theme); n; n = n->next) { const gchar *alias = NULL, *name = NULL; notification = GF_NOTIFICATION(n->data); if((alias = gf_notification_get_alias(notification))) name = alias; else { const gchar *type; type = gf_notification_get_type(notification); event = gf_event_find_for_notification(type); name = gf_event_get_name(event); } gfte_store_add(store, &child, &parent, name, GFTE_PAGE_NOTIFICATION, notification); /* items */ for(i = gf_notification_get_items(notification); i; i = i->next) { GfItemType type; gint page = -1; item = GF_ITEM(i->data); type = gf_item_get_type(item); switch(type) { case GF_ITEM_TYPE_ICON: page = GFTE_PAGE_ICON; break; case GF_ITEM_TYPE_IMAGE: page = GFTE_PAGE_IMAGE; break; case GF_ITEM_TYPE_TEXT: page = GFTE_PAGE_TEXT; break; case GF_ITEM_TYPE_UNKNOWN: default: break; } if(page == -1) continue; gfte_store_add(store, &iter, &child, gf_item_type_to_string(type, TRUE), page, item); } } return store; } /* This was yanked from gtk 2.4.x, it's a wrapper to support this function on gtk 2.0 */ static void gfte_tree_view_expand_to_path(GtkTreeView *tree, GtkTreePath *path) { #if GTK_CHECK_VERSION(2,2,0) gtk_tree_view_expand_to_path(tree, path); #else gint i, depth; gint *indices; GtkTreePath *tmp; g_return_if_fail(GTK_IS_TREE_VIEW(tree)); g_return_if_fail(path != NULL); depth = gtk_tree_path_get_depth(path); indices = gtk_tree_path_get_indices(path); tmp = gtk_tree_path_new(); g_return_if_fail(tmp != NULL); for(i = 0; i < depth; i++) { gtk_tree_path_append_index(tmp, indices[i]); gtk_tree_view_expand_row(tree, tmp, FALSE); } gtk_tree_path_free(tmp); #endif /* GTK 2.0 */ } static void gfte_store_select_iter(GtkTreeIter *iter) { GtkTreeModel *model; GtkTreeSelection *sel; GtkTreePath *path; model = gtk_tree_view_get_model(GTK_TREE_VIEW(editor.tree)); path = gtk_tree_model_get_path(model, iter); gfte_tree_view_expand_to_path(GTK_TREE_VIEW(editor.tree), path); gtk_tree_path_free(path); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(editor.tree)); gtk_tree_selection_select_iter(sel, iter); } static gchar * gfte_make_temp_dir() { gchar *path, *dir; dir = g_strdup_printf(".%x", g_random_int()); path = g_build_filename(purple_user_dir(), "guifications", "themes", dir, NULL); g_free(dir); g_mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR); return path; } void gfte_setup(const gchar *filename) { GfTheme *old = editor.theme; if(filename) { GfNotification *notification; GList *l; editor.theme = gf_theme_new_from_file(filename); for(l = gf_theme_get_notifications(editor.theme); l; l = l->next) { notification = GF_NOTIFICATION(l->data); } } else { GfNotification *master = NULL; editor.theme = gf_theme_new(); gf_theme_set_theme_info(editor.theme, gf_theme_info_new()); gf_theme_set_theme_options(editor.theme, gf_theme_options_new()); master = gf_notification_new(editor.theme); gf_notification_set_type(master, GF_NOTIFICATION_MASTER); gf_theme_add_notification(editor.theme, master); } if(editor.theme) { if(old) gf_theme_unload(old); old = NULL; } else { editor.theme = old; return; } gfte_remove_temp(); if(editor.filename) g_free(editor.filename); if(filename) { editor.filename = g_strdup(filename); } else { gchar *path = NULL; path = gfte_make_temp_dir(); editor.filename = g_build_filename(path, "theme.xml", NULL); g_free(path); } if(editor.path) g_free(editor.path); editor.path = g_path_get_dirname(editor.filename); if(editor.store) { gtk_tree_view_set_model(GTK_TREE_VIEW(editor.tree), NULL); g_object_unref(G_OBJECT(editor.store)); } editor.store = gfte_store_update(); if(editor.window) { GtkTreeIter iter; gtk_tree_view_set_model(GTK_TREE_VIEW(editor.tree), GTK_TREE_MODEL(editor.store)); gtk_tree_view_expand_all(GTK_TREE_VIEW(editor.tree)); gtk_tree_model_get_iter_first(GTK_TREE_MODEL(editor.store), &iter); gfte_store_select_iter(&iter); } editor.changed = FALSE; } static void gfte_dialog_cleanup() { if(del_obj.window) { gtk_widget_destroy(del_obj.window); del_obj.window = NULL; } if(new_notification.window) { gtk_widget_destroy(new_notification.window); new_notification.window = NULL; } if(new_item.window) { gtk_widget_destroy(new_item.window); new_item.window = NULL; } if(modified.window) { gtk_widget_destroy(modified.window); modified.window = NULL; if(modified.filename) g_free(modified.filename); modified.filename = NULL; } if(image_dialog) { purple_request_close(PURPLE_REQUEST_FILE, image_dialog); image_dialog = NULL; } if(opt_dialog) { gtk_widget_destroy(opt_dialog); opt_dialog = NULL; } } static void gfte_cleanup() { gfte_dialog_cleanup(); editor.window = NULL; if(editor.theme) gf_theme_unload(editor.theme); editor.theme = NULL; if(editor.filename) g_free(editor.filename); editor.filename = NULL; if(editor.path) { gchar *dir = NULL; dir = g_path_get_basename(editor.path); if(dir && dir[0] == '.') { gf_file_remove_dir(editor.path); g_free(dir); } g_free(editor.path); } editor.path = NULL; if(editor.store) g_object_unref(G_OBJECT(editor.store)); editor.store = NULL; if(editor.tooltips) g_object_unref(G_OBJECT(editor.tooltips)); editor.tooltips = NULL; } /******************************************************************************* * new/delete helpers ******************************************************************************/ static gpointer gfte_store_get_row(GtkTreeIter *iter, gint *page, gchar **title) { GtkTreeModel *model; GtkTreeSelection *sel; gpointer object; sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(editor.tree)); if(!gtk_tree_selection_get_selected(sel, &model, iter)) return NULL; gtk_tree_model_get(model, iter, GFTE_STORE_OBJECT, &object, GFTE_STORE_PAGE, page, GFTE_STORE_TITLE, title, -1); return object; } /******************************************************************************* * modified dialog stuff ******************************************************************************/ static gboolean gfte_modified_deleted_cb(GtkWidget *w, GdkEvent *e, gpointer data) { modified.window = NULL; if(modified.filename) g_free(modified.filename); modified.filename = NULL; return FALSE; } static void gfte_modified_cancel_cb(GtkButton *button, gpointer data) { gtk_widget_destroy(modified.window); modified.window = NULL; if(modified.filename) g_free(modified.filename); modified.filename = NULL; } static void gfte_modified_no_cb(GtkButton *button, gpointer data) { gtk_widget_destroy(modified.window); modified.window = NULL; gfte_remove_temp(); switch(modified.type) { case GFTE_MODIFIED_CLOSE: gtk_widget_destroy(editor.window); gfte_cleanup(); break; case GFTE_MODIFIED_NEW: gfte_setup(NULL); break; case GFTE_MODIFIED_OPEN: if(modified.filename) { gfte_setup(modified.filename); g_free(modified.filename); modified.filename = NULL; } break; case GFTE_MODIFIED_TOTAL: default: break; } } static void gfte_modified_yes_cb(GtkButton *button, gpointer data) { gtk_widget_destroy(modified.window); modified.window = NULL; gfte_save_theme(); switch(modified.type) { case GFTE_MODIFIED_CLOSE: gtk_widget_destroy(editor.window); gfte_cleanup(); break; case GFTE_MODIFIED_NEW: gfte_setup(NULL); break; case GFTE_MODIFIED_OPEN: if(modified.filename) { gfte_setup(modified.filename); g_free(modified.filename); modified.filename = NULL; } break; case GFTE_MODIFIED_TOTAL: default: break; } } static void gfte_modified_show(gint type, const gchar *filename) { GtkWidget *vbox, *hbox, *widget; gchar *label = NULL; if(modified.window) { gtk_widget_show(modified.window); return; } if(type == GFTE_MODIFIED_CLOSE) label = g_strdup(_("Would you like to save before closing?")); else if(type == GFTE_MODIFIED_NEW) label = g_strdup(_("Would you like to save before creating a new theme?")); else if(type == GFTE_MODIFIED_OPEN) label = g_strdup_printf(_("Would you like to save before opening %s?"), filename); else return; gfte_dialog_cleanup(); modified.type = type; modified.filename = g_strdup(filename); modified.window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(modified.window), _("Confirm")); gtk_window_set_resizable(GTK_WINDOW(modified.window), FALSE); gtk_container_set_border_width(GTK_CONTAINER(modified.window), 12); g_signal_connect(G_OBJECT(modified.window), "delete-event", G_CALLBACK(gfte_modified_deleted_cb), NULL); vbox = gtk_vbox_new(FALSE, 4); gtk_container_add(GTK_CONTAINER(modified.window), vbox); widget = gtk_label_new(label); g_free(label); gtk_label_set_line_wrap(GTK_LABEL(widget), TRUE); gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, FALSE, 0); widget = gtk_hseparator_new(); gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, FALSE, 0); hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_YES); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_modified_yes_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_NO); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_modified_no_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_CANCEL); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_modified_cancel_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); gtk_widget_show_all(modified.window); } /******************************************************************************* * Delete Item Stuff ******************************************************************************/ static gboolean gfte_delete_deleted_cb(GtkWidget *w, GdkEvent *e, gpointer data) { del_obj.window = NULL; return FALSE; } static void gfte_delete_no_cb(GtkButton *button, gpointer data) { gtk_widget_destroy(del_obj.window); del_obj.window = NULL; } static void gfte_delete_yes_cb(GtkButton *button, gpointer data) { GtkTreeIter iter; gpointer obj = NULL; gchar *title = NULL; gint page; obj = gfte_store_get_row(&iter, &page, &title); if (title) g_free(title); if(!obj) { gtk_widget_destroy(del_obj.window); del_obj.window = NULL; return; } if(page == GFTE_PAGE_NOTIFICATION) { GfTheme *theme = gf_notification_get_theme(GF_NOTIFICATION(obj)); gf_theme_remove_notification(theme, GF_NOTIFICATION(obj)); gf_notification_destroy(GF_NOTIFICATION(obj)); gtk_tree_store_remove(editor.store, &iter); } else if(page == GFTE_PAGE_ICON || page == GFTE_PAGE_IMAGE || page == GFTE_PAGE_TEXT) { GfNotification *notification = gf_item_get_notification(GF_ITEM(obj)); gf_notification_remove_item(notification, GF_ITEM(obj)); gf_item_destroy(GF_ITEM(obj)); gtk_tree_store_remove(editor.store, &iter); } gtk_widget_destroy(del_obj.window); del_obj.window = NULL; gfte_toolbar_buttons_update(FALSE, FALSE, FALSE, FALSE, FALSE); editor.changed = TRUE; } static void gfte_delete_show(GtkButton *button, gpointer data) { GtkWidget *vbox, *hbox, *widget; GtkTreeIter iter; gchar *item, *title, *label; gint page; if(del_obj.window) { gtk_widget_show(del_obj.window); return; } gfte_dialog_cleanup(); gfte_store_get_row(&iter, &page, &item); if(page == GFTE_PAGE_NOTIFICATION) { label = g_strdup_printf(_("Are you sure you want to delete this %s notification?"), item); title = g_strdup(_("Confirm delete notification")); g_free(item); } else if(page == GFTE_PAGE_ICON || page == GFTE_PAGE_IMAGE || page == GFTE_PAGE_TEXT) { label = g_strdup_printf(_("Are you sure you want to delete this %s item?"), item); title = g_strdup(_("Confirm delete item")); g_free(item); } else { g_free(item); gtk_widget_destroy(del_obj.window); del_obj.window = NULL; return; } del_obj.window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(del_obj.window), title); g_free(title); gtk_window_set_resizable(GTK_WINDOW(del_obj.window), FALSE); gtk_container_set_border_width(GTK_CONTAINER(del_obj.window), 12); g_signal_connect(G_OBJECT(del_obj.window), "delete-event", G_CALLBACK(gfte_delete_deleted_cb), NULL); vbox = gtk_vbox_new(FALSE, 4); gtk_container_add(GTK_CONTAINER(del_obj.window), vbox); widget = gtk_label_new(label); gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, FALSE, 0); /* separator */ widget = gtk_hseparator_new(); gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, FALSE, 0); /* buttons */ hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_YES); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_delete_yes_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_NO); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_delete_no_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); gtk_widget_show_all(del_obj.window); } /******************************************************************************* * New Notification Stuff ******************************************************************************/ static gboolean gfte_new_notification_deleted_cb(GtkWidget *w, GdkEvent *e, gpointer data) { new_notification.window = NULL; return FALSE; } static void gfte_new_notification_cancel_cb(GtkButton *button, gpointer data) { gtk_widget_destroy(new_notification.window); new_notification.window = NULL; } static void gfte_new_notification_ok_cb(GtkButton *button, gpointer data) { GfNotification *notification, *master; GtkTreeIter parent, child; gpointer object; const gchar *n_type; gint hist; gtk_tree_model_get_iter_first(GTK_TREE_MODEL(editor.store), &parent); gtk_tree_model_get(GTK_TREE_MODEL(editor.store), &parent, GFTE_STORE_OBJECT, &object, -1); if(object == NULL) { purple_debug_misc("guifications", "ouch, I don't know where to put this, aborting\n"); if(new_notification.window) gtk_widget_destroy(new_notification.window); new_notification.window = NULL; return; } /* find the notification type, this really needs to get cleaned up but works for now */ hist = gtk_option_menu_get_history(GTK_OPTION_MENU(new_notification.type)); n_type = gf_events_get_nth_notification(hist); if(!g_utf8_collate(n_type, GF_NOTIFICATION_MASTER)) return; master = gf_theme_get_master(editor.theme); if(!master) { notification = gf_notification_new(GF_THEME(object)); } else { notification = gf_notification_copy(master); } /* create the notification */ gf_notification_set_type(notification, n_type); /* add it to the theme */ gf_theme_add_notification(GF_THEME(object), notification); /* add it to the store */ gfte_store_add(editor.store, &child, &parent, gf_events_get_nth_name(hist), GFTE_PAGE_NOTIFICATION, notification); gfte_store_select_iter(&child); if(master) { GtkTreeIter item; GList *l; gboolean expand = FALSE; for(l = gf_notification_get_items(notification); l; l = l->next) { gint type = gf_item_get_type(GF_ITEM(l->data)); gfte_store_add(editor.store, &item, &child, gf_item_type_to_string(type, TRUE), type + GFTE_PAGE_ICON, l->data); if(!expand) expand = TRUE; } if(expand) { GtkTreePath *path; path = gtk_tree_model_get_path(GTK_TREE_MODEL(editor.store), &child); gtk_tree_view_expand_row(GTK_TREE_VIEW(editor.tree), path, TRUE); gtk_tree_path_free(path); } } if(new_notification.window) gtk_widget_destroy(new_notification.window); new_notification.window = NULL; editor.changed = TRUE; } static void gfte_new_notification_show(GtkButton *button, gpointer data) { GtkWidget *vbox, *hbox, *widget, *menu; if(new_notification.window) { gtk_widget_show(new_notification.window); return; } gfte_dialog_cleanup(); new_notification.window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(new_notification.window), _("New Notification")); gtk_window_set_resizable(GTK_WINDOW(new_notification.window), FALSE); gtk_container_set_border_width(GTK_CONTAINER(new_notification.window), 12); g_signal_connect(G_OBJECT(new_notification.window), "delete-event", G_CALLBACK(gfte_new_notification_deleted_cb), NULL); vbox = gtk_vbox_new(FALSE, 4); gtk_container_add(GTK_CONTAINER(new_notification.window), vbox); /* option menu */ hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); widget = gtk_label_new(_("New notification type:")); gtk_box_pack_start(GTK_BOX(hbox), widget, FALSE, FALSE, 0); menu = gf_menu_build(gf_menu_event, editor.theme); new_notification.type = gtk_option_menu_new(); gtk_option_menu_set_menu(GTK_OPTION_MENU(new_notification.type), menu); gtk_box_pack_start(GTK_BOX(hbox), new_notification.type, TRUE, TRUE, 0); /* separator */ widget = gtk_hseparator_new(); gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, FALSE, 0); /* buttons */ hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_OK); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_new_notification_ok_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_CANCEL); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_new_notification_cancel_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); gtk_widget_show_all(new_notification.window); } /******************************************************************************* * New Item Stuff ******************************************************************************/ static gboolean gfte_new_item_deleted_cb(GtkWidget *w, GdkEvent *e, gpointer data) { new_item.window = NULL; return FALSE; } static void gfte_new_item_cancel_cb(GtkButton *button, gpointer data) { gtk_widget_destroy(new_item.window); new_item.window = NULL; } static void gfte_new_item_ok_cb(GtkButton *button, gpointer data) { GfItem *item; GfItemType type; GfItemOffset *offset; GtkTreeIter parent, child; gpointer object; gchar *title = NULL; gint page; object = gfte_store_get_row(&parent, &page, &title); /* we have to grab this early in case the selected node is an item, and we select the * notification. If we don't grab this, the selection changes kills all the dialogs * making this and invalid widget. */ type = gtk_option_menu_get_history(GTK_OPTION_MENU(new_item.type)); if(page == GFTE_PAGE_ICON || page == GFTE_PAGE_IMAGE || page == GFTE_PAGE_TEXT) { GtkTreeSelection *sel; gtk_tree_model_iter_parent(GTK_TREE_MODEL(editor.store), &child, &parent); if(title) g_free(title); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(editor.tree)); gtk_tree_selection_select_iter(sel, &child); object = gfte_store_get_row(&parent, &page, &title); } if(title) g_free(title); if(!object) { purple_debug_misc("guifications", "ouch, I don't know where to put this, aborting\n"); if(new_item.window) gtk_widget_destroy(new_item.window); new_item.window = NULL; return; } item = gf_item_new(GF_NOTIFICATION(object)); gf_item_set_type(item, type); if(type == GF_ITEM_TYPE_ICON) { GfItemIcon *icon = gf_item_icon_new(item); gf_item_set_item_icon(item, icon); } else if(type == GF_ITEM_TYPE_IMAGE) { GfItemImage *image = gf_item_image_new(item); gf_item_set_item_image(item, image); } else if(type == GF_ITEM_TYPE_TEXT) { GfItemText *text = gf_item_text_new(item); gf_item_set_item_text(item, text); } /* create the offsets for the item */ offset = gf_item_offset_new(item); gf_item_set_horz_offset(item, offset); offset = gf_item_offset_new(item); gf_item_set_vert_offset(item, offset); /* add the item to the notification */ gf_notification_add_item(GF_NOTIFICATION(object), item); /* throw it in the tree */ gfte_store_add(editor.store, &child, &parent, gf_item_type_to_string(type, TRUE), /* gross dirty hack.. clean me up later */ type + GFTE_PAGE_ICON, item); gfte_store_select_iter(&child); if(new_item.window) gtk_widget_destroy(new_item.window); new_item.window = NULL; editor.changed = TRUE; } static void gfte_new_item_show(GtkButton *button, gpointer data) { GtkWidget *vbox, *hbox, *widget, *menu; if(new_item.window) { gtk_widget_show(new_item.window); return; } gfte_dialog_cleanup(); new_item.window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(new_item.window), _("New Item")); gtk_window_set_resizable(GTK_WINDOW(new_item.window), FALSE); gtk_widget_set_size_request(new_item.window, 250, -1); gtk_container_set_border_width(GTK_CONTAINER(new_item.window), 12); g_signal_connect(G_OBJECT(new_item.window), "delete-event", G_CALLBACK(gfte_new_item_deleted_cb), NULL); vbox = gtk_vbox_new(FALSE, 4); gtk_container_add(GTK_CONTAINER(new_item.window), vbox); /* option menu */ hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); widget = gtk_label_new(_("New item type:")); gtk_box_pack_start(GTK_BOX(hbox), widget, FALSE, FALSE, 0); menu = gf_menu_build(gf_menu_item_type, NULL); new_item.type = gtk_option_menu_new(); gtk_option_menu_set_menu(GTK_OPTION_MENU(new_item.type), menu); gtk_box_pack_start(GTK_BOX(hbox), new_item.type, TRUE, TRUE, 0); /* separator */ widget = gtk_hseparator_new(); gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, FALSE, 0); /* buttons */ hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_OK); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_new_item_ok_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); widget = gtk_button_new_from_stock(GTK_STOCK_CANCEL); g_signal_connect(G_OBJECT(widget), "clicked", G_CALLBACK(gfte_new_item_cancel_cb), NULL); gtk_box_pack_end(GTK_BOX(hbox), widget, FALSE, FALSE, 0); gtk_widget_show_all(new_item.window); } /******************************************************************************* * Duplicate stuff ******************************************************************************/ static void gfte_duplicate_object(GtkButton *button, gpointer data) { GtkTreeIter parent, child, sibling; gchar *title; gint page; gpointer object; object = gfte_store_get_row(&sibling, &page, &title); gtk_tree_model_iter_parent(GTK_TREE_MODEL(editor.store), &parent, &sibling); if(page == GFTE_PAGE_NOTIFICATION) { GfNotification *notification; GtkTreeIter item; GList *l; gboolean expand = FALSE; notification = gf_notification_copy(GF_NOTIFICATION(object)); gfte_store_add(editor.store, &child, &parent, title, page, notification); for(l = gf_notification_get_items(notification); l; l = l->next) { gint type = gf_item_get_type(GF_ITEM(l->data)); gfte_store_add(editor.store, &item, &child, gf_item_type_to_string(type, TRUE), type + GFTE_PAGE_ICON, l->data); if(!expand) expand = TRUE; } gf_theme_add_notification(editor.theme, notification); if(expand) { GtkTreePath *path; path = gtk_tree_model_get_path(GTK_TREE_MODEL(editor.store), &child); gtk_tree_view_expand_row(GTK_TREE_VIEW(editor.tree), path, TRUE); gtk_tree_path_free(path); } } else if(page == GFTE_PAGE_ICON || page == GFTE_PAGE_IMAGE || page == GFTE_PAGE_TEXT) { GfItem *item; item = gf_item_copy(GF_ITEM(object)); gtk_tree_store_append(editor.store, &child, &parent); gtk_tree_store_set(editor.store, &child, GFTE_STORE_OBJECT, item, GFTE_STORE_PAGE, page, GFTE_STORE_TITLE, title, -1); gf_notification_add_item(gf_item_get_notification(GF_ITEM(object)), item); } else { return; } if(title) g_free(title); gfte_store_select_iter(&child); editor.changed = TRUE; } /******************************************************************************* * Moving items ******************************************************************************/ static gboolean gfte_is_older_notification(GfNotification *notification) { GfTheme *theme; GList *l; theme = gf_notification_get_theme(notification); if(!theme) return FALSE; l = gf_theme_get_notifications(theme); if(l->data == notification) return FALSE; else return TRUE; } static gboolean gfte_is_younger_notification(GfNotification *notification) { GfTheme *theme; GList *l; theme = gf_notification_get_theme(notification); if(!theme) return FALSE; /* get the last notification */ for(l = gf_theme_get_notifications(theme); l->next; l = l->next); if(l->data == notification) return FALSE; else return TRUE; } static gboolean gfte_is_older_item(GfItem *item) { GfNotification *notification; GList *l; notification = gf_item_get_notification(item); if(!notification) return FALSE; l = gf_notification_get_items(notification); if(l->data == item) return FALSE; else return TRUE; } static gboolean gfte_is_younger_item(GfItem *item) { GfNotification *notification; GList *l; notification = gf_item_get_notification(item); if(!notification) return FALSE; /* get the last item */ for(l = gf_notification_get_items(notification); l->next; l = l->next); if(l->data == item) return FALSE; else return TRUE; } static void gfte_store_swap(GtkTreeIter *a, GtkTreeIter *b) { GtkTreeSelection *sel; gchar *a_title, *b_title; gint a_page, b_page; gpointer a_obj, b_obj; #if !GTK_CHECK_VERSION(2,2,0) gchar *title; gint page; gpointer obj; #endif /* !GTK_CHECK_VERSION(2,2,0) */ /* get 'em */ gtk_tree_model_get(GTK_TREE_MODEL(editor.store), a, GFTE_STORE_OBJECT, &a_obj, GFTE_STORE_PAGE, &a_page, GFTE_STORE_TITLE, &a_title, -1); gtk_tree_model_get(GTK_TREE_MODEL(editor.store), b, GFTE_STORE_OBJECT, &b_obj, GFTE_STORE_PAGE, &b_page, GFTE_STORE_TITLE, &b_title, -1); if(a_page == GFTE_PAGE_NOTIFICATION) gf_notifications_swap(GF_NOTIFICATION(a_obj), GF_NOTIFICATION(b_obj)); else { gf_items_swap(GF_ITEM(a_obj), GF_ITEM(b_obj)); } #if GTK_CHECK_VERSION(2,2,0) gtk_tree_store_swap(editor.store, a, b); #else /* swap 'em */ title = a_title; page = a_page; obj = a_obj; a_title = b_title; a_page = b_page; a_obj = b_obj; b_title = title; b_page = page; b_obj = obj; /* set 'em */ gtk_tree_store_set(editor.store, a, GFTE_STORE_OBJECT, a_obj, GFTE_STORE_PAGE, a_page, GFTE_STORE_TITLE, a_title, -1); gtk_tree_store_set(editor.store, b, GFTE_STORE_OBJECT, b_obj, GFTE_STORE_PAGE, b_page, GFTE_STORE_TITLE, b_title, -1); #endif /* GTK_CHECK_VERSION(2,2,0) */ /* clean up */ g_free(a_title); g_free(b_title); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(editor.tree)); gfte_selection_changed_cb(sel, NULL); } static void gfte_move_up(GtkButton *button, gpointer data) { GtkTreeIter child, sibling; GtkTreePath *path; gpointer object; gchar *title; gint page; object = gfte_store_get_row(&child, &page, &title); if(title) g_free(title); path = gtk_tree_model_get_path(GTK_TREE_MODEL(editor.store), &child); if(!path) return; if(!gtk_tree_path_prev(path)) { gtk_tree_path_free(path); return; } if(!gtk_tree_model_get_iter(GTK_TREE_MODEL(editor.store), &sibling, path)) { gtk_tree_path_free(path); return; } gfte_store_swap(&child, &sibling); gtk_tree_path_free(path); } static void gfte_move_down(GtkButton *button, gpointer data) { GtkTreeIter child, sibling; GtkTreePath *path; gpointer object; gchar *title; gint page; object = gfte_store_get_row(&child, &page, &title); if(title) g_free(title); path = gtk_tree_model_get_path(GTK_TREE_MODEL(editor.store), &child); if(!path) return; /* we just assume this works since it returns void I guess.. */ gtk_tree_path_next(path); if(!gtk_tree_model_get_iter(GTK_TREE_MODEL(editor.store), &sibling, path)) { gtk_tree_path_free(path); return; } gfte_store_swap(&child, &sibling); gtk_tree_path_free(path); } /******************************************************************************* * getter/setter helpers ******************************************************************************/ static gpointer gfte_store_get_object_and_iter(GtkTreeIter *iter) { GtkTreeModel *model; GtkTreeSelection *sel; gpointer object; g_return_val_if_fail(iter, NULL); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(editor.tree)); gtk_tree_selection_get_selected(sel, &model, iter); gtk_tree_model_get(model, iter, GFTE_STORE_OBJECT, &object, -1); return object; } static gpointer gfte_store_get_object() { GtkTreeIter iter; return gfte_store_get_object_and_iter(&iter); } /******************************************************************************* * Setters ******************************************************************************/ static void gfte_set_value(GtkWidget *widget, gint page, gpointer object, gconstpointer value) { GfteSetFunc setter = g_object_get_data(G_OBJECT(widget), "setter"); gint flags = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "flags")); switch(page) { case GFTE_PAGE_THEME: break; case GFTE_PAGE_INFO: setter(GF_THEME_INFO(object), value); break; case GFTE_PAGE_OPS: setter(GF_THEME_OPTIONS(object), value); break; case GFTE_PAGE_NOTIFICATION: setter(GF_NOTIFICATION(object), value); break; case GFTE_PAGE_ICON: switch(flags) { case GFTE_FLAGS_OBJECT: setter(GF_ITEM(object), value); break; case GFTE_FLAGS_SUB_OBJECT: setter(gf_item_get_item_icon(GF_ITEM(object)), value); break; case GFTE_FLAGS_H_OFFSET: setter(gf_item_get_horz_offset(GF_ITEM(object)), value); break; case GFTE_FLAGS_V_OFFSET: setter(gf_item_get_vert_offset(GF_ITEM(object)), value); break; case GFTE_FLAGS_TOTAL: default: break; } break; case GFTE_PAGE_IMAGE: switch(flags) { case GFTE_FLAGS_OBJECT: setter(GF_ITEM(object), value); break; case GFTE_FLAGS_SUB_OBJECT: setter(gf_item_get_item_image(GF_ITEM(object)), value); break; case GFTE_FLAGS_H_OFFSET: setter(gf_item_get_horz_offset(GF_ITEM(object)), value); break; case GFTE_FLAGS_V_OFFSET: setter(gf_item_get_vert_offset(GF_ITEM(object)), value); break; case GFTE_FLAGS_TOTAL: default: break; } break; case GFTE_PAGE_TEXT: switch(flags) { case GFTE_FLAGS_OBJECT: setter(GF_ITEM(object), value); break; case GFTE_FLAGS_SUB_OBJECT: setter(gf_item_get_item_text(GF_ITEM(object)), value); break; case GFTE_FLAGS_H_OFFSET: setter(gf_item_get_horz_offset(GF_ITEM(object)), value); break; case GFTE_FLAGS_V_OFFSET: setter(gf_item_get_vert_offset(GF_ITEM(object)), value); break; case GFTE_FLAGS_TOTAL: default: break; } break; case GFTE_PAGE_TOTAL: default: break; } } static void gfte_entry_changed_cb(GtkWidget *widget, gpointer data) { GtkTreeIter iter; gpointer object; const gchar *value; gint page; object = gfte_store_get_object_and_iter(&iter); value = gtk_entry_get_text(GTK_ENTRY(widget)); page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); editor.changed = TRUE; gfte_set_value(widget, page, object, (gpointer)value); if(page == GFTE_PAGE_NOTIFICATION && widget == editor.notification.alias) { GfEvent *event; GfNotification *notification; const gchar *alias = NULL, *type = NULL; if(!gf_utils_strcmp(value, "")) { notification = GF_NOTIFICATION(object); type = gf_notification_get_type(notification); event = gf_event_find_for_notification(type); alias = gf_event_get_name(event); } else { alias = value; } gtk_tree_store_set(editor.store, &iter, GFTE_STORE_TITLE, alias, -1); } } static void gfte_check_toggled_cb(GtkWidget *widget, gpointer data) { gpointer object = gfte_store_get_object(); gpointer pvalue; gint page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); gboolean value; value = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget)); pvalue = GINT_TO_POINTER(value); editor.changed = TRUE; gfte_set_value(widget, page, object, pvalue); /* adjust the sensitivity according to the use gtk setting */ if(widget == editor.notification.use_gtk) { gtk_widget_set_sensitive(editor.notification.button, !value); gtk_widget_set_sensitive(editor.notification.width, value); gtk_widget_set_sensitive(editor.notification.height, value); } } static void gfte_spin_changed_cb(GtkWidget *widget, GtkScrollType arg1, gpointer user_data) { gpointer object = gfte_store_get_object(); gpointer value = GINT_TO_POINTER(gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget))); gint page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); editor.changed = TRUE; gfte_set_value(widget, page, object, value); } static void gfte_option_menu_changed_cb(GtkWidget *widget, gpointer user_data) { gpointer object = gfte_store_get_object(); gpointer value = GINT_TO_POINTER(gtk_option_menu_get_history(GTK_OPTION_MENU(widget))); gint page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); editor.changed = TRUE; gfte_set_value(widget, page, object, value); } /******************************************************************************* * Getters ******************************************************************************/ static gpointer gfte_get_value(GtkWidget *widget, gint page, gpointer object) { GfteGetFunc getter = g_object_get_data(G_OBJECT(widget), "getter"); /* The flags decide what item we use in our call to the getter function. This could * be GfTheme, GfThemeInfo, GfThemeOptions, GfNotification, GfItem, GfItemIcon, * GfItemImage, GfItemOffset, or GfItemText. Everything besides the item gets called * as is. Thats why we check it only for the item pages. Since the object we need * to use for the getter could be GfItem, GfItemIcon, GfItemImage, GfItemOffset, or * GfItemText. Once we know what it is, we can call it correctly. */ gint flags = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "flags")); switch(page) { case GFTE_PAGE_THEME: return (gpointer)getter(GF_THEME(object)); break; case GFTE_PAGE_INFO: return (gpointer)getter(GF_THEME_INFO(object)); break; case GFTE_PAGE_OPS: return (gpointer)getter(GF_THEME_OPTIONS(object)); break; case GFTE_PAGE_NOTIFICATION: return (gpointer)getter(GF_NOTIFICATION(object)); break; case GFTE_PAGE_ICON: switch(flags) { case GFTE_FLAGS_OBJECT: return (gpointer)getter(GF_ITEM(object)); break; case GFTE_FLAGS_SUB_OBJECT: return (gpointer)getter(gf_item_get_item_icon(GF_ITEM(object))); break; case GFTE_FLAGS_H_OFFSET: return (gpointer)getter(gf_item_get_horz_offset(GF_ITEM(object))); break; case GFTE_FLAGS_V_OFFSET: return (gpointer)getter(gf_item_get_vert_offset(GF_ITEM(object))); break; case GFTE_FLAGS_TOTAL: default: return NULL; } break; case GFTE_PAGE_IMAGE: switch(flags) { case GFTE_FLAGS_OBJECT: return (gpointer)getter(GF_ITEM(object)); break; case GFTE_FLAGS_SUB_OBJECT: return (gpointer)getter(gf_item_get_item_image(GF_ITEM(object))); break; case GFTE_FLAGS_H_OFFSET: return (gpointer)getter(gf_item_get_horz_offset(GF_ITEM(object))); break; case GFTE_FLAGS_V_OFFSET: return (gpointer)getter(gf_item_get_vert_offset(GF_ITEM(object))); break; case GFTE_FLAGS_TOTAL: default: return NULL; } break; case GFTE_PAGE_TEXT: switch(flags) { case GFTE_FLAGS_OBJECT: return (gpointer)getter(GF_ITEM(object)); break; case GFTE_FLAGS_SUB_OBJECT: return (gpointer)getter(gf_item_get_item_text(GF_ITEM(object))); break; case GFTE_FLAGS_H_OFFSET: return (gpointer)getter(gf_item_get_horz_offset(GF_ITEM(object))); break; case GFTE_FLAGS_V_OFFSET: return (gpointer)getter(gf_item_get_vert_offset(GF_ITEM(object))); break; case GFTE_FLAGS_TOTAL: default: return NULL; } break; case GFTE_PAGE_TOTAL: default: return NULL; break; } } /******************************************************************************* * Update Widgets ******************************************************************************/ static void gfte_update_entry(GtkWidget *entry, gint page, gpointer object) { gchar *value = (gchar *)gfte_get_value(entry, page, object); g_signal_handlers_block_by_func(G_OBJECT(entry), gfte_entry_changed_cb, NULL); if(value) gtk_entry_set_text(GTK_ENTRY(entry), value); else gtk_entry_set_text(GTK_ENTRY(entry), ""); g_signal_handlers_unblock_by_func(G_OBJECT(entry), gfte_entry_changed_cb, NULL); } static void gfte_update_option_menu(GtkWidget *opt_menu, gint page, gpointer object) { gint value = GPOINTER_TO_INT(gfte_get_value(opt_menu, page, object)); g_signal_handlers_block_by_func(G_OBJECT(opt_menu), gfte_option_menu_changed_cb, NULL); gtk_option_menu_set_history(GTK_OPTION_MENU(opt_menu), value); g_signal_handlers_unblock_by_func(G_OBJECT(opt_menu), gfte_option_menu_changed_cb, NULL); } static void gfte_update_spin_button(GtkWidget *spin, gint page, gpointer object) { gint value = GPOINTER_TO_INT(gfte_get_value(spin, page, object)); g_signal_handlers_block_by_func(G_OBJECT(spin), gfte_spin_changed_cb, NULL); gtk_spin_button_set_value(GTK_SPIN_BUTTON(spin), value); g_signal_handlers_unblock_by_func(G_OBJECT(spin), gfte_spin_changed_cb, NULL); } static void gfte_update_check(GtkWidget *check, gint page, gpointer object) { gboolean value = GPOINTER_TO_INT(gfte_get_value(check, page, object)); g_signal_handlers_block_by_func(G_OBJECT(check), gfte_check_toggled_cb, NULL); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), value); g_signal_handlers_unblock_by_func(G_OBJECT(check), gfte_check_toggled_cb, NULL); /* adjust the sensitivity according to the use gtk setting */ if(check == editor.notification.use_gtk) { gtk_widget_set_sensitive(editor.notification.button, !value); gtk_widget_set_sensitive(editor.notification.width, value); gtk_widget_set_sensitive(editor.notification.height, value); } } /******************************************************************************* * Button stuff (requires getters and setters thats why it's here...) ******************************************************************************/ static void gfte_dialog_file_ok_cb(gpointer data, const gchar *filename) { GtkWidget *button; gpointer object; gchar *relative = NULL, *target = NULL; gint page; if(!filename) { image_dialog = NULL; return; } button = GTK_WIDGET(data); object = gfte_store_get_object(); page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); relative = g_path_get_basename(filename); target = g_build_filename(editor.path, relative, NULL); if(!gf_file_copy_file(filename, target)) { g_free(target); g_free(relative); return; } g_free(target); gfte_set_value(button, page, object, relative); g_free(relative); if(page == GFTE_PAGE_NOTIFICATION) gfte_update_entry(editor.notification.filename, page, object); else if(page == GFTE_PAGE_IMAGE) gfte_update_entry(editor.image.filename, page, object); } static void gfte_dialog_file_cancel_cb(gpointer data, const gchar *filename) { image_dialog = NULL; } static void gfte_dialog_font_ok_cb(GtkButton *b, gpointer data) { GtkWidget *button; gpointer object; gchar *font; gint page; button = GTK_WIDGET(data); object = gfte_store_get_object(); page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); font = gtk_font_selection_dialog_get_font_name( GTK_FONT_SELECTION_DIALOG(opt_dialog)); gfte_set_value(button, page, object, font); if(font) g_free(font); gtk_widget_destroy(opt_dialog); opt_dialog = NULL; } static void gfte_dialog_font_cancel_cb(GtkButton *b, gpointer data) { gtk_widget_destroy(opt_dialog); opt_dialog = NULL; } static void gfte_dialog_color_ok_cb(GtkButton *b, gpointer data) { GtkWidget *button; GdkColor gcolor; gpointer object; gchar ccolor[14]; gint page; button = GTK_WIDGET(data); object = gfte_store_get_object(); page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); gtk_color_selection_get_current_color(GTK_COLOR_SELECTION( GTK_COLOR_SELECTION_DIALOG(opt_dialog)->colorsel), &gcolor); g_snprintf(ccolor, sizeof(ccolor), "#%04x%04x%04x", gcolor.red, gcolor.green, gcolor.blue); gfte_set_value(button, page, object, ccolor); gtk_widget_destroy(opt_dialog); opt_dialog = NULL; } static void gfte_dialog_color_cancel_cb(GtkButton *b, gpointer data) { gtk_widget_destroy(opt_dialog); opt_dialog = NULL; } static void gfte_button_clicked_cb(GtkWidget *button, gpointer data) { gpointer object, value; gint page, type; gfte_dialog_cleanup(); type = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button), "type")); object = gfte_store_get_object(); page = gtk_notebook_get_current_page(GTK_NOTEBOOK(editor.note)); value = gfte_get_value(button, page, object); if(type == GFTE_BUTTON_FILE) { image_dialog = purple_request_file(plugin_handle, _("Open"), "", FALSE, G_CALLBACK(gfte_dialog_file_ok_cb), G_CALLBACK(gfte_dialog_file_cancel_cb), NULL, NULL, NULL, (gpointer)button); } else if(type == GFTE_BUTTON_FONT) { opt_dialog = gtk_font_selection_dialog_new(_("Select font")); gtk_font_selection_dialog_set_font_name( GTK_FONT_SELECTION_DIALOG(opt_dialog), (value) ? (gchar *)value : "Arial 12"); gtk_font_selection_dialog_set_preview_text( GTK_FONT_SELECTION_DIALOG(opt_dialog), _("Guifications")); g_signal_connect(G_OBJECT(GTK_FONT_SELECTION_DIALOG(opt_dialog)->ok_button), "clicked", G_CALLBACK(gfte_dialog_font_ok_cb), (gpointer)button); g_signal_connect(G_OBJECT(GTK_FONT_SELECTION_DIALOG(opt_dialog)->cancel_button), "clicked", G_CALLBACK(gfte_dialog_font_cancel_cb), (gpointer)button); gtk_widget_show_all(opt_dialog); } else if(type == GFTE_BUTTON_COLOR) { PangoColor pcolor; GdkColor gcolor; if(value) { pango_color_parse(&pcolor, (gchar *)value); gcolor.red = pcolor.red; gcolor.green = pcolor.green; gcolor.blue = pcolor.blue; } else { gcolor.red = gcolor.green = gcolor.blue = 0; } opt_dialog = gtk_color_selection_dialog_new(_("Select color")); gtk_color_selection_set_current_color(GTK_COLOR_SELECTION( GTK_COLOR_SELECTION_DIALOG(opt_dialog)->colorsel), &gcolor); g_signal_connect(G_OBJECT(GTK_COLOR_SELECTION_DIALOG(opt_dialog)->ok_button), "clicked", G_CALLBACK(gfte_dialog_color_ok_cb), (gpointer)button); g_signal_connect(G_OBJECT(GTK_COLOR_SELECTION_DIALOG(opt_dialog)->cancel_button), "clicked", G_CALLBACK(gfte_dialog_color_cancel_cb), (gpointer)button); gtk_widget_show_all(opt_dialog); } } /******************************************************************************* * Update pages ******************************************************************************/ static void gfte_update_item(struct GfThemeEditorItem *te_item, gint page, GfItem *item) { gfte_update_option_menu(te_item->position, page, item); gfte_update_spin_button(te_item->h_offset, page, item); gfte_update_check(te_item->h_offset_p, page, item); gfte_update_spin_button(te_item->v_offset, page, item); gfte_update_check(te_item->v_offset_p, page, item); } static void gfte_update_info_page() { GfThemeInfo *info = (GfThemeInfo *)gfte_store_get_object(); gfte_update_entry(editor.info.name, GFTE_PAGE_INFO, info); gfte_update_entry(editor.info.version, GFTE_PAGE_INFO, info); gfte_update_entry(editor.info.summary, GFTE_PAGE_INFO, info); gfte_update_entry(editor.info.description, GFTE_PAGE_INFO, info); gfte_update_entry(editor.info.author, GFTE_PAGE_INFO, info); gfte_update_entry(editor.info.website, GFTE_PAGE_INFO, info); } static void gfte_update_ops_page() { GfThemeOptions *ops = (GfThemeOptions *)gfte_store_get_object(); gfte_update_entry(editor.ops.date_format, GFTE_PAGE_OPS, ops); gfte_update_entry(editor.ops.time_format, GFTE_PAGE_OPS, ops); gfte_update_entry(editor.ops.warning, GFTE_PAGE_OPS, ops); gfte_update_entry(editor.ops.ellipsis, GFTE_PAGE_OPS, ops); } static void gfte_update_notification_page() { gpointer obj; GfNotification *notification; obj = gfte_store_get_object(); notification = GF_NOTIFICATION(obj); gfte_update_entry(editor.notification.alias, GFTE_PAGE_NOTIFICATION, notification); gfte_update_check(editor.notification.use_gtk, GFTE_PAGE_NOTIFICATION, notification); gfte_update_entry(editor.notification.filename, GFTE_PAGE_NOTIFICATION, notification); gfte_update_spin_button(editor.notification.width, GFTE_PAGE_NOTIFICATION, notification); gfte_update_spin_button(editor.notification.height, GFTE_PAGE_NOTIFICATION, notification); } static void gfte_update_icon_page() { GfItem *item = GF_ITEM(gfte_store_get_object()); gfte_update_item(&editor.icon.item, GFTE_PAGE_ICON, item); gfte_update_option_menu(editor.icon.type, GFTE_PAGE_ICON, item); gfte_update_option_menu(editor.icon.size, GFTE_PAGE_ICON, item); } static void gfte_update_image_page() { GfItem *item = GF_ITEM(gfte_store_get_object()); gfte_update_item(&editor.image.item, GFTE_PAGE_IMAGE, item); gfte_update_entry(editor.image.filename, GFTE_PAGE_IMAGE, item); } static void gfte_update_text_page() { GfItem *item = GF_ITEM(gfte_store_get_object()); gfte_update_item(&editor.text.item, GFTE_PAGE_TEXT, item); gfte_update_entry(editor.text.format, GFTE_PAGE_TEXT, item); gfte_update_spin_button(editor.text.width, GFTE_PAGE_TEXT, item); gfte_update_option_menu(editor.text.clipping, GFTE_PAGE_TEXT, item); } /******************************************************************************* * Callbacks ******************************************************************************/ static void gfte_selection_changed_cb(GtkTreeSelection *sel, gpointer data) { GtkTreeModel *model; GtkTreeIter iter; gpointer object; gint page; gfte_dialog_cleanup(); if(!gtk_tree_selection_get_selected(sel, &model, &iter)) { gtk_notebook_set_current_page(GTK_NOTEBOOK(editor.note), GFTE_PAGE_THEME); return; } gtk_tree_model_get(model, &iter, GFTE_STORE_PAGE, &page, GFTE_STORE_OBJECT, &object, -1); gtk_notebook_set_current_page(GTK_NOTEBOOK(editor.note), page); switch(page) { case GFTE_PAGE_THEME: gfte_toolbar_buttons_update(FALSE, FALSE, FALSE, FALSE, FALSE); break; case GFTE_PAGE_INFO: gfte_toolbar_buttons_update(FALSE, FALSE, FALSE, FALSE, FALSE); gfte_update_info_page(); break; case GFTE_PAGE_OPS: gfte_toolbar_buttons_update(FALSE, FALSE, FALSE, FALSE, FALSE); gfte_update_ops_page(); break; case GFTE_PAGE_NOTIFICATION: { GfNotification *notification = GF_NOTIFICATION(object); gboolean master; master = (g_ascii_strcasecmp(GF_NOTIFICATION_MASTER, gf_notification_get_type(notification))); gfte_toolbar_buttons_update(TRUE, master, master, gfte_is_older_notification(object), gfte_is_younger_notification(object)); gfte_update_notification_page(); break; } case GFTE_PAGE_ICON: gfte_toolbar_buttons_update(TRUE, TRUE, TRUE, gfte_is_older_item(object), gfte_is_younger_item(object)); gfte_update_icon_page(); break; case GFTE_PAGE_IMAGE: gfte_toolbar_buttons_update(TRUE, TRUE, TRUE, gfte_is_older_item(object), gfte_is_younger_item(object)); gfte_update_image_page(); break; case GFTE_PAGE_TEXT: gfte_toolbar_buttons_update(TRUE, TRUE, TRUE, gfte_is_older_item(object), gfte_is_younger_item(object)); gfte_update_text_page(); break; case GFTE_PAGE_TOTAL: default: break; } } static void gfte_new_theme_cb(GtkButton *button, gpointer data) { if(editor.changed) gfte_modified_show(GFTE_MODIFIED_NEW, NULL); else gfte_setup(NULL); } static void gfte_save_theme_cb(GtkButton *button, gpointer data) { gfte_save_theme(); } static void gfte_help(GtkButton *button, gpointer data) { purple_notify_uri(NULL, GF_WEBSITE "/themes/theme_howto/"); } /******************************************************************************* * Helpers ******************************************************************************/ static void gfte_build_tree() { GtkWidget *sw; GtkCellRenderer *renderer; GtkTreeViewColumn *col; GtkTreeSelection *sel; sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); gtk_box_pack_start(GTK_BOX(editor.hbox), sw, FALSE, FALSE, 0); editor.tree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(editor.store)); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(editor.tree)); g_signal_connect_after(G_OBJECT(sel), "changed", G_CALLBACK(gfte_selection_changed_cb), NULL); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(editor.tree), FALSE); gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(editor.tree), FALSE); gtk_tree_view_expand_all(GTK_TREE_VIEW(editor.tree)); gtk_container_add(GTK_CONTAINER(sw), editor.tree); renderer = gtk_cell_renderer_text_new(); col = gtk_tree_view_column_new_with_attributes(NULL, renderer, "text", GFTE_STORE_TITLE, NULL); gtk_tree_view_append_column(GTK_TREE_VIEW(editor.tree), col); } static GtkWidget * gfte_make_label(const gchar *text, GtkSizeGroup *sg) { GtkWidget *label; label = gtk_label_new_with_mnemonic(text); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); if(sg) gtk_size_group_add_widget(sg, label); return label; } static GtkWidget * gfte_add_label(GtkWidget *widget, const gchar *label, GtkSizeGroup *sg) { GtkWidget *hbox; hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(hbox), gfte_make_label(label, sg), FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), widget, FALSE, FALSE, 0); return hbox; } static GtkWidget * gfte_add_entry(GtkWidget *parent, GtkSizeGroup *sg, gint flags, const gchar *label, gpointer getter, gpointer setter) { GtkWidget *entry, *hbox; entry = gtk_entry_new(); g_object_set_data(G_OBJECT(entry), "getter", getter); g_object_set_data(G_OBJECT(entry), "setter", setter); g_object_set_data(G_OBJECT(entry), "flags", GINT_TO_POINTER(flags)); g_signal_connect(G_OBJECT(entry), "changed", G_CALLBACK(gfte_entry_changed_cb), NULL); hbox = gfte_add_label(entry, label, sg); gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); return entry; } static GtkWidget * gfte_add_check(GtkWidget *parent, gint flags, const gchar *label, gpointer getter, gpointer setter) { GtkWidget *check; check = gtk_check_button_new_with_mnemonic(label); g_object_set_data(G_OBJECT(check), "getter", getter); g_object_set_data(G_OBJECT(check), "setter", setter); g_object_set_data(G_OBJECT(check), "flags", GINT_TO_POINTER(flags)); g_signal_connect(G_OBJECT(check), "toggled", G_CALLBACK(gfte_check_toggled_cb), NULL); gtk_box_pack_start(GTK_BOX(parent), check, FALSE, FALSE, 0); return check; } static GtkWidget * gfte_add_spin_button(GtkWidget *parent, GtkSizeGroup *sg, gint flags, const gchar *label, gint min, gint max, gpointer getter, gpointer setter) { GtkWidget *spin, *hbox; spin = gtk_spin_button_new_with_range(min, max, 1); gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(spin), TRUE); g_object_set_data(G_OBJECT(spin), "getter", getter); g_object_set_data(G_OBJECT(spin), "setter", setter); g_object_set_data(G_OBJECT(spin), "flags", GINT_TO_POINTER(flags)); g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(gfte_spin_changed_cb), NULL); hbox = gfte_add_label(spin, label, sg); gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); return spin; } static GtkWidget * gfte_add_option_menu(GtkWidget *parent, GtkSizeGroup *sg, gint flags, const gchar *label, GfMenuItemBuilder builder, gpointer getter, gpointer setter) { GtkWidget *option_menu, *hbox; option_menu = gtk_option_menu_new(); gtk_option_menu_set_menu(GTK_OPTION_MENU(option_menu), gf_menu_build(builder, NULL)); g_object_set_data(G_OBJECT(option_menu), "getter", getter); g_object_set_data(G_OBJECT(option_menu), "setter", setter); g_object_set_data(G_OBJECT(option_menu), "flags", GINT_TO_POINTER(flags)); g_signal_connect(G_OBJECT(option_menu), "changed", G_CALLBACK(gfte_option_menu_changed_cb), NULL); hbox = gfte_add_label(option_menu, label, sg); gtk_box_pack_start(GTK_BOX(parent), hbox, FALSE, FALSE, 0); return option_menu; } static GtkWidget * gfte_add_button(GtkWidget *parent, gint flags, gint type, const gchar *stock_id, gpointer getter, gpointer setter) { GtkWidget *button; button = gtk_button_new_from_stock(stock_id); g_object_set_data(G_OBJECT(button), "getter", getter); g_object_set_data(G_OBJECT(button), "setter", setter); g_object_set_data(G_OBJECT(button), "flags", GINT_TO_POINTER(flags)); g_object_set_data(G_OBJECT(button), "type", GINT_TO_POINTER(type)); g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(gfte_button_clicked_cb), NULL); if(parent) gtk_box_pack_start(GTK_BOX(parent), button, FALSE, FALSE, 0); return button; } /******************************************************************************* * Pages ******************************************************************************/ static GtkWidget * gfte_make_theme_page() { GtkWidget *page; page = gtk_vbox_new(FALSE, 0); return page; } static GtkWidget * gfte_make_info_page() { GtkWidget *page; GtkSizeGroup *sg; sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); page = gtk_vbox_new(FALSE, 4); gtk_container_set_border_width(GTK_CONTAINER(page), 12); editor.info.name = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Name:"), gf_theme_info_get_name, gf_theme_info_set_name); editor.info.version = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Version:"), gf_theme_info_get_version, gf_theme_info_set_version); editor.info.summary = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Summary:"), gf_theme_info_get_summary, gf_theme_info_set_summary); editor.info.description = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Description:"), gf_theme_info_get_description, gf_theme_info_set_description); editor.info.author = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Author:"), gf_theme_info_get_author, gf_theme_info_set_author); editor.info.website = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Website:"), gf_theme_info_get_website, gf_theme_info_set_website); return page; } static GtkWidget * gfte_make_ops_page() { GtkWidget *page; GtkSizeGroup *sg; sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); page = gtk_vbox_new(FALSE, 4); gtk_container_set_border_width(GTK_CONTAINER(page), 12); editor.ops.date_format = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Date Format:"), gf_theme_options_get_date_format, gf_theme_options_set_date_format); editor.ops.time_format = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Time Format:"), gf_theme_options_get_time_format, gf_theme_options_set_time_format); editor.ops.warning = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Warning:"), gf_theme_options_get_warning, gf_theme_options_set_warning); editor.ops.ellipsis = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Ellipsis:"), gf_theme_options_get_ellipsis, gf_theme_options_set_ellipsis); return page; } static GtkWidget * gfte_make_notification_page() { GtkWidget *page; GtkSizeGroup *sg; sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); page = gtk_vbox_new(FALSE, 4); gtk_container_set_border_width(GTK_CONTAINER(page), 12); editor.notification.alias = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Alias:"), gf_notification_get_alias, gf_notification_set_alias); editor.notification.use_gtk = gfte_add_check(page, GFTE_FLAGS_OBJECT, _("Use Gtk theme background"), gf_notification_get_use_gtk, gf_notification_set_use_gtk); editor.notification.filename = gfte_add_entry(page, sg, GFTE_FLAGS_OBJECT, _("Background:"), gf_notification_get_background, gf_notification_set_background); gtk_widget_set_sensitive(editor.notification.filename, FALSE); editor.notification.button = gfte_add_button(editor.notification.filename->parent, GFTE_FLAGS_OBJECT, GFTE_BUTTON_FILE, GTK_STOCK_OPEN, gf_notification_get_background, gf_notification_set_background); editor.notification.width = gfte_add_spin_button(page, sg, GFTE_FLAGS_OBJECT, _("Width:"), GF_NOTIFICATION_MIN, GF_NOTIFICATION_MAX, gf_notification_get_width, gf_notification_set_width); editor.notification.height = gfte_add_spin_button(page, sg, GFTE_FLAGS_OBJECT, _("Height:"), GF_NOTIFICATION_MIN, GF_NOTIFICATION_MAX, gf_notification_get_height, gf_notification_set_height); return page; } static void gfte_make_item_widgets(GtkWidget *parent, GtkSizeGroup *sg, struct GfThemeEditorItem *item) { item->position = gfte_add_option_menu(parent, sg, GFTE_FLAGS_OBJECT, _("_Position:"), gf_menu_item_position, gf_item_get_position, gf_item_set_position); item->h_offset = gfte_add_spin_button(parent, sg, GFTE_FLAGS_H_OFFSET, _("_Horizontal Offset:"), -1024, 1023, gf_item_offset_get_value, gf_item_offset_set_value); item->h_offset_p = gfte_add_check(item->h_offset->parent, GFTE_FLAGS_H_OFFSET, _("Percentage"), gf_item_offset_get_is_percentage, gf_item_offset_set_is_percentage); item->v_offset = gfte_add_spin_button(parent, sg, GFTE_FLAGS_V_OFFSET, _("_Vertical Offset:"), -1024, 1023, gf_item_offset_get_value, gf_item_offset_set_value); item->v_offset_p = gfte_add_check(item->v_offset->parent, GFTE_FLAGS_V_OFFSET, _("Percentage"), gf_item_offset_get_is_percentage, gf_item_offset_set_is_percentage); } static GtkWidget * gfte_make_icon_page() { GtkWidget *page; GtkSizeGroup *sg; sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); page = gtk_vbox_new(FALSE, 4); gtk_container_set_border_width(GTK_CONTAINER(page), 12); gfte_make_item_widgets(page, sg, &editor.icon.item); editor.icon.type = gfte_add_option_menu(page, sg, GFTE_FLAGS_SUB_OBJECT, _("_Type:"), gf_menu_item_icon_type, gf_item_icon_get_type, gf_item_icon_set_type); editor.icon.size = gfte_add_option_menu(page, sg, GFTE_FLAGS_SUB_OBJECT, _("_Size:"), gf_menu_item_icon_size, gf_item_icon_get_size, gf_item_icon_set_size); return page; } static GtkWidget * gfte_make_image_page() { GtkWidget *page; GtkSizeGroup *sg; sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); page = gtk_vbox_new(FALSE, 4); gtk_container_set_border_width(GTK_CONTAINER(page), 12); gfte_make_item_widgets(page, sg, &editor.image.item); editor.image.filename = gfte_add_entry(page, sg, GFTE_FLAGS_SUB_OBJECT, _("Image:"), gf_item_image_get_image, gf_item_image_set_image); gtk_widget_set_sensitive(editor.image.filename, FALSE); editor.image.button = gfte_add_button(editor.image.filename->parent, GFTE_FLAGS_SUB_OBJECT, GFTE_BUTTON_FILE, GTK_STOCK_OPEN, gf_item_image_get_image, gf_item_image_set_image); return page; } static GtkWidget * gfte_make_text_page() { GtkWidget *page, *hbox; GtkSizeGroup *sg; sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); page = gtk_vbox_new(FALSE, 4); gtk_container_set_border_width(GTK_CONTAINER(page), 12); gfte_make_item_widgets(page, sg, &editor.text.item); editor.text.format = gfte_add_entry(page, sg, GFTE_FLAGS_SUB_OBJECT, _("Format:"), gf_item_text_get_format, gf_item_text_set_format); editor.text.width = gfte_add_spin_button(page, sg, GFTE_FLAGS_SUB_OBJECT, _("Width:"), 0, 1023, gf_item_text_get_width, gf_item_text_set_width); editor.text.clipping = gfte_add_option_menu(page, sg, GFTE_FLAGS_SUB_OBJECT, _("Clipping:"), gf_menu_item_text_clipping, gf_item_text_get_clipping, gf_item_text_set_clipping); editor.text.font = gfte_add_button(NULL, GFTE_FLAGS_SUB_OBJECT, GFTE_BUTTON_FONT, GTK_STOCK_SELECT_FONT, gf_item_text_get_font, gf_item_text_set_font); hbox = gfte_add_label(editor.text.font, NULL, sg); gtk_box_pack_start(GTK_BOX(page), hbox, FALSE, FALSE, 0); editor.text.color = gfte_add_button(NULL, GFTE_FLAGS_SUB_OBJECT, GFTE_BUTTON_COLOR, GTK_STOCK_SELECT_COLOR, gf_item_text_get_color, gf_item_text_set_color); hbox = gfte_add_label(editor.text.color, NULL, sg); gtk_box_pack_start(GTK_BOX(page), hbox, FALSE, FALSE, 0); return page; } /******************************************************************************* * Main stuff ******************************************************************************/ static GtkWidget * gfte_toolbar_button_new(GtkWidget *parent, const gchar *stock_id, const gchar *tooltip, GCallback cb, gpointer data) { GtkWidget *button, *image; button = gtk_button_new(); gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); if(cb) g_signal_connect(G_OBJECT(button), "clicked", cb, data); gtk_tooltips_set_tip(editor.tooltips, button, tooltip, NULL); image = gtk_image_new_from_stock(stock_id, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(button), image); gtk_box_pack_start(GTK_BOX(parent), button, FALSE, FALSE, 0); return button; } static void gfte_toolbar_separator_new(GtkWidget *parent) { GtkWidget *sep; sep = gtk_vseparator_new(); gtk_box_pack_start(GTK_BOX(parent), sep, FALSE, FALSE, 0); } static void gfte_build_toolbar() { GtkWidget *frame, *hbox, *help; frame = gtk_frame_new(NULL); gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_OUT); gtk_box_pack_start(GTK_BOX(editor.vbox), frame, FALSE, FALSE, 0); hbox = gtk_hbox_new(FALSE, 0); gtk_container_add(GTK_CONTAINER(frame), hbox); gfte_toolbar_button_new(hbox, GTK_STOCK_NEW, _("New theme"), G_CALLBACK(gfte_new_theme_cb), NULL); gfte_toolbar_button_new(hbox, GTK_STOCK_SAVE, _("Save theme"), G_CALLBACK(gfte_save_theme_cb), NULL); gfte_toolbar_separator_new(hbox); editor.tool_notification = gfte_toolbar_button_new(hbox, GTK_STOCK_EXECUTE, _("New notification"), G_CALLBACK(gfte_new_notification_show), NULL); editor.tool_item = gfte_toolbar_button_new(hbox, GTK_STOCK_PROPERTIES, _("New item"), G_CALLBACK(gfte_new_item_show), NULL); editor.tool_copy = gfte_toolbar_button_new(hbox, GTK_STOCK_COPY, _("Duplicate"), G_CALLBACK(gfte_duplicate_object), NULL); editor.tool_delete = gfte_toolbar_button_new(hbox, GTK_STOCK_DELETE, _("Delete"), G_CALLBACK(gfte_delete_show), NULL); gfte_toolbar_separator_new(hbox); editor.tool_up = gfte_toolbar_button_new(hbox, GTK_STOCK_GO_UP, _("Move up"), G_CALLBACK(gfte_move_up), NULL); editor.tool_down = gfte_toolbar_button_new(hbox, GTK_STOCK_GO_DOWN, _("Move down"), G_CALLBACK(gfte_move_down), NULL); gfte_toolbar_separator_new(hbox); help = gfte_toolbar_button_new(hbox, GTK_STOCK_HELP, _("Help"), G_CALLBACK(gfte_help), NULL); gfte_toolbar_buttons_update(FALSE, FALSE, FALSE, FALSE, FALSE); } static void gfte_build_notebook() { editor.note = gtk_notebook_new(); gtk_notebook_set_show_tabs(GTK_NOTEBOOK(editor.note), FALSE); gtk_box_pack_start(GTK_BOX(editor.hbox), editor.note, TRUE, TRUE, 4); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_theme_page(), NULL, GFTE_PAGE_THEME); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_info_page(), NULL, GFTE_PAGE_INFO); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_ops_page(), NULL, GFTE_PAGE_OPS); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_notification_page(), NULL, GFTE_PAGE_NOTIFICATION); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_icon_page(), NULL, GFTE_PAGE_ICON); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_image_page(), NULL, GFTE_PAGE_IMAGE); gtk_notebook_insert_page(GTK_NOTEBOOK(editor.note), gfte_make_text_page(), NULL, GFTE_PAGE_TEXT); } static gboolean gfte_window_destroyed_cb(GtkWidget *widget, GdkEvent *event, gpointer data) { if(editor.changed) { gfte_modified_show(GFTE_MODIFIED_CLOSE, NULL); return TRUE; } else { gfte_cleanup(); return FALSE; } } static void gfte_build_window() { editor.tooltips = gtk_tooltips_new(); g_object_ref(G_OBJECT(editor.tooltips)); gtk_object_sink(GTK_OBJECT(editor.tooltips)); editor.window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(editor.window), _("Guifications Theme Editor")); g_signal_connect(G_OBJECT(editor.window), "delete-event", G_CALLBACK(gfte_window_destroyed_cb), NULL); editor.vbox = gtk_vbox_new(FALSE, 4); gtk_container_add(GTK_CONTAINER(editor.window), editor.vbox); gfte_build_toolbar(); editor.hbox = gtk_hbox_new(FALSE, 4); gtk_box_pack_start(GTK_BOX(editor.vbox), editor.hbox, TRUE, TRUE, 0); gfte_build_tree(); gfte_build_notebook(); } /******************************************************************************* * Basic helpers ******************************************************************************/ void gfte_show() { if(editor.window) { gtk_window_present(GTK_WINDOW(editor.window)); return; } gfte_build_window(); gtk_widget_show_all(editor.window); } /******************************************************************************* * Exports ******************************************************************************/ void gf_theme_editor_init(PurplePlugin *plugin) { plugin_handle = plugin; } void gf_theme_editor_uninit() { if(editor.window) gtk_widget_destroy(editor.window); gfte_cleanup(); editor.window = NULL; } void gf_theme_editor_show(const gchar *filename) { /* if filename is NULL a new theme is being created */ if(!filename) { gfte_setup(NULL); gfte_show(); return; } /* theme editor isn't showing so we create it */ if(!editor.window) { gfte_setup(filename); gfte_show(); return; } /* theme editor is showing, so we check the file names, if they match, we just show * the editor. If they don't, we check if the theme is modified. If it is, then we * show the modified dialog, and save it if the user wants it saved, and then open * the other theme. */ if(editor.filename) { if(!g_ascii_strcasecmp(editor.filename, filename)) { gfte_show(); } else { if(editor.changed) gfte_modified_show(GFTE_MODIFIED_OPEN, filename); else gfte_setup(filename); } } return; } pidgin-guifications-2.16/src/gf_notification.h0000644000175000017500000000635710731276755016451 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_NOTIFICATION_H #define GF_NOTIFICATION_H #define GF_NOTIFICATION(obj) ((GfNotification *)obj) #define GF_NOTIFICATION_MASTER "!master" #define GF_NOTIFICATION_MIN (16) #define GF_NOTIFICATION_MAX (512) typedef struct _GfNotification GfNotification; #include #include #include "gf_event_info.h" #include "gf_item.h" #include "gf_theme.h" #include "account.h" #include "blist.h" #include "conversation.h" #include "xmlnode.h" G_BEGIN_DECLS GfNotification *gf_notification_new(GfTheme *theme); GfNotification *gf_notification_new_from_xmlnode(GfTheme *theme, xmlnode *node); GfNotification *gf_notification_copy(GfNotification *notification); xmlnode *gf_notification_to_xmlnode(GfNotification *notification); void gf_notification_destroy(GfNotification *notification); void gf_notification_set_type(GfNotification *notification, const gchar *type); const gchar *gf_notification_get_type(GfNotification *notification); void gf_notification_set_use_gtk(GfNotification *notification, gboolean value); gboolean gf_notification_get_use_gtk(GfNotification *notification); void gf_notification_set_background(GfNotification *notification, const gchar *background); const gchar *gf_notification_get_background(GfNotification *notification); void gf_notification_set_width(GfNotification *notification, gint width); gint gf_notification_get_width(GfNotification *notification); void gf_notification_set_height(GfNotification *notification, gint height); gint gf_notification_get_height(GfNotification *notification); void gf_notification_set_alias(GfNotification *notification, const gchar *alias); const gchar *gf_notification_get_alias(const GfNotification *notification); void gf_notification_add_item(GfNotification *notification, GfItem *item); void gf_notification_remove_item(GfNotification *notification, GfItem *item); GList *gf_notification_get_items(GfNotification *notification); void gf_notifications_swap(GfNotification *notification1, GfNotification *notification2); GList *gf_notifications_for_event(const gchar *type); GfNotification *gf_notification_find_for_event(const gchar *type); GfNotification *gf_notification_find_for_theme(GfTheme *theme, const gchar *n_type); GdkPixbuf *gf_notification_render(GfNotification *notification, GfEventInfo *info); GfTheme *gf_notification_get_theme(GfNotification *notification); void gf_notifications_init(); void gf_notifications_uninit(); G_END_DECLS #endif /* GF_NOTIFICATION_H */ pidgin-guifications-2.16/src/gf_utils.h0000644000175000017500000000204510731276755015111 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_UTILS_H #define GF_UTILS_H #include G_BEGIN_DECLS gint gf_utils_strcmp(const gchar *s1, const gchar *s2); gint gf_utils_compare_strings(gconstpointer a, gconstpointer b); G_END_DECLS #endif /* GF_UTILS_H */ pidgin-guifications-2.16/src/gf_item_icon.c0000644000175000017500000002223510731311346015677 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include "gf_gtk_utils.h" #include "gf_item.h" #include "gf_item_icon.h" struct _GfItemIcon { GfItem *item; GfItemIconType type; GfItemIconSize size; }; static GfItemIconType item_icon_type_from_string(const gchar *string) { g_return_val_if_fail(string, GF_ITEM_ICON_TYPE_UNKNOWN); if(!g_ascii_strcasecmp(string, "protocol")) return GF_ITEM_ICON_TYPE_PROTOCOL; else if(!g_ascii_strcasecmp(string, "buddy")) return GF_ITEM_ICON_TYPE_BUDDY; else if(!g_ascii_strcasecmp(string, "status")) return GF_ITEM_ICON_TYPE_STATUS; else return GF_ITEM_ICON_TYPE_UNKNOWN; } static const gchar * item_icon_type_to_string(GfItemIconType type) { g_return_val_if_fail(type != GF_ITEM_ICON_TYPE_UNKNOWN, NULL); switch(type) { case GF_ITEM_ICON_TYPE_BUDDY: return "buddy"; break; case GF_ITEM_ICON_TYPE_PROTOCOL: return "protocol"; break; case GF_ITEM_ICON_TYPE_STATUS: return "status"; break; case GF_ITEM_ICON_TYPE_UNKNOWN: default: return NULL; break; } } static GfItemIconSize item_icon_size_from_string(const gchar *string) { g_return_val_if_fail(string, GF_ITEM_ICON_SIZE_UNKNOWN); if(!g_ascii_strcasecmp(string, "tiny")) return GF_ITEM_ICON_SIZE_TINY; else if(!g_ascii_strcasecmp(string, "small")) return GF_ITEM_ICON_SIZE_SMALL; else if(!g_ascii_strcasecmp(string, "little")) return GF_ITEM_ICON_SIZE_LITTLE; else if(!g_ascii_strcasecmp(string, "normal")) return GF_ITEM_ICON_SIZE_NORMAL; else if(!g_ascii_strcasecmp(string, "big")) return GF_ITEM_ICON_SIZE_BIG; else if(!g_ascii_strcasecmp(string, "large")) return GF_ITEM_ICON_SIZE_LARGE; else if(!g_ascii_strcasecmp(string, "huge")) return GF_ITEM_ICON_SIZE_HUGE; else return GF_ITEM_ICON_SIZE_UNKNOWN; } static const gchar * item_icon_size_to_string(GfItemIconSize size) { g_return_val_if_fail(size != GF_ITEM_ICON_SIZE_UNKNOWN, NULL); switch(size) { case GF_ITEM_ICON_SIZE_HUGE: return "huge"; break; case GF_ITEM_ICON_SIZE_LARGE: return "large"; break; case GF_ITEM_ICON_SIZE_BIG: return "big"; break; case GF_ITEM_ICON_SIZE_NORMAL: return "normal"; break; case GF_ITEM_ICON_SIZE_LITTLE: return "little"; break; case GF_ITEM_ICON_SIZE_SMALL: return "small"; break; case GF_ITEM_ICON_SIZE_TINY: return "tiny"; break; case GF_ITEM_ICON_SIZE_UNKNOWN: default: return NULL; break; } } void gf_item_icon_destroy(GfItemIcon *item_icon) { g_return_if_fail(item_icon); item_icon->item = NULL; item_icon->type = GF_ITEM_ICON_TYPE_UNKNOWN; item_icon->size = GF_ITEM_ICON_SIZE_UNKNOWN; g_free(item_icon); item_icon = NULL; } GfItemIcon * gf_item_icon_new(GfItem *item) { GfItemIcon *item_icon; g_return_val_if_fail(item, NULL); item_icon = g_new0(GfItemIcon, 1); item_icon->item = item; return item_icon; } GfItemIcon * gf_item_icon_new_from_xmlnode(GfItem *item, xmlnode *node) { GfItemIcon *item_icon; g_return_val_if_fail(item, NULL); g_return_val_if_fail(node, NULL); item_icon = gf_item_icon_new(item); item_icon->type = item_icon_type_from_string(xmlnode_get_attrib(node, "type")); if(item_icon->type == GF_ITEM_ICON_TYPE_UNKNOWN) { purple_debug_info("Guifications", "** Error loading icon item: 'Unknown icon type'\n"); gf_item_icon_destroy(item_icon); return NULL; } item_icon->size = item_icon_size_from_string(xmlnode_get_attrib(node, "size")); if(item_icon->size == GF_ITEM_ICON_SIZE_UNKNOWN) { purple_debug_info("Guifications", "** Error loading icon item: 'Unknown icon size'\n"); gf_item_icon_destroy(item_icon); return NULL; } return item_icon; } GfItemIcon * gf_item_icon_copy(GfItemIcon *icon) { GfItemIcon *new_icon; g_return_val_if_fail(icon, NULL); new_icon = gf_item_icon_new(icon->item); new_icon->type = icon->type; new_icon->size = icon->size; return new_icon; } xmlnode * gf_item_icon_to_xmlnode(GfItemIcon *icon) { xmlnode *parent; parent = xmlnode_new("icon"); xmlnode_set_attrib(parent, "type", item_icon_type_to_string(icon->type)); xmlnode_set_attrib(parent, "size", item_icon_size_to_string(icon->size)); return parent; } void gf_item_icon_set_type(GfItemIcon *icon, GfItemIconType type) { g_return_if_fail(icon); g_return_if_fail(type != GF_ITEM_ICON_TYPE_UNKNOWN); icon->type = type; } GfItemIconType gf_item_icon_get_type(GfItemIcon *icon) { g_return_val_if_fail(icon, GF_ITEM_ICON_TYPE_UNKNOWN); return icon->type; } void gf_item_icon_set_size(GfItemIcon *icon, GfItemIconSize size) { g_return_if_fail(icon); g_return_if_fail(size != GF_ITEM_ICON_SIZE_UNKNOWN); icon->size = size; } GfItemIconSize gf_item_icon_get_size(GfItemIcon *icon) { g_return_val_if_fail(icon, GF_ITEM_ICON_SIZE_UNKNOWN); return icon->size; } void gf_item_icon_set_item(GfItemIcon *icon, GfItem *item) { g_return_if_fail(icon); g_return_if_fail(item); icon->item = item; } GfItem * gf_item_icon_get_item(GfItemIcon *icon) { g_return_val_if_fail(icon, NULL); return icon->item; } static void get_icon_dimensions(gint *width, gint *height, GfItemIconSize size) { switch(size) { case GF_ITEM_ICON_SIZE_TINY: *width = *height = 16; break; case GF_ITEM_ICON_SIZE_SMALL: *width = *height = 24; break; case GF_ITEM_ICON_SIZE_LITTLE: *width = *height = 32; break; case GF_ITEM_ICON_SIZE_BIG: *width = *height = 64; break; case GF_ITEM_ICON_SIZE_LARGE: *width = *height = 96; break; case GF_ITEM_ICON_SIZE_HUGE: *width = *height = 144; break; case GF_ITEM_ICON_SIZE_NORMAL: default: *width = *height = 48; break; } } static void get_icon_position(gint *x, gint *y, gint img_width, gint img_height, GfItemIcon *item_icon) { gint width = 0, height = 0; g_return_if_fail(item_icon); get_icon_dimensions(&width, &height, item_icon->size); gf_item_get_render_position(x, y, width, height, img_width, img_height, item_icon->item); } void gf_item_icon_render(GfItemIcon *item_icon, GdkPixbuf *pixbuf, GfEventInfo *info) { GfEvent *event; GdkPixbuf *original = NULL, *scaled = NULL; gint x, y; gint width, height; gboolean is_contact; g_return_if_fail(item_icon); g_return_if_fail(pixbuf); g_return_if_fail(info); event = gf_event_info_get_event(info); is_contact = gf_event_info_get_is_contact(info); if(item_icon->type == GF_ITEM_ICON_TYPE_PROTOCOL) { if(is_contact) { gchar *filename; filename = g_build_filename(DATADIR, "pixmaps", "pidgin.png", NULL); original = gdk_pixbuf_new_from_file(filename, NULL); g_free(filename); } else { PurpleAccount *account = gf_event_info_get_account(info); original = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_LARGE); } } else if(item_icon->type == GF_ITEM_ICON_TYPE_BUDDY) { PurpleBuddyIcon *icon = NULL; GdkPixbufLoader *loader; const guchar *data; size_t len; icon = purple_buddy_icons_find(gf_event_info_get_account(info), gf_event_info_get_target(info)); if(icon) { loader = gdk_pixbuf_loader_new(); data = purple_buddy_icon_get_data(icon, &len); gdk_pixbuf_loader_write(loader, data, len, NULL); if((original = gdk_pixbuf_loader_get_pixbuf(loader))) g_object_ref(G_OBJECT(original)); gdk_pixbuf_loader_close(loader, NULL); g_object_unref(G_OBJECT(loader)); } } else if(item_icon->type == GF_ITEM_ICON_TYPE_STATUS) { PurpleBuddy *buddy = NULL; if((buddy = gf_event_info_get_buddy(info))) { original = pidgin_blist_get_status_icon((PurpleBlistNode *)buddy, PIDGIN_STATUS_ICON_LARGE); } } /* if the original doesn't work for whatever reason we fallback to the * protocol or the Pidgin guy(?) if it is a contact notification, this will * be optional when we "enhance" the theme format. If it fails we return * like we used to. */ if(!original) { PurpleAccount *account = gf_event_info_get_account(info); original = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_LARGE); if(!original) return; } get_icon_position(&x, &y, gdk_pixbuf_get_width(pixbuf), gdk_pixbuf_get_height(pixbuf), item_icon); get_icon_dimensions(&width, &height, item_icon->size); scaled = gdk_pixbuf_scale_simple(original, width, height, GDK_INTERP_BILINEAR); g_object_unref(G_OBJECT(original)); gf_gtk_pixbuf_clip_composite(scaled, x, y, pixbuf); g_object_unref(G_OBJECT(scaled)); } pidgin-guifications-2.16/src/gf_action.h0000644000175000017500000000463410731276755015234 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_ACTION_H #define GF_ACTION_H #include "gf_display.h" #define GF_ACTION(obj) ((GfAction *)(obj)) typedef struct _GfAction GfAction; typedef void (*GfActionFunc)(GfDisplay *display, GdkEventButton *button); G_BEGIN_DECLS /* Api */ GfAction *gf_action_new(); void gf_action_destroy(GfAction *action); void gf_action_set_name(GfAction *action, const gchar *name); const gchar *gf_action_get_name(GfAction *action); void gf_action_set_i18n(GfAction *action, const gchar *i18n); const gchar *gf_action_get_i18n(GfAction *action); void gf_action_set_func(GfAction *action, GfActionFunc func); GfActionFunc gf_action_get_func(GfAction *action); void gf_action_execute(GfAction *action, GfDisplay *display, GdkEventButton *event); GfAction *gf_action_find_with_name(const gchar *name); GfAction *gf_action_find_with_i18n(const gchar *i18n); gint gf_action_get_position(GfAction *action); /* Sub System */ void gf_actions_init(); void gf_actions_uninit(); void gf_actions_add_action(GfAction *action); void gf_actions_remove_action(GfAction *action); gint gf_actions_count(); const gchar *gf_actions_get_nth_name(gint nth); const gchar *gf_actions_get_nth_i18n(gint nth); /* Action Functions */ void gf_action_execute_close(GfDisplay *display, GdkEventButton *gdk_event); void gf_action_execute_open_conv(GfDisplay *display, GdkEventButton *gdk_event); void gf_action_execute_context(GfDisplay *display, GdkEventButton *gdk_event); void gf_action_execute_info(GfDisplay *display, GdkEventButton *gdk_event); void gf_action_execute_log(GfDisplay *display, GdkEventButton *gdk_event); G_END_DECLS #endif /* GF_ACTION_H */ pidgin-guifications-2.16/src/gf_theme_info.h0000644000175000017500000000405010731276755016064 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_THEME_INFO_H #define GF_THEME_INFO_H #define GF_THEME_INFO(obj) ((GfThemeInfo *)(obj)) typedef struct _GfThemeInfo GfThemeInfo; #include #include "xmlnode.h" G_BEGIN_DECLS GfThemeInfo *gf_theme_info_new(); GfThemeInfo *gf_theme_info_new_from_xmlnode(xmlnode *node); xmlnode *gf_theme_info_to_xmlnode(GfThemeInfo *info); void gf_theme_info_destroy(GfThemeInfo *info); gchar *gf_theme_info_strip_name(GfThemeInfo *info); void gf_theme_info_set_name(GfThemeInfo *info, const gchar *name); const gchar *gf_theme_info_get_name(GfThemeInfo *info); void gf_theme_info_set_version(GfThemeInfo *info, const gchar *version); const gchar *gf_theme_info_get_version(GfThemeInfo *info); void gf_theme_info_set_summary(GfThemeInfo *info, const gchar *summary); const gchar *gf_theme_info_get_summary(GfThemeInfo *info); void gf_theme_info_set_description(GfThemeInfo *info, const gchar *description); const gchar *gf_theme_info_get_description(GfThemeInfo *info); void gf_theme_info_set_author(GfThemeInfo *info, const gchar *author); const gchar *gf_theme_info_get_author(GfThemeInfo *info); void gf_theme_info_set_website(GfThemeInfo *info, const gchar *author); const gchar *gf_theme_info_get_website(GfThemeInfo *info); G_END_DECLS #endif pidgin-guifications-2.16/src/gf_item_image.h0000644000175000017500000000336010731276755016052 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_ITEM_IMAGE_H #define GF_ITEM_IMAGE_H #include #include #include #include "gf_event_info.h" #include "gf_item.h" #define GF_ITEM_IMAGE(obj) ((GfItemImage *)(obj)) typedef struct _GfItemImage GfItemImage; G_BEGIN_DECLS GfItemImage *gf_item_image_new(GfItem *item); GfItemImage *gf_item_image_new_from_xmlnode(GfItem *item, xmlnode *node); GfItemImage *gf_item_image_copy(GfItemImage *image); xmlnode *gf_item_image_to_xmlnode(GfItemImage *image); void gf_item_image_destroy(GfItemImage *item_image); void gf_item_image_set_item(GfItemImage *item_image, GfItem *item); GfItem *gf_item_image_get_item(GfItemImage *item_image); void gf_item_image_set_image(GfItemImage *item_image, const gchar *image); const gchar *gf_item_image_get_image(GfItemImage *item_image); void gf_item_image_render(GfItemImage *item_image, GdkPixbuf *pixbuf, GfEventInfo *info); G_END_DECLS #endif /* GF_ITEM_IMAGE_H */ pidgin-guifications-2.16/src/gf_stock.h0000644000175000017500000000500210731276755015070 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_STOCK_H #define GF_STOCK_H #define GF_STOCK_WINDOW_POSITION_NORTH_WEST "gf_window_north_west" #define GF_STOCK_WINDOW_POSITION_NORTH_EAST "gf_window_north_east" #define GF_STOCK_WINDOW_POSITION_SOUTH_WEST "gf_window_south_west" #define GF_STOCK_WINDOW_POSITION_SOUTH_EAST "gf_window_south_east" #define GF_STOCK_ITEM_ICON_SIZE_BIG "item_icon_size_big" #define GF_STOCK_ITEM_ICON_SIZE_HUGE "item_icon_size_huge" #define GF_STOCK_ITEM_ICON_SIZE_LARGE "item_icon_size_large" #define GF_STOCK_ITEM_ICON_SIZE_LITTLE "item_icon_size_little" #define GF_STOCK_ITEM_ICON_SIZE_NORMAL "item_icon_size_normal" #define GF_STOCK_ITEM_ICON_SIZE_SMALL "item_icon_size_small" #define GF_STOCK_ITEM_ICON_SIZE_TINY "item_icon_size_tiny" #define GF_STOCK_ITEM_POSITION_CENTER "item_position_center" #define GF_STOCK_ITEM_POSITION_EAST "item_position_east" #define GF_STOCK_ITEM_POSITION_NORTH_EAST "item_position_north_east" #define GF_STOCK_ITEM_POSITION_NORTH "item_position_north" #define GF_STOCK_ITEM_POSITION_NORTH_WEST "item_position_north_west" #define GF_STOCK_ITEM_POSITION_SOUTH_EAST "item_position_south_east" #define GF_STOCK_ITEM_POSITION_SOUTH "item_position_south" #define GF_STOCK_ITEM_POSITION_SOUTH_WEST "item_position_south_west" #define GF_STOCK_ITEM_POSITION_WEST "item_position_west" #define GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_END "item_text_clipping_ellipsis_end" #define GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE "item_text_clipping_ellipsis_middle" #define GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_START "item_text_clipping_ellipsis_start" #define GF_STOCK_ITEM_TEXT_CLIPPING_TRUNCATE "item_text_clipping_truncate" G_BEGIN_DECLS void gf_stock_init(); void gf_stock_uninit(); G_END_DECLS #endif /* GF_STOCK_H */ pidgin-guifications-2.16/src/gf_item_text.h0000644000175000017500000000501210731276755015750 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_ITEM_TEXT_H #define GF_ITEM_TEXT_H #include #include #include typedef enum _GfItemTextClipping { GF_ITEM_TEXT_CLIPPING_TRUNCATE = 0, GF_ITEM_TEXT_CLIPPING_ELLIPSIS_START, GF_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE, GF_ITEM_TEXT_CLIPPING_ELLIPSIS_END, GF_ITEM_TEXT_CLIPPING_UNKNOWN } GfItemTextClipping; #define GF_ITEM_TEXT(obj) ((GfItemText *)(obj)) typedef struct _GfItemText GfItemText; #include "gf_item.h" #include "gf_event_info.h" G_BEGIN_DECLS void gf_item_text_init(); void gf_item_text_uninit(); GfItemText *gf_item_text_new(GfItem *item); GfItemText *gf_item_text_new_from_xmlnode(GfItem *item, xmlnode *node); GfItemText *gf_item_text_copy(GfItemText *text); xmlnode *gf_item_text_to_xmlnode(GfItemText *text); void gf_item_text_destroy(GfItemText *item_text); void gf_item_text_set_format(GfItemText *item_text, const gchar *format); const gchar *gf_item_text_get_format(GfItemText *item_text); void gf_item_text_set_font(GfItemText *item_text, const gchar *font); const gchar *gf_item_text_get_font(GfItemText *item_text); void gf_item_text_set_color(GfItemText *item_text, const gchar *color); const gchar *gf_item_text_get_color(GfItemText *item_text); void gf_item_text_set_clipping(GfItemText *item_text, GfItemTextClipping clipping); GfItemTextClipping gf_item_text_get_clipping(GfItemText *item_text); void gf_item_text_set_width(GfItemText *item_text, gint width); gint gf_item_text_get_width(GfItemText *item_text); void gf_item_text_set_item(GfItemText *item_text, GfItem *item); GfItem *gf_item_text_get_item(GfItemText *item_text); void gf_item_text_render(GfItemText *item_text, GdkPixbuf *pixbuf, GfEventInfo *info); G_END_DECLS #endif /* GF_ITEM_TEXT_H */ pidgin-guifications-2.16/src/gf_item.h0000644000175000017500000000640110731276755014707 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_ITEM_H #define GF_ITEM_H #define GF_ITEM(obj) ((GfItem *)(obj)) typedef struct _GfItem GfItem; typedef enum _GfItemType { GF_ITEM_TYPE_ICON = 0, GF_ITEM_TYPE_IMAGE, GF_ITEM_TYPE_TEXT, GF_ITEM_TYPE_UNKNOWN } GfItemType; typedef enum _GfItemPosition { GF_ITEM_POSITION_NW = 0, GF_ITEM_POSITION_N, GF_ITEM_POSITION_NE, GF_ITEM_POSITION_W, GF_ITEM_POSITION_C, GF_ITEM_POSITION_E, GF_ITEM_POSITION_SW, GF_ITEM_POSITION_S, GF_ITEM_POSITION_SE, GF_ITEM_POSITION_UNKNOWN } GfItemPosition; #include #include "gf_event_info.h" #include "gf_item_icon.h" #include "gf_item_image.h" #include "gf_item_offset.h" #include "gf_item_text.h" #include "gf_notification.h" #include "xmlnode.h" G_BEGIN_DECLS GfItem *gf_item_new(GfNotification *notification); GfItem *gf_item_new_from_xmlnode(GfNotification *notification, xmlnode *node); GfItem *gf_item_copy(GfItem *item); xmlnode *gf_item_to_xmlnode(GfItem *item); void gf_item_destroy(GfItem *item); void gf_item_set_type(GfItem *item, GfItemType type); GfItemType gf_item_get_type(GfItem *item); const gchar *gf_item_type_to_string(GfItemType type, gboolean i18n); GfItemType gf_item_type_from_string(const gchar *string, gboolean i18n); const gchar *gf_item_position_to_string(GfItemPosition position, gboolean i18n); GfItemPosition gf_item_position_from_string(const gchar *position, gboolean i18n); void gf_item_set_notification(GfItem *item, GfNotification *notification); GfNotification *gf_item_get_notification(GfItem *item); void gf_item_set_horz_offset(GfItem *item, GfItemOffset *offset); GfItemOffset *gf_item_get_horz_offset(GfItem *item); void gf_item_set_vert_offset(GfItem *item, GfItemOffset *offset); GfItemOffset *gf_item_get_vert_offset(GfItem *item); void gf_item_set_position(GfItem *item, GfItemPosition position); GfItemPosition gf_item_get_position(GfItem *item); void gf_item_set_item_icon(GfItem *item, GfItemIcon *icon); GfItemIcon *gf_item_get_item_icon(GfItem *item); void gf_item_set_item_image(GfItem *item, GfItemImage *image); GfItemImage *gf_item_get_item_image(GfItem *item); void gf_item_set_item_text(GfItem *item, GfItemText *text); GfItemText *gf_item_get_item_text(GfItem *item); void gf_item_get_render_position(gint *x, gint *y, gint width, gint height, gint img_width, gint img_height, GfItem *item); void gf_item_render(GfItem *item, GdkPixbuf *pixbuf, GfEventInfo *info); void gf_items_swap(GfItem *item1, GfItem *item2); G_END_DECLS #endif /* GF_ITEM_H */ pidgin-guifications-2.16/src/gf_event.c0000644000175000017500000005633410731311346015061 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include #include #include #include #include #include "gf_blist.h" #include "gf_display.h" #include "gf_event.h" #include "gf_notification.h" #include "gf_preferences.h" struct _GfEvent { gchar *n_type; gchar *name; gchar *description; GfEventPriority priority; gchar *tokens; gboolean show; }; static GList *events = NULL; void *(*real_notify_email)(PurpleConnection *gc, const char *subject, const char *from, const char *to, const char *url); void *(*real_notify_emails)(PurpleConnection *gc, size_t count, gboolean detailed, const char **subject, const char **from, const char **to, const char **url); /******************************************************************************* * API ******************************************************************************/ GfEvent * gf_event_new(const gchar *notification_type, const gchar *tokens, const gchar *name, const gchar *description, GfEventPriority priority) { GfEvent *event; g_return_val_if_fail(notification_type, NULL); g_return_val_if_fail(name, NULL); g_return_val_if_fail(description, NULL); event = g_new0(GfEvent, 1); event->priority = priority; event->n_type = g_strdup(notification_type); if(tokens) event->tokens = g_strdup(tokens); else event->tokens = g_strdup(TOKENS_DEFAULT); event->name = g_strdup(name); event->description = g_strdup(description); if(!g_list_find(events, event)) events = g_list_append(events, event); else { purple_debug_info("Guifications", "Event already exists\n"); gf_event_destroy(event); } return event; } GfEvent * gf_event_find_for_notification(const gchar *type) { GfEvent *event; GList *l; for(l = events; l; l = l->next) { event = GF_EVENT(l->data); if(!g_ascii_strcasecmp(event->n_type, type)) return event; } return NULL; } void gf_event_destroy(GfEvent *event) { g_return_if_fail(event); events = g_list_remove(events, event); g_free(event->n_type); g_free(event->name); g_free(event->description); g_free(event); } const gchar * gf_event_get_notification_type(GfEvent *event) { g_return_val_if_fail(event, NULL); return event->n_type; } const gchar * gf_event_get_tokens(GfEvent *event) { g_return_val_if_fail(event, NULL); return event->tokens; } const gchar * gf_event_get_name(GfEvent *event) { g_return_val_if_fail(event, NULL); return event->name; } const gchar * gf_event_get_description(GfEvent *event) { g_return_val_if_fail(event, NULL); return event->description; } GfEventPriority gf_event_get_priority(GfEvent *event) { g_return_val_if_fail(event, GF_EVENT_PRIORITY_NORMAL); return event->priority; } void gf_event_set_show(GfEvent *event, gboolean show) { g_return_if_fail(event); event->show = show; } gboolean gf_event_get_show(GfEvent *event) { g_return_val_if_fail(event, FALSE); return event->show; } gboolean gf_event_show_notification(const gchar *n_type) { GfEvent *event; g_return_val_if_fail(n_type, FALSE); event = gf_event_find_for_notification(n_type); if(event) return event->show; return FALSE; } const GList *gf_events_get() { return events; } void gf_events_save() { GfEvent *event; GList *l = NULL, *e; for(e = events; e; e = e->next) { event = GF_EVENT(e->data); if(event->show) l = g_list_append(l, event->n_type); } purple_prefs_set_string_list(GF_PREF_BEHAVIOR_NOTIFICATIONS, l); g_list_free(l); } gint gf_events_count() { return g_list_length(events); } const gchar * gf_events_get_nth_name(gint nth) { GfEvent *event = g_list_nth_data(events, nth); return event->name; } const gchar * gf_events_get_nth_notification(gint nth) { GfEvent *event = g_list_nth_data(events, nth); return event->n_type; } /******************************************************************************* * Signon flood be gone! ******************************************************************************/ static GList *accounts = NULL; static gboolean gf_event_connection_throttle_cb(gpointer data) { PurpleAccount *account = (PurpleAccount *)data; if(!account) return FALSE; if(!purple_account_get_connection(account)) { accounts = g_list_remove(accounts, account); return FALSE; } if(!purple_account_is_connected(account)) return TRUE; accounts = g_list_remove(accounts, account); return FALSE; } static void gf_event_connection_throttle(PurpleConnection *gc, gpointer data) { PurpleAccount *account; if(!gc) return; account = purple_connection_get_account(gc); if(!account) return; accounts = g_list_append(accounts, account); g_timeout_add(10000, gf_event_connection_throttle_cb, (gpointer)account); } /******************************************************************************* * Chat Join Flooding ******************************************************************************/ static GList *chats = NULL; static gboolean gf_event_conversation_throttle_cb(gpointer data) { PurpleConversation *conv = (PurpleConversation *)data; if(conv) chats = g_list_remove(chats, conv); return FALSE; } static void gf_event_conversation_throttle(PurpleConversation *conv, gpointer data) { if(!conv) return; if(purple_conversation_get_type(conv) != PURPLE_CONV_TYPE_CHAT) return; chats = g_list_append(chats, conv); g_timeout_add(5000, gf_event_conversation_throttle_cb, (gpointer)conv); } /******************************************************************************* * Helpers ******************************************************************************/ /* first pass to see if a notification should be shown.. */ static gboolean gf_event_should_show(const gchar *notification, PurpleAccount *account) { if(gf_display_screen_saver_is_running()) return FALSE; if(!purple_account_is_connected(account)) return FALSE; if(g_list_find(accounts, account)) return FALSE; if(!gf_event_show_notification(notification)) return FALSE; if(!purple_prefs_get_bool(GF_PREF_BEHAVIOR_SHOW_WHILE_AWAY)) if(!purple_presence_is_available(account->presence)) return FALSE; return TRUE; } /* second pass to see if a conversation notification should be shown */ static gboolean gf_event_conversation_show(PurpleConversation *conv, const gchar *sender) { if(!conv) return FALSE; if(purple_conversation_has_focus(conv)) return FALSE; if(purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) { if(g_list_find(chats, conv)) return FALSE; if(sender) { const gchar *nick; nick = purple_conv_chat_get_nick(PURPLE_CONV_CHAT(conv)); if(!strcmp(nick, sender)) return FALSE; } } return TRUE; } static void gf_event_common(const gchar *n_type, PurpleAccount *account, PurpleBuddy *buddy, PurpleConversation *conv, const gchar *target, const gchar *message, PurpleConvChatBuddyFlags flags, const GHashTable *components, const gchar *extra) { GfNotification *notification = NULL; GfEventInfo *info = NULL; g_return_if_fail(n_type); g_return_if_fail(account); if(!gf_event_should_show(n_type, account)) return; if(conv && target) { if(!gf_event_conversation_show(conv, target)) return; } if(buddy) { notification = gf_blist_get_notification_for_buddy(buddy, n_type); } else { notification = gf_notification_find_for_event(n_type); } if(!notification) return; info = gf_event_info_new(n_type); gf_event_info_set_account(info, account); if(buddy) gf_event_info_set_buddy(info, buddy); if(conv) gf_event_info_set_conversation(info, conv); if(target) gf_event_info_set_target(info, target); if(message) gf_event_info_set_message(info, message); gf_event_info_set_conv_chat_buddy_flags(info, flags); if(components) gf_event_info_set_components(info, components); if(extra) gf_event_info_set_extra(info, extra); gf_display_show_event(info, notification); } /******************************************************************************* * Buddy callbacks ******************************************************************************/ static void gf_event_buddy(PurpleBuddy *buddy, gpointer data) { const gchar *notification = (const gchar *)data; if(!gf_event_should_show(notification, buddy->account)) return; gf_event_common(notification, buddy->account, buddy, NULL, buddy->name, NULL, PURPLE_CBFLAGS_NONE, NULL, NULL); } static void gf_event_buddy_status(PurpleBuddy *buddy, PurpleStatus *oldstatus, PurpleStatus *newstatus, gpointer data) { const gchar *notification; if (purple_status_is_available(oldstatus) && !purple_status_is_available(newstatus)) { notification = "away"; } else if (!purple_status_is_available(oldstatus) && purple_status_is_available(newstatus)) { notification = "back"; } else return; gf_event_common(notification, buddy->account, buddy, NULL, buddy->name, NULL, PURPLE_CBFLAGS_NONE, NULL, NULL); } static void gf_event_buddy_idle(PurpleBuddy *buddy, gboolean oldidle, gboolean newidle, gpointer data) { const gchar *notification; notification = (newidle) ? "idle" : "unidle"; gf_event_common(notification, buddy->account, buddy, NULL, buddy->name, NULL, PURPLE_CBFLAGS_NONE, NULL, NULL); } /******************************************************************************* * Conversation callbacks ******************************************************************************/ static void gf_event_im_message(PurpleAccount *account, const gchar *sender, const gchar *message, PurpleConversation *conv, gint flags, gpointer data) { PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; gchar *plain_message = NULL; buddy = purple_find_buddy(account, sender); plain_message = purple_markup_strip_html(message); gf_event_common(notification, account, buddy, conv, sender, plain_message, PURPLE_CBFLAGS_NONE, NULL, NULL); g_free(plain_message); } static void gf_event_chat_message(PurpleAccount *account, const gchar *sender, const gchar *message, PurpleConversation *conv, gint flags, gpointer data) { PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; gchar *plain_message = NULL; plain_message = purple_markup_strip_html(message); buddy = purple_find_buddy(account, sender); gf_event_common(notification, account, buddy, conv, sender, plain_message, PURPLE_CBFLAGS_NONE, NULL, NULL); g_free(plain_message); } static void gf_event_chat_nick(PurpleAccount *account, const gchar *sender, const gchar *message, PurpleConversation *conv, PurpleMessageFlags flags, gpointer data) { PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; gchar *plain_message = NULL; const gchar *nick = NULL; nick = purple_conv_chat_get_nick(PURPLE_CONV_CHAT(conv)); if (nick && !strcmp(sender, nick)) return; if(!g_strstr_len(message, strlen(message), nick)) return; plain_message = purple_markup_strip_html(message); buddy = purple_find_buddy(account, sender); gf_event_common(notification, account, buddy, conv, sender, plain_message, PURPLE_CBFLAGS_NONE, NULL, NULL); g_free(plain_message); } static void gf_event_typing(PurpleAccount *account, const char *name, gpointer data) { PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; PurpleConversation *conv; conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, name, account); buddy = purple_find_buddy(account, name); gf_event_common(notification, account, buddy, conv, name, NULL, PURPLE_CBFLAGS_NONE, NULL, NULL); } static void gf_event_chat_join(PurpleConversation *conv, const gchar *name, PurpleConvChatBuddyFlags flags, gboolean *new_arrival, gpointer data) { PurpleAccount *account = NULL; PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; account = purple_conversation_get_account(conv); buddy = purple_find_buddy(account, name); gf_event_common(notification, account, buddy, conv, name, NULL, flags, NULL, NULL); } static void gf_event_chat_part(PurpleConversation *conv, const gchar *name, const gchar *reason, gpointer data) { PurpleAccount *account = NULL; PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; gchar *plain_message = NULL; account = purple_conversation_get_account(conv); plain_message = (reason) ? purple_markup_strip_html(reason) : g_strdup(""); buddy = purple_find_buddy(account, name); gf_event_common(notification, account, buddy, conv, name, plain_message, PURPLE_CBFLAGS_NONE, NULL, NULL); g_free(plain_message); } static gint gf_event_chat_invite(PurpleAccount *account, const gchar *inviter, const gchar *chat, const gchar *invite_message, const GHashTable *components, gpointer data) { PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; gchar *plain_message = NULL; plain_message = (invite_message) ? purple_markup_strip_html(invite_message) : g_strdup(""); buddy = purple_find_buddy(account, inviter); gf_event_common(notification, account, buddy, NULL, inviter, plain_message, PURPLE_CBFLAGS_NONE, components, chat); g_free(plain_message); return 0; } static void gf_event_topic_changed(PurpleConversation *conv, const gchar *who, const gchar *topic, gpointer data) { PurpleAccount *account = NULL; PurpleBuddy *buddy = NULL; const gchar *notification = (const gchar *)data; gchar *plain_message = NULL; account = purple_conversation_get_account(conv); plain_message = (topic) ? purple_markup_strip_html(topic) : g_strdup(""); if(who) buddy = purple_find_buddy(account, who); gf_event_common(notification, account, buddy, conv, who, plain_message, PURPLE_CBFLAGS_NONE, NULL, NULL); g_free(plain_message); } /******************************************************************************* * Mail Stuff ******************************************************************************/ static void * gf_event_email(PurpleConnection *gc, const char *subject, const char *from, const char *to, const char *url) { gf_event_common("new-email", gc->account, purple_find_buddy(gc->account, from), NULL, from, NULL, PURPLE_CBFLAGS_NONE, NULL, subject); return real_notify_email(gc, subject, from, to, url); } static void * gf_event_emails(PurpleConnection *gc, size_t count, gboolean detailed, const char **subject, const char **from, const char **to, const char **url) { if (count == 1 && subject && *subject) return gf_event_email(gc, *subject, *from, *to, *url); return real_notify_emails(gc, count, detailed, subject, from, to, url); } static void gf_event_email_init() { g_return_if_fail(!real_notify_email); PurpleNotifyUiOps *notify_ops_orig = purple_notify_get_ui_ops(); real_notify_email = notify_ops_orig->notify_email; notify_ops_orig->notify_email = gf_event_email; real_notify_emails = notify_ops_orig->notify_emails; notify_ops_orig->notify_emails = gf_event_emails; } static void gf_event_email_uninit() { g_return_if_fail(real_notify_email); PurpleNotifyUiOps *notify_ops_orig = purple_notify_get_ui_ops(); notify_ops_orig->notify_email = real_notify_email; notify_ops_orig->notify_emails = real_notify_emails; } /******************************************************************************* * File transfer stuff ******************************************************************************/ static void gf_event_file_recv_cancel(PurpleXfer *xfer, gpointer data) { const gchar *notification = data; gf_event_common(notification, xfer->account, NULL, NULL, xfer->who, NULL, PURPLE_CBFLAGS_NONE, NULL, xfer->local_filename); } /******************************************************************************* * Subsystem ******************************************************************************/ void gf_events_init(PurplePlugin *plugin) { GList *l, *ll = NULL; void *blist_handle, *accounts_handle, *conv_handle; g_return_if_fail(plugin); /* create all of our default events */ gf_event_new("sign-on", TOKENS_DEFAULT "n", _("Sign on"), _("Displayed when a buddy comes online."), GF_EVENT_PRIORITY_HIGHER); gf_event_new("sign-off", TOKENS_DEFAULT "n", _("Sign off"), _("Displayed when a buddy goes offline."), GF_EVENT_PRIORITY_HIGHER); gf_event_new("away", TOKENS_DEFAULT "n", _("Away"), _("Displayed when a buddy goes away."), GF_EVENT_PRIORITY_HIGH); gf_event_new("back", TOKENS_DEFAULT "n", _("Back"), _("Displayed when a buddy returns from away."), GF_EVENT_PRIORITY_HIGH); gf_event_new("idle", TOKENS_DEFAULT "n", _("Idle"), _("Displayed when a buddy goes idle."), GF_EVENT_PRIORITY_NORMAL); gf_event_new("unidle", TOKENS_DEFAULT "n", _("Unidle"), _("Displayed when a buddy returns from idle."), GF_EVENT_PRIORITY_NORMAL); gf_event_new("im-message", TOKENS_DEFAULT "Ccnr", _("IM message"), _("Displayed when someone sends you a message."), GF_EVENT_PRIORITY_HIGHEST); gf_event_new("typing", TOKENS_DEFAULT "Ccnr", _("Typing"), _("Displayed when someone is typing a message to you."), GF_EVENT_PRIORITY_HIGHER); gf_event_new("typing-stopped", TOKENS_DEFAULT "Ccnr", _("Stopped typing"), _("Displayed when someone has stopped typing a message to you."), GF_EVENT_PRIORITY_HIGHER); gf_event_new("chat-message", TOKENS_DEFAULT "Ccnr", _("Chat message"), _("Displayed when someone talks in a chat."), GF_EVENT_PRIORITY_HIGHER); gf_event_new("nick-highlight", TOKENS_DEFAULT "Ccnr", _("Name spoken"), _("Displayed when someone says your nick in a chat"), GF_EVENT_PRIORITY_HIGHEST); gf_event_new("chat-join", TOKENS_DEFAULT "Ccnr", _("Join"), _("Displayed when someone joins a chat."), GF_EVENT_PRIORITY_LOW); gf_event_new("chat-part", TOKENS_DEFAULT "Ccnr", _("Leave"), _("Displayed when someone leaves a chat."), GF_EVENT_PRIORITY_LOW); gf_event_new("chat-invite", TOKENS_DEFAULT "Ccnr", _("Invited"), _("Displayed when someone invites you to a chat."), GF_EVENT_PRIORITY_HIGHEST); gf_event_new("topic-changed", TOKENS_DEFAULT "Ccnr", _("Topic changed"), _("Displayed when a topic is changed in a chat."), GF_EVENT_PRIORITY_LOW); gf_event_new("new-email", TOKENS_DEFAULT "c", _("Email"), _("Displayed when you receive new email."), GF_EVENT_PRIORITY_NORMAL); gf_event_new(GF_NOTIFICATION_MASTER, TOKENS_DEFAULT "Ccnr", _("Master"), _("Master notification for the theme editor."), GF_EVENT_PRIORITY_NORMAL); gf_event_new("file-remote-cancel", TOKENS_DEFAULT "nX", _("File receive cancelled"), _("Displayed when the buddy cancels the file transfer."), GF_EVENT_PRIORITY_NORMAL); gf_event_new("file-recv-complete", TOKENS_DEFAULT "nX", _("File receive completed"), _("Displayed when file transfer completes for a file you are receiving."), GF_EVENT_PRIORITY_NORMAL); gf_event_new("file-send-complete", TOKENS_DEFAULT "nX", _("File send completed"), _("Displayed when file transfer completes for a file you are sending."), GF_EVENT_PRIORITY_NORMAL); /* add our string list pref */ for(l = events; l; l = l->next) { GfEvent *event = GF_EVENT(l->data); ll = g_list_append(ll, event->n_type); } purple_prefs_add_string_list(GF_PREF_BEHAVIOR_NOTIFICATIONS, ll); g_list_free(ll); /* now that the pref is created, set the events that are supposed to be displayed * to allow displaying */ l = purple_prefs_get_string_list(GF_PREF_BEHAVIOR_NOTIFICATIONS); for(ll = l; ll; ll = ll->next) { gchar *event_name = (gchar *)ll->data; if(event_name) { GfEvent *event = gf_event_find_for_notification(event_name); g_free(ll->data); if(event) event->show = TRUE; } } g_list_free(l); /* connect all of our signals */ blist_handle = purple_blist_get_handle(); accounts_handle = purple_accounts_get_handle(); conv_handle = purple_conversations_get_handle(); /* blist signals */ purple_signal_connect(blist_handle, "buddy-signed-on", plugin, PURPLE_CALLBACK(gf_event_buddy), "sign-on"); purple_signal_connect(blist_handle, "buddy-signed-off", plugin, PURPLE_CALLBACK(gf_event_buddy), "sign-off"); purple_signal_connect(blist_handle, "buddy-status-changed", plugin, PURPLE_CALLBACK(gf_event_buddy_status), NULL); purple_signal_connect(blist_handle, "buddy-idle-changed", plugin, PURPLE_CALLBACK(gf_event_buddy_idle), NULL); /* conversation signals */ purple_signal_connect(conv_handle, "received-im-msg", plugin, PURPLE_CALLBACK(gf_event_im_message), "im-message"); purple_signal_connect(conv_handle, "received-chat-msg", plugin, PURPLE_CALLBACK(gf_event_chat_message), "chat-message"); purple_signal_connect(conv_handle, "received-chat-msg", plugin, PURPLE_CALLBACK(gf_event_chat_nick), "nick-highlight"); purple_signal_connect(conv_handle, "chat-buddy-joined", plugin, PURPLE_CALLBACK(gf_event_chat_join), "chat-join"); purple_signal_connect(conv_handle, "chat-buddy-left", plugin, PURPLE_CALLBACK(gf_event_chat_part), "chat-part"); purple_signal_connect(conv_handle, "chat-invited", plugin, PURPLE_CALLBACK(gf_event_chat_invite), "chat-invite"); purple_signal_connect(conv_handle, "buddy-typing", plugin, PURPLE_CALLBACK(gf_event_typing), "typing"); purple_signal_connect(conv_handle, "buddy-typing-stopped", plugin, PURPLE_CALLBACK(gf_event_typing), "typed"); purple_signal_connect(conv_handle, "chat-topic-changed", plugin, PURPLE_CALLBACK(gf_event_topic_changed), "topic-changed"); /* both of these are used just to not display the flood of guifications we'd get if * we weren't throttling them. Makes it look much prettier im my opinion :) */ purple_signal_connect(purple_connections_get_handle(), "signed-on", plugin, PURPLE_CALLBACK(gf_event_connection_throttle), NULL); purple_signal_connect(conv_handle, "chat-joined", plugin, PURPLE_CALLBACK(gf_event_conversation_throttle), NULL); /* mail stuff */ gf_event_email_init(); purple_signal_connect(purple_xfers_get_handle(), "file-recv-cancel", plugin, PURPLE_CALLBACK(gf_event_file_recv_cancel), "file-remote-cancel"); purple_signal_connect(purple_xfers_get_handle(), "file-recv-complete", plugin, PURPLE_CALLBACK(gf_event_file_recv_cancel), "file-recv-complete"); purple_signal_connect(purple_xfers_get_handle(), "file-send-complete", plugin, PURPLE_CALLBACK(gf_event_file_recv_cancel), "file-send-complete"); } void gf_events_uninit() { GList *l, *ll; gf_event_email_uninit(); for(l = events; l; l = ll) { ll = l->next; gf_event_destroy(GF_EVENT(l->data)); } } pidgin-guifications-2.16/src/gf_preferences.h0000644000175000017500000000557610731276755016266 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #ifndef GF_PREFERENCES_H #define GF_PREFERENCES_H #include "gtkplugin.h" #define GF_PREF_ROOT "/plugins/gtk/amc_grim" #define GF_PREF_PLUGIN_ROOT "/plugins/gtk/amc_grim/guifications2" #define GF_PREF_BEHAVIOR_ROOT "/plugins/gtk/amc_grim/guifications2/behavior" #define GF_PREF_BEHAVIOR_NOTIFICATIONS "/plugins/gtk/amc_grim/guifications2/behavior/notifications" #define GF_PREF_BEHAVIOR_DISPLAY_TIME "/plugins/gtk/amc_grim/guifications2/behavior/display_time" #define GF_PREF_BEHAVIOR_THROTTLE "/plugins/gtk/amc_grim/guifications2/behavior/throttle" #define GF_PREF_BEHAVIOR_SHOW_WHILE_AWAY "/plugins/gtk/amc_grim/guifications2/behavior/show_while_away" #define GF_PREF_APPEARANCE_ROOT "/plugins/gtk/amc_grim/guifications2/appearance" #define GF_PREF_APPEARANCE_POSITION "/plugins/gtk/amc_grim/guifications2/appearance/position" #define GF_PREF_APPEARANCE_VERTICAL "/plugins/gtk/amc_grim/guifications2/appearance/vertical" #define GF_PREF_APPEARANCE_ANIMATE "/plugins/gtk/amc_grim/guifications2/appearance/animate" #define GF_PREF_MOUSE_ROOT "/plugins/gtk/amc_grim/guifications2/mouse" #define GF_PREF_MOUSE_LEFT "/plugins/gtk/amc_grim/guifications2/mouse/left" #define GF_PREF_MOUSE_MIDDLE "/plugins/gtk/amc_grim/guifications2/mouse/middle" #define GF_PREF_MOUSE_RIGHT "/plugins/gtk/amc_grim/guifications2/mouse/right" #define GF_PREF_LOADED_THEMES "/plugins/gtk/amc_grim/guifications2/themes" #define GF_PREF_ADVANCED_ROOT "/plugins/gtk/amc_grim/guifications2/advanced" #define GF_PREF_ADVANCED_RELEASE_NOTIFICATION "/plugins/gtk/amc_grim/guifications2/advanced/release_notification" #define GF_PREF_ADVANCED_RELEASE_LAST_CHECK "/plugins/gtk/amc_grim/guifications2/advanced/release_last_check" #if GTK_CHECK_VERSION(2,2,0) # define GF_PREF_ADVANCED_SCREEN "/plugins/gtk/amc_grim/guifications2/advanced/screen" # define GF_PREF_ADVANCED_MONITOR "/plugins/gtk/amc_grim/guifications2/advanced/monitor" #endif /* GTK_CHECK_VERSION(2,2,0) */ G_BEGIN_DECLS GtkWidget *gf_preferences_get_frame(PurplePlugin *plugin); void gf_preferences_refresh_themes_list(); void gf_preferences_add(); G_END_DECLS #endif pidgin-guifications-2.16/src/gf_action.c0000644000175000017500000005406210731311346015211 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_action.h" #include "gf_display.h" #include "gf_event.h" #include "gf_event_info.h" #include "gf_notification.h" #include "gf_preferences.h" #include "gf_utils.h" struct _GfAction { gchar *name; gchar *i18n; GfActionFunc func; }; static GList *actions = NULL; /******************************************************************************* * API ******************************************************************************/ GfAction * gf_action_new() { GfAction *action; action = g_new0(GfAction, 1); return action; } void gf_action_destroy(GfAction *action) { g_return_if_fail(action); if(action->name) g_free(action->name); g_free(action); action = NULL; } void gf_action_set_name(GfAction *action, const gchar *name) { g_return_if_fail(action); g_return_if_fail(name); if(action->name) g_free(action->name); action->name = g_strdup(name); } const gchar * gf_action_get_name(GfAction *action) { g_return_val_if_fail(action, NULL); return action->name; } void gf_action_set_i18n(GfAction *action, const gchar *i18n) { g_return_if_fail(action); g_return_if_fail(i18n); if(action->i18n) g_free(action->i18n); action->i18n = g_strdup(i18n); } const gchar * gf_action_get_i18n(GfAction *action) { g_return_val_if_fail(action, NULL); return action->i18n; } void gf_action_set_func(GfAction *action, GfActionFunc func) { g_return_if_fail(action); g_return_if_fail(func); action->func = func; } GfActionFunc gf_action_get_func(GfAction *action) { g_return_val_if_fail(action, NULL); return action->func; } void gf_action_execute(GfAction *action, GfDisplay *display, GdkEventButton *event) { g_return_if_fail(action); g_return_if_fail(display); action->func(display, event); } GfAction * gf_action_find_with_name(const gchar *name) { GfAction *action; GList *l; g_return_val_if_fail(name, NULL); for(l = actions; l; l = l->next) { action = GF_ACTION(l->data); if(!g_ascii_strcasecmp(name, action->name)) return action; } return NULL; } GfAction * gf_action_find_with_i18n(const gchar *i18n) { GfAction *action; GList *l; g_return_val_if_fail(i18n, NULL); for(l = actions; l; l = l->next) { action = GF_ACTION(l->data); if(!g_ascii_strcasecmp(i18n, action->i18n)) return action; } return NULL; } gint gf_action_get_position(GfAction *action) { g_return_val_if_fail(action, -1); return g_list_index(actions, action); } /******************************************************************************* * Sub System ******************************************************************************/ static void gf_action_add_default(const gchar *name, const gchar *i18n, GfActionFunc func) { GfAction *action; g_return_if_fail(name); g_return_if_fail(func); action = gf_action_new(); gf_action_set_name(action, name); gf_action_set_i18n(action, i18n); gf_action_set_func(action, func); gf_actions_add_action(action); } void gf_actions_init() { gf_action_add_default("close", _("Close"), gf_action_execute_close); gf_action_add_default("open", _("Open Conversation"), gf_action_execute_open_conv); gf_action_add_default("context", _("Context Menu"), gf_action_execute_context); gf_action_add_default("info", _("Get Info"), gf_action_execute_info); gf_action_add_default("log", _("Display Log"), gf_action_execute_log); } void gf_actions_uninit() { GList *l, *ll; for(l = actions; l; l = ll) { ll = l->next; gf_actions_remove_action(GF_ACTION(l->data)); } g_list_free(actions); actions = NULL; } void gf_actions_add_action(GfAction *action) { g_return_if_fail(action); actions = g_list_append(actions, action); } void gf_actions_remove_action(GfAction *action) { g_return_if_fail(action); actions = g_list_remove(actions, action); } gint gf_actions_count() { return g_list_length(actions); } const gchar * gf_actions_get_nth_name(gint nth) { GfAction *action; action = GF_ACTION(g_list_nth_data(actions, nth)); return action->name; } const gchar * gf_actions_get_nth_i18n(gint nth) { GfAction *action; action = GF_ACTION(g_list_nth_data(actions, nth)); return action->i18n; } /******************************************************************************* * Action Functions ******************************************************************************/ void gf_action_execute_close(GfDisplay *display, GdkEventButton *gdk_event) { g_return_if_fail(display); gf_display_destroy(display); } static gboolean conversation_exists(PurpleConversation *conv) { PurpleConversation *lconv; GList *l; for(l = purple_get_conversations(); l; l = l->next) { lconv = (PurpleConversation *)l->data; if(conv == lconv) return TRUE; } return FALSE; } void gf_action_execute_open_conv(GfDisplay *display, GdkEventButton *gdk_event) { GfEvent *event; GfEventInfo *info; PurpleAccount *account = NULL; PurpleBuddy *buddy = NULL; PurpleConversation *conv = NULL; const GHashTable *components = NULL; const gchar *n_type, *target; g_return_if_fail(display); info = gf_display_get_event_info(display); event = gf_event_info_get_event(info); n_type = gf_event_get_notification_type(event); account = gf_event_info_get_account(info); buddy = gf_event_info_get_buddy(info); conv = gf_event_info_get_conversation(info); components = gf_event_info_get_components(info); target = gf_event_info_get_target(info); if(conv) { /* we have a conv */ if(!conversation_exists(conv)) { /* the conv we have doesn't exist anymore.. */ const gchar *target; target = gf_event_info_get_target(info); conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, target, account); } } else if(components) { /* it's a chat invite */ const gchar *extra = gf_event_info_get_extra(info); conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT, extra, account); if(!conv) { serv_join_chat(account->gc, (GHashTable *)components); gf_display_destroy(display); return; } } else if (buddy) { /* we have a buddy or a target */ conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, buddy->name, account); if(!conv) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, buddy->name); } else { /* the only thing that _should_ be left is warnings.. */ if(target) { conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, target, account); if(!conv) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, target); } } if(conv) { purple_conversation_present(conv); gf_display_destroy(display); } } void gf_action_execute_info(GfDisplay *display, GdkEventButton *gdk_event) { GfEventInfo *info; const gchar *target; PurpleAccount *account; g_return_if_fail(display); info = gf_display_get_event_info(display); account = gf_event_info_get_account(info); target = gf_event_info_get_target(info); /* This covers everything. * * We used to make a distinction between event types, but since we store * the target for every event, and how you can't get info about a chat * we just use the target. The target for a buddy event is the * buddy->name, in a warning event it's the screen name of the person * who warned you, and in a chat it's the person that said something. */ if(target) { serv_get_info(account->gc, target); gf_display_destroy(display); } } void gf_action_execute_log(GfDisplay *display, GdkEventButton *gdk_event) { GfEvent *event; GfEventInfo *info; PurpleAccount *account; PurpleConversation *conv; const gchar *n_type, *target; g_return_if_fail(display); info = gf_display_get_event_info(display); account = gf_event_info_get_account(info); event = gf_event_info_get_event(info); conv = gf_event_info_get_conversation(info); target = gf_event_info_get_target(info); n_type = gf_event_get_notification_type(event); if(conv) { PurpleConversationType type; type = purple_conversation_get_type(conv); if(type == PURPLE_CONV_TYPE_IM || type == PURPLE_CONV_TYPE_CHAT) { pidgin_log_show(type, (type == PURPLE_CONV_TYPE_IM) ? target : conv->name, account); gf_display_destroy(display); } } else if(target) { pidgin_log_show(PURPLE_CONV_TYPE_IM, target, account); gf_display_destroy(display); } } /****************************************************************************** * Context menu stuff *****************************************************************************/ static gboolean gf_action_context_destroy_cb(gpointer data) { GfDisplay *display = GF_DISPLAY(data); gf_display_destroy(display); return FALSE; } static void gf_action_context_hide_cb(GtkWidget *w, gpointer data) { GfDisplay *display = GF_DISPLAY(data); GfEventInfo *info = NULL; gint display_time; guint timeout_id; g_return_if_fail(display); info = gf_display_get_event_info(display); g_return_if_fail(info); display_time = purple_prefs_get_int(GF_PREF_BEHAVIOR_DISPLAY_TIME); timeout_id = g_timeout_add(display_time * 500, gf_action_context_destroy_cb, display); gf_event_info_set_timeout_id(info, timeout_id); } static void gf_action_context_position(GtkMenu *menu, gint *x, gint *y, gboolean pushin, gpointer data) { GtkRequisition req; gint scrheight = 0; scrheight = gdk_screen_get_height(gtk_widget_get_screen(GTK_WIDGET(menu))); gtk_widget_size_request(GTK_WIDGET(menu), &req); if((*y + req.height > scrheight) && (scrheight - req.height > 0)) *y = scrheight - req.height; } static void gf_action_context_info_cb(GtkWidget *menuitem, GfDisplay *display) { gf_action_execute_info(display, NULL); } static void gf_action_context_im_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info; PurpleAccount *account; PurpleConversation *conv = NULL; PidginWindow *win = NULL; const gchar *target; info = gf_display_get_event_info(display); account = gf_event_info_get_account(info); target = gf_event_info_get_target(info); conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, target, account); if(!conv) { conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, target); } if(conv) { win = PIDGIN_CONVERSATION(conv)->win; if(!win) { gf_display_destroy(display); return; } pidgin_conv_window_switch_gtkconv(win, PIDGIN_CONVERSATION(conv)); gtk_window_present(GTK_WINDOW(win->window)); } gf_display_destroy(display); } static void gf_action_context_pounce_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info; PurpleAccount *account = NULL; PurpleBuddy *buddy = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); buddy = gf_event_info_get_buddy(info); g_return_if_fail(buddy); pidgin_pounce_editor_show(account, buddy->name, NULL); } static void gf_action_context_log_buddy_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; const gchar *target = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); target = gf_event_info_get_target(info); g_return_if_fail(target); pidgin_log_show(PURPLE_LOG_IM, target, account); } static void gf_action_context_log_chat_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; PurpleConversation *conv = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); conv = gf_event_info_get_conversation(info); g_return_if_fail(conv); pidgin_log_show(PURPLE_LOG_CHAT, conv->name, account); } static void gf_action_context_alias_buddy_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleBuddy *buddy = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); buddy = gf_event_info_get_buddy(info); g_return_if_fail(buddy); pidgin_dialogs_alias_buddy(buddy); } static void gf_action_context_alias_chat_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; PurpleChat *chat = NULL; PurpleConversation *conv = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); conv = gf_event_info_get_conversation(info); g_return_if_fail(conv); chat = purple_blist_find_chat(account, conv->name); g_return_if_fail(chat); pidgin_dialogs_alias_chat(chat); } static void gf_action_context_add_buddy_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; const gchar *target = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); target = gf_event_info_get_target(info); g_return_if_fail(target); purple_blist_request_add_buddy(account, target, NULL, NULL); } static void gf_action_context_add_chat_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; PurpleConversation *conv = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); conv = gf_event_info_get_conversation(info); g_return_if_fail(conv); purple_blist_request_add_chat(account, NULL, NULL, conv->name); } static void gf_action_context_remove_buddy_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleBuddy *buddy = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); buddy = gf_event_info_get_buddy(info); g_return_if_fail(buddy); pidgin_dialogs_remove_buddy(buddy); } static void gf_action_context_remove_chat_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; PurpleChat *chat = NULL; PurpleConversation *conv = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); conv = gf_event_info_get_conversation(info); g_return_if_fail(conv); chat = purple_blist_find_chat(account, conv->name); g_return_if_fail(chat); pidgin_dialogs_remove_chat(chat); } static void gf_action_context_join_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; const GHashTable *components = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); components = gf_event_info_get_components(info); g_return_if_fail(components); serv_join_chat(account->gc, (GHashTable *)components); } static void gf_action_context_autojoin_cb(GtkWidget *menuitem, GfDisplay *display) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; PurpleChat *chat = NULL; PurpleConversation *conv = NULL; info = gf_display_get_event_info(display); g_return_if_fail(info); account = gf_event_info_get_account(info); g_return_if_fail(account); conv = gf_event_info_get_conversation(info); g_return_if_fail(conv); chat = purple_blist_find_chat(account, conv->name); g_return_if_fail(chat); purple_blist_node_set_bool((PurpleBlistNode *)chat, "gtk-autojoin", gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(menuitem))); } /* This function has come from hell.. I summoned it last time I sent a wicked * soul to it's eternal resting place. */ void gf_action_execute_context(GfDisplay *display, GdkEventButton *gdk_event) { GfEventInfo *info = NULL; PurpleAccount *account = NULL; PurpleBuddy *buddy = NULL; PurpleChat *chat = NULL; PurpleConversation *conv = NULL; PurplePlugin *prpl = NULL; PurplePluginProtocolInfo *prpl_info = NULL; GtkWidget *menu; const gchar *target = NULL; gboolean chat_sep_added = FALSE; guint timeout_id; g_return_if_fail(display); /* grab the stuff we need from the display and event info */ info = gf_display_get_event_info(display); g_return_if_fail(info); /* get the pidgin stuff we need */ account = gf_event_info_get_account(info); g_return_if_fail(account); /* we're going to show the menu as long as the timeout is removed. * We need to remove it otherwise the display get's destroyed when * the menu is shown, or it'll leak if we don't clean it up later. */ timeout_id = gf_event_info_get_timeout_id(info); g_return_if_fail(g_source_remove(timeout_id)); buddy = gf_event_info_get_buddy(info); conv = gf_event_info_get_conversation(info); target = gf_event_info_get_target(info); if(conv) chat = purple_blist_find_chat(account, conv->name); /* find the prpl and it's info */ prpl = purple_find_prpl(purple_account_get_protocol_id(account)); if(prpl) prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(prpl); /* create the menu */ menu = gtk_menu_new(); g_signal_connect(G_OBJECT(menu), "hide", G_CALLBACK(gf_action_context_hide_cb), display); gtk_widget_show(menu); if(buddy || target) { /* add get info if the prpl supports it */ if(prpl_info && prpl_info->get_info) { pidgin_new_item_from_stock(menu, _("Get Info"), PIDGIN_STOCK_DIALOG_INFO, G_CALLBACK(gf_action_context_info_cb), display, 0, 0, NULL); } /* we can im anyone.. so.. */ pidgin_new_item_from_stock(menu, _("IM"), PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW, G_CALLBACK(gf_action_context_im_cb), display, 0, 0, NULL); } /* It's pointless to add a buddy pounce for someone that isn't a buddy... * Conversations currently allow this.. but that's because I haven't * written a patch yet.. */ if(buddy) { pidgin_new_item_from_stock(menu, _("Add Buddy Pounce"), NULL, G_CALLBACK(gf_action_context_pounce_cb), display, 0, 0, NULL); } if(!buddy && target) buddy = purple_find_buddy(account, target); if(buddy) { pidgin_new_item_from_stock(menu, _("View IM log"), NULL, G_CALLBACK(gf_action_context_log_buddy_cb), display, 0, 0, NULL); /* add the protocol menu */ pidgin_append_blist_node_proto_menu(menu, account->gc, (PurpleBlistNode *)buddy); /* and now the extended menu */ pidgin_append_blist_node_extended_menu(menu, (PurpleBlistNode*)buddy); /* separate it! */ pidgin_separator(menu); } /* we can't alias a non buddy, and we can't remove them either.. But if * they're not a buddy we can add them! */ if(buddy) { /* add the alias and remove button */ pidgin_new_item_from_stock(menu, _("Alias Buddy"), PIDGIN_STOCK_ALIAS, G_CALLBACK(gf_action_context_alias_buddy_cb), display, 0, 0, NULL); pidgin_new_item_from_stock(menu, _("Remove Buddy"), GTK_STOCK_REMOVE, G_CALLBACK(gf_action_context_remove_buddy_cb), display, 0, 0, NULL); } else if(target) { pidgin_new_item_from_stock(menu, _("Add Buddy"), GTK_STOCK_ADD, G_CALLBACK(gf_action_context_add_buddy_cb), display, 0, 0, NULL); } /* Add a separtor if we have a buddy or target, and we have a chat */ if((buddy || target) && chat) { pidgin_separator(menu); chat_sep_added = TRUE; } if(chat) { PurpleBlistNode *node = (PurpleBlistNode *)chat; gboolean checked; checked = (purple_blist_node_get_bool(node, "gtk-autojoin") || (purple_blist_node_get_string(node, "gtk-autojoin") != NULL)); /* add the join item, possibly redundant.. */ pidgin_new_item_from_stock(menu, _("Join"), PIDGIN_STOCK_CHAT, G_CALLBACK(gf_action_context_join_cb), display, 0, 0, NULL); pidgin_new_check_item(menu, _("Auto-join"), G_CALLBACK(gf_action_context_autojoin_cb), display, checked); } /* if we have a conversation and it's a chat, we show the view log for it. * if we don't do this check we end up with two menu items to view the * same log.. */ if(conv && conv->type == PURPLE_CONV_TYPE_CHAT) { if(!chat_sep_added) { pidgin_separator(menu); chat_sep_added = TRUE; } pidgin_new_item_from_stock(menu, _("View Chat Log"), NULL, G_CALLBACK(gf_action_context_log_chat_cb), display, 0, 0, NULL); } if(chat) { /* add the proto menu for the chat */ pidgin_append_blist_node_proto_menu(menu, account->gc, (PurpleBlistNode *)chat); /* add the extended menu for the chat */ pidgin_append_blist_node_extended_menu(menu, (PurpleBlistNode *)chat); /* add the alias and remove buttons */ pidgin_new_item_from_stock(menu, _("Alias Chat"), PIDGIN_STOCK_ALIAS, G_CALLBACK(gf_action_context_alias_chat_cb), display, 0, 0, NULL); pidgin_new_item_from_stock(menu, _("Remove Chat"), GTK_STOCK_REMOVE, G_CALLBACK(gf_action_context_remove_chat_cb), display, 0, 0, NULL); } /* add the add chat item if it's not on our blist.. */ if(!chat && conv && conv->type == PURPLE_CONV_TYPE_CHAT) { pidgin_new_item_from_stock(menu, _("Add Chat"), GTK_STOCK_ADD, G_CALLBACK(gf_action_context_add_chat_cb), display, 0, 0, NULL); } /* show it already */ gtk_widget_show_all(menu); gtk_menu_popup(GTK_MENU(menu), NULL, NULL, (GtkMenuPositionFunc)gf_action_context_position, display, gdk_event->button, gdk_event->time); } pidgin-guifications-2.16/src/gf_menu.c0000644000175000017500000002360010731311346014672 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include "gf_action.h" #include "gf_display.h" #include "gf_item.h" #include "gf_item_icon.h" #include "gf_item_text.h" #include "gf_menu.h" #include "gf_stock.h" static GtkWidget * gf_menu_make_item(GtkWidget *image, const gchar *text) { GtkWidget *menu_item, *hbox, *label; menu_item = gtk_menu_item_new(); hbox = gtk_hbox_new(FALSE, 4); gtk_container_add(GTK_CONTAINER(menu_item), hbox); if(image) gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); label = gtk_label_new(_(text)); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); gtk_widget_show_all(menu_item); return menu_item; } GtkWidget * gf_menu_build(GfMenuItemBuilder builder, void *data) { GtkWidget *menu; gint i, max; if(builder == gf_menu_position) max = 4; else if(builder == gf_menu_mouse) max = gf_actions_count(); else if(builder == gf_menu_event) max = gf_events_count(); else if(builder == gf_menu_item_position) max = 9; else if(builder == gf_menu_item_type) max = 3; else if(builder == gf_menu_item_icon_type) max = 3; else if(builder == gf_menu_item_icon_size) max = 7; else if(builder == gf_menu_item_text_clipping) max = 4; else return NULL; menu = gtk_menu_new(); for(i = 0; i < max; i++) builder(menu, i, data); gtk_widget_show_all(menu); return menu; } GtkWidget * gf_menu_position(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL, *image; g_return_val_if_fail(menu, NULL); switch(item) { case GF_DISPLAY_POSITION_NW: image = gtk_image_new_from_stock(GF_STOCK_WINDOW_POSITION_NORTH_WEST, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Top Left")); break; case GF_DISPLAY_POSITION_NE: image = gtk_image_new_from_stock(GF_STOCK_WINDOW_POSITION_NORTH_EAST, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Top Right")); break; case GF_DISPLAY_POSITION_SW: image = gtk_image_new_from_stock(GF_STOCK_WINDOW_POSITION_SOUTH_WEST, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Bottom Left")); break; case GF_DISPLAY_POSITION_SE: image = gtk_image_new_from_stock(GF_STOCK_WINDOW_POSITION_SOUTH_EAST, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Bottom Right")); break; case GF_DISPLAY_POSITION_UNKNOWN: default: break; } if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_mouse(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL; g_return_val_if_fail(menu, NULL); menu_item = gf_menu_make_item(NULL, gf_actions_get_nth_i18n(item)); if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_event(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL; const gchar *name = NULL; g_return_val_if_fail(menu, NULL); name = gf_events_get_nth_name(item); menu_item = gf_menu_make_item(NULL, name); if(!g_utf8_collate(name, GF_NOTIFICATION_MASTER)) { GfTheme *theme = GF_THEME(data); if(theme && gf_theme_get_master(theme)) gtk_widget_set_sensitive(menu_item, FALSE); } if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_item_position(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL, *image = NULL; g_return_val_if_fail(menu, NULL); switch(item) { case GF_ITEM_POSITION_NW: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_NORTH_WEST, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_N: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_NORTH, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_NE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_NORTH_EAST, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_W: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_WEST, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_C: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_CENTER, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_E: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_EAST, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_SW: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_SOUTH_WEST, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_S: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_SOUTH, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_SE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_POSITION_SOUTH_EAST, GTK_ICON_SIZE_MENU); break; case GF_ITEM_POSITION_UNKNOWN: default: break; } menu_item = gf_menu_make_item(image, gf_item_position_to_string(item, TRUE)); if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_item_type(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL; switch(item) { case GF_ITEM_TYPE_ICON: menu_item = gf_menu_make_item(NULL, gf_item_type_to_string(item, TRUE)); break; case GF_ITEM_TYPE_IMAGE: menu_item = gf_menu_make_item(NULL, gf_item_type_to_string(item, TRUE)); break; case GF_ITEM_TYPE_TEXT: menu_item = gf_menu_make_item(NULL, gf_item_type_to_string(item, TRUE)); break; case GF_ITEM_TYPE_UNKNOWN: default: break; } if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_item_icon_type(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL; g_return_val_if_fail(menu, NULL); switch(item) { case GF_ITEM_ICON_TYPE_BUDDY: menu_item = gf_menu_make_item(NULL, _("Buddy")); break; case GF_ITEM_ICON_TYPE_PROTOCOL: menu_item = gf_menu_make_item(NULL, _("Protocol")); break; case GF_ITEM_ICON_TYPE_STATUS: menu_item = gf_menu_make_item(NULL, _("Status")); break; case GF_ITEM_ICON_TYPE_UNKNOWN: default: break; } if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_item_icon_size(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL, *image; g_return_val_if_fail(menu, NULL); switch(item) { case GF_ITEM_ICON_SIZE_HUGE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_HUGE, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Huge (144x144)")); break; case GF_ITEM_ICON_SIZE_LARGE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_LARGE, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Large (96x96)")); break; case GF_ITEM_ICON_SIZE_BIG: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_BIG, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Big (64x64)")); break; case GF_ITEM_ICON_SIZE_NORMAL: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_NORMAL, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Normal (48x48)")); break; case GF_ITEM_ICON_SIZE_LITTLE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_LITTLE, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Little (32x32)")); break; case GF_ITEM_ICON_SIZE_SMALL: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_SMALL, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Small (24x24)")); break; case GF_ITEM_ICON_SIZE_TINY: image = gtk_image_new_from_stock(GF_STOCK_ITEM_ICON_SIZE_TINY, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Tiny (16x16)")); break; case GF_ITEM_ICON_SIZE_UNKNOWN: default: break; } if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } GtkWidget * gf_menu_item_text_clipping(GtkWidget *menu, gint item, void *data) { GtkWidget *menu_item = NULL, *image; g_return_val_if_fail(menu, NULL); switch(item) { case GF_ITEM_TEXT_CLIPPING_TRUNCATE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_TEXT_CLIPPING_TRUNCATE, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Truncate")); break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_END: image = gtk_image_new_from_stock(GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_END, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Ellipsis at the end")); break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE: image = gtk_image_new_from_stock(GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_MIDDLE, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Ellipsis in the middle")); break; case GF_ITEM_TEXT_CLIPPING_ELLIPSIS_START: image = gtk_image_new_from_stock(GF_STOCK_ITEM_TEXT_CLIPPING_ELLIPSIS_START, GTK_ICON_SIZE_MENU); menu_item = gf_menu_make_item(image, _("Ellipsis at the beginning")); break; case GF_ITEM_TEXT_CLIPPING_UNKNOWN: default: break; } if(menu_item) gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); return menu_item; } pidgin-guifications-2.16/src/gf_blist.c0000644000175000017500000002422410731311346015046 00000000000000/* * Guifications - The end all, be all, toaster popup plugin * Copyright (C) 2003-2005 Gary Kramlich * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. */ #include #include #include #ifdef HAVE_CONFIG_H # include "../gf_config.h" #endif #include "gf_internal.h" #include #include #include #include #include #include #include "gf_blist.h" #include "gf_notification.h" #include "gf_theme.h" #include "gf_theme_info.h" #include "gf_utils.h" #define GF_NODE_SETTING "guifications-theme" /****************************************************************************** * Structs *****************************************************************************/ typedef struct _GfBlistDialog { PurpleBlistNode *node; PurpleRequestField *theme_field; gpointer handle; } GfBlistDialog; /****************************************************************************** * Enums *****************************************************************************/ typedef enum _GfBlistThemeType { GF_BLIST_THEME_UNASSIGNED = 0, GF_BLIST_THEME_RANDOM, GF_BLIST_THEME_NONE, GF_BLIST_THEME_SPECIFIC, GF_BLIST_THEME_TYPES } GfBlistThemeType; /****************************************************************************** * Globals *****************************************************************************/ static GList *dialogs = NULL; /****************************************************************************** * Dialog Callbacks *****************************************************************************/ static void gf_blist_dialog_ok_cb(gpointer data, PurpleRequestFields *fields) { GfBlistDialog *diag = (GfBlistDialog *)data; GList *l; const gchar *name = NULL; gint value = 0; value = purple_request_field_choice_get_value(diag->theme_field); l = purple_request_field_choice_get_labels(diag->theme_field); name = g_list_nth_data(l, value); if(diag->node) { switch(value) { case GF_BLIST_THEME_UNASSIGNED: purple_blist_node_remove_setting(diag->node, GF_NODE_SETTING); break; case GF_BLIST_THEME_RANDOM: purple_blist_node_set_string(diag->node, GF_NODE_SETTING, "(RANDOM)"); break; case GF_BLIST_THEME_NONE: purple_blist_node_set_string(diag->node, GF_NODE_SETTING, "(NONE)"); break; default: purple_blist_node_set_string(diag->node, GF_NODE_SETTING, name); } } dialogs = g_list_remove(dialogs, diag); g_free(diag); } static void gf_blist_dialog_cancel_cb(gpointer data, PurpleRequestFields *fields) { GfBlistDialog *diag = (GfBlistDialog *)data; dialogs = g_list_remove(dialogs, diag); g_free(diag); } /****************************************************************************** * Dialog Stuff *****************************************************************************/ static void gf_blist_dialog_new(PurpleBlistNode *node) { GfBlistDialog *dialog = NULL; PurpleRequestFields *fields; PurpleRequestFieldGroup *group; PurpleAccount *account = NULL; GList *l; gchar *info; const gchar *name = NULL, *format = NULL, *current = NULL; gint history = 0, i = 0; dialog = g_new0(GfBlistDialog, 1); if(!dialog) return; dialog->node = node; /* wow this should really be in blist.[ch] someone remind me to * write a patch at some point. */ if(PURPLE_BLIST_NODE_IS_BUDDY(node)) { PurpleBuddy *buddy = (PurpleBuddy *)node; if(buddy->alias) name = buddy->alias; else name = buddy->name; account = purple_buddy_get_account(buddy); format = N_("Please select a theme for the buddy %s"); } else if(PURPLE_BLIST_NODE_IS_CONTACT(node)) { PurpleContact *contact = (PurpleContact *)node; if(contact->alias) name = contact->alias; else { if(contact->priority->alias) name = contact->priority->alias; else name = contact->priority->name; } format = N_("Please select a theme for the contact %s"); } else if(PURPLE_BLIST_NODE_IS_GROUP(node)) { PurpleGroup *group = (PurpleGroup *)node; name = group->name; format = N_("Please select a theme for the group %s"); } current = purple_blist_node_get_string(node, GF_NODE_SETTING); fields = purple_request_fields_new(); group = purple_request_field_group_new(NULL); purple_request_fields_add_group(fields, group); dialog->theme_field = purple_request_field_choice_new("theme", _("_Theme"), 1); purple_request_field_group_add_field(group, dialog->theme_field); purple_request_field_choice_add(dialog->theme_field, _("Clear setting")); purple_request_field_choice_add(dialog->theme_field, _("Random")); if(!gf_utils_strcmp("(RANDOM)", current)) history = GF_BLIST_THEME_RANDOM; purple_request_field_choice_add(dialog->theme_field, _("None")); if(!gf_utils_strcmp("(NONE)", current)) history = GF_BLIST_THEME_NONE; for(l = gf_themes_get_loaded(); l; l = l->next) { GfTheme *theme = GF_THEME(l->data); GfThemeInfo *info = gf_theme_get_theme_info(theme); const gchar *theme_name; theme_name = gf_theme_info_get_name(info); purple_request_field_choice_add(dialog->theme_field, theme_name); if(!gf_utils_strcmp(theme_name, current)) history = i + GF_BLIST_THEME_SPECIFIC; i++; } purple_request_field_choice_set_default_value(dialog->theme_field, history); purple_request_field_choice_set_value(dialog->theme_field, history); info = g_strdup_printf(_(format), name); dialog->handle = purple_request_fields(NULL, _("Select Guifications theme"), NULL, info, fields, _("OK"), G_CALLBACK(gf_blist_dialog_ok_cb), _("Cancel"), G_CALLBACK(gf_blist_dialog_cancel_cb), account, NULL, NULL, dialog); g_free(info); dialogs = g_list_append(dialogs, dialog); } /****************************************************************************** * Menu Callbacks *****************************************************************************/ static void gf_blist_menu_cb(PurpleBlistNode *node, gpointer data) { /* Fix this up when we actually have a way to know if a request window * is still visible, ie: remind me to write a patch for that and to * "show" that window for a future pidgin release... */ gf_blist_dialog_new(node); } static void gf_blist_drawing_menu_cb(PurpleBlistNode *node, GList **menu) { PurpleMenuAction *action; /* there's no point offering to save a theme for a node that * won't be saved */ if (purple_blist_node_get_flags(node) & PURPLE_BLIST_NODE_FLAG_NO_SAVE) return; /* theres no way to get the name of a chat yet so we don't support * them yet. */ if(PURPLE_BLIST_NODE_IS_CHAT(node)) return; /* add a separator */ (*menu) = g_list_append(*menu, NULL); /* add our menu item */ action = purple_menu_action_new(_("Guifications Theme"), PURPLE_CALLBACK(gf_blist_menu_cb), NULL, NULL); (*menu) = g_list_append(*menu, action); } /****************************************************************************** * Subsystem *****************************************************************************/ void gf_blist_init(PurplePlugin *plugin) { purple_signal_connect(purple_blist_get_handle(), "blist-node-extended-menu", plugin, PURPLE_CALLBACK(gf_blist_drawing_menu_cb), NULL); } void gf_blist_uninit() { GfBlistDialog *diag; GList *l, *ll; for(l = dialogs; l; l = ll) { ll = l->next; diag = (GfBlistDialog *)l->data; purple_request_close(PURPLE_REQUEST_FIELDS, diag->handle); dialogs = g_list_remove(dialogs, diag); g_free(diag); } dialogs = NULL; } /* The pointer to a GfTheme is only used if gf_blist_get_theme_type returns * GF_BLIST_THEME_SPECIFIC. If it returns random we handle that in the * calling function. */ static GfBlistThemeType gf_blist_get_theme_type(PurpleBlistNode *node, GfTheme **theme) { const gchar *node_theme = NULL; g_return_val_if_fail(node, GF_BLIST_THEME_NONE); g_return_val_if_fail(theme, GF_BLIST_THEME_NONE); node_theme = purple_blist_node_get_string(node, GF_NODE_SETTING); if(!node_theme) return GF_BLIST_THEME_UNASSIGNED; if(!gf_utils_strcmp(node_theme, "(RANDOM)")) { return GF_BLIST_THEME_RANDOM; } else if(!gf_utils_strcmp(node_theme, "(NONE)")) { return GF_BLIST_THEME_NONE; } else { *theme = gf_theme_find_theme_by_name(node_theme); /* if the specific theme is not loaded we fallback to a random theme * and do not touch the setting in the event that the user reloads * said specific theme. In our words, lets not muck everything up if * the user unloads a theme they don't mean to :) */ if(!*theme) return GF_BLIST_THEME_RANDOM; return GF_BLIST_THEME_SPECIFIC; } } GfNotification * gf_blist_get_notification_for_buddy(PurpleBuddy *buddy, const gchar *n_type) { PurpleBlistNode *node = NULL; g_return_val_if_fail(buddy, NULL); g_return_val_if_fail(n_type, NULL); node = (PurpleBlistNode *)buddy; g_return_val_if_fail(node, NULL); /* i don't really like the way this is setup.. but I also don't liek the * idea of typing this out three times... */ while(node) { GfBlistThemeType theme_type; GfTheme *theme = NULL; /* grab the theme type right away */ theme_type = gf_blist_get_theme_type(node, &theme); /* then update the parent so we avoid excessive checking */ node = node->parent; /* no theme set, check the parent */ if(theme_type == GF_BLIST_THEME_UNASSIGNED) continue; if(theme_type == GF_BLIST_THEME_RANDOM) return gf_notification_find_for_event(n_type); if(theme_type == GF_BLIST_THEME_NONE) return NULL; if(theme_type == GF_BLIST_THEME_SPECIFIC) return gf_notification_find_for_theme(theme, n_type); } return gf_notification_find_for_event(n_type); } pidgin-guifications-2.16/install-sh0000755000175000017500000002202110731356735014332 00000000000000#!/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: pidgin-guifications-2.16/config.sub0000755000175000017500000007772410731356736014336 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: pidgin-guifications-2.16/mkinstalldirs0000755000175000017500000000662210731356736015146 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-06-29.22 # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . errstatus=0 dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit $? ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit $? ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec 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. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do case $file in /*) pathcomp=/ ;; *) pathcomp= ;; esac oIFS=$IFS IFS=/ set fnord $file shift IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp=$pathcomp/ done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: pidgin-guifications-2.16/configure.ac0000644000175000017500000000700110731356722014611 00000000000000# # Most of this configure script was ripped from pidgin or the # pidgin-encryption configure script, thanks guys ;) # AC_INIT([pidgin-guifications], [2.16], [guifications-devel@lists.guifications.org]) AC_CANONICAL_SYSTEM AM_CONFIG_HEADER(pre_config.h) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AC_PREREQ([2.50]) AC_PATH_PROG(sedpath, sed) AC_DISABLE_STATIC dnl This disables check of libtool for these compilers CXX=no F77=no GCJ=no dnl # Make sure we have pkg-config PKG_PROG_PKG_CONFIG() # # Setup libtool # AM_PROG_LIBTOOL LIBTOOL="$LIBTOOL --silent" # # I'm lazy and figured config.h is the best place for this ;) # AC_DEFINE_UNQUOTED(GF_WEBSITE, "http://pidgin.guifications.org", [Guifications Website]) # # Our header # AH_TOP([ /* our header */ #ifndef _GF_CONFIG_H #define _GF_CONFIG_H ]) AH_BOTTOM([ #endif /* _GF_CONFIG_H */ ]) # # Good o' gettext # AC_PROG_INTLTOOL GETTEXT_PACKAGE=guifications AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used.]) ALL_LINGUAS="bn cs de en_AU en_GB es fr gl he hu it ja mk nl no pt pt_BR ru sk sr sr@Latn sv uk zh_CN zh_TW" AM_GLIB_GNU_GETTEXT # # Look for the C compiler # CFLAGS_save="$CFLAGS" AC_PROG_CC_STDC CFLAGS="$CFLAGS_save" AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) AC_ARG_ENABLE(deprecated, [ --disable-deprecated compile without deprecated API usage],,enable_deprecated=yes) if test "x$enable_debug" = "xyes" ; then AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) fi if test "x$enable_deprecated" = no; then DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" fi AC_SUBST(DEBUG_CFLAGS) if test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS -Wall -g3" fi AC_SUBST(CFLAGS) # # Check for pidgin # PKG_CHECK_MODULES(PIDGIN, pidgin purple) if test x"$prefix" = x"NONE" ; then PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin` PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin` else PIDGIN_LIBDIR="$libdir" PIDGIN_DATADIR="$datadir" fi AC_SUBST(PIDGIN_CFLAGS) AC_SUBST(PIDGIN_LIBS) AC_SUBST(PURPLE_CFLAGS) AC_SUBST(PURPLE_LIBS) AC_SUBST(PIDGIN_LIBDIR) AC_SUBST(PIDGIN_DATADIR) # # check for gtk and other dependencies # PKG_CHECK_MODULES(GLIB, [glib-2.0]) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) PKG_CHECK_MODULES(GTK, [gtk+-2.0]) AC_SUBST(GTK_LIBS) AC_SUBST(GTK_CFLAGS) # # check for freetype 2 # PKG_CHECK_MODULES(PANGOFT2, pangoft2 >= 1.1.0, [ AC_DEFINE(HAVE_PANGOFT2, 1, [Define if we've found pangoft2.]) ]) AC_SUBST(PANGOFT2_CFLAGS) AC_SUBST(PANGOFT2_LIBS) # # Check if plugins are enabled # want_plugins=yes AM_CONDITIONAL(PLUGINS, test "$want_plugins" = "yes") # # Version stuff # AC_CONFIG_COMMANDS_PRE([ if test -e VERSION; then cp -p VERSION VERSION.ac-save fi ]) AC_CONFIG_COMMANDS_POST([ cmp VERSION VERSION.ac-save || touch -r VERSION.ac-save VERSION rm -f VERSION.ac-save ]) # # Finish up # AC_OUTPUT([Makefile VERSION pidgin-guifications.spec doc/Makefile nsis/Makefile nsis/translations/Makefile pixmaps/Makefile po/Makefile.in src/Makefile themes/Makefile themes/default/Makefile themes/funky/Makefile themes/mini/Makefile themes/Penguins/Makefile ]) echo; echo Configuration complete echo; echo Debugging enabled..............: $enable_debug echo Deprecated API enabled.........: $enable_deprecated echo; echo Type make to compile echo Thank you for using Guifications echo; pidgin-guifications-2.16/doc/0000777000175000017500000000000010731357017013154 500000000000000pidgin-guifications-2.16/doc/flow.png0000644000175000017500000022764610567471427014577 00000000000000PNG  IHDR  F~;sBITO pHYs IDATxwXH^TD4$$*Q 1DX[4"EFQ@OD9)Xr<<>>T*ٹ̀@Pp8h+ MH$Ν>}D2773fƍ u.Cu޽[nx<@Su@g~.ZÃNS(gg躺))**>}B>}g}@h3gμqF +ԲBJz)@ yp@%%%3g,**R'sM]M'O.X633 /4hnB[>}ܹcccECrrrppH$O$H}68x`dd$=-B'E ҙ;ຓ]wvf>ۻ_~<>ٳgOa cС^|R t{SN$$${W 2$''G>Et'JԙW_YXXd++iӦ%%%ɎOd2J:88=zHy , 44ҒL&떔W9}q Fv횂deeeTT3J544߿9s.^zZ}* ݻm6779s0akd,,,(Fd~x۷h LD _sV]]!JJJT* |D"!AaxF%wᅇ_UUgjjz}Kj=:4ƞ~,[1vsss77/^<W]]".]p8%%%USikק_& @彫O_Q")蟂ΫT"JV9,AopR?BjX52nؔ>'^vbowx_@ed)^ŅYF[ |if)==y!~A}U"wL& u:/^sYTwܬY$ Tܪʯ Do_W^?ys~3C/I$* MŠ'ןxA55"#ȃd@R(B FU$ʻz6̈́Ӫ'@*2KD ~'44lxtQcm#J2s4-_PUW_eʲ6]ش{A6p~}/N#xzZe<6MVrέE W ?4([o][~']LX@b߬Cf:(}NGG_U}sI'ٱ'W'A}/_X Z43:_ G>#W**}`5zӌiQ} b2 0IƊ+tzTTرcmmmMLLLLLl :L?~'O믌»w޽{w׮]_|EH$6mZJJJddΝ;mee㺺:tJFmm-z%PرceeeW ҁ(wq޽;;;;,,… #GDO?MNNfpVٽga̢1xM0NRa#bEvEYFw4M\owS'G/'g=.M/PJPMC255>1 P~FY5h(3ƘG@#јf,"?zN/m>ำ3{CVa1&Hu1IND?PI4u1cc<8$hY:uByyi&ȟP?DT((lO75ׂrQ1oy'72 C7qԠܿ{SS2ز2ϟ\vmdRT!}QY(bmKZ~}zzz}}}ii9sBUSLxbxxZ8G[P(Ȇǰ6֞ww___pҲ4=$$'%%ݻwá(RuÚH& }z4:@"8px]ZoL?%TV'QIǥBK4`Tjhl'=oݿ,~L iЀH;D$146tԩ4׍SO,ml22 _ ܆'!_BPID@AUo_ci2j[fcui0hI\ Xf D m%c)RN] stt2e K={kAkF߿_' *ƁWod+e)п?PUUU1000))oװ\%ǏȢʈ7zql+!n`dd4tв2t>sΝ;w=OOO4kk)Dr QI"'43+W^IM`#Y[ s4kQZ쵛7UmW-A龜z%07$N:39gBPI_)?cy5t74዇eaӞnVk,Gs"(K~JD|$nnnkII uuuAd1lٲJH 6z@K,_zuMMD"yűcǼPYrJ&)_x(Bg?.]Z]]y+::L&EGGU{ٲeqD>n)DL{x!Q1oQRlLl9dOߟKq2j͵ȯ(()mK6uu x?"2|ׯ[jt:D2775jH(eD"͛NNNd27oF.}1|pԷ۱c-H3g,|LL ߷o_>}H$MTT˗Ο?oggG 4l0`ݻѪ9::ڵH$߿())Yza @ӧO?Dvڥ5/7<&&E1d;vH$۷ёB899őH=z`P`dd4lذ~ ܹ300x:th=AﴨZBP6?΢Bлoﺊ:D>ix@na6#cFۓ'@ <}7}Nn⺥ K-#4SS?L멻 *aA"䜡)V-GkЍC\!/߫qX*aɉ%9GIҍѣ}K3+f<ʘ{,cxM\!78ڣE nVkʠ>XnՅD"TV[_.K&6&_}Ћ=2qĜ[޸qb=zݺuXAP3f̘hy=On 'ػ7Bʕ+DZA:?\\zӪDWe-[]^;"h73X쿲ln2dWV7D!ՠV/bf b k'zcK l;B޽zـ/6ymء0e #400Ua;6h)SNlmmG nrMߧ&&`cc<=~ bOg47Xٳgd2o߾3ҘDQִ5Zs-?>B4~~NE)RkoM Nqҩ WeK)9RsIQIab^bJ%җ/T2/Qd'mD"(Fk?Gk+zX @ 9I#E*p'7_rf|<ojoQuoH\+w5=f"ZxFG"Dh>#bYCx-``A .jQ8i4<6HxkӦM㻿?惩TCƑ} }]ɝ+uG޵(DƂ/{nJp4*JQG_q4C!mm" Db7FRp^%fNW+R9J?C?*N! hv t Hjϲ$tn:SؓbH!ARRi7BXJ*0d='D'k eP]I$ϓ O5V 2 p%!I0 OZuZ`G@ ]MgIX8s{xKKaᘎcg} xP#@ת,U [[łb &?C?+H3aaFxp7:̎dIfIXgΌ01:Tl/ E;;V`A .I"őr0:lp Eo%oΆlFټx ăRr(u(t:'@ ] z*z "Z޿K+"kHrL2M'9%".GEG[Q A .Y wl^흙 Н+H:Xk kKb&\%A |13 ˻{$S̤iA \p%b̲"Zq Y,}ym%"<K͍1gew,617gg m/&!5ա^5 -6K,p62c 7c 5̜9M6MVA zmz1̓M'Iԝs&9+]47j>Fʽ}#D>ߞG8}4 ,kޡyKy%̉#cL޹dߪEEG_Xױ˙KfeC- ,.{cՋH$ N?~ 8|Q~awwg?~{ѩ- 9::NpQQӭ(f̘7HU;7p~N繚 qK2!g8(Kµ]4C(#Ԅ`q!m_¦]vy <פb.ǤAhB g֞YK(4#,DK\)tT[ڪ6%eϙ3gάU)7|𜜜v4e^\=n477;99}Ν;^^^ G[칹#F055}i=I٧O;w'&''D"Dg&?*H@Kd̙EEE|||n޼Q[; 6ti*PV~ޚ P0$Z*,u 9ӃU ܶ˞SW +U[q"4eKCr:Gw@&DY{WY5~'7Gx-W^y?X[[ ׯ__|9""L&vAD7w=͛Pe瘟>|7oٳc;w,k IDAT,,d|>?##˗k׮kjj={H$Z`Ayy@ (//Daaal6[IRSSgΜzW)**.**ׯ+++|>+//OHH4in!==/[l<ޕJ:jbKI)NJh51s /)mҠA&'44Ct74዇euE P(tvv?xŅYϞ=ۚ6D666_A셅"u իכ7u8pE222<RIyn߾r-[ 5H$(++2eʉ'T -ZԩWIfffPP۶mۚ5k:4eI_#XZ0 >fKAdg=q 8{| 0~e&(KTxiwntO<_seҋz^ ǏԸݻW1pppPxZZZdt Rt%D"IHH?~AOT*6l;}B7|p3gxyyQ(4U#^Zb Lٳرc:`0TΚ!rq1 s5ȗ%CY<_PN4hL5 . )AAA\.w޼y;wnS\\\TzW!C(xW?S``5LRaaa=RȨ;a~ĉy<ގ;+ Ea;wt:}ĈgΜ }m۶|RJ\__?iҤ{|SPPm6uٰaCYY@ (++5jD"ٺuL@V!+//Ӣfզ8t`c„ƇL&BAMATPSS3~'N(SPPoQ.wwؒ@JKKgϞ֭[,ܝZ!5pbccUzWhiElʄBg֭{@ J Z.X@",_ ?lb4J0FavG> wwIu{5LE+okaoõdP^&hMTNnOE';wiWAp\Lŋ1(ϣYArӦMSR7ol޼l2eWVꂲqF RfIYJuu|"꾘jΫkkkӧO)//ڶ4# UUUFFFT*U$tR,+ȣAɺ~9,{3M1N:.;a@5gggt_UX-HUU|"B(S&&& ٕʾ.X0|r×9XbYPGH,+6Vt uŲbr鄴rvv)1}O(:ecc!o߾}q8\YY0+ܼyS:n8u+L|аl!C{U8MD!uxbA544Kw5ȣ pΝkN8‚B`<(;:P=z066p$)99Y:W*w`Z׸ra#Qt!G$er26FIcG[h NTTT`ɀz ʃ |>```j5OP #Fdgg#rm,tfkԠEdukS{6<ʮ A`` P3 .Vve!1R #t z4RVh,R޽{[&tznnaWcV.ymh4_j${R֋5h2U*/n#T(Nm)ڨ%-0_GiEt <O͎BUH4mڴHPWF9;n=RփnT&߃X"99NZʕ+L&[D;dff׬Yf***gWE:@E M OEO)8Xñ!=BL&m`K͘Lv"TNee>ҵ/ HwA* zdNNNBtt“OY'r\cc=zJ$)dTPW98DZuʳc@`UVV*jQSYY >c Ǜ8q" <<\SN;wN!V:4G:ִQt6SSSݻw ,I̙3kt U^--^\w̥Ky }7{`J{ΝkbbRZZpB_z%tػw  \ 87Z|sihh-& 3.'O+W^a(-UE. tǫ ?~< }|%[OXXcMM͔)Sw .hv &<}t„ ˣQF߯ =t)f zDD:?!dYYVD+s}!%FڳA gjÇ9sիWbbeee-YF$KJJd2`ҥO>E4DGG(JiiwCƖ|>7e7o|=Y$ egP`͇\ڳw7o'OovvvJԩUNGgLRUUq ݜvZG7<[nV\7jkhh066DEEUVV OLMMtTLNNO>;v(..f"7oޔEɣ^|)jjjۇϻ Ep8/?fΌWcV999_jժjX\SSsO>cY]]t{B?V4݈Z'h xI 5jLRhD$?j5efffɓ'UQNBt?HĢV9رc:U#u `ov4EB.]R!HW^UЉ]RIX$Qrrr*-|(ȑ# b }[1k,Yu­t, \_~Fa `aqtN>'~:&&ffffD"3::ZyTnnW_}ennN$ͧM}F`0D7|,G/VODCR4>>~СhEmۆNcQ2x(i%HӦMSg6vIu&aFDgΜ qppP(h7oV2b2 R4?] b ­,A]6q^zDKK3fhȂFa@a݀v`H'`RZײ2777''Ǐk}ǟnܺu'((H5jmO??Κ5+!!ھǏlذ h-aKYܬ+'DGw!]jQu*7#qd_C_WkG[QC_RE0suusrr%Immɓ'DFF^?v-[֫WSNr'OիҥKbD0 cA 2USSD ^|ib;~gϞoG;wsss[J>UTTtt?{$tn:^^'/'JΔ KYBDH lImc`o"(44T_իWݛH$RT;;s̙6mZqqqxxJËBBBwCvc`Hgqtp t{bf:7%an e7oPV$wW$&h:(G!nj*#1!Y$nu.̒4a0b(u(U:XT*Y)èÆ 'xHg`6njl^[[Di >)y}cC!D.@"0@ <#GAq`A ( ik@Q  08@`A ` ;@ 0 8@ t q i Qq`A #0 zzтisdmitv? \*DǛ?<k&c& e O :|IFA xN &NJTTԱcǸ\.  N̾̑rV33G1 uA&'44Ct ppV>hP'C7ˡC FS⏭ (0 Cc׻]h6|q8aVL:::A]~M ~&?~ݝL&80''G#G{N(_`ѢEd_ȑ# wzyy޽{a<*Hҍ7ZXX|,KVݻTĉ嫩 wi'''2N [Y&<U;5f i6czWv 2\!HhJUwQN577EFF6m"Ϟ=qF^^XXXx65|rrrΟ?0vUV)ݸq˫WL?8ٳgϝ;WӦM۲e ;}ȼ*Uɶm(JYY۷o/_.onnu8p|5\PN sBQ䳨V Hl:3ixZ=h"}"q+ucъ#\`_fqG餼"THU~* T )((03oϪe0bbijjrqqy|uqqqϞ=޽𨩩P\AAZOŏ?jll-(J%FFFշo߷o*T۷nnnh5aNU6g, ]( )a" A8HĄ`8@T~ 4o@g}֫WG777{1ñPH477ohh@?744k(nԨQ.]RKF```nnnccիU$V%2Ty ػwoi/KiHFa@MVmm1c  ȉ'd_}Ֆ-[LObPptƌqqq<8p`֬Y5jҥK:tE %ٳtZ9sbD/R&/⼼AAJH5@t]{}!d5( Jd{Ѷ>Ckn: 6I(tT#11ё@ 8999Nxx8ݶml(D"1 JnܸQ,+x3 pB>8@0~X)NCxxH2d۷RWGyT*Ň'ɁgϞKP~6 Չ%&&:88xSSS lH*L dԂ>j󨸬֫:sArdH}Ųb@H[o-eƲon]SL[aG_H7x2RRF J/$vzʒI<)1*/g&oۡЁgS_Hz=zېl0$y.>|v+o$@I:[o$z-78ֆ[kёӽGVJvCIa<)>>Dlkn@"_ue[?i=] }^vbowx|CvI.^&MBkj7S")?Y31̗ŅX200*ȱ#6lZz]opR?BjX58ѳǢCzp[F_He~E=} (M2JB?_wRЫCJ,Pu3Bzxx^So@ER")nؔPOF\*4vX(:9f;'2(m[\VֻVz/5#D]Ż4,tXx?gW_/%G'Z kϮ{,;wV9p_g).\ϥ:p0n IDATA#b <Jf_㷏/-;X9,CS4w3,u]#"(I DzbnQ҈h!h,cޖdNeΰۢr4>L5X"FF8z \PUW>eذ8/4pZ<9VRv7 Fa3[V(Da?\!y>z TjSD+_ė}{M^+ -fu>ٚeٌ^v3K{Az. Y_C_WBn,z̫WR'g wsfm],;b ^w֗?eʔ7op7hn |z[ )DMA_<<ͻ-@c)*ּO?qq0s0afdhX$)".茗W҃ 5ȴ[7WA͘MVrR+EID$I/1HF?kh=DL$tVP~J>hLgfGEE;vLg懲R0͗6+D$ Cf<ʐ?Q1a%WDQu\&7SHNJ p6l&qoӀGjqny!ן~s1&Bs7# I:`,;AZGVEbt /'/ug ߲QMnvZWl̘1mE!_tߵkהVkQ Xx?#pKO,QN\5>ID/eHl:3ixZ=h"}fU}q+E{"GfҺ&,_oN-N|纩`;D=ldff6{l XD۵Rw䝓㷏7`-OIL_zF42O~L >_/#6:vc% ikW:'/kրR^[oXأgT_~pYii㷏7{~PeCu{:*yW_rq_;vF[odPB&|rm5jmRKOCAmq]r)d"RrykO,+X1n,К"нfߚl5 ~e%}!go*hh#G׻XӘO5*AK{j̙\rfoٲeX|yyy@ ?<<ҬG0u**U744w)NF*Ι3a/UD͛7{F?ciL i&"4ךV腀ˮEonǧ2aý9 Mo(7Cb,: Yq(!Bo=HD4T*P("(5}UH_nݺd2BV=H$@ rʪb|T8AÇG;wrAJDIIIٰa u֠ XDD/‹&cƌK?C?IGQ33GΜ9bfEEOӽ _,@I~e%9"7PU{޻;mwʾ}S`_澪U-<2zV_5Zk%ךxM>}}F~TS)#];Čn o|J6vR__ߧO3P3H$lڴuuu(KiУYW^G9]AXukkkˣAknn>}z+++3Ɣ7f?~W^gXZJ#Eˊn2 |s[E ܆$Z}IyI$t(+ē:"~-[4440̹sf̘\f͚Kdccƌ0` 'NЛ3@ppKbqYY3gΰX,H_bٳgNeb1..W`={?N&{M~-/ԁ D! ll Q I#јf,͗6_p|pdrG莍uO 8伿?BRc}3K31tl1W+W2looO&Ϟ=JÇ  ׮]C5R(33~fJ06fffD"qȐ!oVM>;"ڨ :#FwwD ˵灴#}yzlgTO7#H:ҭ _59uw_r˥-7l9D4Jn=LT [(?~ϟh[CZSL禳$, 6O ? P\f(eKu.mQ.Uu(HWzjX5'|PzM_nZ@$wW$&hԾ zFH$ŋ@ -F2ϱ$,IHqw cۘج Zsrɂ ?}닃  eLX֙3y<]`UUUD"haa`BTqCC<{Qf2f!-yxM\!78C-o tfI-ޭs皤M5r[鴰,nSS Fap+˯?J?v$e7G"r嗈C@ƹ:lLîYY44cf,S24 z\v윺g*B6T)CG5u$9rSb扦pw\w-t)P cMbR<%\S1jzgO.DcD`#"JRvپ;?Fו-,kv[v/ߙ}1`r5i4 q縏v {^yՁVg`jM[n~fGGGD$$e<>h%3Ȏ*V+ljibkЛ>Oܴ!vIN&%O\:g^onz,Cy|}^y?\Li҅iIGqҠ,6\L[3pig:wd욱EҁAsK{m^ vMMmM:x`E}ۇcxyFrs_,LyoʿQ:pHwoĈsiӦyyy OtZ~\}&٦GF#"L7yூ|3Wht/ǭۚմɲe͚r)V|<'~WگP+jOg {5X1[viL;wDU6־[|' O~$ZS%K4oV}ևg?x}zNv`y4 m5,OOfs BPol0_(j{`A;rSiUvyꆩ[mwTu;pԠuu7_tղxhIEZ./2)]$5ӎE7,j -Z>=rĹڵkWtt@ :s h4\2((H$M>]&9_.8\.75kyVN5j9s8>Kϛ7O"H$I&=zLlj,YqFve~D"@ 2dȱcǬCS V9[AnvM-/y?Vbea nD.*pz_V.-9wo։32Zڦvz߾0?xΠc7|Q1A{/(8Ѥ);I0?vzl;Z4"3r/?;3Vgiޠk>|1S}&q J$ZΟF)shmv]0={e?qe2Y^L]/y<VWW.԰϶n)`7'd2[zӎGL˽z~j5;;rrnxI=)KFƘd|RI:=!-=/;^j5 ͚ΤY7o~]ثI##Fr}VZKeT}YeTY;GNߎIU]ϋ>aWUUU2Xl0ܜ*z7{%jpǎ[n 9x VVVne~~~kʖ,Y2t@Tls(] N]2IhŸ>C9q\bnBmVN_ɮ7rV? Z'oziK7j5/ݳt+[ڲvܚUUuWNu_M>_ZΠ,˗1mgj-6ddGP-ݰTWڢU!0 b𨩩ٳib0Lc1ؘիWUU KPڵVKO?;c5.hc57n7zꜜׯ7TX=v8YvE%JLٖd|Q%n2%/~9cǸ5̿WYW'{O/8>AxaڿA>BҤw&y/Z5I杶e;\=zz/~47=z؟d׼_|A}}^yjS_‘Zoa3IIwѰӣ3XvYx8`I3#""v^J}Y~={J:lk[Q.0A, $[d[l%q 탞EHH  ɍFxÅGFI&"$Ng'T'r49B!S$S\Y8DaT$+/.LO:(BiMϭ6C8.BЂF)hEH304UѸsNJFG !Y>K?!`HWg3 0H8q\BZ&Bѓp }>žNj9bE =N4Ν!5\LϙSS92}T^wS9vdffbX9fhFʕ+D"ӭ>Z8"""??@ee%e ""n3aN.Y',,lƍv4aZ^`עEGc&!!!00P(N8ѴԩSF=z3gb7.[8rH04v7쾬q(8s&!]ġi}_~x/=zpJuuur]]]```Zֲ)S-[6o<;2T4T IDATrsB$mVUUՄ "##ٳgO[ /d:.33sƌV=SO<'ذaV=k׮5q3<矫T*Rg=sM L>ɓFlŊ[l)..forH$-ovA#&Bl$kBpرmǪU<== o>V5o߾qqq&LЧO;˺uCCCnjcywyKYAAA%%%ovMb緲G)WXW_YG-_N4@aT`1Ѣ<\!t |?NB_aWYQ%1`r5i4 q縏v ".fGG OOro LfUe'z:(B$.$+ }:΄Xk, r"==$(Ca"]yhh@!#Jgzd8hreA4"]ѤR4y _$$ ! 6C[hbc"ah00>`PWLn46.>B4'H!N&q8:IU銦HHRWq9Ӛۭ*q-@!m8V^^?-bcc7md8r_L[ٮ9/x;w*ʻ Y=g 1`in}Ywٝ>Q1 YYYAAA-rb˶ &u0M %)4&-y11t[!)6ddGP-ݰTW:._}޼yD"L4ѣD`Ȑ!ǎcW?x~~~~+o>n8N^/_~&41df͚5"hԩ|>߲]vEGG 3gXC8\.7Mt xyyyyy-ZHXsԩQFϷ3g) 3_ ;j,YqFvH 0R۰B_!Jx1(!AsB!}}d=wuP>{l[%\Rr9s- xyyo۶_ ())پ}e,Kt:G?}DRPPP__`0,dgg۷OP,^x,fbV\9`ʊUVY62k֬k*41;捘&rssӭ>d<(%%%##j;Ď }ކէ0FGϑΡW$DxhrupAuaj5ÝHMj4H>ùӂVF#![@:tvV[ЭnjER)Jz}vիW^^WmmmLLLYYY JHH={e-zٻwg*Il, GNā%q`qVVVL-YdСR ݴݝi8{OT\JJJRGiϵXUUUUUeYfǎ[n 9x𠃁YUYYw7-tO] r5\pG G=+}FWI6JN]A kuԩSwؑ'[0:˯:41˵zA[n/&XWWhYfʔ)˖-7oiP [֣GLdvea ]џPp&=Q&VZ~O>NT&&&6WUUM0!22a={E ںu+;{L|;W93<矫T*Rg=selR\\.Hؕ{mlO?vں vf΢, ;x(SyVs֑g5g3ՙuTN8a,}t **~;p@>}ׯ_oKm߾=>>^(;-"/?cXhnnnںuCCCnj/on0`p(,uZF2U!cjicd;Vk]vxh>>?pH;, %&LWlaB:>Ǔ8 ʝW~sIIC 튲0W/~ٚlI,sٚl5fKsxnl5jow{9͹4Uc*Z3X[, ;?EWSs$((7eeb@,zvjJͨ5ٖ[itv&qs UXĕ( !&&ht8'OW+..0Hgq@9[X4}E;IWD*͈N|X 0R۰B_!Jx1<>rH!xN\?ظO/Y> =ʛ-3/!!1B__PW =1zz:(B:)WZ/en8nź^^E]!qtsJCe~C•\]ntiNhtf]_^#dMa|ā]_+;B8ѵ H;)&+<  bR.}y&@?$=&1ѝ>k#rutD,FE2VH?dx}O;I,.0kÛxsyiJ(4+6Tuz~|7:t&w1`r5i4 q縏v b)i +yD9xr=͇\{=$b6Wb4E O5Ӕ\ !Ġʫ+՝4,\@{X m*5:WG%&Уr!BXB!NF,B!'!BB!hE!d4"CKN@YmAv']Fg|_t5M9vLp8=m3jٌ-tQ :.cZ}@r2gĈ2aQ3a@]]Rq? Oo ?Pd!!LdĢAp߾ |VKIP؇gДu'σ~&ꒋޔ3\yHv[aC! X 9U۩FXkC*+?m77&yggLsTBV sB%'s󲲍je螁?3?R%It[džd4SL ;΅j6绛Vwǁ3 w*^&ܹd8 (` `  YI zz&O@ Lz*@Op Orq>}GF~?w}|P[ ED1 2nMC4?88XTր{zjoJcPSn`4KKϟ3d1vSizzyРoF_Z44ϟ;pqF!' %}聍@2n,8sj5p V95e&[م~~>={") gBFx8f̀Htʸq8{xiab'g{Ne1Y-` U[4hw"QOb{H4KNFd<䵵p눈do(=a)nNMۚ2/c*V+hu\(LBYG n;W |(8{mILFbbhI2q* 8S;Vwpp^@%PX+ 4oV gR pHLwWL`?-0QǫW?9b0@qq=ƾpW̮ $xvURvdW"!ϟT_.Wqi{ջSzEE;p %}If< 77|TVnj*OBf&p|,Y.Ga̸uL(b|5xJJxseb׻1eU}[of;.p##Wn*ֺmEĝ0xŐ! v. /GC% `j-V4T?A腫ۏq|.?[oi7!& boTle$M;ľ*4.%\Vw,sB@F6B"|b6rka(xkȀ` 9 >>>wIww1LoLp%",>=|+cJQ^}jtz}-謖ts5rCɨmaN-﫽YXO)C";=3A(8lr|l,^W|5M՘FZ[ xG<_j˻<&b.\+PnBi,\ֹs(.:21nBtX+.sy"xn{8R?AݭѕS(kTj( ke/@0 h|Zaֲ16ݯw((X())Br;af]9 X&ŷ|0f+vX^^cjj,S]rVG\P]9 ̭sA݀ҰxKs?jfB[9nv/g`uB@k0&Twv'@lc .{a\ 4k?yzqӚ<=GX-\_k,1X&K lׯ{pZ#tU0Zїh 4r 4?hr+\PмE>>Ep[e9켷-`GsV;V5=7!9ȹ h[!@yS^ z4 =ET޺w"5 Ι6 d:@d8 <@tL0ҥ4 /] b0(Fm]]ҥK/%ܪ7~0 Lc}Z, Ai4Nu$^^),|Y0:<…9w/vhE_؏"_/ L&:K܃a47_ޜٶ R`@E[]gH$33T^45FF//b\,vmcu&PӎƛuυE0F4V# 8z EyT` hYҭhe A 7E3XdGG'0ǁC0~6Bi!f%ѝN}U@ -r&'9hwl 0Jo︛E9~| =u$??DDXw ,.,\{ʼe VC"Ah(]_fN-ABG#zČ櫘<w gA.G߾>GouŶ#hn`֢jyErbbԨ^8ǸqVڷVށcY'杍XɲS̶BL7Wܮ{&#G B"r_Iυ Ag~K#> p[qfGĥ8NirKlg$0GW#q pRO99t 4kb򑴹犛O9q C\@3XF@~4WAq8&Qp6 7~o<4~ng`HNJV:υsN87B#~dq.JQ]+*`u:Bښ S=@#ǁf{g\p@WC7B:` X Ȁ8 HrC9`&j\R7ABB,BHE'-1-2i::`B:#89@,PL*WйAҹI$7` 0ruH]  !qׁS@$0XGABpn7_&tdg:d@}t6C %@&ŮcZuP\6Yrulb0H+@"r+WԩB ݞb,wQxlSV$[{!3J@݃Dvv3|}}B#LZ﨨(P(Jg̘;&!]FSϤ;斓3mӦ҂8ᛗ7C.ؘ{T(MpdZ[{$[d~U7]VHqq ?]YZ^^;r̘rf $ ؆QQ?*^tiY19D$=jMoZ޲eKϞ=7lؠV.]nߟk cjlg{M2!&_)\ [U_s_#UUۃoJJގJ*ḹorehU}}p|-3:zr= IDATO{h="#J$\ 8D pTN;v(n?칥w0_yqva)))&M x衇|MEH'5pggώ!ˮ7EEo:]NwCe) `++Z>G;~7i%>=м}H '~tJnn<`hT^i!" a9! :*BZ| zTj~Xf́\rϟ9s&55 >5ڵ EիWH" ^^"Q?7>;%EVO]g%ׯգ,.&1y<ˎFtNj!"1/8l:*BZ`1ofɛ96nXXX(dffM 1h7#F^*?.D \yUU L=<dV{#CpxMvEc8.u ¥KoZ$>>~ܸq֘ݻwWUU ӧOwNȄt7 J,c0^, Ai4Ng`8w$Ҵ>4teA7n`04 r,1'!vS^R]b\q;Qő׮1-vzl;:D$+h5cǞ9sfݺuͻv8p~n_z7|rRS `Y{yyy<ț'ȠA_a8޽QUӼbp J?G#"vϟ 0>>  :$aτBHWAIH!BI`effbǛk@j]-gU'ҍQLX/޹sRlEtk!Nh.T`)ruHSwT*mhhhYsk޵ՉM8B?j@ Dt2\ ìY&88X$M:p8rؿ0LBBB``P(8qi֩SF>fΜ97oׯP(|jkk-[ׯH$C 9v222ܹsrrr dYk׮] **̙38"B=:p F" /H  n]cІ J% 6X5kڵk EZZcjryjjL&+WT*\>gΜxvSO=믿_g͚eY+;;{߾} bU$BZh(D!N0L322ou͑+ngΜU7(((!!a>>>{5kzРA׮]գFD3srr-[vɓ'wYuR)Jz}+ [t'K/@ 6s]JJJRiꗖ)cǎ[<Pr{233|7n(JGkcvT'݃E=Xܹ>oLXT1W ߁ϲNŭVZ  ($'sM))YW_0<8pgAؾ󲲍je螁?3?R%It6bĈd;,o`GIyNNh/#V_hԪ.>ʹ5),D2 F0Fߤ@RΝVS+t˗;7ΟF8o0h6%%qΟP w0`I҆ r f" h;v*دegs"vN';!CM-xGdNmlQG vH[`f͚5"hԩ|>ÑhIHH  'N47:uԨQG̙3Ǵu =XmmeD`Ȑ!ǎcWFFF;w@NNΠATjK, ۸qc!j1?<_j_}q@"%w*k0([0F' <`L|D")((pww?{Ç0 |҆ Je^^wnnaÚ5koƴ^.zyyۯڗ_~٤+Wh4?0>>ҥKz_5&&_5kV*WxEEE VH!XSSs $d2 cx-lIZQ[CZaZUCܺ{Fӯ_j;u?Lf^˼7nNj1 =ydaz7)٫Wׯ73ist!N@`7~HMTZn2;9om3vHNRÄ0a{^.[/C@IIT*mN;vlݺ5 &&|||d2YeeeK,:th``T*enM -ϯ3vcv ɮ^('ĵts;&8~*ZD283sxiJEQc4j-nChʂo`h42YbNCk0VbkV3)l%qߑi.oooZlQ|}}ZSLIOO_lټy, 4IԩSwؑ'7=#֭6meS=zuu))gǍ˞8.%ձY8wnjj_Jٳc**>j:6a~ ++qXsYvܘ MccιsSN]0G6jT[ш҂҂+*> xTJK▚o?*-,%%55U Y%w8gCZa^x믿t.\GK.Ο??))`0u7o\TTj>jښ֭[O4tk׮m۶< Ph~}дuҥJmmmyyܹs[3:<|mU;w1gcqH`ok'v*,|-#cL^ߨVWuzGwt˝e{ixp7xٻᄏi&X<~@#G+VꫯL_}UT]v5}xP8vrM}߿A֭ 3fLDD{r_ 5+`_չ:"B:LvhȐc>>xb>o}suhmN;@VbWD|hK|R] N #yŅ 勋]ݲŴ) KIyO$wtMUvj>ɰ={ؕsNc4LŌz}ZϞ\;wk`?}ɝ>]URbjƏ?7Px?6֦킝Z &%;@p;wtΝ{oHJBTJGrPFcO =pGAɼ}rsT%v5NRrrNILINhn!kkʚ"IIgeM=e٩&̧ϝ{qs?m鮙f4vK.?O'N&'(*QtaB #e8͓O>|>_,O6i!g-뵵uFc-?٥4dd 6%MIL+˖6j#G3 ?}ڨժ/i7f]sd/;Zn9?\hPtWȺ~S<\FYP9jTŗ_6u`V}Z>}j j_h8o?wRjh8c45\<\Sh0t˗W'nr|wqG^+nؗZ_Z]K=y2zꪫ=]3^O~efB1deY=2[5̼uEx&T7_tzOj&=&vG&E,Nք ʂY&˕۶=۴Y;v4[~-N*jOƚv6n~?h^X_r24r J{@[5j]AelvTjkRRn!Ϟ>` de~5IV5KkdM;R]i6 0vWCokv/7_׿V|=#FXv=.2k )RYIIMkh|JUm ղMTOydmA("b00tGgaA}_z]uF;{okO>9|o~䓗/7TU j:+kĶm{9?C}M:][oi[ UULwغ"8zUs޽N1er^%|$εgdҕfz-1?qYﮩ{?.\p&Nh֦fa+i.̵} ̙ EVz9 ROgEڏ&Xwo>ҟd}PЧ>>a&dVkc;o›gO$ W>yt`Q`/9^j[ ~5>}Q3Znuq^|T:X$  23mr:.8)7ɻvA {a@210YvrYS}XZ|􋏿7m;vA{gC/K[Οd/<۵rs_%K$Z32dTG/#kxVhw,NKd;V3p;~Jy<pqקTUO:{Z}65~UּFD9jMp_[ (x+'''""m8{ %y>Mq"V(~[wkkZo;'?yU ^##oLvx]e}f354T8QgUkjL:]sibErS{ /Z7)']Y`dT?CJu(/oR^:w}f4֙L ')mQ%#"/]zbXk4VTt AR(R.]Se&SP]Yy /oj[gzR(vF^ރ FcJuwnTġGX5a„ #=̻ 8˫9\W:k.Ip}f?-+'{q<9|x4 ej7X=$;76"=r0PYrW>lީvoWٖ-'G8"dOpkZ]%o^4YBPnnLfM?uuyy9"͍HVg<9<#hw8cT?N>rD;źLCA.rgYӳGxNַƙ^A[rܩ¬,yA63]C7c0djZ1Sq|~{ ^ll(+Ono[jUhhT* xelhshΞ}V֢,CAANō ;p(?ڕ+6a 2z*BVͯ+++رcҥ7xcΝ܍ׅt EKttⰜ}aI8''ZE%_?{v$cbƐ#U*WPD*MάsD%3L4㋋Gu>}p4n13 B"X5X]KnU\<<-ZlSL^uDGg 'Lyy:khhh_rsMrB4Os-{98ӆBl6km6[Wg{#vl.?>|3s疗huMOOO7 EEEm]̔sNJsrr,|Yf9ئ]vYϱzR+B!=czF >xi2Ir^Eډ>}}},Xor\O>s[o3XN͜9S;ئO>dٲe"_~m|_B+Z!ވsJ?qyԨ&_*HzAVcc>k֬_E춋ușT??֭=WV4FcJ?RZ:5ld4v2f,GrsVT5CmYًgcaim#""JX,6mZjjjIsV1n:/Mݐ+,|dg[ISÇr/ OT|Lfτ6fW=u슐C"B^`-`cq`yLRY8w#"QiW޹]Wu`΄ ^^' ז>y#GZG&]PFhZ.][{YY}qp?#7?zѾ Yu͝)9zԿU9923NtPj5j~qgpeYY :կ32xee:)9}zFsڵN~8;{lm9g2olTRqd= \tJgf9'*?̠sc~){4'Ot/Iccc]qqNtϙÞ1ACM^uҳ3f8^-s하޷ ~:>`{ 55[{߿*#cuXvX,S&;wX~z_N1hʃFc^:fv=IIp…4ͽϰً2=+lDsԜ7^aOԜ3^LT*?"v0N7RvvR۲U2}}/_n}<7&򥮲27&e&X5'O;^2auΤ`G˲-[?'(۶a|ZrftƷfId=8sfrEŝƴn;N Fc}F:/[ڌSWgí[>Eho'K_a#h0h32_9e#Nfo}܈U06qٌUx:Eqq+))i11g$={7>&Ȣbb'kO>9|uKwr}ǎ+r\V&Q߾ƺ:kh䓗/7TU j:+kĶmmoUq{ Ӧ];#Y,…6Qr1t%%oiz}^`bLo>U]sT^1'O7BTT[s[|K7 &=?8 ̙ E].HۀwqKOg[pM<8zJ7&/G zݰ_LɝԚ< ;GKwر…7Ϡ'{y5>!]Jq^|T:X$  23dz-cɓmg uLj\_]ѠAH<Q7`Z*44T* B<OxLv>͛;CC_/'J,%f#kjmRFM+ަۄ;7G _:>pX@S֭[S\\hRRRF##r_vD")**P(K,  E^^!Cb{SSSd:9$'' l~O$+P]mS<;vxĊůrkncmQU<Ö^ޑ7v<^mjuuU?xn !TkjL:]sibErdZ-}ǎD7ODَ~ NHN+{kk{^ӟom""/]zbXk4VTtO E(x{UVXg25TW(*zq~K [vFV:ps/ lj;ƍ9+l6~7{{hSmG|jTcC ʴxAPjʀ;v,]1oܹ@a y+w;ujP%̙pTC11>>fμy:3|рXRy.>>;>vz5wgG3_u0G2-rNIV9-[W-zŝU`%wgU?;eJ4wzi[)7wJf#)֏9ȝ;N]]q^GH23ssc+*ҭ;m9yrđ# n>UYy(77&373ܹׯ[~MPV{ZP3O?z4rnD[|i/Ε+Nfe 44\g clc}8șBNbwOI5ߝJ8-+:?/J@lw܃_CCæ6[k4r\P|ᇃ 2Ϯ8s&((H#B!,0sJOǧ "'%&&ܹSR۵|Yf9ئ]vYϱ,̙zjZT*͛צ !^\a+ ?x:1R%ɔ)S._,W,eB!OZN]zU ܸqaYܿA|~Z2lk׮u|/S,BH4!.RdEy:EN:.--w|5Xm߁d@D_تUBCCRi\\P(ZzW</--mb8**ԩSjݗB!]8 XTS֭[S\\hRRRF#˽;+//oϞ=555III= ٝഩ/!B*<СC5߰sΝuuu2`0u_]-BB\n.x0pF]1&`9sf6; !.@,m@%Z:o y ! Tā @|||zz`(**r]vٜcQB!;SP{xy:t(::z֭ƍSp-W_}߿ºYn#ntt#Tġ;2:.--w`Nۣ !.@,ҽˀ lNɓGDDD"}mܸE#nϖt1uuX ٘^X8ѦƄqRFtÎ6w.G>_7^o_gFH72=:o@@Gkz8\a/8Gݐj':}2oVWc T8|nN- J#A 8 ĺ1CB" @`.aKqmLJ ܰ*US{BbX@8=@ܞ."^tHqg~`y,|E.bEHwd$:  gY10,09v+X999m:u;Eq ։XttG  kcfÁr\W&N=&&Ʃ@P bu/bY_W8%E,+Xttw8À(0#)"'gWW㾈EqJ,E,|E;EBu>تUBCCRi\\P(ZzW泖ϖ&iŊ!!!Rt̙*~ٲeO_{}oϞ=6㧥=Z,GEE:uʥNr2_;WWc !\̿&;P j@He.0sJz*?XnOqqFIII1h}s&uckJ$ BdKc\~ʕ-[+[n]tyyy{쩩IJJr>e]ĢWAXt$V@|~h>X x0x*?W1ƆtiºYccT*5om N& ;cYĒ@WQJ,9@CHuxxB}@ H WUJKKeU"]ڵk~~~;[2yH$30҅EiVa` >xݷ1,}h4MóxmO\2ϧ/!m|Ҿtt3@! U CQQQ9ڵr!*11qΝ*J$$$8_uWXftmeFH7z`9 o@Scj޼y޺uqj5x+==W_---0۷owJԩS_|ٳgù+X.n|K(P|EHdS!@HO  o H(n~cʢ8{nDS8|]M2`ӝG@0 X 1pd;iT*biRSSCBBhd]O"6/btW @1p (.* [vx nX&XL@|qjs| ]MZF)C[n]ti$333;;EoB!scCk:dg+@44hP^^\.R^QQaݬQ*7nll6O쬅9s&00U;2Jt=^3u)f~`ue:XagK!RL׮]`k D"L$yBYYY@@k#Bl|~~~ e=I )//49r(((ȲxB!OOO7 EEE/Rڵ2JLLܹsJ999 ·\3gիjR7o^#({NnMY{{;qKN:^ғR4Yll>>믿]`oi^8V|ɲeD"Q~\O>s[o3ϴ#5k4MDD}7rvD <@&UbxՆB:bcY:f=V;֓ KKĬix*MϞQ o>:.--4sA3f̘1c@ x^x{y_|myGY9Uhps8"It%M{FDD(JX{84C@ -_)NcsY1f[ ͑!]pW47 B)0k]De |1 #k0:qc!6eWgM8tgCq0 ` }7@a6Shh" aM>yDѺY~1R?̜AƙB40$ B*i;iÃQFEx:c0GQ  4 8qZ YӚ\Ey$?L 4*--nD;!PHiv >pHP@_@`Y9G@$ D,!ejrs­\?7rJ /?` 'xxݘ.??F=~,h:jL8+\L#mP[*$!e6۔WqAN!g 8 O'qnK??+Ϳ`4,J8xiѦB_9<s8|tQYH63c0s*" Q\[吞!H0}s b#s`7:^_1N>B1 Ut*b!¹Io2^"Ƚ;N 8U5"pa3me`HD1 Ѧߏr7bhxI !v.M~=xw bƏ¹KOM}!╦F#T+: ݘDʥXkV00p쨱5ОxW})|KQk/jU-;hq"~ z8Li^N]q oUb7 n` `Nwl:q IDATAzQSgM'}bZ4Gp V6_[1^c̉_B/1 &#AR14uc :x[+ꫣ ^"kѫͰiҚ#D>8+msvFCc펍:4QTҖ݁aNNNDDeXK)ǃtwPocqy0JS#5I? 2*51G#z#Fd`txqȺ= ؛ 5 D v Ħx&*؟Ѷr_^v=nFMP7֎"zdO)odB9t9#u )hRRcbb'زzvx  @a[f@ 8w9ئ)`coBGFco6FHk.(;38w a PK  a<@S?oNq ĦGb? SQhOc?J.ČGElZ ꏻ֎FG6)B H? ,@fvk;gLV]e6XKb 7{6%IWDaR̟8 .hBoT'sA6{\ٳфT'\KqD3c'|Vcbb~G`Af1x۷ovÇoٲeĉ/^sNs裏$uLsX$XN[dɎ;rk.y <СC5OV`Yd 1ƌs1mey~̙@{C466JR:uμ57s-B!nP.EH8-®υ M(--dm4ͯ-Fv,++ >rՅ 7.88X&99u8ӆB!Čϯ] Vj:8vW5'gT*#qqq۶m[AAV>e3,GB! >>>==`0K8cܹuuu7o~wkΜ9WVJr޼ycbb"##c;v찴^zL+B!x |_.X7ߴSUV!!!'|l2Hԯ_?A֬Yh"""ム#Gغu/u_~^X{iB!t;ֆt޽ۃ9k=R̟i{E݃w}=`P*bxڴi-ٻkpB!t5MRF4"BqfτB!hE!b4"Bq1 VNNNDDw oY>o=V+QQ-+B!x+))iuuu.Dz|zvB!&XEEE111ÝcB!t*>تUBCCRi\\P(Z-F-N:e>0|\._~F4_g5>b=eDNpBB~zKRXȑ#a5B!8n:bFb4|1v[^^ޞ={jjj,[XbذaeeeJ2""bʕ-bZ7Vrr@ ())6|r}}V}g_|EHB!cCk:k?򂫿U:Lf0 0j̘1W^mXgΜ 9tccT*5ol/3iXm{tI l4ڊ[r2V9 JKKe2Ycy{{~(//l-, իWcǎ)JZpLisNtO'C!{ѷjhF>aOvc,배gԨQs*%ͰiLZщxmddۇxOEG1[T۟-/n݂ͿfP`t q#%%(.ƥK(.n~_ >7sY@|||zz`(**ΝZ___WWy槟~|<<<|׮]z͙3gjZTΛ7@yyyLLLdd$clǎKe|щ]:S"#&MhKBz8c8<opp&| A@(7lք͛X3f஻퍻ŒX~׮GXD"W.qv1J/HLre\nY-ie}}K/$d2ق ?h >bm{ 2lk׮5w0mc>6cS$ģ{1cX\KLd+VM,;)``F#۸ `b110/aBYX>|PGa  ؿrr7D._ttǭ1Nvݻw{G A} a0 ?cu*l݊px?ǎQhؿ3ft_|m0lo:?^R Ξşn[&iT*biRSSCBBhdA6F\N-V0?+ AX iix9AAL.k`t c>lߎC`^˖c<IIx)tߕF}we 3ؔ) `f1sG8PƄtIYYlȦ[$ 0ee1yy_mnDIp lEf ل `:kBn^޷/}%%_!avdf"80v7n?䉼 b42bbpFđ#SOcX {:EBhڵ^"2'N7{7NFXgO!4"8awj K`̘;+`"nΝenDFbfHNFn.x6nٳ<˖y:EBLˡcѢZ z=z RR\= qmO̒QQO#?h5k.\ ܗ6!]5 ?&!7))M{o܀y?T4 qm0v,aCj*~#G8pT*;n…]=Vm-[8U\b3gm.\P(֯_ĉb8((g~mK-_ưx1BCY,ѣ0҃=q0` m̮@kIf wAM z ֺu|||5MJJhDsQe.Zرc****_?wӧu:kJ$ BdɒCld(={$%%Y6ULNN%%%xիW?~|ȑ6߬!z,pbb|5:=CBŬAיP/&!sKHhZ>i;qgFZnA,ҝmd20vWz֧fׯ+9wkhh0FdgrM&S8"((Ȳʊ;O>h.]:o(ΝĜ97՘=gG{y}0w|rrr FIMM&11qΝ*J$$$,̙zjZT*&{>+WX"p/u.]¾}¢EW$ǞKcV4?AHwUX)S+h瑔ƌwA&֭[8%G;?9bTxD2eʔ˗/r8w066V"\f_eB!O߶nLYMLLd\v-G@Pxw?~u({C.w7"5%\t/ ,9Mw@v1!VآEc^z o9:X3Ϡb1~nQ^RvDDH$߷oƍmߎvhv 6QQ(/w߹(3B* Nb}iq?PX11pAbXJ%b,_˛vk,ttyW琕 MNĽ"0J%,uZ-P[ p]ȏNs:.޽0iRSzNhEm۰x1/t`.l`vO̝ .FH'iwBzb q^~P]BG͎ <WvBܦ1HH?8<]"]?TB&Æ xyO'Eq_-'''""ۻw5/TWcxͮ?ի t9HIq8v aaص {wvEHS_ŋ'#?fW&XIII۷o0qGW37 KH=q0` ?x:'B<-7!a> 9ui\e2Yuuu! 44o_46UoePPѣ]phl> &FDj*xs-B577KNNH|ƍtNclժUR4..μ2j]x 6 <j}7C L&ӊ+BBBR̙3͛f'C=Z,GEE:u|\-\_P_#‰'[<쳭lPĉ(** #F-9Ȅ݈ \ή\ԩXz=-Bv6ͮn:bFb4;j;R^usΝ>}ZXvD")**P(K,i=6N2۳gOMMMRReSd@PRR'XzuMMGZi:Toa~:Ѷd.o_'ׯc,<8JL\tr+Bm0v,ajؐ!C,{6YuVPP; BV_WVVnL' ܼyә6mRTlPepS86xp'6ndr9\6ndFsTTٳ6{6tB1&[tfA6FK׷+ u/Ԣ3mofR(t:U{:׿577722r͚5?Ͷ+>1x0~SL ͛,A3<\!ZE< 1_CCCci4 BBB-:mofdYeaOh4K.7o3zC`Ί#.@Ua &*:|Ȳty999AѤFGGlsNJsrrlq,̙zjZT*&{>+WX"X+?@gN<S'AUa &*Z1J/HLre\n`J$+Wk0l٢P(bӿ͜i|3˗2lk׮刐( Ǐ;端g i.pLN-X|#YVFk l&3EF3gФIpxDz!@=T4MJKKz}mmCBBZ4w ͵Hu$w_tMLش Fa^ظtZt3桺gY>>&%%h4ޕ=O<իkjj?>rͯWX1lذ2RrJsd@PRRm655g_^^ޞ={jjjڱs"qRZM#B&Cu5zڤ 1e ^y p<wƌwA&֭[z@cC jQ>9appMTwnTעc-U*Հ̯ psrr8J v:vlD1>AIM cvy:NB{vc1ldVRz)>RL־ٶm۾1c8pfry(=C,c&$j;fL̙%kcvl|149@Y}b4sU3&C)hP!.1R%ɔ)S._,ͷ@Pxw?~|p ^zI&d 444&&&d]zƇz?lIɰK9*3kJ'! UQVpuj;ΈXm;vθ:cVjNZֺՎ b-!8Xe I 10$͹ys.ùyƛ7՜8a_v`\}쯙"y.P v\f s6'Ȅ .Zӻ2)+=;Q{oӧm VF/fΜ,kz=VW0mrFpu=Qv;???yr5FEuʕY^^">V/CS+1˗otsaa' {_VN ڽP,:55o„ 7GcQ۷ d^1X&+WZeg#=c~v%(/OΎ\0\.?o$/^R]2T??t5c(̞٤Q 0yxxL>¼/J7h1Dzy1EvAU߹sW-낹cǖޭS*'$ԦWfͪpdT{.,:5URTꔔs}(^sdD2v,HVfog~ܨo.Ϙax𮼼}#v!ݐH0w. `6*=>gh J g&襗O>Yu*?\.tB_{⫯}򫯂^{+ Zv:&ʈ45q|ƒ \C@͍9e7,?_  $$`n Drr7'XRq0!>?BtG%tq{.J$>YUuPʿ}Ӂׅ!Mc$&BET[5^B{hrJ}ֹ~fwȑvh**ĞƯ"ӈ춣H&N>~ܴ:5T͛YtndV=<@۟'hBY2,fjNiSL5B^Ęm?GIHZwI$[?,թjC{EŋS(m"i3=pGnwmgLgW,4 )JPZJ @8t)R}`[j pכ]ohh(.m?}=|ժŋJYZZO3'O:74ҼF4j󈊪kbՌkפ55k= ;C1iZhӵ0õ eN֫TlYDbǣVޭoh0uYYůfz5BϷwÖ*̜YP^  ) ׮-Ikxx}\(rf J-Lju|z秭o~.+o1`SQ^ool݊֫n!d!!!ӦMx8Rp8ƍǔyWZ=|P( .\hYVd__߈-[i~k.B'N.Xpϓ`lxeOx3ׄb4$%a(=P=]QKcӧ/;;襗}rx%%_f %r%((H.AAAL{߾}e2Y@%'O>cǎm;EJU:()4a}R[r߹%K4gaHNFTQ%>HxJװ0c1FK+1O762Ri8p݁\ɖ //^}Z:¹pŝO͆c__Vm-)8HYxDFRS1q"/B&}ѢC>׿y& :/('o&%5^kHYZX1}#gv쥇ILj4/b̙za\J«|Cݷd\JiC'bN` 裢s)s]}QqW_uS^$w/-F)`L?/.֫z[s8LL`ݣGu*NO=eTpa} ֣:dRDGR>{,Wv=p>{;v9a+88pw@߾bGΜQeLȑYuǎ;cw 7nvl![ǡ~[_Ppi3g򊶪j\I ,v, Mˬ$u5`5zoOpfĬYY$$% J$J|^ryiٙ}22,rsLjnYYZ=w8w.$#wߕ+jJeϜ|9|ӮPҥg3333\j`_ 'y!믰H13U(2-\%+F}0r$iiغzWg/*lJKH]?.=}SzTO+bU)H Y:@߾ o;mɎD($ Ɏg&6}%|\XuuNT){^2dQLsNc EU\Bq.(xF*Mj__)4gܖϞ?^SsBohjԜˋft RiNjj_ҥ77qy{]t\4a!gdlRSl(90`{9UqOے,=+)|E^ط])z{86S'ӓ Μ5 Ʉ Ϳ06 yy55'MVWHbD`rjFY3F"5lPJbǭSXhPQ]) Mqtsoow8E߿?&&!ՠ)FLS]۞`g/XRW[!uTUDF";W"0}j٪3h8gʎFq#Zb6vL__W*eiiO?݉^#Gr|qu4f~) 9!`#YSrkx<$&6u2^Xx⚚T^Ivokl_UR^_+e;ъz}*.~(tߤSZJϟA k$ÿ{3F)<<6ݜH͛4 +W K"'F9& <õ~ f}L׻0r9Jfj5Zr삶 xbq".?a%B!Dz$&F%_ә  n很@Y aP%ܸFP*+v m8;r% ظ 0՚7_&pbj&^бS*…;=;wACS+\>>>j*zw@L[](]KQ,^ (,ĢEhLGwP(#Fw{ȑ(.'Ot0ѣ=oÇe2YSSSnnn||YiiGp\p?G,cc32==cc )I4t(IME~"GTߛW\>o常]q.$$;w%>^}QZ7f<E~#?.yI{Anz 6ޜaaiP^h^ͩ)//3笿_0e͵k-l,,[la1"@dqqq'NqP(d`+'N 82Q!NzȑCX<&HNJb6V.\ y.w#IZªSSu*NNI9ׯ_mg.7 IDAT$2MHK#ibX~' Mry͉y̩gjk\)8Ѣ*ӯk="iD7R/+MCIIq_|am<{V7dH5pé?t;|nR< Xkf > vYk^Y!Z$4_|1sLgYCv455lvinpՕ46v(,kNd˫N0##If&KYǒIZ)Q[}g`R|p,v69ڕ7~|1cǍFGw,Xf50("555ן8q"88ج5R)ONrVQɝ;9f?77$%u»bdG [<СO*vTNoj=PaVۨ?襗U.]y;bF,!O MlJiS - ]q(ѵ'Ej*BQdAG{=<^!OUk]L]K %̝"XoMk6Sl;v&O<t Eu5._ưa\^ n!B $$`n Dr2|6Qڅ:X] ㏑QQ8xltbv5//9bg|#c]!1 (6nĤIXMMX99Իt.BCBBݧMp8RpX*08-0>|@ 6l`0VZ>c Ys˗ j,Ye])<P.00a$gaPz.ȑD" .͛7{zz($^$L5aҦ Jh"ceM6DDDF%B͛{Yxq```YY޽{WXѮDRXcB1'6 {%z99h7nb1mҍJD ٦(@ykkkM$~wqqa#""-uͤRcZo1\.]Дwk*~IH 7n ~d|)0 S&>kQЁ>MBC @޽ζB|Fᶤ7nu:i`0oؚ)<Orij_ OOOf ʂI~K}`Flض =l(;F$$@?""m7V;ӖJ[g}E3>RoqTWc ]ٍ3g0j֬N PTD+ $mcFSb/N<銋QS6ҿG0dMMM6g)!Yn kIJ"y.wI"# @\`iIKBֵnl`#:ήIbwͭp 6oUu0̇JbSILLCIigILۺ&,,6?TujEͶ+8cς!x^ALVƷ/b[*fq(HH0dZב-2J:`KKgJ;N\v-6mZBs7<}=䗚 wwߧ溻\Ϙ15rtCtzDFv5XC_bG7}iv[&eJ3Ygv ")-%d,GדɎͻBcmEb`+ۨ!g3kcbD..OV:$rq>ml%\xP {NI!J8i[,,6Tۗ %%Ţsm1,Ӗ~?yrVuR4>!`0[.88mԩ...:U66:4;; 778Tj԰b ????cYL2yy{{{{{/X@m)Q! HKpLJ $/pD &Q'+VgPXH&L`~Cxr 8 `ݺu*jٲe|PWWwq/e5vfi``z=)O ƍVB͑X-I]-ӑɂ%$6\X09Wƍ͋QQ4}}r3wv9=BM_:`Yt̾UVVZg?&b%29JcWJ3/D2mZ#@f$8 ԵѣQ#IL$)-X09HwUݏRMᐥKId;yN+..7o݆V߿ѣG {7x2)777uA9s$''766644ڵ_6n';[ii8pEEq18Ö- U !6HOGl3v.4 2-9h+Kۇ#PaV;& 5L:q7nB 5'N8p e`eGٳ'""B L:ȑ#mxlM .vPٻ׷yS$#y)j 鄀!<|eI"2{6qAe8$yV=p1Ǻy^A\N3)8W_?jk,p"1^b(*8{g6Q! Hw%݉ğrx{cV P` )S$''d}sH=f*+1lRlۆ2|Is;u4l܈"4۶m"&AhlDB> :UAPPɉ1nn5 Sg`|\ .!:&J7`=H$;EEf ~..ζBi`uwzZt1lc:JRW< {7 DF"9Vkv$$}ڴiL}eT*9sxÇ aÆ]pi4 V vww1cL&3jHHHعsRRRMbZb6)Z=|P( .\h*jK,زeq Fš5`h+ H$=۶ƍHOi(=.͛7{zz($^wmLwk¤M})))*jѢEʆ6mruu-..x7JB͛7ٳx{X]vik٤VZ5hРիWURZZ*srrlP`BUDF"#;wWش ?"DE!+ C\QzB#>>j* Ɨܧ-rX.ӷov(N pO@3r1R(&b<pŝ,ɚrssmiA[3gNrrrcccCCî]^~e)R?a\^^^qtSl>HR9E7KH,!#,~㍻~)fb =oh"ʃ'|r!// Žn߾=!!t[zu>}{1//{oܹ6ﴠ-_!!!eeek׮mgƍ "<<|񑑑v|l}Mt, >s~}rgJ<,Οw|/xO?c׃iD  .__Ǐɓsԁ>}7z={n&b?TѤ͞= Z(hv77dBP(vjl_*{5@m1t, &ԴE;f-kC"Gyg33kg"d_+׉YΞ٧O@eSl<&MHqPD(h"Fs-r@0eʔdNBmfO7@ D7Ms&Z. ̤=E6P ϵ}CLO%@@`Z Qo1kP !w`@d$ζ>cKڱϨQҕ+?9{Gֆ Λ7 udXZ]w\(8 !!Xtbtز"D""1]=,2q:MXqE1(f'E+Z"~4}& FMpCQD-p!2k%c$&BETĨQζBr[,++cfO7<<)&`1vp Ф]6 ` 7hЍ0UoΣ_~il,[6o -=eƝb蟐տ?s\z#[M 36*w]9E+x{lnuu.X:<.*_fm;<, .?%ďn>?j&?AY5.@4ҥ4wRD0`vs0C,u2 M'<l5 /pASL7 jY>vႛ{ŋكvX [*r֝??,r ݬ?<R,| n|ĶNE?z8h" uz?(,3%8Sm:ԞnJ@ $ ص +W2i[(IDATBP`AlPU嗿m֨F-%Dlh" -Z>+8@*:"4 <:TbL m~s$Z-cV7^Lh{\  6… L`XjUpp38NBB@@Ν;/_.h Z=|P( .\hmݺrssX[[˴gee7N 7#XQb  $+C\L@BZX#=>ǰ~-$rJ:ja͛===KJJ\]]N> >))) ؽ{y lڴյo޽{B͛ׯ/++X|̙3-jժAUTTBnݺz?9T*Ϟ=+ ׮]o^xᅯ*::֭[ZfqF= Z*I 9- (SW׼3 .](JCyGrrr|||Z|&[ގ"lhhtT9dfJk4wwwhF, r 3#Fof : @pppRRҋ/Mg0Bo{7<;bk4u=-sD N۷o0o۾suu51ebBm___}}嗁#FmBq>uuXb*dCP(pPNatX$-"9 \򠠠} E߾}S^xQPX_* dkEP7\qqq'Ot|=ڮo>|X&555ۨsINNnlllhhصk/l< Errqm۶ݼy rPz'ԵP(=.O>СC^^^ ,xwla |>? mիcyyy{sεQGׯ_kO[^^^ jll}pꔳP(vhvX:u7ǥt)P(t3d8[ ]a+LP( BP"0K>u%>^[Ue/KK3F5p`աCjgQ"p*v%vu8b۟~=xp@3rdƞ9sgS4eBP(P˻XBx'**߹裿dT}{R9ӧΟvԦ'ʐU]wcǢU7޸d[̙S<^V6&P(JOmo]nns=W]]`YBw:$nsH}mɲO>D"vf ٕv֫Tg||bZ FU}tmEHᱜ[hcbbXPBq<|??}˟=ʋ6=vxev%.^^Ĥ`]Ə3fq>11ZBP(6ݻP(N Jӕz%OV<Ͽ׭ ]>uR(JO ~wwiӦx<GT2U 38-0>|@ 6l؅ Fjժ`ww3fk-s8;w._/ %%]jzBP(.\PںuC=?i7nS*W^iP.Y7""b˖-6]T Ḹ*{)KKOSb}wߎ|[oE'B86oYRRP(z=ZG1% 1vOIIQT-2V6ܴikqqqMMMDDěoiT" o޼gϞŋݻwŊ ZdժU (//_zR<{L&6lo4 6lPTΝl011ťT,䰏N &6E_dczRV9%mɟ>>M-aUW1 80??r(\SSc_Ѹ3E5YFXXؕ+W֎1~33fСUUU^|E___ ~$Zvځt wEfkPS6/iomؠ!O=쳡i*b] {Ľײ jI?L;1 w 5 %^W>kvĴ3i񚚚յL^wsscO>K$7hPr;5l/HE/r$P8X̋9:Xzsf999AAAm,kׯߕ+W(L6bo]8dA&[pq9gGqw',NNYC;XB`ki){yd:.{g9HdXQizR\.|xzo,!Ii@1LSS7N]%I(Vs~8t]O7j`6eYnz..X׌X,vjtrٓ3LRV+0ev<9皦)ǧө?xqDUq e$j:aЇ~Ϟ=ӦMs8JFkkr'd+ڶm۸qjjj֭[7j(^PP$4֑,LDׯ_XSV~5"JIIal;::f͚ED퓾}!狊.\յrJ"d6448c;v̙3J7LNڬ N:ٳn^`UN(^ZZzM1JJJɉ'.M:9R:B牨_,Nn:L__'5\&tr|tzpڴiDt:s=DWp  ڎ!50h,,Mvi,\f q7nt'͛7K A&*jnnf8uM<{SN%G\ݽKAt°S. "s6$6m8.??]]]'NvD|򖖖ޖe˖:l˗/iǏֶcG}ysέXB\ {̙3/@?mV Z%B{vɀKӄ~/HY(±cǖ,YfKKK+(((//a_ |rre ɱlƍ۱cUqqѢEIII^hbX, &lݺU f!. bk+bo>d!hAB9d!h Az, @' !4 ]AB!@oUB!d!D YQ 2B4:Y5Bę:8,B vFDd!DGHD~!~:. 4pqwpv;b !"pF MGg¡̸ф CdKZ3]*`4ab>_ Oq.c_(}fhA藴(0WB } ^~Al~D!OCv!})fBwq0DBCbYC _L'85  Yxă  e? AcQ1P >Jp^ T Y8/@p^ P| f! !! `,_B0 d! 4/YBA v@y!A&,!C1 YC f! A.{ Yh.xpeR,4Y"qk LX,4/aD`g dcɇ ,| A طYh:h-b,dJi4q8G9qtC@!p:q,4HA3j 32f"ƾ`+I#ocI Dl;&SqTt,XiTyY蓠79R0;d!Yf,C! tOIIy>111++k… cƌX,O)/\055f.\^ZAm2ʯ@xѯء!,+n`= n$_ ~z"z[[[{{{/^XUU5sLi#Gӧ6l s|%%%Dak?j kaospJ|w j+ ,X@DTCX[[+~ibTVV?홙;v-Y-D9~g"={:1}:5UYAAعs'n:ۭ~[{/>>>11lii UATt鯚*oݺuرv޻wڵk322l6[~~g}]_Ziu|# %''וy7)y5"JIIX\\1k,"ڷob:|QQх V\IDՆ1vcǎ9sTy[{oWb?LD_NҚuuuEک,[aE;ۺu/O]S)/VM&x(55U咕[j655n"Z{BM \.6*8NdP:e>RRRʕ+=ߟQ ŋHn@^C^u\>B? 5XwWҒm۶c=&+w8ޝp\l ҥK=ѣpr-g5cfA].h9лDy|gx< P:eTL6N`g{! 7nHwVp-y$KJjʕR&{`ҥW^g 9j ؀oEa2,>|㸉'޺uKZ.kwkkkh޼y|dؤ5b"_XOg{tx۪pdggK5S}k nQ~᠖>{h9лDy| P:e 7mq\~~z{{O8,_eٲeD~zٌEEE/_f3Nn?mǎ裏333?{ܹ+VkalϜ9{Oo]&m _y/:,TŲggà֫ذK/\'Ou]E)Zr 潐S:Ncǎ-Y$==y͖VPPP^^.V`5 <'''ϟ?_vXQQcƍE%%%#iii<ڵK|i˖-Ç^[B&!~]LV^WWqWp:ŋ/^[7 qet ѤInK E=c7!YHbL0a֭Z%pzND=@\yDPAh:|!D4'WD|SE3@I-m+B5R[@AhB8/МCAhnB! ,SC!   g"L~; z )D U ,0A5!xCDQ =7ҟ""nB t!(-_=6C ;q<!(C6@DB[8'\P#BP75i@b ib?GT³3&%ttH)+XD5R]>)Z@ tġ B`! q 5 M " _)!Yh^C0! YhjâAB(#)`B>SDJz/@ð@jAaB-.8/bYA,"!sB;/0܀>gB$|!"Y~! # A,%C !DB`@[i8/pvBB Aa`_Bd!8 u!!j00d Y8 e|v$!D qv :Y@*!hYAB<B 8 P֑!d!q@*ġ‎}4#p'x•R 't$d!/g[$|f!zh !pP_H&B~4+㏱$ !pv? ,t׺`L =g4v vB2O4p^CB !d!DY8CB4 @ϐ%C-d!D YQe8?~JJ 󉉉YYY .V3fbn)q .^d,h3@nذa޼yiiiǏuVKKƍuVZv)|@|B/|)hC;KKs]`{ァPVx|c#!79m^GM=| h&v_}U"ZzBq,t:̙3tj\m۶mܸqqqqyyy555֭5jn/((hjj z : Ћ~~ժ,ݞ}AmKxu3|n=tEEE.\Zr%UVVf)--y8('N m#Kק9z_ºu/O<^b'3fhootҴiӤ - :+y'~Ab3g$f6IDٲYΟ?/b x<Vkx652t~|} {c[ipQjj*>}:}l?.඄p@vPw&RSS^zʕiAILLGjx,I=RBnB؛s_%]萶a``nݺvv;q:/]u]q:]ˍ7zوo2FIDgaz%,]իbK|f?%DFxPY㸍7H,ԩDtH,\dJWl~aÆɓ'&eDi[v d37mq\~~z{{O8!kϭ.dP9sF,q:v}MMM}}}mmm;v(,,5 qDb,Qdw_z%uɻKZ=;^|Pjm ~{Dѱcǖ,YfKKK+(((//+Ŷl2|pYyccEx(++;r䈿nR ^Dyŋ/2dH\\ܤIdzL͖om !>:aOFGKKKNNNNN_|5Іwd?'}嗫V"g}6 @6d1co˖-o~8iҤ+VfptHM3s"}Ic5R#DIDuny!Yf,C! 쐅`vB0;d!Yf,wsN'{@o' `v]{~)tH@3UG"h 0"&p^:" H"D ]A~B&\#.b84&F >ZA-d!hE쳆C>d!,A&1㣈C>|_фB#B4! @5B/!Dt qQ,CB!   !9BCd!!Db Yq,80B@BB  !!,:d!ҹq|8YA 'd! ! t ,3BTxg˟ \ #PAV^ꫯq7o^jU$V AXrLYz<+W X,۶mCn찶v)))<'&&fee-\PZz̘1Efs%a) Nœ}}}eeeo&<_UUrJY}HOO#F={ݻW ^?)۬pm0pÆ KKK;~[ZZZ6n%jժSNix.+H+=Bh̟?#..wߕU(//ـ_׬oJ~3.]k!6 >m)Q;uuuD`j>]f}EQ~C? :j۶mc?_>CR5|p"]]] :Ǎ7Bl*@$ ߐ`":xBx++XѣgϾ;L;x/|֭cǎw}޽{׮]a?3M(')Sx<A<_R,iooVPP*|baGG+Xɚ5kXɮ]Ae˗/,4 bԎorr2]~].9tEEE.\bytқ7oVWWɒqrĉۣ5a"?!믿{- g ȱcǶʪ%$$C aZZZU2A~߲ G ,41jǗy"nL™3gQss3$l,ϟrI6{<Vwe+ C&%%1;Eg/&;VBi3fϞMDÆ 5jl? `dRԎoJJ ]rg{M+.9K㍕&-+Ay"1bٳ'D9w}p˗=*Yt IDATA~;"qƦM.]DDϣD8EiӦZd^*W|Ne-.\ x":|ˏCUGy睬$>>~޽N4СC}]__˗9qƼ<^=z4Xl!6 r> 8Ç9<w^X\\LD555"AVp-|f9rŋS9-He ~ijj*+Zo&+27n(/^8DШ lڴtuu8q",dO9sF,q:v}MMM}}}mmm;v(,,Py-~mVVm߾]*"b` K/"+w:˗/̌y>--h'O.zܷo_-(dE9 A8vؒ%Kyliii&ld˖-#jE%%%}uֱBذPE, ~_jΝ?O{=5h>lA~o{>\6xF|'?Y,t:s:th|||~~~uuv|T s%ɓ's{nݻ9@0WM>llluuyA\.lmmpgZ0 [s„ÀMz<]l_$˗Y)SXIBB¤IV^}E[~;vw|GVQ\\ *Q9i<@50D1ekť{]s)O7":(Y.tn/|bt_։`jR0f"@=e!RhY(B JFBD Ѿw``vATfU\1cX,}6oPt@~ <\S`q\d5PY8hB6,B5H9x3 լʲ۷oW_-]4--#G9Ny٥ɪ'|255} 899s :4>>>??Z:t^\y qܞ={Mp8 2wVӧKKKvĉ*,{}nCo{7{LZ~ᨸѬYp${ѬY:::bDw^^UU5sL [n_~e"z'6agϞ`y… ]]]+W$J W%YNzY /IjCC;vczzzΜ9SZZ K! #,45UL>dcc#I~J0`MU>D%CD p)i!f6IDٲZ,MMMlV+|{6(>i_(^_p-~'>>p\.55WO8egg=SFnU{{ڵk~I6X,?^$OLLd͓Zҥ6\y f/JWu\Cۢ|BfGyh>!r׮]%%%.W^YhϚK.(//z ,+(э7+1+T0e vFQ"N<$ǔ)SǏ;wnŊ*/LDgΜKY@F~@Y(};܉& A+,,t8cQUV̴l999W>dɒ՚lٲ/lŋ/^##ȑ#s)ZP'O>#C&vRx-[ >\! YB~v]d" ³31pϑzC B! b~6HAPY HA$e). 0HAB! 쐅`vB0;d!Yf,C! 쐅`v\*~ F1"IENDB`pidgin-guifications-2.16/doc/QUOTES0000644000175000017500000001506510655207434014044 00000000000000(23:47:21) Gary Kramlich: now (23:47:24) Gary Kramlich: s/w// (23:47:49) Gary Kramlich: you know you're geek when your regex correction is longer than the correct word [00:19] rekkanoryo i'm not above theft when it's NOT illegal :) 09:41> CIA-7: grim * guifications2/ (configure.ac src/gf_item_text.c themes/funky/theme.xml): This is very crappy looking, but working, of drawing text from a pango layout to a pixbuf. I _AM_ working on cleaning it up.. but I want to get this is already... 09:42> grim: grr!! 09:42> grim: s/is/in/ 09:42> grim: :P 09:42> nosnilmot: s/ of/ way of/ 09:42> grim: eh.. it works without 'way' :P 09:42> nosnilmot: you fix the code, I'll fix the bugs in your commit messages 09:43> grim: rofl 09:43> grim: good deal :) 05:37> grim: http://linmagazine.co.il/node/view/2794 05:38> grim: that still cracks me up.. 05:38> grim: wish i new what it said though :/ 05:39> nosnilmot: It says "look how crap this is, it sits over the top of the toolbar, and because it wasn't i18n we couldn't find the pref to change that" 05:39> grim: lol 21:46> datallah: bah... it is pango's fault 21:46> grim: or pango.. 21:46> grim: heh 21:46> nosnilmot: EVERYTHING is pango's fault 21:47> grim: that it is 21:47> datallah: at some level (14:50:14) me too entered the room. (14:50:23) me: ok i think i may have this.. (14:50:24) me too left the room. (14:50:29) me: then again.. 09:34> Alver: nosnilmot: it's only got 4 wires 09:34> Alver: 10Mbit baby 09:34> Alver: But seems like I did it ;) 09:35> Alver: working alright 09:35> nosnilmot: it's not CAT-5 then, but yes, for networking only the blue & green pairs are used 09:37> Alver: it's got orange/white and blue/white pairs 09:39> nosnilmot: fortunately most electrons are not fasion conscious so don't care too much about the actual colours of the wires they're whizzing down 05:06> stu|laptop: running windows is definitely a case of having something "badly misconfigured" 05:06> stu|laptop: you've got the wrong OS installed [01:16] grim you know whats funny? [01:16] grim when i started uber hacking on thursday, it was at like revision 88 or something.. [01:18] bleeter always thought you were a crap coder :-P [01:18] CIA-9 grim * r201 /trunk/gflib/gflib/gf_color.h: this was annoying me.. [01:18] grim remind me not to credit you for anything... :P (23:15:08) friend: how be you? (23:15:11) John: i'm ok (23:16:18) John: hacking away at this plugin i'm trying to write (23:16:54) friend: sounds so violent [23:43] grim suggested then that it was timestamps and he was right [23:43] of course i'm right! [23:43] i'm always fucking right [23:43] except when yer fucking wrong :P 1m42s minesweeper ;) how in the hell do you go thru that many mines that fast? fast fingers.. i'm a guitar player too.. the chicks dig me when they see what i'm capable of ;) * rekkanoryo won't touch the first comment with a 10 foot pole or the third 12:30 < grim> shhh :P 12:34 * Bleeter ssshhh's 12:36 < datallah> you boys are fucked up :) 12:36 < grim> we try :) 12:42 < Bleeter> it passes the time 15:14 < rekkanoryo> shell commands generally work better in bash than in gaim without /exec... [00:14] rekkanoryo bleet|lap: if my committing forces you to quit being lazy, then my purpose in life is fulfilled :P [00:14] bleet|lap hopefully not so complete you end it, 'coz then where'd I be 15:45 * bleet|lap nominates EvilDennisR as the Gayer of the Village 15:45 < grim> "Channel gayer: EvilDennisR" 16:10 < EvilDennisR> y'all just jealous that I give way better head than you ever will 16:11 < EvilDennisR> get your tongue pierced, then maybe you'll have a fighting chance 09:44 < grim> 3 09:44 < grim> this is not blender 08:44 < Bleetaarrrrrr> methinks someone lost their sense of humour in the sargasso sea 08:44 <@rekka|laptop> maybe, maybe not 08:44 < Bleetaarrrrrr> or maybe it be lookin' at the mermaids that did it to him 08:47 < grim> we were only supposed to look at the mermaids.. 08:47 < grim> fuck what happened to my legs.. 08:47 < grim> wtf is this fin shit?! 08:48 < Alvyarrrrr> Yarrr, me be thinkin grim would make a daymn fine fish soup now goes on ;-) 08:48 * grim swims away as fast as possible, and decides to make the best of being a merman and bone some mermaids.. 08:49 < Alvyarrrrr> grim: yarrrrrr, ye cowardly scumbag :P stand and fight ye soupbowl destiny like a man! 08:50 < grim> i have a fucking fin.. i'm a god damn fish!! and i'm not hungry, so i'm goning to bone! 11:14 < grim> hey look at me, i'm java, instead of doing constructor chaining on the declaration line i make you have to use super() but it has to be the first line.. 11:14 < grim> what a bunch of horseshit 11:18 < grim> also C isn't like "hey crotchstain, I'm only going to let you do that this way" 16:08 random_user_in_private_message: geez I'm fed up with buying clothes on ebay that dont fit X-( 18:05 < r0bby> grim write a book 18:05 < r0bby> make it dirty too 18:06 < r0bby> and give me a shout out 18:07 < Alver> "Pimpin bitchez & coding stuff - the Gary Kramlich story" 18:07 < Alver> "with an introduction by Evil 'ho' DennisR" 19:10 < BWS> HEHE 19:10 < BWS> you guys remind me of my roomates last year.. 19:10 < BWS> but I don't have to smell you :) 22:49 < rekkanoryo> sadrul: we just have a couple plugins that don't do anything yet 22:50 < sadrul> yeah, but that's because you are too lazy :-p 22:50 < rekkanoryo> actually, no, it's because i don't care that much ;) 22:50 < sadrul> which is clearly a mistake 23:27 < rekkanoryo> i prefer to think of it as a perk of being a developer. to an extent i have the right to selectively care or not care ;) 23:40 < sadrul> i don't want to go back to sleeping 12 hours a day 23:40 < grim> sadrul: ..|., 23:41 < sadrul> grim: is that a text-replacement? :-p 23:41 < rekkanoryo> sadrul: no, he's just typed it so frequently he fires it of in about 0.5 seconds flat 20:28 < grim> anyways, bbiaf 20:29 < i686> be back in a fart..? 20:29 < i686> ;) 20:46 < grim> oh yeah.. 20:46 < grim> it was a 18min fart :) 20:46 < i686> ooooh, gassy.. 20:48 < rekkanoryo> you know, if it wasn't for knowing for a fact that grim is the most insane person ever to exist i'd have to wonder which of you is worse 20:49 < grim> rofl 17:01 < bleeter> if you think about it, some of our forebears must've been real sickos 17:02 < esquilax> chicken ass 17:02 < bleeter> 'oh, look what just fell out of this chicken's bum.. I think I'll eat it' 17:02 < bleeter> 'hey, I wonder what'll happen if *I* squeeze that cow's tits' 17:02 < bleeter> and so forth pidgin-guifications-2.16/doc/Makefile.am0000644000175000017500000000012110567471427015127 00000000000000EXTRA_DIST = \ flow.dia \ flow.png \ gf_object.dia \ gf_object.png \ QUOTES pidgin-guifications-2.16/doc/flow.dia0000644000175000017500000000657310567471427014542 00000000000000[)祝֖=$gN&43=Ӟ>{0m {/6|I6Ld-.OZcj$I80D54˃3iཧ牷/}0\d 7 5H0iǁW02mn, &h$>Ou48 ? ?m5zԽd{sՐq6UHRvӀ6" lKP42+kqW_6ʖ^2C[4~^ LDEHD*N C#8vdMI}/M؉ς,O sN\Γ`z!,h%fA}# &!; ʸUS}JyP(Sļ\`Jͬ\Ŷ㩫^-w)6U^ېd[+W]V`U:x_gwES/jڧp(?ᩋAj6UڴYL<<$9rk>YVIHc?N˟Vri9&,VG b`)I姶YnohP_5D%_l.?ȏDmь]q՛f{ =F/JZm[_o$|&=K8j4F p6sd;Kp3G|-I %zتtزB#,^wt #HP`H!nvW$`XiXH4G'aJ653W D>Q, *MR( Jb,`PlK`lcnX@,`ry" ,@0!ijcTpk`q ; 4; {u2t `s  q/gflAdDX 8GpFw@MZ-H8eoJSztgILW.:XB0l^Zn;~EcM8j v@Z㹤Ґ⃗>%E{IT ԱqHy U;Ukk5$\G[Gp+YhUߢoq_RjT]E@20VKiyr>s͂6KhF89<:bǥGP,/7q'\3uq`Y:jfi=Nh]ɜAjԀ,v#dd[}`"Q t3t,'e(H0- H@$p֠H |H@tAAt%qERIC2 "Ş^=\σ ܙ:Q'K$uB f mOXν:MJ5ߓvd`%ߓO/ۋVzb#sH_V+mˬ2# |*xꆼDQ)-yZ|mޮxf_}%d)Nb:Xl % WMN=TC+io?$rgMlKHy"U dU d:96 CM @ѿ;J ^.i5 rTcfי2:3b> `1O o2q{s{7F縦}w]`@]Ywzsx>/ƅrk:aSD)}C]jSZ2s+0{+샚{v yW>;: a>|>wWdhcD6u.{dGHY^U~T7} mWkB"t_h+Ic-r|J4#.G~6DEpXfRȤO7[[d`I>JK*7*h!o~K: N ϏtI!!y!K:y&5^B4pCȪ'k~"[x*HT&!A',Hpidgin-guifications-2.16/doc/gf_object.dia0000644000175000017500000000374510567471427015513 00000000000000]K8ϯ qfR&agl6 .<|߾ 4D{ 5OO@{ qG@#,vOosc5vFn+J7FG=&FzBF #Vh4Ѵ b~,?)=%Zv0ų8烬T^nQ=vfA=G%`/kSjכ(YݔV(\޽J(%.V]xeY0uhyZ|qSbdbcEN( 8̤pTX@>Q/pҀŝk؟7ރ5D,9ILMMب˝zcCNExK;{ lM%37o9[c4",緃oF`1ok=9t.0V݌]2 B6n %YOfQ [ I1v"rEbcZEf3==Iu'Z@:CԻ:##"R~#JҊ^Tnd!$c-}(5A&ԇ&QHo^]-w|.{ٟI@?݅TNT4Cp-afűvI${X g6 JS,M2&hiKAnmSp/\ZB CA&puum}EDfYGQ|CRe ǔ]Iޥʷxƃpa( '$W~z{*Ae{6EU=TP Xu^{pya}0BD[a35b~~ip,Fi׊%%%8dT snaP:Z3Oj@ 0᧷OI#[gu!OmCkT):ըE4AkI@H;h $蝍_hSubF_w! "׈K3F>k| l4]+XY|aͦkfH?w e g0xg{-Uatczc&!= ާ5u<٤ V,^yL>pFME &i@#zaGTyt $9" ٽ;"9R冔P7dvB /y,1L;dQ㊦,!dTkM!t-k$LJ5p\[ ͍ZذK󋉻eYK`u|ee:'5:6Ő I;10uIOqF%ƺ c-q e$ g\Fp52H\N3Բy4&٭3c 0..pHFra:ʸ蟣`hXɂ$14dDHER":EODQǶ\ƹ&'D78U5^.bF&ٖLsNn1=1{2YdbD.uMoQ3IۜIm3qI[;ׅꡞ]9tN[zO/٪n11$#b("]a/58kIz]r"A$?ݭ`;ӻݫ\ |pidgin-guifications-2.16/missing0000755000175000017500000002540610731356735013737 00000000000000#! /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: pidgin-guifications-2.16/README0000644000175000017500000000101610616776211013204 00000000000000Guifications: The end all, be all, toaster popup plugin! About ===== Guifications, are notifications windows styled after those found in msn, deadaim, and newer version of aim, yahoo instant messenger, and a lot of other applications. I've fashioned them after being as user customizable as possible. It is entirely gtk based and there for should compile on anything that Pidgin will compile on. INSTALL ======= For install instructions for windows see INSTALL.WIN32 For all other operating systems see the INSTALL file pidgin-guifications-2.16/ltmain.sh0000644000175000017500000060511410723074605014152 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION="1.5.24 Debian 1.5.24-2" TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)" # Be Bourne compatible (taken from Autoconf:_AS_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 # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= duplicate_deps=no preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" extracted_archives= extracted_serial=0 ##################################### # Shell function definitions: # This seems to be the best place for them # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $mkdir "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || { $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 exit $EXIT_FAILURE } fi $echo "X$my_tmpdir" | $Xsed } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ $SED -n -e '1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 exit $EXIT_FAILURE fi } # func_extract_archives gentop oldlib ... func_extract_archives () { my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" my_status="" $show "${rm}r $my_gentop" $run ${rm}r "$my_gentop" $show "$mkdir $my_gentop" $run $mkdir "$my_gentop" my_status=$? if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then exit $my_status fi for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) extracted_serial=`expr $extracted_serial + 1` my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" $show "$mkdir $my_xdir" $run $mkdir "$my_xdir" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then exit $exit_status fi case $host in *-darwin*) $show "Extracting $my_xabs" # Do not bother doing anything if just a dry run if test -z "$run"; then darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we have a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` lipo -create -output "$darwin_file" $darwin_files done # $darwin_filelist ${rm}r unfat-$$ cd "$darwin_orig_dir" else cd "$darwin_orig_dir" func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches fi # $run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" disable_libs=no # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) echo "\ $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $? ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $? ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $? ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag preserve_args="$preserve_args --tag" ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi case $disable_libs in no) ;; shared) build_libtool_libs=no build_old_libs=yes ;; static) build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` ;; esac # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.[fF][09]?) xform=[fF][09]. ;; *.for) xform=for ;; *.java) xform=java ;; *.obj) xform=obj ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` case $qlibobj in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qlibobj="\"$qlibobj\"" ;; esac test "X$libobj" != "X$qlibobj" \ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo "$srcfile" > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` case $qsrcfile in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qsrcfile="\"$qsrcfile\"" ;; esac $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; darwin_framework|darwin_framework_skip) test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework|-arch|-isysroot) case " $CC " in *" ${arg} ${1} "* | *" ${arg} ${1} "*) prev=darwin_framework_skip ;; *) compiler_flags="$compiler_flags $arg" prev=darwin_framework ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" notinst_path="$notinst_path $dir" fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. -model) compile_command="$compile_command $arg" compiler_flags="$compiler_flags $arg" finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -module) module=yes continue ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # -F/path gives path to uninstalled frameworks, gcc on darwin # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" compiler_flags="$compiler_flags $arg" continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then exit $exit_status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` if eval $echo \"$deplib\" 2>/dev/null \ | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $absdir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes ; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP ": [^:]* bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows|none) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then major=`expr $current - $age` else major=`expr $current - $age + 1` fi case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name=`expr $a_deplib : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then case $archive_cmds in *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; esac else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then $show "${rm}r $gentop" $run ${rm}r "$gentop" fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac else $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ " case $host in *cygwin* | *mingw* ) $echo >> "$output_objdir/$dlsyms" "\ /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs */ struct { " ;; * ) $echo >> "$output_objdir/$dlsyms" "\ const struct { " ;; esac $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` else compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` fi ;; * ) compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` ;; esac ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" exit_status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $exit_status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) output_name=`basename $output` output_path=`dirname $output` cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) /* -DDEBUG is fairly common in CFLAGS. */ #undef DEBUG #if defined DEBUGWRAPPER # define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) #else # define DEBUG(format, ...) #endif const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); const char * base_name (const char *name); char * find_executable(const char *wrapper); int check_executable(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup (base_name (argv[0])); DEBUG("(main) argv[0] : %s\n",argv[0]); DEBUG("(main) program_name : %s\n",program_name); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = find_executable(argv[0]); if (newargz[1] == NULL) lt_fatal("Couldn't find %s", argv[0]); DEBUG("(main) found exe at : %s\n",newargz[1]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" return 127; } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char)name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable(const char * path) { struct stat st; DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 0) && ( /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ #if defined (S_IXOTH) ((st.st_mode & S_IXOTH) == S_IXOTH) || #endif #if defined (S_IXGRP) ((st.st_mode & S_IXGRP) == S_IXGRP) || #endif ((st.st_mode & S_IXUSR) == S_IXUSR)) ) return 1; else return 0; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise */ char * find_executable (const char* wrapper) { int has_slash = 0; const char* p; const char* p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char* concat_name; DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char* path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char* q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR(*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); return NULL; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # Be Bourne compatible (taken from Autoconf:_AS_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 # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \$*\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "copying selected object files to avoid basename conflicts..." if test -z "$gentop"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$gentop"; then exit $exit_status fi fi save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase counter=`expr $counter + 1` case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" $run ln "$obj" "$gentop/$newobj" || $run cp "$obj" "$gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` else relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir=`func_mktempdir` file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "X----------------------------------------------------------------------" | $Xsed $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else if test ! -f "$dir/$dlname"; then $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared disable_libs=shared # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static disable_libs=static # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: pidgin-guifications-2.16/gf_config.h.mingw0000644000175000017500000002115410604002337015527 00000000000000/* pre_config.h. Generated by configure. */ /* pre_config.h.in. Generated from configure.ac by autoheader. */ /* our header */ #ifndef _GF_CONFIG_H #define _GF_CONFIG_H /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ /* #undef CRAY_STACKSEG_END */ /* Define to 1 if using `alloca.c'. */ /* #undef C_ALLOCA */ /* Define if debugging is enabled. */ #define DEBUG 1 /* Define to 1 if translation of program messages to the user's native language is requested. */ #define ENABLE_NLS 1 /* Guifications Website */ #define GF_WEBSITE "http://pidgin.guifications.org" /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 /* Define to 1 if you have and it should be used (not on Ultrix). */ #define HAVE_ALLOCA_H 1 /* Define to 1 if you have the header file. */ #define HAVE_ARGZ_H 1 /* Define to 1 if you have the `asprintf' function. */ #define HAVE_ASPRINTF 1 /* Define if the GNU dcgettext() function is already present or preinstalled. */ #define HAVE_DCGETTEXT 1 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you don't. */ #define HAVE_DECL_FEOF_UNLOCKED 1 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if you don't. */ #define HAVE_DECL_FGETS_UNLOCKED 0 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ #define HAVE_DECL_GETC_UNLOCKED 1 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you don't. */ #define HAVE_DECL__SNPRINTF 0 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you don't. */ #define HAVE_DECL__SNWPRINTF 0 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the `fwprintf' function. */ #define HAVE_FWPRINTF 1 /* Define if we've found pidgin. */ #define HAVE_PIDGIN 1 /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 /* Define to 1 if you have the `getegid' function. */ #define HAVE_GETEGID 1 /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgid' function. */ #define HAVE_GETGID 1 /* Define to 1 if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 /* Define if the GNU gettext() function is already present or preinstalled. */ #define HAVE_GETTEXT 1 /* Define to 1 if you have the `getuid' function. */ #define HAVE_GETUID 1 /* Define if you have the iconv() function. */ #define HAVE_ICONV 1 /* Define if you have the 'intmax_t' type in or . */ #define HAVE_INTMAX_T 1 /* Define if exists and doesn't clash with . */ #define HAVE_INTTYPES_H 1 /* Define if exists, doesn't clash with , and declares uintmax_t. */ #define HAVE_INTTYPES_H_WITH_UINTMAX 1 /* Define if you have and nl_langinfo(CODESET). */ /* #define HAVE_LANGINFO_CODESET 1 */ /* Define if your file defines LC_MESSAGES. */ #define HAVE_LC_MESSAGES 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define if you have the 'long double' type. */ #define HAVE_LONG_DOUBLE 1 /* Define if you have the 'long long' type. */ #define HAVE_LONG_LONG 1 /* Define to 1 if you have the header file. */ #define HAVE_MALLOC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mempcpy' function. */ #define HAVE_MEMPCPY 1 /* Define to 1 if you have a working `mmap' system call. */ #define HAVE_MMAP 1 /* Define to 1 if you have the `munmap' function. */ #define HAVE_MUNMAP 1 /* Define to 1 if you have the header file. */ #define HAVE_NL_TYPES_H 1 /* Define if we've found pangoft2. */ #define HAVE_PANGOFT2 1 /* Define if your printf() function supports format strings with positions. */ #define HAVE_POSIX_PRINTF 1 /* Define to 1 if you have the `putenv' function. */ #define HAVE_PUTENV 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_STDDEF_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define if exists, doesn't clash with , and declares uintmax_t. */ #define HAVE_STDINT_H_WITH_UINTMAX 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `stpcpy' function. */ #define HAVE_STPCPY 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the `tsearch' function. */ #define HAVE_TSEARCH 1 /* Define if you have the 'uintmax_t' type in or . */ #define HAVE_UINTMAX_T 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define if you have the 'unsigned long long' type. */ #define HAVE_UNSIGNED_LONG_LONG 1 /* Define if you have the 'wchar_t' type. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define if you have the 'wint_t' type. */ #define HAVE_WINT_T 1 /* Define to 1 if you have the `__argz_count' function. */ #define HAVE___ARGZ_COUNT 1 /* Define to 1 if you have the `__argz_next' function. */ #define HAVE___ARGZ_NEXT 1 /* Define to 1 if you have the `__argz_stringify' function. */ #define HAVE___ARGZ_STRINGIFY 1 /* Define to 1 if you have the `__fsetlocking' function. */ #define HAVE___FSETLOCKING 1 /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Define if integer division by zero raises signal SIGFPE. */ #define INTDIV0_RAISES_SIGFPE 1 /* Name of package */ #define GF_PACKAGE "guifications" /* Define to the address where bug reports for this package should be sent. */ #define GF_PACKAGE_BUGREPORT "guifications-devel@lists.sourceforge.net" /* Define to the full name of this package. */ #define GF_PACKAGE_NAME "guifications" /* Define to the full name and version of this package. */ /*#define GF_PACKAGE_STRING "guifications2 2.0cvs"*/ /* Define to the one symbol short name of this package. */ /*#define GF_PACKAGE_TARNAME "guifications2"*/ /* Define to the version of this package. */ /*#define GF_PACKAGE_VERSION "2.0cvs"*/ /* Define if exists and defines unusable PRI* macros. */ /* #undef PRI_MACROS_BROKEN */ /* Define as the maximum value of type 'size_t', if the system doesn't define it. */ /* #undef SIZE_MAX */ /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ /* #undef STACK_DIRECTION */ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ /* #define VERSION */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus /* #undef inline */ #endif /* Define to `long' if does not define. */ /* #undef off_t */ /* Define as the type of the result of subtracting two pointers, if the system doesn't define it. */ /* #undef ptrdiff_t */ /* Define to empty if the C compiler doesn't support this keyword. */ /* #undef signed */ /* Define to `unsigned' if does not define. */ /* #undef size_t */ /* Define to unsigned long or unsigned long long if and don't define. */ /* #undef uintmax_t */ #endif /* _GF_CONFIG_H */ pidgin-guifications-2.16/Makefile.in0000644000175000017500000005416610731356736014413 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/VERSION.in \ $(srcdir)/pidgin-guifications.spec.in \ $(srcdir)/pre_config.h.in $(top_srcdir)/configure AUTHORS \ COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \ depcomp install-sh ltmain.sh missing mkinstalldirs subdir = . 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 = pre_config.h CONFIG_CLEAN_FILES = VERSION pidgin-guifications.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 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@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ AUTHORS \ ChangeLog \ COPYING \ gf_config.h.mingw \ pidgin-guifications.spec \ guifications-installer.nsi \ INSTALL \ INSTALL.WIN32 \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ Makefile.mingw \ NEWS \ README \ VERSION \ VERSION.in \ po/AUTHORS \ po/ChangeLog \ po/Makefile.mingw DISTCLEANFILES = \ gf_config.h \ intltool-extract \ intltool-update \ intltool-merge SUBDIRS = doc nsis pixmaps po src themes BUILT_SOURCES = gf_config.h all: $(BUILT_SOURCES) pre_config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) pre_config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/pre_config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status pre_config.h $(srcdir)/pre_config.h.in: $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f pre_config.h stamp-h1 VERSION: $(top_builddir)/config.status $(srcdir)/VERSION.in cd $(top_builddir) && $(SHELL) ./config.status $@ pidgin-guifications.spec: $(top_builddir)/config.status $(srcdir)/pidgin-guifications.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # 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) pre_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) pre_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) pre_config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) pre_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 -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: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile pre_config.h installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: 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 mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ 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-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am $(OBJECTS): $(BUILT_SOURCES) signatures: dist echo $(DIST_ARCHIVES) | xargs -n 1 gpg -a -b gf_config.h: pre_config.h cp -f po/Makefile po/.tmp-Makefile sed -e "s#localedir = .*#localedir = $(PIDGIN_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile rm -f po/.tmp-Makefile $(sedpath) 's/\#define PACKAGE/\#define GF_PACKAGE/g' pre_config.h > $@ # 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: pidgin-guifications-2.16/TODO0000644000175000017500000000176710616774415013035 00000000000000############################################################################### # For some version some time: ############################################################################### Rewrite menu code: This is really nasty, and really needs to be rewritten and cleaned up. Master Notifications: Figure out what I want to do about it showing up in the new notification window when a master already exists. Preview themes: I'd like to do this inside the theme editor, but also show it in the themes page. The problem is we need data, that I'd like the user to be able to modify. For instance, we need a buddy and or a conversation, as well as what they said, if they have a buddy icon, etc. I'm very open to ideas on this.. Translatable themes: I'm open to suggestions. xml:lang sounds good.. but then we're doing excessive checks for languages that probably aren't there. So I'm open to suggestions. Fading: Just waiting for those of you out there, to make this happen. pidgin-guifications-2.16/AUTHORS0000644000175000017500000000177110731276755013412 00000000000000Authors ======= Gary Kramlich Daniel Atallah Stu Tomlinson Kevin Stange Peter Lawler Lennert Van Alboom John Bailey Sadrul Habib Chowdhury Packagers ========= Stu Tomlinson (src rpm, rh8, rh9, fc1, fc2, fc3, mdk9.2) Lennert Van Alboom (mdk10, mdk10.1) Tollef Fog Heen (debian, ubuntu) Daniel Atallah (win32) Douglas Furlong (fc3 PPC, fc4 i386) Kyle Gonzales (rhel4) Chris O'Reilly (arch linux) Translators =========== see po/AUTHORS Special Thanks ============== Nathan Walp for helping with cleaning up the out of tree compile Andy Korvemaker for the debian packages Lennert Van Alboom for the mdk10 package Aaron Bock for the receive message notification Miah Gregory for leak checking Nathaniel Waters for the animation formula Tollef Fog Heen for access to a 64bit machine Douglas Furlong for the FC3 PowerPC rpm's Accepted Patches ================ Eduard Carreras i Nadal Alexander Orlov pidgin-guifications-2.16/INSTALL.WIN320000644000175000017500000000302710616777306014170 00000000000000Install ======= To install Guifications, simply extract the contents of this zip file to your pidgin install directory, which is C:\Program Files\Pidgin by default. To Compile ========== You need a complete Pidgin build environment set up, and Pidgin already compiled. If you're using a version of MinGW 3.1-1 or lower you'll need to update some of the api, and extract/copy it into your MinGW directory. You can get the updated api from: http://prdownloads.sf.net/mingw/w32api-3.1.tar.gz?download You also need fontconfig and freetype2 development bits, which you can get from: http://www.gimp.org/~tml/gimp/win32/fontconfig-dev-2.2.2-20040412.zip and http://prdownloads.sourceforge.net/gnuwin32/freetype-2.1.2-1-lib.zip?download extract those in ~/win32-dev/gtk_2_0 (where ~/win32-dev is part of your Pidgin build environment) Then extract the Guifications source into: pidgin-source-tree/plugins/ pidgin-source being what ever path you extracted the pidgin source tree to. For example, if your pidgin source tree is in /home/user/pidgin-VERSION you want to "cd" over to /home/user/pidgin-VERSION/plugins/ and type: tar zxvf guifications-VERSION.tar.gz Then cd into the source dir cd guifications Followed by make -f Makefile.mingw make -f Makefile.mingw install When it's done building copy win32-install-dir/plugins/guifications.dll win32-install-dir/pixmaps/guifications to your pidgin install dir, (Keeping the already defined tree structure of course) And you should be good to go. Restart pidgin and try it out. pidgin-guifications-2.16/pidgin-guifications.spec0000644000175000017500000000665510731356746017157 00000000000000# # pidgin_major_ver and pidgin_minor_ver should be defined to match the minimum # Pidgin API version _required_ to build Guifications # Due to the way Pidgin checks plugin versions, we need to also ensure that # the correct minimum version of Pidgin is Require:'d based on what version of # the Pidgin headers we actually build with. # # This allows --define 'pidginver 1' to be used to build an rpm for Pidgin 1.x # default is to build for Pidgin 2.x %{!?pidginver: %{expand: %%define pidginver 2}} %define pidgin_major_ver %{pidginver} %define pidgin_minor_ver 0 %define pidgin_next_major_ver %(echo $((%{pidgin_major_ver}+1))) %define pidgin_build_minor_ver %(pkg-config --modversion pidgin | awk -F. '{ print $2 }') Summary: Guifications Plugin for Pidgin Name: pidgin-guifications Version: 2.16 Release: 0%{?pidgindist:.%{pidgindist}} License: GPL Group: Applications/Internet Url: http://pidgin.guifications.org Source: http://downloads.guifications.org/pidgin-plugins/Guifications2/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: pidgin >= %{pidgin_major_ver}.%{pidgin_build_minor_ver}, pidgin < %{pidgin_next_major_ver} BuildRequires: pkgconfig, libtool, gettext BuildRequires: pidgin-devel >= %{pidgin_major_ver}.%{pidgin_minor_ver}, pidgin-devel < %{pidgin_next_major_ver} %if "%{_vendor}" == "MandrakeSoft" BuildRequires: libgtk+2.0_0-devel %else BuildRequires: gtk2-devel %endif %description Guifications is a graphical notification plugin for the open source instant messaging client Pidgin To rebuild for a specific Pidgin version: rpmbuild --rebuild %{name}-%{version}-%{release}.src.rpm --define 'pidgindist %{!?pidgindist:fc1}%{?pidgindist:%{pidgindist}}' %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install %if "%{_vendor}" == "MandrakeSoft" mv -f $RPM_BUILD_ROOT%{_libdir}/pidgin/guifications $RPM_BUILD_ROOT%{_libdir}/pidgin/guifications.so || : %endif strip $RPM_BUILD_ROOT%{_libdir}/pidgin/*.so || : rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la $RPM_BUILD_ROOT%{_libdir}/pidgin/*.a %find_lang guifications %clean rm -rf $RPM_BUILD_ROOT %files -f guifications.lang %defattr(-, root, root) %doc AUTHORS ChangeLog COPYING README doc/flow.png doc/flow.dia doc/QUOTES %{_libdir}/pidgin/*.so %{_datadir}/pixmaps/pidgin/guifications %changelog * Mon Apr 30 2007 Stu Tomlinson - Pidgin dropped the epochs, yay! - Use tar.bz2 for source * Sun Apr 1 2007 John Bailey - :%s/gaim/pidgin/g and :%s/Gaim/Pidgin/g to prep for eventual Pidgin releases. * Tue Dec 5 2006 John Bailey - Fix the source URL to point to our new download location * Thu Oct 19 2006 Stu Tomlinson - Fix finding the translations * Thu Nov 3 2005 Stu Tomlinson - Default to building for Pidgin 2.x with a bit of trickery to optionally build for Pidgin 1.x * Fri Apr 8 2005 Stu Tomlinson - spec file cleanup, build vs. install dependency fixes, use %%find_lang, tidy up release version, fix directory ownership * Fri Dec 17 2004 Stu Tomlinson - Tweaks to the Pidgin version dependencies * Sat Oct 9 2004 Stu Tomlinson - Add Pidgin version checks to match new Pidgin versioning * Wed Jun 30 2004 Stu Tomlinson - Initial spec file for Guifications 2 pidgin-guifications-2.16/aclocal.m40000644000175000017500000110037510731356733014176 00000000000000# 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. # 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 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 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) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) 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" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` 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" datarootdir="$glib_save_datarootdir" 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 # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 36 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` ] AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' AC_SUBST(INTLTOOL_DESKTOP_RULE) AC_SUBST(INTLTOOL_DIRECTORY_RULE) AC_SUBST(INTLTOOL_KEYS_RULE) AC_SUBST(INTLTOOL_PROP_RULE) AC_SUBST(INTLTOOL_OAF_RULE) AC_SUBST(INTLTOOL_PONG_RULE) AC_SUBST(INTLTOOL_SERVER_RULE) AC_SUBST(INTLTOOL_SHEET_RULE) AC_SUBST(INTLTOOL_SOUNDLIST_RULE) AC_SUBST(INTLTOOL_UI_RULE) AC_SUBST(INTLTOOL_XAM_RULE) AC_SUBST(INTLTOOL_KBD_RULE) AC_SUBST(INTLTOOL_XML_RULE) AC_SUBST(INTLTOOL_XML_NOMERGE_RULE) AC_SUBST(INTLTOOL_CAVES_RULE) AC_SUBST(INTLTOOL_SCHEMAS_RULE) AC_SUBST(INTLTOOL_THEME_RULE) AC_SUBST(INTLTOOL_SERVICE_RULE) AC_SUBST(INTLTOOL_POLICY_RULE) # Use the tools built into the package, not the ones that are installed. AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract') AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge') AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update') AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found; required for intltool]) fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then AC_MSG_ERROR([perl 5.x required for intltool]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [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 dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) dnl The following is very similar to dnl dnl AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update]) dnl dnl with the following slight differences: dnl - the *.in files are in ac_aux_dir, dnl - if the file haven't changed upon reconfigure, it's not touched, dnl - the evaluation of the third parameter enables a hack which computes dnl the actual value of $libdir, dnl - the user sees "executing intltool commands", instead of dnl "creating intltool-extract" and such. dnl dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were dnl a reason for it. AC_CONFIG_COMMANDS([intltool], [ for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ], [INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}']) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be exetuted at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] if test ! -f "$1/Makefile"; then AC_MSG_ERROR([$1/Makefile is not ready.]) fi mv "$1/Makefile" "$1/Makefile.tmp" [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.tmp" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 51 Debian 1.5.24-2 AC_PROG_LIBTOOL # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) # ----------------------------------------------------------- # If this macro is not defined by Autoconf, define it here. m4_ifdef([AC_PROVIDE_IFELSE], [], [m4_define([AC_PROVIDE_IFELSE], [m4_ifdef([AC_PROVIDE_$1], [$2], [$3])])]) # AC_PROG_LIBTOOL # --------------- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. AC_PROVIDE_IFELSE([AC_PROG_CXX], [AC_LIBTOOL_CXX], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX ])]) dnl And a similar setup for Fortran 77 support AC_PROVIDE_IFELSE([AC_PROG_F77], [AC_LIBTOOL_F77], [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 ])]) dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([A][M_PROG_GCJ], [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([LT_AC_PROG_GCJ], [define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) ])])# AC_PROG_LIBTOOL # _AC_PROG_LIBTOOL # ---------------- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])# _AC_PROG_LIBTOOL # AC_LIBTOOL_SETUP # ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE AC_LIBTOOL_OBJDIR AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] # Same as above, but do not quote variable references. [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then AC_PATH_MAGIC fi ;; esac AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], enable_win32_dll=yes, enable_win32_dll=no) AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes AC_ARG_WITH([pic], [AC_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])# AC_LIBTOOL_SETUP # _LT_AC_SYS_COMPILER # ------------------- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_AC_SYS_COMPILER # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. AC_DEFUN([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. AC_DEFUN([_LT_COMPILER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. AC_DEFUN([_LT_LINKER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_LINKER_BOILERPLATE # _LT_AC_SYS_LIBPATH_AIX # ---------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_LINK_IFELSE(AC_LANG_PROGRAM,[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_AC_SYS_LIBPATH_AIX # _LT_AC_SHELL_INIT(ARG) # ---------------------- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_AC_SHELL_INIT # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(ECHO) ])])# _LT_AC_PROG_ECHO_BACKSLASH # _LT_AC_LOCK # ----------- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) LD="${LD-ld} -64" ;; esac ;; esac fi rm -rf conftest* ;; AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [*-*-cygwin* | *-*-mingw* | *-*-pw32*) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; ]) esac need_locks="$enable_libtool_lock" ])# _LT_AC_LOCK # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED]) AC_CACHE_CHECK([$1], [$2], [$2=no ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $rm conftest* ]) if test x"[$]$2" = xyes; then ifelse([$5], , :, [$5]) else ifelse([$6], , :, [$6]) fi ])# AC_LIBTOOL_COMPILER_OPTION # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ------------------------------------------------------------ # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then ifelse([$4], , :, [$4]) else ifelse([$5], , :, [$5]) fi ])# AC_LIBTOOL_LINKER_OPTION # AC_LIBTOOL_SYS_MAX_CMD_LEN # -------------------------- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi ])# AC_LIBTOOL_SYS_MAX_CMD_LEN # _LT_AC_CHECK_DLFCN # ------------------ AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl ])# _LT_AC_CHECK_DLFCN # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # --------------------------------------------------------------------- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_AC_TRY_DLOPEN_SELF # AC_LIBTOOL_DLOPEN_SELF # ---------------------- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi ])# AC_LIBTOOL_DLOPEN_SELF # AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) # --------------------------------- # Check to see if options -c and -o are simultaneously supported by compiler AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* ]) ])# AC_LIBTOOL_PROG_CC_C_O # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) # ----------------------------------------- # Check to see if we can do hard links to lock some files if needed AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS # AC_LIBTOOL_OBJDIR # ----------------- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir ])# AC_LIBTOOL_OBJDIR # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) # ---------------------------------------------- # Check hardcoding attributes. AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_AC_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH # AC_LIBTOOL_SYS_LIB_STRIP # ------------------------ AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi ])# AC_LIBTOOL_SYS_LIB_STRIP # AC_LIBTOOL_SYS_DYNAMIC_LINKER # ----------------------------- # PORTME Fill in your ld.so characteristics AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_MSG_CHECKING([dynamic linker characteristics]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" m4_if($1,[],[ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` else lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`echo $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[[3-9]]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER # _LT_AC_TAGCONFIG # ---------------- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_ARG_WITH([tags], [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], [include additional configurations @<:@automatic@:>@])], [tagnames="$withval"]) if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then AC_MSG_WARN([output file `$ofile' does not exist]) fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in "") ;; *) AC_MSG_ERROR([invalid tag name: $tagname]) ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then AC_LIBTOOL_LANG_F77_CONFIG else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then AC_LIBTOOL_LANG_GCJ_CONFIG else tagname="" fi ;; RC) AC_LIBTOOL_LANG_RC_CONFIG ;; *) AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi fi ])# _LT_AC_TAGCONFIG # AC_LIBTOOL_DLOPEN # ----------------- # enable checks for dlopen support AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_DLOPEN # AC_LIBTOOL_WIN32_DLL # -------------------- # declare package support for building win32 DLLs AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_WIN32_DLL # AC_ENABLE_SHARED([DEFAULT]) # --------------------------- # implement the --enable-shared flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared], [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])# AC_ENABLE_SHARED # AC_DISABLE_SHARED # ----------------- # set the default shared flag to --disable-shared AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_SHARED(no) ])# AC_DISABLE_SHARED # AC_ENABLE_STATIC([DEFAULT]) # --------------------------- # implement the --enable-static flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static], [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]AC_ENABLE_STATIC_DEFAULT) ])# AC_ENABLE_STATIC # AC_DISABLE_STATIC # ----------------- # set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no) ])# AC_DISABLE_STATIC # AC_ENABLE_FAST_INSTALL([DEFAULT]) # --------------------------------- # implement the --enable-fast-install flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([fast-install], [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])# AC_ENABLE_FAST_INSTALL # AC_DISABLE_FAST_INSTALL # ----------------------- # set the default to --disable-fast-install AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_FAST_INSTALL(no) ])# AC_DISABLE_FAST_INSTALL # AC_LIBTOOL_PICMODE([MODE]) # -------------------------- # implement the --with-pic flag # MODE is either `yes' or `no'. If omitted, it defaults to `both'. AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default) ])# AC_LIBTOOL_PICMODE # AC_PROG_EGREP # ------------- # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) # AC_PATH_TOOL_PREFIX # ------------------- # find a file program which can recognize shared library AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="ifelse([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi ])# AC_PATH_TOOL_PREFIX # AC_PATH_MAGIC # ------------- # find a file program which can recognize a shared library AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# AC_PATH_MAGIC # AC_PROG_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown ])# AC_DEPLIBS_CHECK_METHOD # AC_PROG_NM # ---------- # find the pathname to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi]) NM="$lt_cv_path_NM" ])# AC_PROG_NM # AC_CHECK_LIBM # ------------- # check for math library AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac ])# AC_CHECK_LIBM # AC_LIBLTDL_CONVENIENCE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl convenience library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-convenience to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # it is assumed to be `libltdl'. LIBLTDL will be prefixed with # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' # (note the single quotes!). If your package is not flat and you're not # using automake, define top_builddir and top_srcdir appropriately in # the Makefiles. AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl case $enable_ltdl_convenience in no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; "") enable_ltdl_convenience=yes ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_CONVENIENCE # AC_LIBLTDL_INSTALLABLE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl installable library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-install to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # and an installed libltdl is not found, it is assumed to be `libltdl'. # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and top_srcdir # appropriately in the Makefiles. # In the future, this macro may have to be called after AC_PROG_LIBTOOL. AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_CHECK_LIB(ltdl, lt_dlinit, [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], [if test x"$enable_ltdl_install" = xno; then AC_MSG_WARN([libltdl not installed, but installation disabled]) else enable_ltdl_install=yes fi ]) if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" LTDLINCL= fi # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_INSTALLABLE # AC_LIBTOOL_CXX # -------------- # enable support for C++ libraries AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX]) ])# AC_LIBTOOL_CXX # _LT_AC_LANG_CXX # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX # _LT_AC_PROG_CXXCPP # ------------------ AC_DEFUN([_LT_AC_PROG_CXXCPP], [ AC_REQUIRE([AC_PROG_CXX]) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP fi ])# _LT_AC_PROG_CXXCPP # AC_LIBTOOL_F77 # -------------- # enable support for Fortran 77 libraries AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77]) ])# AC_LIBTOOL_F77 # _LT_AC_LANG_F77 # --------------- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) ])# _LT_AC_LANG_F77 # AC_LIBTOOL_GCJ # -------------- # enable support for GCJ libraries AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ]) ])# AC_LIBTOOL_GCJ # _LT_AC_LANG_GCJ # --------------- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) ])# _LT_AC_LANG_GCJ # AC_LIBTOOL_RC # ------------- # enable support for Windows resource files AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) ])# AC_LIBTOOL_RC # AC_LIBTOOL_LANG_C_CONFIG # ------------------------ # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_C_CONFIG # AC_LIBTOOL_LANG_CXX_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Dependencies to place before and after the object being linked: _LT_AC_TAGVAR(predep_objects, $1)= _LT_AC_TAGVAR(postdep_objects, $1)= _LT_AC_TAGVAR(predeps, $1)= _LT_AC_TAGVAR(postdeps, $1)= _LT_AC_TAGVAR(compiler_lib_search_path, $1)= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration AC_PROG_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_AC_TAGVAR(GCC, $1)="$GXX" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_POSTDEP_PREDEP($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])# AC_LIBTOOL_LANG_CXX_CONFIG # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) # ------------------------------------ # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_AC_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac ])# AC_LIBTOOL_POSTDEP_PREDEP # AC_LIBTOOL_LANG_F77_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) AC_DEFUN([_LT_AC_LANG_F77_CONFIG], [AC_REQUIRE([AC_PROG_F77]) AC_LANG_PUSH(Fortran 77) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_AC_TAGVAR(GCC, $1)="$G77" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_F77_CONFIG # AC_LIBTOOL_LANG_GCJ_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], [AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_RESTORE CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_GCJ_CONFIG # AC_LIBTOOL_LANG_RC_CONFIG # ------------------------- # Ensure that the configuration vars for the Windows resource compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) AC_DEFUN([_LT_AC_LANG_RC_CONFIG], [AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes AC_LIBTOOL_CONFIG($1) AC_LANG_RESTORE CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_RC_CONFIG # AC_LIBTOOL_CONFIG([TAGNAME]) # ---------------------------- # If TAGNAME is not passed, then create an initial libtool script # with a default configuration from the untagged config vars. Otherwise # add code to config.status for appending the configuration named by # TAGNAME from the matching tagged config vars. AC_DEFUN([AC_LIBTOOL_CONFIG], [# The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ _LT_AC_TAGVAR(compiler, $1) \ _LT_AC_TAGVAR(CC, $1) \ _LT_AC_TAGVAR(LD, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ _LT_AC_TAGVAR(old_archive_cmds, $1) \ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ _LT_AC_TAGVAR(predep_objects, $1) \ _LT_AC_TAGVAR(postdep_objects, $1) \ _LT_AC_TAGVAR(predeps, $1) \ _LT_AC_TAGVAR(postdeps, $1) \ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ _LT_AC_TAGVAR(archive_cmds, $1) \ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ _LT_AC_TAGVAR(postinstall_cmds, $1) \ _LT_AC_TAGVAR(postuninstall_cmds, $1) \ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ _LT_AC_TAGVAR(allow_undefined_flag, $1) \ _LT_AC_TAGVAR(no_undefined_flag, $1) \ _LT_AC_TAGVAR(export_symbols_cmds, $1) \ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ _LT_AC_TAGVAR(hardcode_automatic, $1) \ _LT_AC_TAGVAR(module_cmds, $1) \ _LT_AC_TAGVAR(module_expsym_cmds, $1) \ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ _LT_AC_TAGVAR(fix_srcfile_path, $1) \ _LT_AC_TAGVAR(exclude_expsyms, $1) \ _LT_AC_TAGVAR(include_expsyms, $1); do case $var in _LT_AC_TAGVAR(old_archive_cmds, $1) | \ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ _LT_AC_TAGVAR(archive_cmds, $1) | \ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ _LT_AC_TAGVAR(module_cmds, $1) | \ _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\[$]0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` ;; esac ifelse([$1], [], [cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" AC_MSG_NOTICE([creating $ofile])], [cfgfile="$ofile"]) cat <<__EOF__ >> "$cfgfile" ifelse([$1], [], [#! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD, $1) # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ ifelse([$1],[], [ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ]) else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ])# AC_LIBTOOL_CONFIG # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # --------------------------------- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([LT_AC_PROG_SED]) AC_REQUIRE([AC_PROG_NM]) AC_REQUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux* | k*bsd*-gnu) if test "$host_cpu" = ia64; then symcode='[[ABCDGIRSTW]]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) # --------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) ifelse([$1],[CXX],[ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; icpc* | ecpc*) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC*) # Portland Group C++ compiler. _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; vxworks*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; newsos6) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" ;; esac # # Check to make sure the static flag actually works. # wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) ]) # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) # ------------------------------------ # See if the linker supports building shared libraries. AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_REQUIRE([LT_AC_PROG_SED])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ],[ runpath_var= _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)= _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_AC_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. _LT_CC_BASENAME([$compiler]) case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_AC_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; interix[[3-9]]*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi _LT_AC_TAGVAR(link_all_deplibs, $1)=no else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=yes _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # see comment about different semantics on the GNU ld section _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; bsdi[[45]]*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' if test "$GCC" = yes; then wlarc='${wl}' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_AC_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_AC_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) _LT_AC_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac ])# AC_LIBTOOL_PROG_LD_SHLIBS # _LT_AC_FILE_LTDLL_C # ------------------- # Be careful that the start marker always follows a newline. AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ ])# _LT_AC_FILE_LTDLL_C # _LT_AC_TAGVAR(VARNAME, [TAGNAME]) # --------------------------------- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS) ]) AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no) ]) # Cheap backport of AS_EXECUTABLE_P and required macros # from Autoconf 2.59; we should not use $as_executable_p directly. # _AS_TEST_PREPARE # ---------------- m4_ifndef([_AS_TEST_PREPARE], [m4_defun([_AS_TEST_PREPARE], [if test -x / >/dev/null 2>&1; then as_executable_p='test -x' else as_executable_p='test -f' fi ])])# _AS_TEST_PREPARE # AS_EXECUTABLE_P # --------------- # Check whether a file is executable. m4_ifndef([AS_EXECUTABLE_P], [m4_defun([AS_EXECUTABLE_P], [AS_REQUIRE([_AS_TEST_PREPARE])dnl $as_executable_p $1[]dnl ])])# AS_EXECUTABLE_P # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # # LT_AC_PROG_SED # -------------- # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ]) # 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` ]) # 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])]) # 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 pidgin-guifications-2.16/configure0000755000175000017500000273507210731356740014254 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for pidgin-guifications 2.16. # # Report bugs to . # # 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 more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # 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 # 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 /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 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 : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF 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 : (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 if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # 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'" # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 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='pidgin-guifications' PACKAGE_TARNAME='pidgin-guifications' PACKAGE_VERSION='2.16' PACKAGE_STRING='pidgin-guifications 2.16' PACKAGE_BUGREPORT='guifications-devel@lists.guifications.org' # 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 sedpath PKG_CONFIG 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 SED GREP EGREP LN_S ECHO AR RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_POLICY_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL ALL_LINGUAS DATADIRNAME GETTEXT_PACKAGE USE_NLS MSGFMT MSGFMT_OPTS GMSGFMT XGETTEXT CATALOGS CATOBJEXT GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS DEBUG_CFLAGS PIDGIN_CFLAGS PIDGIN_LIBS PURPLE_CFLAGS PURPLE_LIBS PIDGIN_LIBDIR PIDGIN_DATADIR GLIB_CFLAGS GLIB_LIBS GTK_CFLAGS GTK_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PLUGINS_TRUE PLUGINS_FALSE LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias PKG_CONFIG CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP CXX CXXFLAGS CCC CXXCPP F77 FFLAGS PIDGIN_CFLAGS PIDGIN_LIBS GLIB_CFLAGS GLIB_LIBS GTK_CFLAGS GTK_LIBS PANGOFT2_CFLAGS PANGOFT2_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 pidgin-guifications 2.16 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/pidgin-guifications] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of pidgin-guifications 2.16:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-libtool-lock avoid locking (might break parallel builds) --enable-debug compile with debugging support --disable-deprecated compile without deprecated API usage Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] Some influential environment variables: PKG_CONFIG path to pkg-config utility CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags PIDGIN_CFLAGS C compiler flags for PIDGIN, overriding pkg-config PIDGIN_LIBS linker flags for PIDGIN, overriding pkg-config GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config PANGOFT2_CFLAGS C compiler flags for PANGOFT2, overriding pkg-config PANGOFT2_LIBS linker flags for PANGOFT2, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _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 pidgin-guifications configure 2.16 generated by GNU Autoconf 2.61 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 pidgin-guifications $as_me 2.16, which was generated by GNU Autoconf 2.61. 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 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. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 echo "$as_me: error: invalid value of canonical target" >&2;} { (exit 1); exit 1; }; };; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- ac_config_headers="$ac_config_headers pre_config.h" am__api_version="1.9" # 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_test_x "$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_test_x "$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='pidgin-guifications' VERSION='2.16' 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_test_x "$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_test_x "$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 -' # Extract the first word of "sed", so it can be a program name with args. set dummy sed; 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_sedpath+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $sedpath in [\\/]* | ?:[\\/]*) ac_cv_path_sedpath="$sedpath" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_sedpath="$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 sedpath=$ac_cv_path_sedpath if test -n "$sedpath"; then { echo "$as_me:$LINENO: result: $sedpath" >&5 echo "${ECHO_T}$sedpath" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=no fi CXX=no F77=no GCJ=no 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_test_x "$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_test_x "$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 # # Setup libtool # # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi 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_test_x "$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_test_x "$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_test_x "$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_test_x "$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_test_x "$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_test_x "$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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done fi SED=$lt_cv_path_SED { echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6; } { 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_test_x "$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_test_x "$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" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6; } NM="$lt_cv_path_NM" { echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6; } fi { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 4600 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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 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 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) LD="${LD-ld} -64" ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" 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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 # 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 dlfcn.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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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;} ( cat <<\_ASBOX ## -------------------------------------------------------- ## ## Report this to guifications-devel@lists.guifications.org ## ## -------------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { 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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$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 CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$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_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" 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 CXX=$ac_ct_CXX fi fi fi fi # 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_cxx_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); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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_cxx_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-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); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CXXFLAGS="" 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); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-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); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_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_cxx_werror_flag=$ac_save_cxx_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CXX" 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_CXX_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_CXX_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_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_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; } if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_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 && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.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 && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.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_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi { echo "$as_me:$LINENO: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_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 && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.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 && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.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 \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 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_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$F77"; then ac_cv_prog_F77="$F77" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_F77="$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 F77=$ac_cv_prog_F77 if test -n "$F77"; then { echo "$as_me:$LINENO: result: $F77" >&5 echo "${ECHO_T}$F77" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$F77" && break done fi if test -z "$F77"; then ac_ct_F77=$F77 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 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_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_F77"; then ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_F77="$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_F77=$ac_cv_prog_ac_ct_F77 if test -n "$ac_ct_F77"; then { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 echo "${ECHO_T}$ac_ct_F77" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_F77" && break done if test "x$ac_ct_F77" = x; then F77="" 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 F77=$ac_ct_F77 fi fi # Provide some information about the compiler. echo "$as_me:$LINENO: checking for Fortran 77 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); } rm -f a.out # If we don't use `.F' as extension, the preprocessor is not run on the # input file. (Note that this only needs to work for GNU compilers.) ac_save_ext=$ac_ext ac_ext=F { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF program main #ifndef __GNUC__ choke me #endif end _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); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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_f77_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } ac_ext=$ac_save_ext ac_test_FFLAGS=${FFLAGS+set} ac_save_FFLAGS=$FFLAGS FFLAGS= { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_f77_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else FFLAGS=-g cat >conftest.$ac_ext <<_ACEOF program main end _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); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_f77_g=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } if test "$ac_test_FFLAGS" = set; then FFLAGS=$ac_save_FFLAGS elif test $ac_cv_prog_f77_g = yes; then if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-g -O2" else FFLAGS="-g" fi else if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-O2" else FFLAGS= fi fi G77=`test $ac_compiler_gnu = yes && echo yes` 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 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } else { echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6; } fi # Check for command to grab the raw symbol name followed by C symbol from nm. { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux* | k*bsd*-gnu) if test "$host_cpu" = ia64; then symcode='[ABCDGIRSTW]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6; } else { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } fi { echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; 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_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" 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_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="false" 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 AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; 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_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" 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_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" 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 RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi 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_test_x "$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_test_x "$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 old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Check whether --with-pic was given. if test "${with_pic+set}" = set; then withval=$with_pic; pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= lt_save_CC="$CC" 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 # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7343: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7347: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic='-qnocommon' lt_prog_compiler_wl='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7633: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:7637: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } if test x"$lt_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works=yes fi else lt_prog_compiler_static_works=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } if test x"$lt_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:7737: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:7741: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag= enable_shared_with_static_runtimes=no archive_cmds= archive_expsym_cmds= old_archive_From_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported link_all_deplibs=unknown hardcode_automatic=no module_cmds= module_expsym_cmds= always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs=no else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an empty executable. 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 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. 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 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs=no ;; esac fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld='-rpath $libdir' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` else lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`echo $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var" || \ test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6; } if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { 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; } fi ;; *) { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $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 dlopen (); int main () { return dlopen (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) { echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } if test "${ac_cv_func_shl_load+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 shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* 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 shl_load (); /* 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_shl_load || defined __stub___shl_load choke me #endif int main () { return shl_load (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=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_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $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 shl_load (); int main () { return shl_load (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else { echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } if test "${ac_cv_func_dlopen+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 dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* 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 dlopen (); /* 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_dlopen || defined __stub___dlopen choke me #endif int main () { return dlopen (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=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_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $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 dlopen (); int main () { return dlopen (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $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 dlopen (); int main () { return dlopen (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=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_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $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 dld_link (); int main () { return dld_link (); ; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # Report which library types will actually be built { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6; } # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler \ CC \ LD \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_prog_compiler_no_builtin_flag \ export_dynamic_flag_spec \ thread_safe_flag_spec \ whole_archive_flag_spec \ enable_shared_with_static_runtimes \ old_archive_cmds \ old_archive_from_new_cmds \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ archive_cmds \ archive_expsym_cmds \ postinstall_cmds \ postuninstall_cmds \ old_archive_from_expsyms_cmds \ allow_undefined_flag \ no_undefined_flag \ export_symbols_cmds \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ hardcode_automatic \ module_cmds \ module_expsym_cmds \ lt_cv_prog_compiler_c_o \ fix_srcfile_path \ exclude_expsyms \ include_expsyms; do case $var in old_archive_cmds | \ old_archive_from_new_cmds | \ archive_cmds | \ archive_expsym_cmds | \ module_cmds | \ module_expsym_cmds | \ old_archive_from_expsyms_cmds | \ export_symbols_cmds | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" { echo "$as_me:$LINENO: creating $ofile" >&5 echo "$as_me: creating $ofile" >&6;} cat <<__EOF__ >> "$cfgfile" #! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler # Is the compiler the GNU C compiler? with_gcc=$GCC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" # Check whether --with-tags was given. if test "${with_tags+set}" = set; then withval=$with_tags; tagnames="$withval" fi if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} else { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in "") ;; *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 echo "$as_me: error: invalid tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} { (exit 1); exit 1; }; } fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_shlibpath_var_CXX=unsupported hardcode_automatic_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty executable. 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 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); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. 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 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); } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX='$convenience' archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_CXX=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_CXX=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_CXX=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_CXX=no hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported whole_archive_flag_spec_CXX='' link_all_deplibs_CXX=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_CXX=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; gnu*) ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: case $host_cpu in hppa*64*|ia64*) ;; *) export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; *) hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; interix[3-9]*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac archive_cmds_need_lc_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' hardcode_libdir_flag_spec_CXX='-R$libdir' whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken ld_shlibs_CXX=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' else ld_shlibs_CXX=no fi ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs_CXX=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_CXX='${wl}-z,text' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. no_undefined_flag_CXX='${wl}-z,text' allow_undefined_flag_CXX='${wl}-z,nodefs' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes export_dynamic_flag_spec_CXX='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no # The `*' in the case matches for architectures that use `case' in # $output_verbose_cmd can trigger glob expansion during the loop # eval without this substitution. output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` for p in `eval $output_verbose_link_cmd`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" \ || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $rm -f confest.$objext # PORTME: override above test on systems where it is broken case $host_os in interix[3-9]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. predep_objects_CXX= postdep_objects_CXX= postdeps_CXX= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then postdeps_CXX='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then postdeps_CXX='-library=Cstd -library=Crun' fi ;; esac ;; esac case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_CXX='-qnocommon' lt_prog_compiler_wl_CXX='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; icpc* | ecpc*) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; pgCC*) # Portland Group C++ compiler. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fpic' lt_prog_compiler_static_CXX='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx*) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc*) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' ;; esac ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:12619: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:12623: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_CXX=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_CXX=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_CXX=yes fi else lt_prog_compiler_static_works_CXX=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } if test x"$lt_prog_compiler_static_works_CXX" = xyes; then : else lt_prog_compiler_static_CXX= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_CXX=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:12723: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:12727: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) link_all_deplibs_CXX=no ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX pic_flag=$lt_prog_compiler_pic_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_CXX=no else archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ test -n "$runpath_var_CXX" || \ test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 echo "${ECHO_T}$hardcode_action_CXX" >&6; } if test "$hardcode_action_CXX" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_CXX \ CC_CXX \ LD_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ export_dynamic_flag_spec_CXX \ thread_safe_flag_spec_CXX \ whole_archive_flag_spec_CXX \ enable_shared_with_static_runtimes_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ postinstall_cmds_CXX \ postuninstall_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ export_symbols_cmds_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ hardcode_automatic_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ lt_cv_prog_compiler_c_o_CXX \ fix_srcfile_path_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX; do case $var in old_archive_cmds_CXX | \ old_archive_from_new_cmds_CXX | \ archive_cmds_CXX | \ archive_expsym_cmds_CXX | \ module_cmds_CXX | \ module_expsym_cmds_CXX | \ old_archive_from_expsyms_cmds_CXX | \ export_symbols_cmds_CXX | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_CXX # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_CXX old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_CXX # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_CXX # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu archive_cmds_need_lc_F77=no allow_undefined_flag_F77= always_export_symbols_F77=no archive_expsym_cmds_F77= export_dynamic_flag_spec_F77= hardcode_direct_F77=no hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_minus_L_F77=no hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= link_all_deplibs_F77=unknown old_archive_cmds_F77=$old_archive_cmds no_undefined_flag_F77= whole_archive_flag_spec_F77= enable_shared_with_static_runtimes_F77=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o objext_F77=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC compiler_F77=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6; } GCC_F77="$G77" LD_F77="$LD" lt_prog_compiler_wl_F77= lt_prog_compiler_pic_F77= lt_prog_compiler_static_F77= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_static_F77='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_F77='-fno-common' ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_F77=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_F77=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_F77='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' else lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_F77='-qnocommon' lt_prog_compiler_wl_F77='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_F77='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_F77='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_F77='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_F77='-non_shared' ;; newsos6) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-fpic' lt_prog_compiler_static_F77='-Bstatic' ;; ccc*) lt_prog_compiler_wl_F77='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' lt_prog_compiler_wl_F77='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' lt_prog_compiler_wl_F77='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_F77='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; rdos*) lt_prog_compiler_static_F77='-non_shared' ;; solaris*) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_F77='-Qoption ld ';; *) lt_prog_compiler_wl_F77='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_F77='-Qoption ld ' lt_prog_compiler_pic_F77='-PIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_F77='-Kconform_pic' lt_prog_compiler_static_F77='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; unicos*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_can_build_shared_F77=no ;; uts4*) lt_prog_compiler_pic_F77='-pic' lt_prog_compiler_static_F77='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_F77=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_F77"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_F77=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_F77" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14300: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:14304: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_F77=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } if test x"$lt_prog_compiler_pic_works_F77" = xyes; then case $lt_prog_compiler_pic_F77 in "" | " "*) ;; *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; esac else lt_prog_compiler_pic_F77= lt_prog_compiler_can_build_shared_F77=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_F77= ;; *) lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_F77=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_F77=yes fi else lt_prog_compiler_static_works_F77=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } if test x"$lt_prog_compiler_static_works_F77" = xyes; then : else lt_prog_compiler_static_F77= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_F77=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:14404: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:14408: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_F77=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag_F77= enable_shared_with_static_runtimes_F77=no archive_cmds_F77= archive_expsym_cmds_F77= old_archive_From_new_cmds_F77= old_archive_from_expsyms_cmds_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= thread_safe_flag_spec_F77= hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_direct_F77=no hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=unsupported link_all_deplibs_F77=unknown hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= always_export_symbols_F77=no export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_F77= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_F77=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_F77='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_F77= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_F77=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_F77=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_F77=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_F77=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_F77='-L$libdir' allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_F77=no fi ;; interix[3-9]*) hardcode_direct_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_F77=no else ld_shlibs_F77=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_F77=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_F77=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac ;; sunos4*) archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac if test "$ld_shlibs_F77" = no; then runpath_var= hardcode_libdir_flag_spec_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_F77=unsupported always_export_symbols_F77=yes archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_F77=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_F77=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_F77='' hardcode_direct_F77=yes hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_F77=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_F77=yes hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_libdir_separator_F77= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_F77=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_F77='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _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); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_F77="-z nodefs" archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _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); } && { test -z "$ac_f77_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_F77=' ${wl}-bernotok' allow_undefined_flag_F77=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_F77='$convenience' archive_cmds_need_lc_F77=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # see comment about different semantics on the GNU ld section ld_shlibs_F77=no ;; bsdi[45]*) export_dynamic_flag_spec_F77=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_F77=' ' allow_undefined_flag_F77=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_F77='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_F77=no hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported whole_archive_flag_spec_F77='' link_all_deplibs_F77=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_F77=no ;; esac fi ;; dgux*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; freebsd1*) ld_shlibs_F77=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes export_dynamic_flag_spec_F77='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_F77='+b $libdir' hardcode_direct_F77=no hardcode_shlibpath_var_F77=no ;; *) hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: link_all_deplibs_F77=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; newsos6) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_shlibpath_var_F77=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-R$libdir' ;; *) archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs_F77=no fi ;; os2*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes allow_undefined_flag_F77=unsupported archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_F77='-rpath $libdir' fi hardcode_libdir_separator_F77=: ;; solaris*) no_undefined_flag_F77=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_shlibpath_var_F77=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs_F77=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; sysv4) case $host_vendor in sni) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_F77='$CC -r -o $output$reload_objs' hardcode_direct_F77=no ;; motorola) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv4.3*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_F77=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_F77='${wl}-z,text' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_F77='${wl}-z,text' allow_undefined_flag_F77='${wl}-z,nodefs' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes export_dynamic_flag_spec_F77='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; *) ld_shlibs_F77=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 echo "${ECHO_T}$ld_shlibs_F77" >&6; } test "$ld_shlibs_F77" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_F77" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_F77=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_F77 in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_F77 pic_flag=$lt_prog_compiler_pic_F77 compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_F77 allow_undefined_flag_F77= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_F77=no else archive_cmds_need_lc_F77=yes fi allow_undefined_flag_F77=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ test -n "$runpath_var_F77" || \ test "X$hardcode_automatic_F77" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && test "$hardcode_minus_L_F77" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_F77=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_F77=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_F77=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 echo "${ECHO_T}$hardcode_action_F77" >&6; } if test "$hardcode_action_F77" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_F77 \ CC_F77 \ LD_F77 \ lt_prog_compiler_wl_F77 \ lt_prog_compiler_pic_F77 \ lt_prog_compiler_static_F77 \ lt_prog_compiler_no_builtin_flag_F77 \ export_dynamic_flag_spec_F77 \ thread_safe_flag_spec_F77 \ whole_archive_flag_spec_F77 \ enable_shared_with_static_runtimes_F77 \ old_archive_cmds_F77 \ old_archive_from_new_cmds_F77 \ predep_objects_F77 \ postdep_objects_F77 \ predeps_F77 \ postdeps_F77 \ compiler_lib_search_path_F77 \ archive_cmds_F77 \ archive_expsym_cmds_F77 \ postinstall_cmds_F77 \ postuninstall_cmds_F77 \ old_archive_from_expsyms_cmds_F77 \ allow_undefined_flag_F77 \ no_undefined_flag_F77 \ export_symbols_cmds_F77 \ hardcode_libdir_flag_spec_F77 \ hardcode_libdir_flag_spec_ld_F77 \ hardcode_libdir_separator_F77 \ hardcode_automatic_F77 \ module_cmds_F77 \ module_expsym_cmds_F77 \ lt_cv_prog_compiler_c_o_F77 \ fix_srcfile_path_F77 \ exclude_expsyms_F77 \ include_expsyms_F77; do case $var in old_archive_cmds_F77 | \ old_archive_from_new_cmds_F77 | \ archive_cmds_F77 | \ archive_expsym_cmds_F77 | \ module_cmds_F77 | \ module_expsym_cmds_F77 | \ old_archive_from_expsyms_cmds_F77 | \ export_symbols_cmds_F77 | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_F77 # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_F77 # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_F77 # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_F77 # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_F77 pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_F77 # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_F77 old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_F77 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_F77 module_expsym_cmds=$lt_module_expsym_cmds_F77 # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_F77 # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_F77 # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_F77 # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_F77 # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_F77 # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_F77 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_F77 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_F77 # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_F77 # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_F77 # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_F77 # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_F77 # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o objext_GCJ=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC compiler_GCJ=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # GCJ did not exist at the time GCC didn't implicitly link libc in. archive_cmds_need_lc_GCJ=no old_archive_cmds_GCJ=$old_archive_cmds lt_prog_compiler_no_builtin_flag_GCJ= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16604: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16608: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl_GCJ= lt_prog_compiler_pic_GCJ= lt_prog_compiler_static_GCJ= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_static_GCJ='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_GCJ='-fno-common' ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_GCJ=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' else lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_GCJ='-qnocommon' lt_prog_compiler_wl_GCJ='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_GCJ='-non_shared' ;; newsos6) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-fpic' lt_prog_compiler_static_GCJ='-Bstatic' ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' lt_prog_compiler_wl_GCJ='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' lt_prog_compiler_wl_GCJ='' ;; esac ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; rdos*) lt_prog_compiler_static_GCJ='-non_shared' ;; solaris*) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_GCJ='-Qoption ld ';; *) lt_prog_compiler_wl_GCJ='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_GCJ='-Qoption ld ' lt_prog_compiler_pic_GCJ='-PIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_GCJ='-Kconform_pic' lt_prog_compiler_static_GCJ='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; unicos*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_can_build_shared_GCJ=no ;; uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_GCJ"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_GCJ=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_GCJ" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16894: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:16898: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_GCJ=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then case $lt_prog_compiler_pic_GCJ in "" | " "*) ;; *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; esac else lt_prog_compiler_pic_GCJ= lt_prog_compiler_can_build_shared_GCJ=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_GCJ= ;; *) lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_GCJ=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_GCJ=yes fi else lt_prog_compiler_static_works_GCJ=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then : else lt_prog_compiler_static_GCJ= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_GCJ=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:16998: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:17002: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_GCJ=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag_GCJ= enable_shared_with_static_runtimes_GCJ=no archive_cmds_GCJ= archive_expsym_cmds_GCJ= old_archive_From_new_cmds_GCJ= old_archive_from_expsyms_cmds_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= thread_safe_flag_spec_GCJ= hardcode_libdir_flag_spec_GCJ= hardcode_libdir_flag_spec_ld_GCJ= hardcode_libdir_separator_GCJ= hardcode_direct_GCJ=no hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=unsupported link_all_deplibs_GCJ=unknown hardcode_automatic_GCJ=no module_cmds_GCJ= module_expsym_cmds_GCJ= always_export_symbols_GCJ=no export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_GCJ= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_GCJ=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_GCJ= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_GCJ=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_GCJ=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_GCJ=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_GCJ=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_GCJ='-L$libdir' allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_GCJ=no fi ;; interix[3-9]*) hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; *) tmp_sharedflag='-shared' ;; esac archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_GCJ=no else ld_shlibs_GCJ=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_GCJ=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_GCJ=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac ;; sunos4*) archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac if test "$ld_shlibs_GCJ" = no; then runpath_var= hardcode_libdir_flag_spec_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=yes archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_GCJ=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_GCJ=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_GCJ='' hardcode_direct_GCJ=yes hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_GCJ=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_GCJ=yes hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_libdir_separator_GCJ= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_GCJ=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_GCJ='-berok' # Determine the default libpath from the value encoded in an empty executable. 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 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_GCJ="-z nodefs" archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. 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 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi 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 conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_GCJ=' ${wl}-bernotok' allow_undefined_flag_GCJ=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_GCJ='$convenience' archive_cmds_need_lc_GCJ=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # see comment about different semantics on the GNU ld section ld_shlibs_GCJ=no ;; bsdi[45]*) export_dynamic_flag_spec_GCJ=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_GCJ=' ' allow_undefined_flag_GCJ=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_GCJ=no hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported whole_archive_flag_spec_GCJ='' link_all_deplibs_GCJ=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_GCJ=no ;; esac fi ;; dgux*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; freebsd1*) ld_shlibs_GCJ=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no ;; *) hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: link_all_deplibs_GCJ=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; newsos6) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_shlibpath_var_GCJ=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' ;; *) archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs_GCJ=no fi ;; os2*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes allow_undefined_flag_GCJ=unsupported archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_GCJ='-rpath $libdir' fi hardcode_libdir_separator_GCJ=: ;; solaris*) no_undefined_flag_GCJ=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_shlibpath_var_GCJ=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs_GCJ=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; sysv4) case $host_vendor in sni) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_GCJ='$CC -r -o $output$reload_objs' hardcode_direct_GCJ=no ;; motorola) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv4.3*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_GCJ=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_GCJ='${wl}-z,text' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_GCJ='${wl}-z,text' allow_undefined_flag_GCJ='${wl}-z,nodefs' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; *) ld_shlibs_GCJ=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } test "$ld_shlibs_GCJ" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_GCJ" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_GCJ=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_GCJ in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_GCJ pic_flag=$lt_prog_compiler_pic_GCJ compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ allow_undefined_flag_GCJ= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_GCJ=no else archive_cmds_need_lc_GCJ=yes fi allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ test -n "$runpath_var_GCJ" || \ test "X$hardcode_automatic_GCJ" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_GCJ=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 echo "${ECHO_T}$hardcode_action_GCJ" >&6; } if test "$hardcode_action_GCJ" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_GCJ \ CC_GCJ \ LD_GCJ \ lt_prog_compiler_wl_GCJ \ lt_prog_compiler_pic_GCJ \ lt_prog_compiler_static_GCJ \ lt_prog_compiler_no_builtin_flag_GCJ \ export_dynamic_flag_spec_GCJ \ thread_safe_flag_spec_GCJ \ whole_archive_flag_spec_GCJ \ enable_shared_with_static_runtimes_GCJ \ old_archive_cmds_GCJ \ old_archive_from_new_cmds_GCJ \ predep_objects_GCJ \ postdep_objects_GCJ \ predeps_GCJ \ postdeps_GCJ \ compiler_lib_search_path_GCJ \ archive_cmds_GCJ \ archive_expsym_cmds_GCJ \ postinstall_cmds_GCJ \ postuninstall_cmds_GCJ \ old_archive_from_expsyms_cmds_GCJ \ allow_undefined_flag_GCJ \ no_undefined_flag_GCJ \ export_symbols_cmds_GCJ \ hardcode_libdir_flag_spec_GCJ \ hardcode_libdir_flag_spec_ld_GCJ \ hardcode_libdir_separator_GCJ \ hardcode_automatic_GCJ \ module_cmds_GCJ \ module_expsym_cmds_GCJ \ lt_cv_prog_compiler_c_o_GCJ \ fix_srcfile_path_GCJ \ exclude_expsyms_GCJ \ include_expsyms_GCJ; do case $var in old_archive_cmds_GCJ | \ old_archive_from_new_cmds_GCJ | \ archive_cmds_GCJ | \ archive_expsym_cmds_GCJ | \ module_cmds_GCJ | \ module_expsym_cmds_GCJ | \ old_archive_from_expsyms_cmds_GCJ | \ export_symbols_cmds_GCJ | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_GCJ # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_GCJ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_GCJ # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_GCJ # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_GCJ pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_GCJ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_GCJ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_GCJ archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_GCJ module_expsym_cmds=$lt_module_expsym_cmds_GCJ # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_GCJ # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_GCJ # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_GCJ # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_GCJ # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_GCJ # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_GCJ # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_GCJ # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_GCJ # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_GCJ # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_GCJ # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_GCJ # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" else tagname="" fi ;; RC) # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o objext_RC=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC compiler_RC=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` lt_cv_prog_compiler_c_o_RC=yes # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_RC \ CC_RC \ LD_RC \ lt_prog_compiler_wl_RC \ lt_prog_compiler_pic_RC \ lt_prog_compiler_static_RC \ lt_prog_compiler_no_builtin_flag_RC \ export_dynamic_flag_spec_RC \ thread_safe_flag_spec_RC \ whole_archive_flag_spec_RC \ enable_shared_with_static_runtimes_RC \ old_archive_cmds_RC \ old_archive_from_new_cmds_RC \ predep_objects_RC \ postdep_objects_RC \ predeps_RC \ postdeps_RC \ compiler_lib_search_path_RC \ archive_cmds_RC \ archive_expsym_cmds_RC \ postinstall_cmds_RC \ postuninstall_cmds_RC \ old_archive_from_expsyms_cmds_RC \ allow_undefined_flag_RC \ no_undefined_flag_RC \ export_symbols_cmds_RC \ hardcode_libdir_flag_spec_RC \ hardcode_libdir_flag_spec_ld_RC \ hardcode_libdir_separator_RC \ hardcode_automatic_RC \ module_cmds_RC \ module_expsym_cmds_RC \ lt_cv_prog_compiler_c_o_RC \ fix_srcfile_path_RC \ exclude_expsyms_RC \ include_expsyms_RC; do case $var in old_archive_cmds_RC | \ old_archive_from_new_cmds_RC | \ archive_cmds_RC | \ archive_expsym_cmds_RC | \ module_cmds_RC | \ module_expsym_cmds_RC | \ old_archive_from_expsyms_cmds_RC | \ export_symbols_cmds_RC | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_RC # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_RC # Is the compiler the GNU C compiler? with_gcc=$GCC_RC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_RC archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_RC module_expsym_cmds=$lt_module_expsym_cmds_RC # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_RC # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_RC # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_RC # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi 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 CC="$lt_save_CC" ;; *) { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} { (exit 1); exit 1; }; } fi fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion LIBTOOL="$LIBTOOL --silent" # # I'm lazy and figured config.h is the best place for this ;) # cat >>confdefs.h <<_ACEOF #define GF_WEBSITE "http://pidgin.guifications.org" _ACEOF # # Our header # # # Good o' gettext # case "$am__api_version" in 1.01234) { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} { (exit 1); exit 1; }; } ;; *) ;; esac if test -n ""; then { echo "$as_me:$LINENO: checking for intltool >= " >&5 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; } INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;} { (exit 1); exit 1; }; } fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Use the tools built into the package, not the ones that are installed. INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' INTLTOOL_MERGE='$(top_builddir)/intltool-merge' INTLTOOL_UPDATE='$(top_builddir)/intltool-update' # Extract the first word of "perl", so it can be a program name with args. set dummy perl; 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_INTLTOOL_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # 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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$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 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 echo "${ECHO_T}$INTLTOOL_PERL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$INTLTOOL_PERL"; then { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 echo "$as_me: error: perl not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 echo "$as_me: error: perl 5.x required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test "x" != "xno-xml"; then { echo "$as_me:$LINENO: checking for XML::Parser" >&5 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } else { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} { (exit 1); exit 1; }; } fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_config_commands="$ac_config_commands intltool" GETTEXT_PACKAGE=guifications cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF ALL_LINGUAS="bn cs de en_AU en_GB es fr gl he hu it ja mk nl no pt pt_BR ru sk sr sr@Latn sv uk zh_CN zh_TW" 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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;} ( cat <<\_ASBOX ## -------------------------------------------------------- ## ## Report this to guifications-devel@lists.guifications.org ## ## -------------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.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;} ( cat <<\_ASBOX ## -------------------------------------------------------- ## ## Report this to guifications-devel@lists.guifications.org ## ## -------------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { echo "$as_me:$LINENO: checking for 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 MSGFMT_OPTS= { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then MSGFMT_OPTS=-c; { 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; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # 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_test_x "$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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; 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 # # Look for the C compiler # CFLAGS_save="$CFLAGS" case $ac_cv_prog_cc_stdc in no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c99+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c99=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 #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str; int number; float fnumber; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; } _ACEOF for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c99=$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_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c99" 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_c99" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; esac if test "x$ac_cv_prog_cc_c99" != xno; then ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 else { 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); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; 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 if test "x$ac_cv_prog_cc_c89" != xno; then ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 else ac_cv_prog_cc_stdc=no fi fi ;; esac { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi case $ac_cv_prog_cc_stdc in no) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; '') { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; esac CFLAGS="$CFLAGS_save" # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then enableval=$enable_debug; else enable_debug=no fi # Check whether --enable-deprecated was given. if test "${enable_deprecated+set}" = set; then enableval=$enable_deprecated; else enable_deprecated=yes fi if test "x$enable_debug" = "xyes" ; then cat >>confdefs.h <<\_ACEOF #define DEBUG 1 _ACEOF fi if test "x$enable_deprecated" = no; then DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED" fi if test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS -Wall -g3" fi # # Check for pidgin # pkg_failed=no { echo "$as_me:$LINENO: checking for PIDGIN" >&5 echo $ECHO_N "checking for PIDGIN... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PIDGIN_CFLAGS"; then pkg_cv_PIDGIN_CFLAGS="$PIDGIN_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pidgin purple\"") >&5 ($PKG_CONFIG --exists --print-errors "pidgin purple") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PIDGIN_CFLAGS=`$PKG_CONFIG --cflags "pidgin purple" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PIDGIN_LIBS"; then pkg_cv_PIDGIN_LIBS="$PIDGIN_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pidgin purple\"") >&5 ($PKG_CONFIG --exists --print-errors "pidgin purple") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PIDGIN_LIBS=`$PKG_CONFIG --libs "pidgin purple" 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 PIDGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pidgin purple"` else PIDGIN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pidgin purple"` fi # Put the nasty error message in config.log where it belongs echo "$PIDGIN_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (pidgin purple) were not met: $PIDGIN_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 PIDGIN_CFLAGS and PIDGIN_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 (pidgin purple) were not met: $PIDGIN_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 PIDGIN_CFLAGS and PIDGIN_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 PIDGIN_CFLAGS and PIDGIN_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 PIDGIN_CFLAGS and PIDGIN_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 PIDGIN_CFLAGS=$pkg_cv_PIDGIN_CFLAGS PIDGIN_LIBS=$pkg_cv_PIDGIN_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi if test x"$prefix" = x"NONE" ; then PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin` PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin` else PIDGIN_LIBDIR="$libdir" PIDGIN_DATADIR="$datadir" fi # # check for gtk and other dependencies # pkg_failed=no { echo "$as_me:$LINENO: checking for GLIB" >&5 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.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 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` else GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: $GLIB_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 GLIB_CFLAGS and GLIB_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 (glib-2.0) were not met: $GLIB_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 GLIB_CFLAGS and GLIB_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 GLIB_CFLAGS and GLIB_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 GLIB_CFLAGS and GLIB_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 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi pkg_failed=no { echo "$as_me:$LINENO: checking for GTK" >&5 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.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 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"` else GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (gtk+-2.0) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&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 GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&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 GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi # # check for freetype 2 # pkg_failed=no { echo "$as_me:$LINENO: checking for PANGOFT2" >&5 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGOFT2_CFLAGS"; then pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2 >= 1.1.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$PANGOFT2_LIBS"; then pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2 >= 1.1.0\"") >&5 ($PKG_CONFIG --exists --print-errors "pangoft2 >= 1.1.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2 >= 1.1.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 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2 >= 1.1.0"` else PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2 >= 1.1.0"` fi # Put the nasty error message in config.log where it belongs echo "$PANGOFT2_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (pangoft2 >= 1.1.0) were not met: $PANGOFT2_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 PANGOFT2_CFLAGS and PANGOFT2_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 (pangoft2 >= 1.1.0) were not met: $PANGOFT2_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 PANGOFT2_CFLAGS and PANGOFT2_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 PANGOFT2_CFLAGS and PANGOFT2_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 PANGOFT2_CFLAGS and PANGOFT2_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 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } cat >>confdefs.h <<\_ACEOF #define HAVE_PANGOFT2 1 _ACEOF fi # # Check if plugins are enabled # want_plugins=yes if test "$want_plugins" = "yes"; then PLUGINS_TRUE= PLUGINS_FALSE='#' else PLUGINS_TRUE='#' PLUGINS_FALSE= fi # # Version stuff # # # Finish up # ac_config_files="$ac_config_files Makefile VERSION pidgin-guifications.spec doc/Makefile nsis/Makefile nsis/translations/Makefile pixmaps/Makefile po/Makefile.in src/Makefile themes/Makefile themes/default/Makefile themes/funky/Makefile themes/mini/Makefile themes/Penguins/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 "${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__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"PLUGINS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"PLUGINS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -e VERSION; then cp -p VERSION VERSION.ac-save 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 more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # 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 # 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 if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # 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 pidgin-guifications $as_me 2.16, which was generated by GNU Autoconf 2.61. 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="\\ pidgin-guifications config.status 2.16 configured by $0, generated by GNU Autoconf 2.61, 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" INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "pre_config.h") CONFIG_HEADERS="$CONFIG_HEADERS pre_config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "VERSION") CONFIG_FILES="$CONFIG_FILES VERSION" ;; "pidgin-guifications.spec") CONFIG_FILES="$CONFIG_FILES pidgin-guifications.spec" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "nsis/Makefile") CONFIG_FILES="$CONFIG_FILES nsis/Makefile" ;; "nsis/translations/Makefile") CONFIG_FILES="$CONFIG_FILES nsis/translations/Makefile" ;; "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;; "themes/default/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/Makefile" ;; "themes/funky/Makefile") CONFIG_FILES="$CONFIG_FILES themes/funky/Makefile" ;; "themes/mini/Makefile") CONFIG_FILES="$CONFIG_FILES themes/mini/Makefile" ;; "themes/Penguins/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Penguins/Makefile" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) { { 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 build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim target!$target$ac_delim target_cpu!$target_cpu$ac_delim target_vendor!$target_vendor$ac_delim target_os!$target_os$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 sedpath!$sedpath$ac_delim PKG_CONFIG!$PKG_CONFIG$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 SED!$SED$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim LN_S!$LN_S$ac_delim ECHO!$ECHO$ac_delim AR!$AR$ac_delim RANLIB!$RANLIB$ac_delim CPP!$CPP$ac_delim CXX!$CXX$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 CXXFLAGS!$CXXFLAGS$ac_delim ac_ct_CXX!$ac_ct_CXX$ac_delim CXXDEPMODE!$CXXDEPMODE$ac_delim am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim CXXCPP!$CXXCPP$ac_delim F77!$F77$ac_delim FFLAGS!$FFLAGS$ac_delim ac_ct_F77!$ac_ct_F77$ac_delim LIBTOOL!$LIBTOOL$ac_delim INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim ALL_LINGUAS!$ALL_LINGUAS$ac_delim DATADIRNAME!$DATADIRNAME$ac_delim GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim USE_NLS!$USE_NLS$ac_delim MSGFMT!$MSGFMT$ac_delim MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim GMSGFMT!$GMSGFMT$ac_delim XGETTEXT!$XGETTEXT$ac_delim CATALOGS!$CATALOGS$ac_delim CATOBJEXT!$CATOBJEXT$ac_delim 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 DEBUG_CFLAGS!$DEBUG_CFLAGS$ac_delim PIDGIN_CFLAGS!$PIDGIN_CFLAGS$ac_delim PIDGIN_LIBS!$PIDGIN_LIBS$ac_delim PURPLE_CFLAGS!$PURPLE_CFLAGS$ac_delim PURPLE_LIBS!$PURPLE_LIBS$ac_delim PIDGIN_LIBDIR!$PIDGIN_LIBDIR$ac_delim PIDGIN_DATADIR!$PIDGIN_DATADIR$ac_delim GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim GLIB_LIBS!$GLIB_LIBS$ac_delim GTK_CFLAGS!$GTK_CFLAGS$ac_delim GTK_LIBS!$GTK_LIBS$ac_delim PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim PLUGINS_TRUE!$PLUGINS_TRUE$ac_delim PLUGINS_FALSE!$PLUGINS_FALSE$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` = 68; 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 ;; "intltool":C) for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" if test ! -f "po/Makefile"; then { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5 echo "$as_me: error: po/Makefile is not ready." >&2;} { (exit 1); exit 1; }; } fi mv "po/Makefile" "po/Makefile.tmp" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.tmp" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save cmp VERSION VERSION.ac-save || touch -r VERSION.ac-save VERSION rm -f VERSION.ac-save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi echo; echo Configuration complete echo; echo Debugging enabled..............: $enable_debug echo Deprecated API enabled.........: $enable_deprecated echo; echo Type make to compile echo Thank you for using Guifications echo; pidgin-guifications-2.16/ChangeLog0000644000175000017500000003147410731356722014110 00000000000000Version 2.16 12/16/07: * Really fixed the G_GNUC_NULL_TERMINATED errors on non-Windows platforms. Version 2.15 12/16/07: * Use large PRPL icons for scalling (alxorlov) * Make sure notification popups' context menus are drawn on-screen. * Changed mini and Penguins themes to display screen name instead of conversation name when displaying typing notifications--fixes the " is typing" bug. * Fixed build on Windows and other systems where G_GNUC_NULL_TERMINATED in libpurple headers causes compilation issues. * Fixed "make installer" target so it works in cross-compile environments. Version 2.14 5/5/07: * Fixed a brokenness in configure.ac that caused configure to fail Version 2.13 5/4/07: * Cleaned up the remaining non history references to gaim Version 2.13beta7 4/30/07: * Changed a ton of Gaim and gaim to Pidgin and pidgin, respectively Version 2.13beta6 1/19/07: * Repackaged for Gaim 2.0.0beta6 Version 2.13beta5 11/10/06: * Removed our addition of the XML PI since Gaim's xml_node_to_formatted_string does it for us now. This fixes sf bug 1591606. Version 2.13beta4 10/18/06: * Updated to work with Gaim 2.0Beta4 * Moved from gettext to intltool * possibly other minor changes Version 2.13beta3.1 8/22/06: * Implemented email notifications. * Notifications for accounts that are still "connecting" are not shown. * Removed compatibility with Gaim 1.x.y. Version 2.13beta3 3/29/06: * Implemented file transfer notifications * Fixed the "doesn't unqueue conversations correctly" bug. Version 2.13beta2 1/24/06: * Updated to work with Gaim 2.0.0beta2 Version 2.13beta1 12/17/05: * Updated to work with gaim 2.0.0Beta1 Version 2.12 8/2/05: * Fixed 'Show While Away' bug Version 2.11 7/30/05: * Hit the 10,000 lines of code mark * New notifications correctly get the use gtk theme, width, and height settings from a master theme if it exists. * New notifications will be created to use the gtk theme by default. * Notifications can now have aliases in the theme editor. * Fixed context menu from crashing Gaim when the buddy is not on your list. * Fixed a bug in the context menu for chat join/parts where IM focused the chat rather than the user. Version 2.10 4/8/05: * Fixed a bug where the notification height was actually being saved as the notification's width if it was using the gtk theme. * The currently selected theme for a buddy list node is now properly shown. * At long last, animation. * Clicking on chat notifications works again. * Added notification priorities, see the FAQ for more information. * Fixed notifications not showing on 64bit machines. (Tollef Fog Heen) * Added back the "Show while away" preference. Version 2.9 2/10/05: * Theme items that were partially off the notification are now rendered. * Default font and background can now be set via a gtkrc. * Multiple monitor support fully works on both xinerama and win32, including setting which monitor to display the notification. * All items in the text editor will now be shown in the NLS if it is translated, thanks to Nathan Fredrickson for helping me pin this down. Version 2.8 1/8/05: * Fixed the notification titles disappearing in the theme editor (maxcow) * Fixed text not showing if no font was set for the notification and the gtk theme also didn't have a font. Version 2.7 1/6/05: * Added "Master Notifications" to the theme editor. * Added a "Get More" button to the theme list, which displays the theme tracker in a web browser. * Themes now follow the gtk theme's settings if theres no font, font color, or notification background set. * Fixed the %r token. * Fixed buddy icons showing in typing events. * Fixed open conversation action not working for new conversations. * Fixed open conversation crashing gaim, if the conversation was closed before the notification went away. * Fixed notifications only showing for buddies. * Fixed notifications appearing partially on screen if the windows taskbar was on the top or left and set to stay on top of other windows. * Removed monitor/screen preferences for win32. Notifications will show on the monitor with the taskbar. Version 2.6 12/16/04: * Added the ability to select a theme or no theme for buddies contacts and groups. Check the faq for more info. * Fixed notifications covering taskbars on win32 * Fixed monitor pref not working. * Fixed a leak in notification finding * Fixed memory leaks in theme loading (Miah Gregory) * Fixed the context menu, so it works on all notifications. * Made editing a theme name for a theme that was loaded, then saved, unload and auto reload. * Duplicating text items now actually works without crashing gaim. * Moved "Max Visible Guifications" to the advanced page * Moved the remaining appearance preferences to the new general page * Moved the mouse page to the genernal page * Removed "Sign On Delay" preference, defaulted to ten seconds * Removed "Zoom" preference * Removed 'Hide chat join/leave messages' defaulted to no * Removed 'Hide notifications for focused conversations', defaulted to yes * Removed 'Show contacts as one guification', defaulted to yes * Removed 'Show Guifications while away', defaulted to yes * Removed 'Show alias if set', defaulted to yes Version 2.5 11/24/04: * Removed "Show during screen saver" pref, and defaulted to no. * 64bit compiler warnings and crashes fixed (Nathan Walp) * Added the ability to move items and notifications up and down in the theme editor. * Added a role to the guifications windows. Some may find this useful. Version 2.4 10/14/04: * Added back the pangoft2 dependency. Yes this means text is readable again. * Added a copy theme button to the theme tab * Fixed a crash bug if you sorted themes by summary and a theme didn't have a summary Version 2.3 10/7/04: * Removed pangoft2 dependency * Removed horizontal and vertical offset prefs for the stack. We now use the _NET_WORKAREA atom to position accordingly * Theme info pane now shows what notifications and how many of that type that a theme supports * Added a 'Nick Spoken' event * Bug where we see our own chat messages fixed * Implemented show contacts as one guifications * Added throttling for events Version 2.2 9/16/04: * Added preference to not show when the screen saver is active * Made the columns of the notification and theme lists sortable * Fixed buddy icons not working * Added a duplicate button to the theme editor's toolbar to duplicate a notification or an item * Fixed image corruption when it's copied to the theme dir * Icon items of buddy icons or status icons fallback to the protocol icon if the person does not have a buddy icon or is not a buddy. * Updated to work with gaim 1.0.0 Version 2.1 8/26/04: * Fixed the off by one bug for 'Max Visible Guifications' pref * The return of mouse preferences * Gtk 2.0 support (again) * Drag-and-drop theme installation * Icon types and sizes no longer need to be explictly set * Added a pref to hide conversation notifications if the conversation has focus * Added topic-changed notification * %r format token fixed * Moved to SourceForge's CVS server * Themes now save in a human readable xml format * Added the ability to create a notification anywhere in the theme editor * Added the ability to create an item while editing an item in the theme editor * Fixed the select a theme, click delete, select another theme, click yes in the delete confirmation, deletes wrong theme bug * Fixed the select an item, click delete, select another item, click yes in the delete confirmation, deletes wrong item bug * %c will look for the alias of the chat or user if the preference to show alias is enabled * Fixed bug in Top-Left Horizontal positioning * Added option to choose which display in a multihead system to display the notifications on (requires gtk 2.2.0 and up) * Fixed positioning so they won't be placed in dead areas created by xinerama (requires gtk 2.2.0 and up) * Pango 1.2.3-1.2.5 unreadable font bug fixed. Many thanks to all that helped us track this down, as well as Stu, who tweaked it Version 2.0 8/17/04: * Completely rewritten * Added theme support and editor * Added natural language support * Added a bunch of new notifications (more to come) * Added a preference for the maximum of guifications to show at once * Mouse preferences removed, they will be added back in the next version. For the time being, left is open conversation, middle is destory, and right is get info * Updated to work with gaim 0.81 Version 1.10 7/15/04: * Changed the changed signal for spin buttons to value-changed so if someones Gtk theme is hiding the up down buttons, the pref will still get saved. * Updated to work with gaim 0.80 Version 1.9 6/24/04: * Updated to work with gaim 0.79 Version 1.8 5/27/04: * Updated to work with gaim 0.78 * Finally added offsets for the notifications * Redefined compiler warnings removed (Stu Tomlinson) Version 1.7 4/24/04: * Updated to work with gaim 0.77 * Added a notification for a message being received (Aaron Bock) * Only the last action performed by a user will be shown. The last is the most revelant, for example, "so and so is back", "so and so signed off" will now only display that "so and so signed off" * Memory leaks have been sealed Version 1.6 4/1/04: * Added a signal emit so that we can display other plugins contributions to the buddy context menu * Fixed some memory leaks in the ellipsis code * Fixed some spelling mistakes * Changed the way that I grab the protocol icon. This should make guifications no longer depend on the prpl_info struct not changing. That means no more releases just to fix that ;) Version 1.5 01/10/04: * Guifications will no longer work with Gaim prior to 0.75, if you do not want to update Gaim, 1.4 will work just fine. There are no plans to add backwards compatibility * The library name has changed from guificat.so to guifications.so, so be sure to clear the old file out. They will both work at the same time, but I do not suggest it * Guifications no longer needs to be in the Gaim source tree to compile. It will still compile with in the gaim source tree, but it is no longer mandatory, nor does it require you to edit any of Gaim's files * Updated guifications to work without prpl id's, I know this doesn't mean much to most of you, but it's a change ;) * Fixed a bug where if a connection was canceled and then later established, no guifications would be shown for that account * Ray added a toggle to hide guifications while away, note: this will only hide guifications for accounts that are away. If you have multiple accounts connected, and only one account away, you will still see guifications from the other accounts * Fixed some errors and left out information in the INSTALL file * Fixed a bug where local and server alias would not be displayed correct if they contained html special chars * Updated the default background: made the gaim guy smaller so the default text doesn't overlap him * Updated most if not all of the docs Version 1.4 12/08/03: * Added user defined mouse buttons for clicking on a guification. These include: Close Window, Get Info, Open Conversation, View Log, and the main context menu from the buddy list. * Potential bug where an image gets set with a notification up removed. This really wasn't a bug, but it just looked bad. * Made clicking a guification to open a window switch to that tab if tab windows are enabled and a conversation is already open. * Added release notification. Theres a toggle for it on the advanced tab. * Fixed "growing" option menus (dropdown lists) * Added the ability to "zoom" the guifications Version 1.3 11/03/03: * Notifications will now open up an IM window when they are clicked. This is probably buggy, so play with it and let me know. * Fixed the bug where the notifications were only showing if all events were checked * Added message box if an invalid image file is selected Version 1.2 11/01/03: * Fixed a compiler warning * Took animation out completely, I got it working but it looked like crap so I just removed it all together. * Windows makefiles added and it should compile under windows now * Windows binary added to sf releases * Debugging output added to all functions Version 1.1 10/29/03: * Fixed an issue with the file selection dialog showing the current font as the previous image * Other random fixes and clean ups in the configuration window Version 1.0 10/29/03: * Everything in the configuration window is working except for animations. Since I haven't come up with a decent and effective way to do it yet, it will have to wait. pidgin-guifications-2.16/VERSION0000644000175000017500000000000510731356746013376 000000000000002.16 pidgin-guifications-2.16/po/0000777000175000017500000000000010731357017013025 500000000000000pidgin-guifications-2.16/po/Makefile.in.in0000644000175000017500000001532110731356730015416 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all $(mkdir_p) $(DESTDIR)$(itlocaledir) linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info tags TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: pidgin-guifications-2.16/po/he.po0000644000175000017500000004434610731276755013721 00000000000000# Hebrew translation for Guification # Copyright (C) 2004 Saggi Mizrahi # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Guifications 2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2004-12-8 21:57+2\n" "Last-Translator: Ficoos Bangaly \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "" #: ../src/gf_action.c:204 ../src/gf_action.c:749 #, fuzzy msgid "Get Info" msgstr "מידע" #: ../src/gf_action.c:205 #, fuzzy msgid "Display Log" msgstr "הגדרות תצוגה" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "" #. add the alias and remove button #: ../src/gf_action.c:795 #, fuzzy msgid "Alias Buddy" msgstr "חבר" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "" #: ../src/gf_action.c:802 #, fuzzy msgid "Add Buddy" msgstr "חבר" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "הצטרף" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "" #: ../src/gf_blist.c:175 #, fuzzy msgid "_Theme" msgstr "ערכת נושא" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "" #: ../src/gf_blist.c:180 msgid "Random" msgstr "" #: ../src/gf_blist.c:184 msgid "None" msgstr "" #: ../src/gf_blist.c:208 #, fuzzy msgid "Select Guifications theme" msgstr "עורך ערכות הנושא של גואיפיקציות" #: ../src/gf_blist.c:210 msgid "OK" msgstr "" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "" #. add our menu item #: ../src/gf_blist.c:250 #, fuzzy msgid "Guifications Theme" msgstr "עורך ערכות הנושא של גואיפיקציות" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "התחבר" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "מוצג כאשר חבר מתחבר" #: ../src/gf_event.c:668 msgid "Sign off" msgstr "התנתק" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "מוצג כאשר חבר מתנתק" #: ../src/gf_event.c:672 msgid "Away" msgstr "לא כאן" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "מוצג כאשר חבר עובר למצב לא כאן" #: ../src/gf_event.c:675 msgid "Back" msgstr "חזר" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "מוצג כאשר חבר חוזר ממצב לא כאן" #: ../src/gf_event.c:679 msgid "Idle" msgstr "בטל" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "מוצג כאשר חבר עובר למצב בטל" #: ../src/gf_event.c:682 msgid "Unidle" msgstr "לא בטל" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "מוצג כאשר חבר חוזר ממצב בטל" #: ../src/gf_event.c:686 msgid "IM message" msgstr "הודעה" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "מוצג כאשר מישהו שולח לך הודעה" #: ../src/gf_event.c:689 msgid "Typing" msgstr "מקליד" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "מוצג כאשר מישהו שאתה מדבר איתו מקליד" #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "הפסיק להקליד" #: ../src/gf_event.c:693 #, fuzzy msgid "Displayed when someone has stopped typing a message to you." msgstr "מוצג כאשר מישהו שאתה מדבר איתו הפסיק להקליד" #: ../src/gf_event.c:696 msgid "Chat message" msgstr "הודעה בצ'ט" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "מוצג כאשר מישהו מדבר בצ'ט" #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "" #: ../src/gf_event.c:700 #, fuzzy msgid "Displayed when someone says your nick in a chat" msgstr "מוצג כאשר מישהו מדבר בצ'ט" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "מוצג כאשר מישהו מצטרף לצ'ט" #: ../src/gf_event.c:706 msgid "Leave" msgstr "יוצא" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "מוצג כאשר מישהו עוזב את הצ'ט" #: ../src/gf_event.c:710 msgid "Invited" msgstr "מוזמן" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "מוצג כאשר מישהו מזמין אותך לצ'ט" #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "" #: ../src/gf_event.c:715 #, fuzzy msgid "Displayed when a topic is changed in a chat." msgstr "מוצג כאשר מישהו מצטרף לצ'ט" #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "מוצג כאשר הוזהרתה" #: ../src/gf_event.c:723 #, fuzzy msgid "Master" msgstr "מזרח" #: ../src/gf_event.c:723 #, fuzzy msgid "Master notification for the theme editor." msgstr "עורך ערכות הנושא של גואיפיקציות" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "מוצג כאשר חבר עובר למצב בטל" #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "סמל" #: ../src/gf_item.c:50 msgid "Image" msgstr "תמונה" #: ../src/gf_item.c:50 msgid "Text" msgstr "טקסט" #: ../src/gf_item.c:56 msgid "North West" msgstr "צפון מערב" #: ../src/gf_item.c:56 msgid "North" msgstr "צפון" #: ../src/gf_item.c:57 msgid "North East" msgstr "צפון מזרח" #: ../src/gf_item.c:57 msgid "West" msgstr "מערב" #: ../src/gf_item.c:57 msgid "Center" msgstr "מרכז" #: ../src/gf_item.c:58 msgid "East" msgstr "מזרח" #: ../src/gf_item.c:58 msgid "South West" msgstr "דרום מערב" #: ../src/gf_item.c:58 msgid "South" msgstr "דרום" #: ../src/gf_item.c:59 msgid "South East" msgstr "דרום מזרח" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "פינה שמאלית עליונה" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "פינה שמאלית עליונה" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "פינה שמאלית תחתונה" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "פינה ימנית תחתונה" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "חבר" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "פרוטוקול" #: ../src/gf_menu.c:263 msgid "Status" msgstr "מצב" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "עצום" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "ענק" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "גדול" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "ממוצע" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "קטן" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "קטנטן" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "פצפון" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "השמט" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "השמט את הסוף" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "השמט את האמצע" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "השמט את ההתחלה" #: ../src/gf_preferences.c:215 #, fuzzy msgid "General" msgstr "מרכז" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "הגדרות תצוגה" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_מיקום:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "חזר" #: ../src/gf_preferences.c:230 #, fuzzy msgid "Vertically" msgstr "א_נכי" #: ../src/gf_preferences.c:231 #, fuzzy msgid "Horizontally" msgstr "סטייה א_ופקית:" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "הצג גואיפיקציות כשאתה _לא נמצא" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_זמן לתצוגה:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "שניות" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "פינה שמאלית עליונה" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "לא בטל" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "פינה שמאלית עליונה" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "הצג" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "אירוע" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "תיאור" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "הודעות" #: ../src/gf_preferences.c:919 #, fuzzy msgid "Delete theme?" msgstr "מחק" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "" #: ../src/gf_preferences.c:999 msgid "New" msgstr "חדש" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "ערוך" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "מחק" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "רענן" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "נטען" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "שם" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "סיכום" #: ../src/gf_preferences.c:1106 #, fuzzy msgid "_Edit" msgstr "ערוך" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "ערכות נושא" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "גירסא" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "עורך" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "אתר אינטרנט" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "מתקדם" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "_כמות מקסימלית של גואיפיקציות" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "הודעות" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "הודעות" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "ערכת נושא" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "מידע" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "אפשרויות" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "" #: ../src/gf_theme_editor.c:862 #, fuzzy msgid "Confirm delete notification" msgstr "הודעת שיחרור" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "" #: ../src/gf_theme_editor.c:1025 #, fuzzy msgid "New Notification" msgstr "הודעות" #: ../src/gf_theme_editor.c:1038 #, fuzzy msgid "New notification type:" msgstr "הודעות" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "גואיפיקציות" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "שם:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "גירסא:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "סיכום:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "תיאור:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "עורך:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "אתר אינטרנט:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "צורת תאריך:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "צורת זמן:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "אזהרה:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "השמטה:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "רקע:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "רוחב:" #: ../src/gf_theme_editor.c:2474 #, fuzzy msgid "Height:" msgstr "פינה שמאלית עליונה" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "סטייה א_ופקית:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "אחזוים" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "סטייה א_נכית:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_סוג" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_גודל" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "תמונה:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "צורה:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "גיזור:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "" #: ../src/gf_theme_editor.c:2662 #, fuzzy msgid "New notification" msgstr "הודעות" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "עורך ערכות הנושא של גואיפיקציות" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "גומר הכל, עושה הכל, פלאג-אין הודעות הטוסטר הקופצות" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "גואיפיקציות\n" "גומר הכל, עושה הכל, פלאג-אין הודעות הטוסטר הקופצות" #~ msgid "Release Notification" #~ msgstr "הודעת שיחרור" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "בדוק לשחרור גרסאות חדשות" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "גואיפיקציות %s קיים, אתה משתמש בגירסא %s." #~ msgid "ChangeLog:" #~ msgstr "דוח שינויים" #~ msgid "You can download version %s from" #~ msgstr "אתה יכול להוריד את גירסא %s מהאתר" #~ msgid "New version available" #~ msgstr "קיים גירסא חדשה יותר" #~ msgid "There is a new version of Guifications available!" #~ msgstr "יש גירסא חדשה של גואיפיקציות!" #~ msgid "Anonymous" #~ msgstr "ללא שם" #~ msgid "Warned" #~ msgstr "הוזהרתה" #~ msgid "Displayed when you are warned." #~ msgstr "מוצג כאשר הוזהרתה" #, fuzzy #~ msgid "buddy" #~ msgstr "חבר" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "התנהגות" #~ msgid "Appearance" #~ msgstr "מראה" #~ msgid "Position Options" #~ msgstr "הגדרות מיקום" #~ msgid "_Zoom:" #~ msgstr "_בגדלה:" #~ msgid "Show _contacts as one guification" #~ msgstr "הצג הודעות של _חשבון בגואיפיקציה אחת" #~ msgid "Sign on delay:" #~ msgstr "עיקוב התחברות" #~ msgid "milliseconds" #~ msgstr "אלפיות שניה" #, fuzzy #~ msgid "Conversations" #~ msgstr "גירסא" #~ msgid "Hide chat join / leave messages" #~ msgstr "הסתר הודעות הצטרפות או עזיבה בצ'טים" #, fuzzy #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "הצג גואיפיקציות כשאתה _לא נמצא" #~ msgid "pixels" #~ msgstr "פיקסלים" #~ msgid "Miscellaneous" #~ msgstr "שונות" pidgin-guifications-2.16/po/ru.po0000644000175000017500000004767310731276755013761 00000000000000# Russian translation of Guifications. # Copyright (C) 2005 Dmitry Beloglazov # This file is distributed under the same license as the Guifications package. # Dmitry Beloglazov , 2005, 2006. # msgid "" msgstr "" "Project-Id-Version: ru\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-03-18 11:00+0300\n" "Last-Translator: Dmitry Beloglazov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Закрыть" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Открыть беседу" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Контекстное меню" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Получить информацию" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Показать журнал" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "Сообщение" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Добавить правило" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Просмотреть журнал сообщений" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Псевдоним собеседника" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Удалить собеседника" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Добавить собеседника" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Присоединиться" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Присоединяться автоматически" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Просмотреть журнал чата" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Псевдоним чата" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Удалить чат" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Добавить чат" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "Выберите тему для собеседника %s" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "Выберите тему для контакта %s" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "Выберите тему для группы %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Тема" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Очистить настройку" #: ../src/gf_blist.c:180 msgid "Random" msgstr "В случайном порядке" #: ../src/gf_blist.c:184 msgid "None" msgstr "Нет" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Выберите тему Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Отменить" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Тема Guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Вошёл" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Выводится, когда собеседник входит в сеть." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Вышел" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Выводится, когда собеседник выходит из сети." #: ../src/gf_event.c:672 msgid "Away" msgstr "Отошёл" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Выводится, когда собеседник отходит." #: ../src/gf_event.c:675 msgid "Back" msgstr "Вернулся" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Выводится, когда собеседник возвращается." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Начал бездействовать" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Выводится, когда собеседник начинает бездействовать." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Перестал бездействовать" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Выводится, когда собеседник перестаёт бездействовать." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Сообщение" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Выводится, когда кто-то отправляет вам сообщение." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Начал писать" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Выводится, когда кто-то начинает писать сообщение вам." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Перестал писать" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Выводится, когда кто-то перестаёт писать сообщение вам." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Сообщение в чате" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Выводится, когда кто-то говорит в чате." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Произнесено имя" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Выводится, когда кто-то произносит ваше имя в чате." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Выводится, когда кто-то присоединяется к чату." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Покинул" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Выводится, когда кто-то покидает чат." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Приглашает" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Выводится, когда кто-то приглашает вас в чат." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Изменена тема" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Выводится, когда меняется тема в чате." #: ../src/gf_event.c:718 msgid "Email" msgstr "E-mail" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Выводится, когда вам приходит новая почта." #: ../src/gf_event.c:723 msgid "Master" msgstr "" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "Приём файла отменён" #: ../src/gf_event.c:727 msgid "Displayed when the buddy cancels the file transfer." msgstr "Выводится, когда собеседник отменяет передачу файлов." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "Приём файла завершён" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "Выводится, когда завершается передача принимаемого вами файла." #: ../src/gf_event.c:732 msgid "File send completed" msgstr "Отправка файла завершена" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "Выводится, когда завершается передача отправляемого вами файла." #: ../src/gf_item.c:50 msgid "Icon" msgstr "Значок" #: ../src/gf_item.c:50 msgid "Image" msgstr "Изображение" #: ../src/gf_item.c:50 msgid "Text" msgstr "Текст" #: ../src/gf_item.c:56 msgid "North West" msgstr "Северо-запад" #: ../src/gf_item.c:56 msgid "North" msgstr "Север" #: ../src/gf_item.c:57 msgid "North East" msgstr "Северо-восток" #: ../src/gf_item.c:57 msgid "West" msgstr "Запад" #: ../src/gf_item.c:57 msgid "Center" msgstr "Центр" #: ../src/gf_item.c:58 msgid "East" msgstr "Восток" #: ../src/gf_item.c:58 msgid "South West" msgstr "Юго-запад" #: ../src/gf_item.c:58 msgid "South" msgstr "Юг" #: ../src/gf_item.c:59 msgid "South East" msgstr "Юго-восток" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Вверху слева" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Вверху справа" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Внизу слева" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Внизу справа" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Собеседник" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Протокол" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Статус" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Огромный (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Большой (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Крупный (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Средний (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Небольшой (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Маленький (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Крохотный (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Усекать" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Сокращать в конце" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Сокращать в середине" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Сокращать в начале" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Основные" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Параметры вывода" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Местоположение:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Укладывать:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Вертикально" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Горизонтально" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Показывать во время _отсутствия:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Да" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Нет" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Анимировать:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Время отображения:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "секунд" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Кнопки мыши" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Левая:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Средняя:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Правая:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Показывать" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Событие" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Описание" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Уведомления" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Удалить тему?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Вы действительно хотите удалить эту тему?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Новая" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Изменить" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Удалить" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Обновить" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Загружена" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Имя" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Краткое описание" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Изменить" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Загрузить ещё" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Темы" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Версия" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Автор" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Веб-сайт" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Поддерживает" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Имя файла" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Дополнительные" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "_Максимальное количество:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Расположение" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Показывать уведомления на _экране:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Показывать уведомления на _мониторе:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Тема" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Информация" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Параметры" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Хотите сохранить перед закрытием?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Хотите сохранить перед созданием новой темы?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Хотите сохранить перед открытием %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Подтвердите" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Вы действительно хотите удалить уведомление %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Подтвердите удаление уведомления" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Вы действительно хотите удалить элемент %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Подтвердите удаление элемента" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Новое уведомление" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Тип нового уведомления:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Новый элемент" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Тип нового элемента:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Открыть" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Выбрать шрифт" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Выбрать цвет" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Имя:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Версия:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Краткое описание:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Описание:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Автор:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Веб-сайт:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Формат даты:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Формат времени:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Предупреждение:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Символы сокращения:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Псевдоним:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Использовать фон темы Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Фон:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Ширина:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Высота:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Отступ по _горизонтали:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Процентное отношение" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Отступ по _вертикали:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Тип:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Размер:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Изображение:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Формат:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Укорачивание:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Новая тема" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Сохранить тему" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Новое уведомление" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Новый элемент" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Сделать копию" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Выше" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Ниже" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Помощь" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Редактор тем Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Графические уведомления" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "Графические уведомления" #~ msgid "Release Notification" #~ msgstr "Уведомление о выпуске" #~ msgid "_Check for new releases" #~ msgstr "_Проверять наличие новых версий" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Доступна версия Guifications %s, вы пользуетесь версией %s." #~ msgid "ChangeLog:" #~ msgstr "Список изменений:" #~ msgid "You can download version %s from" #~ msgstr "Вы можете загрузить версию %s с" #~ msgid "New version available" #~ msgstr "Доступна новая версия" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Доступна новая версия Guifications!" pidgin-guifications-2.16/po/mk.po0000644000175000017500000005013210731276755013722 00000000000000# translation of mk.po to Macedonian # Macedonian translation for guifications # Copyright (c) (c) 2005 Canonical Ltd, and Rosetta Contributors 2005 # This file is distributed under the same license as the guifications package. # FIRST AUTHOR , 2005. # Arangel Angov , 2005. # msgid "" msgstr "" "Project-Id-Version: mk\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-12-04 03:01+0100\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.10.2\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Затвори" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Отвори разговор" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Контекстно мени" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Земи инфо" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Прикажи лог" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "ИМ" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Додај дејство на пријател" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Види лог" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Алијас на пријател" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Отстрани пријател" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Додај пријател" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Приклучи се" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Автоматско приклучување" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Види лог од разговор" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Алијас за разговор" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Отстрани разговор" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Додај разговор" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Изберете тема за %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Изберете тема за %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Изберете тема за %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Тема" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Исчисти поставување" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Случајно" #: ../src/gf_blist.c:184 msgid "None" msgstr "Ништо" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Изберете тема" #: ../src/gf_blist.c:210 msgid "OK" msgstr "Во ред" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Откажи" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Тема" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Уклучување" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Се прикажува кога пријателот ќе се вклучи." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Исклучување" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Се прикажува кога пријателот ќе се исклучи." #: ../src/gf_event.c:672 msgid "Away" msgstr "Отсуство" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Се прикажува кога пријателот е отсутен." #: ../src/gf_event.c:675 msgid "Back" msgstr "Назад" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Се прикажува кога пријателот ќе се врати." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Неактивност" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Се прикажува кога пријателот станува отсутен." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Активен" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Се прикажува кога пријателот ќе се врати." #: ../src/gf_event.c:686 msgid "IM message" msgstr "ИМ порака" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Се прикажува кога некој ќе Ви испрати порака." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Пишува" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Се прикажува кога некој Ви пишува." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Престана да пишува" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Се прикажува кога некој ќе престане да Ви пишува." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Порака за разговор" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Се прикажува кога некој разговара." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Изговорено име" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Се појавува кога некој ќе го спомне Вашето име на во разговорот" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Се прикажува кога некој ќе се приклучи на разговорот." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Си оди" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Се прикажува кога некој ќе го напушти разговорот." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Поканет" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Се прикажува кога некој ќе Ве покани на разговор." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Сменет наслов" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Се прикажува кога е сменет насловот на разговорот." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Се прикажува кога сте предупредени." #: ../src/gf_event.c:723 msgid "Master" msgstr "Главно" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Главно известување за уредувачот за теми." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Се прикажува кога пријателот станува отсутен." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Икона" #: ../src/gf_item.c:50 msgid "Image" msgstr "Слика" #: ../src/gf_item.c:50 msgid "Text" msgstr "Текст" #: ../src/gf_item.c:56 msgid "North West" msgstr "Северозапад" #: ../src/gf_item.c:56 msgid "North" msgstr "Север" #: ../src/gf_item.c:57 msgid "North East" msgstr "Североисток" #: ../src/gf_item.c:57 msgid "West" msgstr "Запад" #: ../src/gf_item.c:57 msgid "Center" msgstr "Центар" #: ../src/gf_item.c:58 msgid "East" msgstr "Исток" #: ../src/gf_item.c:58 msgid "South West" msgstr "Југозапад" #: ../src/gf_item.c:58 msgid "South" msgstr "Југ" #: ../src/gf_item.c:59 msgid "South East" msgstr "Југоисток" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Горе лево" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Горе десно" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Долу лево" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Долу десно" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Пријател" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Протокол" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Статус" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Огромно (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Големо (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Големо (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Нормално (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Мало (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Мало (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Ситно (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Елипса на крај" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Елипса во средината" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Елипса на почетокот" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Општо" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Опции за приказ" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Позиција:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "Стек:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Вертикално" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Хоризонтално" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "Покажувај при отсуство:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Да" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Не" #: ../src/gf_preferences.c:245 #, fuzzy msgid "_Animate:" msgstr "Анимирај:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Прикажи време:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "секунди" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Глувче" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "Лево:" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "Средина:" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "Десно:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Покажи" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Настан" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Опис" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Известувања" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Да ја избришам темата?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Дали сте сигурни дека сакате да ја избришете темата?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Нова" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Уреди" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Избриши" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Освежи" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Вчитано" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Име" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Краток опис" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Уреди" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Добиј повеќе" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Теми" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Верзија" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Автор" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Веб сајт" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Поддржува" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Име на датотека" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Напредно" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "_Макс. видливи гуификации:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Поставување" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "Покажи известувања на екран:" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "Покажи известувања на монитор:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Тема" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Инфо" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Опции" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Дали сакате да зачувате?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Дали сакате да зачувате пред да креирате нова тема?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Дали сакате да зачувате пред да ја отворите %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Потврди" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Дали сте сигурни дека сакате да го избришете ова %s известување?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Потврди бришење на известување" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Дали сте сигурни дека сакате да го избришете овој %s предмет?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Потврди избришан предмет" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Ново известување" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Нов тип на известување:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Нов предмет" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Нов тип на предмет:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Отвори" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Изберете фонт" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Гуификации" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Изберете боја" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Име:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Верзија:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Краток опис:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Опис:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Автор:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Веб сајт:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Формат на датум:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Формат на време:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Предупредување:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Елипса:" #: ../src/gf_theme_editor.c:2444 #, fuzzy msgid "Alias:" msgstr "Алијас за разговор" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Користи позадина од Gtk тема" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Позадина:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Ширина:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Висина:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Хоризонтално префрлување:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Проценти" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Вертикално префрлување:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Тип:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Големина:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Слика:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Формат:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Сечење:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Нова тема" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Зачувај тема" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Ново известување" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Нов предмет" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Дуплирај" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Помести горе" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Помести долу" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Помош" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Уредувач на теми" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "The end all, be all, toaster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Гуификации:\n" "The end all, be all, toaster popup plugin" #~ msgid "Release Notification" #~ msgstr "Известувања за изданија" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "Проверувај за нови изданија" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Гуификациите %s се достапни. Вие работите на верзија %s." #~ msgid "ChangeLog:" #~ msgstr "Промени:" #~ msgid "You can download version %s from" #~ msgstr "Верзијата %s можете да ја симнете од" #~ msgid "New version available" #~ msgstr "Достапна е нова верзија" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Има нова верзија на Гуификации!" #~ msgid "Anonymous" #~ msgstr "Анонимус" #~ msgid "Warned" #~ msgstr "Предупреден" #~ msgid "Displayed when you are warned." #~ msgstr "Се прикажува кога сте предупредени." #~ msgid "buddy" #~ msgstr "пријател" #~ msgid "contact" #~ msgstr "контакт" #~ msgid "group" #~ msgstr "група" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" pidgin-guifications-2.16/po/ja.po0000644000175000017500000004443310731276755013714 00000000000000# translation of ja.po to # translation of ja.po to Japanese # translation of ja.po to # English (Australian) translation of Guifications # Copyright (C) 2004 Bleeter Yaluser # This file is distributed under the same license as the Guifications package. # Bleeter Yaluser , 2004. # Yoshinari Takaoka , 2004, 2005. # msgid "" msgstr "" "Project-Id-Version: ja\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-09-10 23:29+0900\n" "Last-Translator: Yoshinari Takaoka \n" "Language-Team: \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" #: ../src/gf_action.c:199 msgid "Close" msgstr "閉じる" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "会話を始める" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "コンテキストメニュー" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "情報を取得" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "ログを表示" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Add Buddy Pounce" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "IMのログを見る" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "仲間のエイリアス" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "仲間を削除" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "仲間を追加" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "チャットに参加" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "自動的に参加" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "チャットのログを見る" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "チャットのエイリアス" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "チャットを削除" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "チャットを追加" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "%s %sのためのテーマを選択します" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "%s %sのためのテーマを選択します" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "%s %sのためのテーマを選択します" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_テーマ" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "設定をクリアする" #: ../src/gf_blist.c:180 msgid "Random" msgstr "ランダム" #: ../src/gf_blist.c:184 msgid "None" msgstr "なし" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "通知プラグインのテーマを選択します" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "キャンセル" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "通知プラグイン テーマ" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "サイン オン" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "仲間がオンラインになったら通知する." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "サイン オフ" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "仲間がオフラインになったら通知する." #: ../src/gf_event.c:672 msgid "Away" msgstr "離席" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "仲間が離席したら通知する." #: ../src/gf_event.c:675 msgid "Back" msgstr "復帰" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "仲間が離席から復帰したら通知する." #: ../src/gf_event.c:679 msgid "Idle" msgstr "アイドル" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "仲間がアイドル状態になったら通知する." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "アイドル状態から復帰" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "仲間がアイドル状態から復帰したら通知する." #: ../src/gf_event.c:686 msgid "IM message" msgstr "IM メッセージ" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "誰かがあなたにメッセージを送信したら通知する." #: ../src/gf_event.c:689 msgid "Typing" msgstr "メッセージをタイプ" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "誰かがあなたにメッセージをタイプしていたら通知する." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "タイプを中止" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "誰かがあなた対するメッセージのタイプをやめたら通知する." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "チャット メッセージ" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "誰かがチャットで話したときに通知する." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "名前を呼ぶ" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "誰かがあなたのニックをチャットで呼んだら通知する." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "誰かがチャットに参加したら通知する." #: ../src/gf_event.c:706 msgid "Leave" msgstr "チャットから抜ける" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "誰かがチャットから抜けたら通知する." #: ../src/gf_event.c:710 msgid "Invited" msgstr "招待" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "誰かがあなたをチャットに招待したら通知する." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "トピックの変更" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "チャットでトピックが変更されたら通知する." #: ../src/gf_event.c:718 msgid "Email" msgstr "電子メール" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "新しく電子メールを受信したら通知する." #: ../src/gf_event.c:723 msgid "Master" msgstr "通知の基本的な設定" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "テーマエディタにおける通知の基本設定" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "仲間がアイドル状態になったら通知する." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "アイコン" #: ../src/gf_item.c:50 msgid "Image" msgstr "画像" #: ../src/gf_item.c:50 msgid "Text" msgstr "テキスト" #: ../src/gf_item.c:56 msgid "North West" msgstr "北西" #: ../src/gf_item.c:56 msgid "North" msgstr "北" #: ../src/gf_item.c:57 msgid "North East" msgstr "北東" #: ../src/gf_item.c:57 msgid "West" msgstr "西" #: ../src/gf_item.c:57 msgid "Center" msgstr "中央" #: ../src/gf_item.c:58 msgid "East" msgstr "東" #: ../src/gf_item.c:58 msgid "South West" msgstr "南西" #: ../src/gf_item.c:58 msgid "South" msgstr "南" #: ../src/gf_item.c:59 msgid "South East" msgstr "南東" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "左上隅" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "右上隅" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "左下隅" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "右下隅" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "仲間" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "プロトコル" #: ../src/gf_menu.c:263 msgid "Status" msgstr "状態" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "極大 (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "特大 (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "大 (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "中 (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "中小 (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "小 (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "極小 (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "切り捨てる" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "終端を省略" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "中間を省略" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "始点から省略" #: ../src/gf_preferences.c:215 msgid "General" msgstr "一般" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "表示 オプション" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_位置:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_縦に並べる:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "垂直状に" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "水平に" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "_離席 に 表示する:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "はい" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "いいえ" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_アニメーション:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_表示する時間:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "秒" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "マウス" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_左:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_中央:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_右:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "通知" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "イベント" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "説明" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "通知" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "テーマを削除しますか?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "本当にこのテーマを削除しますか?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "新規" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "編集" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "削除" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "更新" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "ロード済み" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "名前" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "要約" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_編集" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "他のテーマ" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "テーマ" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "バージョン" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "作者" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "ウェブサイト" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "サポート" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "ファイル名" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "高度な設定" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "_表示する通知の最大数:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "配置" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "_画面 に通知を表示:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "_モニター に通知を表示:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "テーマ" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "情報" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "オプション" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "閉じる前に変更を保存しますか?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "新しいテーマを作成する前に変更を保存しますか?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "%sを開く前に変更を保存しますか?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "確認" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "本当にこの通知 %s を削除しますか?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "通知を削除する前に確認" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "本当にこのアイテム %s を削除しますか?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "アイテムを削除する前に確認" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "新しい通知" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "新しい通知のタイプ:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "新しいアイテム" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "新しいアイテムのタイプ:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "開く" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "フォントを選択" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "通知プラグイン" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "色を選択" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "名前:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "バージョン:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "要約:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "説明:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "作者:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "ウェブサイト:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "日付のフォーマット:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "時刻のフォーマット:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "警告:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "省略記号:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "別名:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Gtkのテーマ画像を使う." #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "背景:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "幅:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "高さ:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_水平方向の 余白:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "パーセント" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_垂直方向の 余白:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_タイプ:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_大きさ:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "画像:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "フォーマット:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "クリッピング:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "新しいテーマ" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "テーマを保存" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "新しい 通知" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "新しい アイテム" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "複写" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "上へ" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "下へ" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "ヘルプ" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "通知プラグイン テーマエディタ" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "イベントをポップアップで通知してくれるプラグインです。" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "通知プラグイン:\n" "イベントをポップアップで通知してくれるプラグインです。" #~ msgid "Release Notification" #~ msgstr "リリース情報の 通知" #~ msgid "_Check for new releases" #~ msgstr "_新しいリリースをチェック" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "" #~ "新しい通知プラグイン %s が利用可能です. 今実行しているバージョンは %sです." #~ msgid "ChangeLog:" #~ msgstr "変更履歴:" #~ msgid "You can download version %s from" #~ msgstr "バージョン %s を以下からダウンロードできます" #~ msgid "New version available" #~ msgstr "新しい利用可能なバージョン" #~ msgid "There is a new version of Guifications available!" #~ msgstr "新しい通知プラグインのバージョンが利用可能です!" #~ msgid "Anonymous" #~ msgstr "匿名" #~ msgid "Warned" #~ msgstr "警告" #~ msgid "Displayed when you are warned." #~ msgstr "あなたが警告を受けたら通知する." #~ msgid "buddy" #~ msgstr "仲間" #~ msgid "contact" #~ msgstr "コンタクト" #~ msgid "group" #~ msgstr "グループ" pidgin-guifications-2.16/po/sr@Latn.po0000644000175000017500000004261210731276755014662 00000000000000# guifications Serbian translation # # The files sr.po and sr@Latn.po are respectivelly the guification # translations for the Serbian language in Cyrillic and the Serbian # language in Latin script. As the Serbian language can be written down # equivocally using these two different scripts, both translation files # are provided. # # The sr@Latn.po is automatically generated from sr.po and # should NOT be edited by hand. They MUST always be # distributed one with the other. msgid "" msgstr "" "Project-Id-Version: guifications 2.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2004-08-08 22:50+01:00\n" "Last-Translator: Filip Miletić \n" "Language-Team: Serbian Latin (sr@Latn) \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/gf_action.c:199 msgid "Close" msgstr "Zatvori" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Otvori razgovor" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Dopunski meni" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Dobavi podatke" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Prikaži dnevnik" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Zaseda drugaru" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Pregledaj dnevnik poruka" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Nadeni ime" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Ukloni drugara" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Dodaj drugara" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Pristupi" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Pristupi automatski" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Pregledaj dnevnik razgovora" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Nadeni ime razgovoru" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Ukloni razgovor" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Dodaj razgovor" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "Izbor teme za drugara %s" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "Izbor teme za kontakt %s" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "Izbor teme za grupu %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Očisti podešavanje" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Slučajna" #: ../src/gf_blist.c:184 msgid "None" msgstr "Nijedna" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Izbor teme" #: ../src/gf_blist.c:210 msgid "OK" msgstr "U redu" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Otkaži" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Teme izgleda" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Prijava" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Prikazuje se kada se drugar prijavi." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Odjava" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Prikazuje se kada se drugar odjavi." #: ../src/gf_event.c:672 msgid "Away" msgstr "Odsutan" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Prikazuje se kada drugar ode na odsustvo." #: ../src/gf_event.c:675 msgid "Back" msgstr "Povratak" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Prikazuje se kada se drugar vrati sa odsustva." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Besposlen" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Prikazuje se kada je drugar besposlen." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Upošljen" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Prikazuje se kada se drugar vrati poslu." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Brza poruka" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Prikazuje se kada neko pošalje poruku." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Kucanje" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Prikazuje se kada Vam neko kuca poruku." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Kraj kucanja" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Prikazuje se kada neko prestane da kuca poruku." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Razgovor" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Prikazuje se kada neko progovori u razgovoru." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Dozivanje" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Prikazuje se kada neko napiše Vaše ime u razgovoru" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Prikazuje se kada neko pristupi razgovoru." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Odlazak" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Prikazuje se kada neko napusti razgovor." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Poziv" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Prikazuje se kada Vas neko pozove da pristupite razgovoru." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Promena teme" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Prikazuje se kada neko promeni temu razgovora." #: ../src/gf_event.c:718 msgid "Email" msgstr "Pošta" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Prikazuje se kada primite novu elektronsku poštu." #: ../src/gf_event.c:723 msgid "Master" msgstr "Glavno" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Glavno obaveštenje za uređivač teme." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Prikazuje se kada je drugar besposlen." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ikona" #: ../src/gf_item.c:50 msgid "Image" msgstr "Slika" #: ../src/gf_item.c:50 msgid "Text" msgstr "Tekst" #: ../src/gf_item.c:56 msgid "North West" msgstr "Severozapad" #: ../src/gf_item.c:56 msgid "North" msgstr "Sever" #: ../src/gf_item.c:57 msgid "North East" msgstr "Severoistok" #: ../src/gf_item.c:57 msgid "West" msgstr "Zapad" #: ../src/gf_item.c:57 msgid "Center" msgstr "Sredina" #: ../src/gf_item.c:58 msgid "East" msgstr "Istok" #: ../src/gf_item.c:58 msgid "South West" msgstr "Jugozapad" #: ../src/gf_item.c:58 msgid "South" msgstr "Jug" #: ../src/gf_item.c:59 msgid "South East" msgstr "Jugoistok" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Gore levo" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Gore desno" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Dole levo" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Dole desno" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Drugar" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protokol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Status" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Ogromna (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Jako velika (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Velika (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normalna (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Mala (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Malecka (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Sićušna (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Odseci" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Tri tačke na kraju" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Tri tačke u sredini" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Tri tačke na početku" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Opšte" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Opcije prikaza" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Mesto:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Ređanje:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Vertikalno" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontalno" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Prikazivanje pri _odsustvu:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Da" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Ne" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animiraj:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Dužina prikazivanja:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "(u sekundama)" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Miš" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Levo dugme:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "S_rednje dugme:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Desno dugme:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Prikaži" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Događaj" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Opis" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Obaveštenja" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Da li da obrišem temu?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Da li sigurno želite da obrišete ovu temu?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Novo" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Uredi" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Obriši" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Osveži" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Učitano" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Ime" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Sažetak" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Uredi" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Preuzmi još" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Teme" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Izdanje" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "El. mesto" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Podržava" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Datoteka" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Napredno" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Maksimalan broj prikazanih obaveštenja:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Smeštaj" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Prikaži obaveštenja na _ekranu:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Prikaži obaveštenja na _monitoru:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Podaci" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opcije" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Da li želite da sačuvate pre zatvaranja?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Da li želite da sačuvate pre nego što napravite novu temu?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Da li želite da snimite pre nego što otvorite %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Potvrdi" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Da li sigurno želite da obrišete ovo obaveštenje (%s)?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Potvrda brisanja obaveštenja" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Da li sigurno želite da obrišete ovu %s stavku?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Potvrda brisanja stavke" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Novo obaveštenje" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Nova vrsta obaveštenja:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nova stavka" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Vrsta nove stavke:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Otvori" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Izbor pisma" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifikacije" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Izbor boje" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Ime:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Izdanje:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Sažetak:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Opis:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "El. mesto:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Format datuma:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Format vremena:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Upozorenje:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Tri tačke:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Nadimak:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Koristi pozadinu iz GTK teme" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Pozadina:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Širina:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Visina:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Vodoravni pomak:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "U procentima" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Uspravni pomak:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Vrsta:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "V_eličina:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Slika:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Format:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Opsecanje:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nova tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Sačuvaj temu" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Novo obaveštenje" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nova stavka" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Umnoži" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Nagore" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Nadole" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Pomoć" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Uređivač teme za Guifikacije" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Alfa i omega obaveštajnih dodataka." #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifikacije:\n" "Alfa i omega obaveštajnih dodataka" #~ msgid "Release Notification" #~ msgstr "Obaveštenja o izdanjima" #~ msgid "_Check for new releases" #~ msgstr "_Proveri nova izdanja" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifikacije %s su dostupne, trenutno koristite izdanje %s." #~ msgid "ChangeLog:" #~ msgstr "Istorijat:" #~ msgid "You can download version %s from" #~ msgstr "Izdanje %s možete preuzeti sa" #~ msgid "New version available" #~ msgstr "Dostupno je novo izdanje" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Dostupno je novo izdanje Guifikacija" #~ msgid "Anonymous" #~ msgstr "Anoniman" #~ msgid "Warned" #~ msgstr "Upozorenje" #~ msgid "Displayed when you are warned." #~ msgstr "Prikazuje se kada Vas neko upozori." #~ msgid "buddy" #~ msgstr "drugara" #~ msgid "contact" #~ msgstr "kontakt" #~ msgid "group" #~ msgstr "grupu" pidgin-guifications-2.16/po/zh_CN.po0000644000175000017500000004147310731276755014324 00000000000000# 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: 2.13beta2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-02-09 14:30+0800\n" "Last-Translator: Hutu Li \n" "Language-Team: zh_CN-i18n\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Chinese(Simplified)\n" "X-Poedit-Country: CHINA\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "关闭" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "打开对话" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "弹出式菜单" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "信息" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "显示记录" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "添加好友自动动作" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "查看IM记录" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "好友别名" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "删除好友" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "添加好友" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "加入" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "自动加入" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "查看聊天记录" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "聊天室别名" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "删除聊天室" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "添加聊天室" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "为好友 %s 选择主题" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "为联系人 %s 选择主题" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "为群组 %s 选择主题" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "主题(_T)" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "清除设置" #: ../src/gf_blist.c:180 msgid "Random" msgstr "随即" #: ../src/gf_blist.c:184 msgid "None" msgstr "无" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "选择Guification主题" #: ../src/gf_blist.c:210 msgid "OK" msgstr "确定" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "取消" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guification主题" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "登录" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "好友上线时显示" #: ../src/gf_event.c:668 msgid "Sign off" msgstr "注销" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "好友离线时显示" #: ../src/gf_event.c:672 msgid "Away" msgstr "暂时离开" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "好友暂时离开时显示" #: ../src/gf_event.c:675 msgid "Back" msgstr "回来" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "好友回来时显示" #: ../src/gf_event.c:679 msgid "Idle" msgstr "发呆" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "好友发呆时显示" #: ../src/gf_event.c:682 msgid "Unidle" msgstr "醒来" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "好友从发呆状态醒来时显示" #: ../src/gf_event.c:686 msgid "IM message" msgstr "IM消息" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "有人给你发送消息时显示" #: ../src/gf_event.c:689 msgid "Typing" msgstr "正在输入" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "有人正在给你输入消息时显示" #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "停止输入" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "有人停止输入消息给你时显示" #: ../src/gf_event.c:696 msgid "Chat message" msgstr "聊天消息" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "有人在聊天室说话时显示" #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "名字被提及" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "有人在聊天室提起你的名字时显示" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "有人加入聊天室时显示" #: ../src/gf_event.c:706 msgid "Leave" msgstr "离开" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "有人离开聊天室时显示" #: ../src/gf_event.c:710 msgid "Invited" msgstr "被邀请" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "有人邀请你加入聊天室时显示" #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "改变话题" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "聊天室话题改变时显示" #: ../src/gf_event.c:718 msgid "Email" msgstr "电子邮件" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "你收到新邮件时显示。" #: ../src/gf_event.c:723 msgid "Master" msgstr "" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "好友发呆时显示" #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "图标" #: ../src/gf_item.c:50 msgid "Image" msgstr "图片" #: ../src/gf_item.c:50 msgid "Text" msgstr "文字" #: ../src/gf_item.c:56 msgid "North West" msgstr "左上方" #: ../src/gf_item.c:56 msgid "North" msgstr "正上方" #: ../src/gf_item.c:57 msgid "North East" msgstr "右上方" #: ../src/gf_item.c:57 msgid "West" msgstr "正左方" #: ../src/gf_item.c:57 msgid "Center" msgstr "居中" #: ../src/gf_item.c:58 msgid "East" msgstr "正右方" #: ../src/gf_item.c:58 msgid "South West" msgstr "左下方" #: ../src/gf_item.c:58 msgid "South" msgstr "正下方" #: ../src/gf_item.c:59 msgid "South East" msgstr "右下方" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "左上方" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "右上方" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "左下方" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "右下方" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "好友" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "协议" #: ../src/gf_menu.c:263 msgid "Status" msgstr "状态" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "极大尺寸(144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "大尺寸(96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "稍大尺寸(64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "正常大小(48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "稍小尺寸(32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "小尺寸(24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "极小尺寸(16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "截断" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "省略尾部" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "省略中间" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "省略开头" #: ../src/gf_preferences.c:215 msgid "General" msgstr "常用" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "显示属性" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "显示位置(_P):" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "叠加方向(_S):" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "垂直" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "水平" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "离开时显示(_W)" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "启用" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "禁用" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "动画(_A):" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "停留时间(_D):" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "秒" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "鼠标动作" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "左键(_L):" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "中键(_M):" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "右键(_R):" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "启用" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "事件" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "描述" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "提示" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "删除主题?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "您确认要删除该主题吗?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "新建" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "编辑" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "删除" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "刷新" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "启用" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "主题名" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "描述" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "编辑(_E)" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "获取更多(_G)" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "主题" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "版本" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "作者" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "网站" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "支持" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "文件名" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "高级" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "最多提示个数(_M):" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "提示位置" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "显示在屏幕(_S):" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "显示在显示器(_M):" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "主题" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "信息" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "选项" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "关闭之前保存已做修改吗?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "新建主题之前保存已做修改吗?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "打开 %s 之前保存已做修改吗?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "确认" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "您确认要删除 %s 提示吗?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "确认删除提示" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "您确认要删除 %s 项目吗?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "确认删除项目" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "新建提示" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "新建提示类型:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "新建项目" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "新建项目类型:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "打开" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "选择字体" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "选择颜色" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "名字:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "版本:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "介绍:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "描述:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "作者:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "网站:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "日期格式:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "时间格式:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "警告:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "省略符号:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "聊天室别名:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "使用Gtk主题的背景" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "背景:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "宽度:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "高度:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "水平偏移(_H)):" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "百分比" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "垂直偏移(_V):" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "类型(_T):" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "大小(_S):" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "图片:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "格式:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "文本截短方式:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "新建主题" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "保存主题" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "新建提示" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "新建项目" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "复制" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "上移" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "下移" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "帮助" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guification主题编辑器" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "十全弹出式窗口提示插件" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guification:\n" "十全弹出式窗口提示插件" #~ msgid "Release Notification" #~ msgstr "新版本提示" #~ msgid "_Check for new releases" #~ msgstr "检查新版本(_C)" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guification 最新版本是 %s , 你所使用的是 %s ." #~ msgid "ChangeLog:" #~ msgstr "修改记录:" #~ msgid "You can download version %s from" #~ msgstr "%s 版本可以从下列地址下载" #~ msgid "New version available" #~ msgstr "有新版本可用" #~ msgid "There is a new version of Guifications available!" #~ msgstr "有一个新版本的Guification出来了!" #~ msgid "Anonymous" #~ msgstr "匿名" #~ msgid "Warned" #~ msgstr "被警告" #~ msgid "Displayed when you are warned." #~ msgstr "你被警告时显示" #~ msgid "buddy" #~ msgstr "好友" #~ msgid "contact" #~ msgstr "联系人" #~ msgid "group" #~ msgstr "组" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" pidgin-guifications-2.16/po/sk.po0000644000175000017500000004223310731276755013733 00000000000000# translation of sk.po to Slovak # Guifications Slovak translation # This file is distributed under the same license as the Guifications package. # Jozef Riha , 2005. # msgid "" msgstr "" "Project-Id-Version: sk\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-04-09 08:50+0200\n" "Last-Translator: Jozef Riha \n" "Language-Team: Slovak\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Zavrie" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Otvori konverzciu" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Kontextov menu" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Zska info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Zobrazi zznamy" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Sledova kamarta" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Zobrazi zznam IM" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Kamartov alias" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Odstrni kamarta" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Prida kamarta" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Pripoji sa" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Automaticky pripoji" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Zobrazi zznam chatu" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Chat alias" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Odstrni chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Prida chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Vyberte tmu pre %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Vyberte tmu pre %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Vyberte tmu pre %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tma" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Zrui nastavenia" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Nhodn" #: ../src/gf_blist.c:184 msgid "None" msgstr "iadny" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Vyberte tmu pre Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Zrui" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Tma pre Guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Prihlsi sa" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Zobrazen, ke sa kamart prihlsi." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Odhlsi sa" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Zobrazen, ke sa kamart odhlsi." #: ../src/gf_event.c:672 msgid "Away" msgstr "Pre" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Zobrazen, ke kamart odde pre." #: ../src/gf_event.c:675 msgid "Back" msgstr "Sp" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Zobrazen, ke sa kamart vrti zo stavu Pre." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Neaktvny" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Zobrazen, ke je kamart neaktvny." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Aktvny" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Zobrazen, ke sa kamart vrti zo stavu neaktvny." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Sprva IM" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Zobrazen, ke vm niekto pole sprvu." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Pe" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Zobrazen, ke vm niekto pe sprvu." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Prestal psa" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Zobrazen, ke vm niekto prestal psa sprvu." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Sprva chatu" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Zobrazen, ke niekto rozprva v chate." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Vysloven meno" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Zobrazen, ke niekto v chate napsal vae meno." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Zobrazen, ke sa niekto pripoj k chatu." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Opusti" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Zobrazen, ke niekto opa chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Pozvan" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Zobrazen, ke vs niekto pozve na chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Zmena tmy" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Zobrazen, ke niekto zmenil tmu na chate." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Zobrazen, ke vs niekto varoval." #: ../src/gf_event.c:723 msgid "Master" msgstr "Hlavn" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Hlavn upozornenie pre editor tm." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Zobrazen, ke je kamart neaktvny." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ikona" #: ../src/gf_item.c:50 msgid "Image" msgstr "Obrzok" #: ../src/gf_item.c:50 msgid "Text" msgstr "Text" #: ../src/gf_item.c:56 msgid "North West" msgstr "Severozpad" #: ../src/gf_item.c:56 msgid "North" msgstr "Sever" #: ../src/gf_item.c:57 msgid "North East" msgstr "Severovchod" #: ../src/gf_item.c:57 msgid "West" msgstr "Zpad" #: ../src/gf_item.c:57 msgid "Center" msgstr "Stred" #: ../src/gf_item.c:58 msgid "East" msgstr "Vchod" #: ../src/gf_item.c:58 msgid "South West" msgstr "Juhozpad" #: ../src/gf_item.c:58 msgid "South" msgstr "Juh" #: ../src/gf_item.c:59 msgid "South East" msgstr "Juhovchod" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Vavo hore" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Vpravo hore" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Vavo dole" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Vpravo dole" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Kamart" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protokol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Stav" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Obrovsk (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Vemi vek (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Vek (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Ben (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Mal (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Vemi mal (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Najmen (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Usekn" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elipsa na konci" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elipsa v strede" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elipsa na zaiatku" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Veobecne" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Voby zobrazenia" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Umiestnenie:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "Uklada:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Na seba" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Veda seba" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "Zobrazi poas away:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "no" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "iadny" #: ../src/gf_preferences.c:245 #, fuzzy msgid "_Animate:" msgstr "Animova:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_as zobrazenia:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "seknd(y)" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "My" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "av tlaidlo:" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "Stredn tlaidlo:" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "Prav tlaidlo:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Ukza" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Udalos" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Popis" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Upozornenia" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Vymaza tmu?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Urite chcete vymaza tto tmu?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nov" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Upravi" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Vymaza" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Aktualizova" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Nahran" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Meno" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Shrn" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Upravi" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Zska viac" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Tmy" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Verzia" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Website" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Podporuje" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Nzov sboru" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Pokroil" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "_Max. poet Guifications:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Umiestnenie:" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "Zobrazova upozornenia na obrazovke:" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "Zobrazova upozornenia na monitore:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tma" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Voby" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Chcete uloi zmeny pred ukonenm?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Chcete uloi zmeny pred vytvorenm novej tmy?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Chcete uloi zmeny pred otvorenm %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Potvrdi" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Urite chcete zmaza toto %s upozornenie?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Potvrdi zmazanie upozornenia" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Urite chcete zmaza tto %s poloku?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Potvrdi zmazanie poloky" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nov upozornenie" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Nov typ upozornenia:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nov poloka" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Nov typ poloky:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Otvori" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Vybra font" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Vybra farbu" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Meno:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Verzia:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Shrn:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Popis:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Website:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formt dtumu:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formt asu:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Upozornenie:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Elipsa:" #: ../src/gf_theme_editor.c:2444 #, fuzzy msgid "Alias:" msgstr "Chat alias" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Poui pozadie tmy Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Pozadie:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "rka:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Vka:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Horizontlna medzera:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Percent" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Vertiklna medzera:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Typ:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Vekos:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Obrzok:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formt:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "striok:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nov tma" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Uloi tmu" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nov upozornenie" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nov poloka" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplikt" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Posun vyie" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Posun niie" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Pomocnk" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editor tm Guifications " #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Najlep toaster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "Najlep toaster popup plugin" #~ msgid "Release Notification" #~ msgstr "Upozornenie na nov verziu" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "Kontroluj nov verzie" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s s dostupn, pouvate verziu %s." #~ msgid "ChangeLog:" #~ msgstr "Zmeny:" #~ msgid "You can download version %s from" #~ msgstr "Mete stiahnu verziu %s z" #~ msgid "New version available" #~ msgstr "Je dostupn nov verzia" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Je dostupn nov verzia Guifications!" #~ msgid "Anonymous" #~ msgstr "Anonymn" #~ msgid "Warned" #~ msgstr "Varovanie" #~ msgid "Displayed when you are warned." #~ msgstr "Zobrazen, ke vs niekto varoval." #~ msgid "buddy" #~ msgstr "kamart" #~ msgid "contact" #~ msgstr "kontakt" #~ msgid "group" #~ msgstr "skupina" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" pidgin-guifications-2.16/po/en_AU.po0000644000175000017500000004401210731276755014302 00000000000000# English (British) translation of Guifications # Copyright (C) 2004 Stu Tomlinson # This file is distributed under the same license as the Guifications package. # Stu tomlinson , 2004. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Guifications 2.0cvs\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-07-30 09:40-0400\n" "Last-Translator: Stu Tomlinson \n" "Language-Team: English (Australian) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n>1;\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Close" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Open Conversation" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Context Menu" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Get Info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Display Log" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Add Buddy Pounce" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "View IM log" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alias Buddy" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Remove Buddy" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Add Buddy" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Join" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Auto-join" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "View Chat Log" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Remove Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Add Chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Select a theme for the %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Select a theme for the %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Select a theme for the %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Theme" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Clear setting" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Random" #: ../src/gf_blist.c:184 msgid "None" msgstr "None" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Select Guifications theme" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Cancel" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications Theme" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Sign on" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Displayed when a buddy comes online." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Sign off" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Displayed when a buddy goes offline" #: ../src/gf_event.c:672 msgid "Away" msgstr "Away" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Displayed when a buddy goes away." #: ../src/gf_event.c:675 msgid "Back" msgstr "Back" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Displayed when a buddy returns from away." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Idle" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Displayed when a buddy goes idle." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Unidle" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Displayed when a buddy returns from idle" #: ../src/gf_event.c:686 msgid "IM message" msgstr "IM message" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Displayed when someone sends you a message." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Typing" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Displayed when someone is typing a message to you." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Stopped typing" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Displayed when someone has stopped typing a message to you." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Chat message" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Displayed when someone talks in a chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Name spoken" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Displayed when someone says your nick in a chat" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Displayed when someone joins a chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Leave" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Displayed when someone leaves a chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invited" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Displayed when someone invites you to a chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Topic changed" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Displayed when a topic is changed in a chat." #: ../src/gf_event.c:718 msgid "Email" msgstr "Email" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Displayed when you receive new email." #: ../src/gf_event.c:723 msgid "Master" msgstr "Master" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Master notification for the theme editor." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Displayed when a buddy goes idle." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icon" #: ../src/gf_item.c:50 msgid "Image" msgstr "Image" #: ../src/gf_item.c:50 msgid "Text" msgstr "Text" #: ../src/gf_item.c:56 msgid "North West" msgstr "North West" #: ../src/gf_item.c:56 msgid "North" msgstr "North" #: ../src/gf_item.c:57 msgid "North East" msgstr "North East" #: ../src/gf_item.c:57 msgid "West" msgstr "West" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centre" #: ../src/gf_item.c:58 msgid "East" msgstr "East" #: ../src/gf_item.c:58 msgid "South West" msgstr "South West" #: ../src/gf_item.c:58 msgid "South" msgstr "South" #: ../src/gf_item.c:59 msgid "South East" msgstr "South East" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Top Left" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Top Right" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Bottom Left" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Bottom Right" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Buddy" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Status" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Huge (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Large (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Big (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Little (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Small (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Tiny (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Truncate" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Ellipsis at the end" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Ellipsis in the middle" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Ellipsis at the beginning" #: ../src/gf_preferences.c:215 msgid "General" msgstr "General" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Display Options" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Position:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Stack:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Vertically" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontally" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Show _while away:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Yes" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "No" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animate:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Display Time:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "seconds" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Mouse" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Left:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Middle:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Right:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Show" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Event" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Description" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notifications" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Delete theme?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Are you sure you want to delete this theme?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "New" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Edit" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Delete" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Refresh" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Loaded" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Name" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Summary" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Edit" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Get More" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Themes" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Version" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Author" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Website" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Supports" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Filename" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Advanced" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Max _Visible Guifications:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Placement" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Show notifications on _screen:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Show notifications on _monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Theme" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Options" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Would you like to save before closing?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Would you like to save before creating a new theme?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Would you like to save before opening %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirm" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Are you sure you want to delete this %s notification?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirm delete notification" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Are you sure you want to delete this %s item?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirm delete item" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "New Notification" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "New notification type:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "New Item" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "New item type:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Open" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Select font" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Select colour" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Name:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Version:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Summary:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Description:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Author:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Website:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Date Format:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Time Format:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Warning:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Ellipsis:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Use Gtk theme background" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Background:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Width:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Height:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Horizontal Offset:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Percentage" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Vertical Offset:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Type:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Size:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Image:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Format:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Clipping:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "New theme" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Save theme" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "New notifications" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "New item" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicate" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Move up" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Move down" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Help" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications Theme Editor" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "The be all, and end all, toaster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "The be all, and end all, toaster popup plugin" #~ msgid "Release Notification" #~ msgstr "Release Notification" #~ msgid "_Check for new releases" #~ msgstr "_Check for new releases" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s is available, you are running version %s." #~ msgid "ChangeLog:" #~ msgstr "ChangeLog:" #~ msgid "You can download version %s from" #~ msgstr "You can download version %s from" #~ msgid "New version available" #~ msgstr "New version available" #~ msgid "There is a new version of Guifications available!" #~ msgstr "There is a new version of Guifications available!" #~ msgid "Anonymous" #~ msgstr "Anonymous" #~ msgid "Warned" #~ msgstr "Warned" #~ msgid "Displayed when you are warned." #~ msgstr "Displayed when you are warned." #~ msgid "buddy" #~ msgstr "buddy" #~ msgid "contact" #~ msgstr "contact" #~ msgid "group" #~ msgstr "group" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Behaviour" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Show Guifications while screensaver is active" #~ msgid "Appearance" #~ msgstr "Appearance" #~ msgid "Position Options" #~ msgstr "Position Options" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Show _alias if set" #~ msgid "Show _contacts as one guification" #~ msgstr "Show _contacts as one guification" #~ msgid "Buttons:" #~ msgstr "Buttons:" #~ msgid "Sign on delay:" #~ msgstr "Sign on delay:" #~ msgid "milliseconds" #~ msgstr "milliseconds" #~ msgid "Conversations" #~ msgstr "Conversations" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Hide notifications for focused conversations" #~ msgid "Hide chat join / leave messages" #~ msgstr "Hide chat join / leave messages" #~ msgid "pixels" #~ msgstr "pixels" #~ msgid "Miscellaneous" #~ msgstr "Miscellaneous" pidgin-guifications-2.16/po/sr.po0000644000175000017500000004764510731276755013756 00000000000000# guifications Serbian translation # # The files sr.po and sr@Latn.po are respectivelly the guification # translations for the Serbian language in Cyrillic and the Serbian # language in Latin script. As the Serbian language can be written down # equivocally using these two different scripts, both translation files # are provided. # # The sr@Latn.po is automatically generated from sr.po and # should NOT be edited by hand. They MUST always be # distributed one with the other. msgid "" msgstr "" "Project-Id-Version: guifications 2.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2004-08-08 22:50+01:00\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" "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/gf_action.c:199 msgid "Close" msgstr "Затвори" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Отвори разговор" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Допунски мени" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Добави податке" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Прикажи дневник" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Заседа другару" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Прегледај дневник порука" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Надени име" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Уклони другара" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Додај другара" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Приступи" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Приступи аутоматски" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Прегледај дневник разговора" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Надени име разговору" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Уклони разговор" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Додај разговор" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "Избор теме за другара %s" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "Избор теме за контакт %s" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "Избор теме за групу %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Тема" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Очисти подешавање" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Случајна" #: ../src/gf_blist.c:184 msgid "None" msgstr "Ниједна" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Избор теме" #: ../src/gf_blist.c:210 msgid "OK" msgstr "У реду" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Откажи" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Теме изгледа" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Пријава" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Приказује се када се другар пријави." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Одјава" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Приказује се када се другар одјави." #: ../src/gf_event.c:672 msgid "Away" msgstr "Одсутан" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Приказује се када другар оде на одсуство." #: ../src/gf_event.c:675 msgid "Back" msgstr "Повратак" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Приказује се када се другар врати са одсуства." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Беспослен" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Приказује се када је другар беспослен." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Упошљен" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Приказује се када се другар врати послу." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Брза порука" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Приказује се када неко пошаље поруку." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Куцање" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Приказује се када Вам неко куца поруку." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Крај куцања" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Приказује се када неко престане да куца поруку." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Разговор" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Приказује се када неко проговори у разговору." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Дозивање" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Приказује се када неко напише Ваше име у разговору" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Приказује се када неко приступи разговору." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Одлазак" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Приказује се када неко напусти разговор." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Позив" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Приказује се када Вас неко позове да приступите разговору." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Промена теме" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Приказује се када неко промени тему разговора." #: ../src/gf_event.c:718 msgid "Email" msgstr "Пошта" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Приказује се када примите нову електронску пошту." #: ../src/gf_event.c:723 msgid "Master" msgstr "Главно" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Главно обавештење за уређивач теме." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Приказује се када је другар беспослен." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Икона" #: ../src/gf_item.c:50 msgid "Image" msgstr "Слика" #: ../src/gf_item.c:50 msgid "Text" msgstr "Текст" #: ../src/gf_item.c:56 msgid "North West" msgstr "Северозапад" #: ../src/gf_item.c:56 msgid "North" msgstr "Север" #: ../src/gf_item.c:57 msgid "North East" msgstr "Североисток" #: ../src/gf_item.c:57 msgid "West" msgstr "Запад" #: ../src/gf_item.c:57 msgid "Center" msgstr "Средина" #: ../src/gf_item.c:58 msgid "East" msgstr "Исток" #: ../src/gf_item.c:58 msgid "South West" msgstr "Југозапад" #: ../src/gf_item.c:58 msgid "South" msgstr "Југ" #: ../src/gf_item.c:59 msgid "South East" msgstr "Југоисток" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Горе лево" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Горе десно" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Доле лево" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Доле десно" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Другар" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Протокол" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Статус" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Огромна (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Јако велика (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Велика (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Нормална (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Мала (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Малецка (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Сићушна (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Одсеци" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Три тачке на крају" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Три тачке у средини" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Три тачке на почетку" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Опште" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Опције приказа" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Место:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Ређање:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Вертикално" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Хоризонтално" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Приказивање при _одсуству:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Да" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Не" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Анимирај:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Дужина приказивања:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "(у секундама)" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Миш" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Лево дугме:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "С_редње дугме:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Десно дугме:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Прикажи" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Догађај" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Опис" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Обавештења" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Да ли да обришем тему?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Да ли сигурно желите да обришете ову тему?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Ново" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Уреди" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Обриши" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Освежи" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Учитано" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Име" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Сажетак" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Уреди" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Преузми још" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Теме" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Издање" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Аутор" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Ел. место" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Подржава" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Датотека" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Напредно" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Максималан број приказаних обавештења:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Смештај" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Прикажи обавештења на _екрану:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Прикажи обавештења на _монитору:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Тема" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Подаци" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Опције" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Да ли желите да сачувате пре затварања?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Да ли желите да сачувате пре него што направите нову тему?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Да ли желите да снимите пре него што отворите %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Потврди" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Да ли сигурно желите да обришете ово обавештење (%s)?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Потврда брисања обавештења" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Да ли сигурно желите да обришете ову %s ставку?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Потврда брисања ставке" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Ново обавештење" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Нова врста обавештења:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Нова ставка" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Врста нове ставке:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Отвори" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Избор писма" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Гуификације" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Избор боје" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Име:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Издање:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Сажетак:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Опис:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Аутор:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Ел. место:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Формат датума:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Формат времена:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Упозорење:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Три тачке:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Надимак:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Користи позадину из ГТК теме" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Позадина:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Ширина:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Висина:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Водоравни помак:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "У процентима" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Усправни помак:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Врста:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "В_еличина:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Слика:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Формат:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Опсецање:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Нова тема" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Сачувај тему" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Ново обавештење" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Нова ставка" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Умножи" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Нагоре" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Надоле" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Помоћ" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Уређивач теме за Гуификације" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Алфа и омега обавештајних додатака." #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Гуификације:\n" "Алфа и омега обавештајних додатака" #~ msgid "Release Notification" #~ msgstr "Обавештења о издањима" #~ msgid "_Check for new releases" #~ msgstr "_Провери нова издања" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Гуификације %s су доступне, тренутно користите издање %s." #~ msgid "ChangeLog:" #~ msgstr "Историјат:" #~ msgid "You can download version %s from" #~ msgstr "Издање %s можете преузети са" #~ msgid "New version available" #~ msgstr "Доступно је ново издање" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Доступно је ново издање Гуификација" #~ msgid "Anonymous" #~ msgstr "Анониман" #~ msgid "Warned" #~ msgstr "Упозорење" #~ msgid "Displayed when you are warned." #~ msgstr "Приказује се када Вас неко упозори." #~ msgid "buddy" #~ msgstr "другара" #~ msgid "contact" #~ msgstr "контакт" #~ msgid "group" #~ msgstr "групу" pidgin-guifications-2.16/po/uk.po0000644000175000017500000004756210731276755013747 00000000000000# Ukrainian translation of Guifications. # Copyright (C) 2005 Mykola Lynnyk # This file is distributed under the same license as the Guifications package. # Mykola Lynnyk , 2005. # msgid "" msgstr "" "Project-Id-Version: uk\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-07-06 19:00+0400\n" "Last-Translator: Mykola Lynnyk \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Закрити" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Відкрити бесіду" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Контекстне меню" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Отримати інформацію" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Показати журнал" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "Повідомлення" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Додати правило" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Переглянути журнал повідомлень" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Псевдонім користувача" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Видалити користувача" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Додати користувачаі" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Приєднатись" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Авто-приєднання" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Переглянути журнал розмови" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Псевдонім розмови" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Видалити розмову" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Додати розмову" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Виберіть тему для %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Виберіть тему для %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Виберіть тему для %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "Тема" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Очистити налаштування" #: ../src/gf_blist.c:180 msgid "Random" msgstr "У випадковому порядку" #: ../src/gf_blist.c:184 msgid "None" msgstr "Немає" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Виберіть тему Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Скасувати" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Тема Guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "В мережі" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Виводиться, коли користувач входить в мережу." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Не в мережі" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Виводиться, коли користувач виходить з мережі." #: ../src/gf_event.c:672 msgid "Away" msgstr "Відійшов" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Виводиться, коли користувач відходить." #: ../src/gf_event.c:675 msgid "Back" msgstr "Повернувся" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Виводиться, коли користувач повертається." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Бездіяльний" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Виводиться, коли користувач нічого не робить." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Не бездіяльний" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Виводиться, коли користувач щось робить." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Повідомлення" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Виводиться, коли хтось відправляє вам повідомлення." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Пише" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Виводиться, коли хтось починає писати вам повідомлення." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Перестав писати" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Виводиться, коли хтось перестає писати вам повідомлення." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Повідомлення в чаті" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Виводиться, коли хтось говорить в чаті." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Згадано ім'я" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Виводиться, коли хтось згадує ваше ім'я в чаті." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Виводится, коли хтось приєднується до чату." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Залишив" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Виводиться, коли хтось залишає чат." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Запрошує" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Виводиться, коли хтось запрошує вас в чат." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Змінена тема" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Виводиться, коли міняєтся тема в чаті." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Виводиться, коли ви отримуєте пошту." #: ../src/gf_event.c:723 msgid "Master" msgstr "Головний" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Головне сповіщення для редактора тем." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Виводиться, коли користувач нічого не робить." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Значок" #: ../src/gf_item.c:50 msgid "Image" msgstr "Зображення" #: ../src/gf_item.c:50 msgid "Text" msgstr "Текст" #: ../src/gf_item.c:56 msgid "North West" msgstr "Північний захід" #: ../src/gf_item.c:56 msgid "North" msgstr "Північ" #: ../src/gf_item.c:57 msgid "North East" msgstr "Північний схід" #: ../src/gf_item.c:57 msgid "West" msgstr "Захід" #: ../src/gf_item.c:57 msgid "Center" msgstr "Центр" #: ../src/gf_item.c:58 msgid "East" msgstr "Схід" #: ../src/gf_item.c:58 msgid "South West" msgstr "Південний захід" #: ../src/gf_item.c:58 msgid "South" msgstr "Південь" #: ../src/gf_item.c:59 msgid "South East" msgstr "Південний схід" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Згори ліворуч" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Згори праворуч" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Знизу ліворуч" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Знизу праворуч" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Користувач" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Протокол" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Стан" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Великий (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Крупний (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Середній (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Невеликий (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Маленький (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Крохітний (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Зрізати" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Скорочувати в кінці" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Скорочувати в середині" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Скорочувати на початку" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Загальні" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Параметри виводу" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "Розташування:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "Вкладати:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Вертикально" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Горизонтально" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Показувати за відсутності:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Так" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Ні" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "Анімація:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "Час відображення:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "секунд" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Кнопки миші" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "Ліва:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "Середня:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "Права:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Показувати" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Подія" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Опис" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Сповіщення" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Видалити тему?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Ви дійсно хочете видалити цю тему?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Нова" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Редагувати" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Видалити" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Обновити" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Завантажена" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Ім'я" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Резюме" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "Редагувати" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "Отримати ще" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Теми" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Версія" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Автор" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Веб-сайт" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Підтримує" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Ім'я файлу" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Додатково" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Максимальна кількість:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Розташування" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Показувати сповіщення на екрані:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Показувати сповіщення на моніторі:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Тема" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Інформація" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Параметри" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Бажаєте зберегти перед закриттям?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Бажаєте зерегти перед створенням нової теми?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Бажаєте зберегти перед тим, як відкрити %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Підтвердіть" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Ви дійсно хочете видалити сповіщення %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Підтвердіть видалення сповіщення" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Ви дійсно бажаєте видалити елемент %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Підтвердіть видалення елементу" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Нове сповіщення" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Тип нового сповіщення:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Новий елемент" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Тип нового елементу:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Відкрити" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Вибрати шрифт" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Вибрати колір" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Ім'я:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Версія:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Резюме:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Опис:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Автор:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Веб-сайт:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Формат дати:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Формат часу:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Попередження:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Символи скорочення:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Псевдонім:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Використовувати фон теми Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Фон:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Ширина:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Висота:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Відступ по горизонталі:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Процентне відношення" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Відступ по вертикалі:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "Тип:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "Розмір:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Зображення:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Формат:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Стинання:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Нова тема" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Зберегти тему" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Нове сповіщення" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Новий елемент" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Зробити копію" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Вище" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Нижче" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Довідка" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Редактор тем Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Графічні сповіщення" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "Графічні сповіщення" #~ msgid "Release Notification" #~ msgstr "Сповіщення про реліз" #~ msgid "_Check for new releases" #~ msgstr "Перевіряти наявність нових версій" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Наявна версія Guifications %s, ви користуєтесь версією %s." #~ msgid "ChangeLog:" #~ msgstr "Список змін:" #~ msgid "You can download version %s from" #~ msgstr "Ви можете завантажити версію %s з" #~ msgid "New version available" #~ msgstr "Наявна нова версія" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Наявна нова версія Guifications!" #~ msgid "Anonymous" #~ msgstr "Анонімний" #~ msgid "Warned" #~ msgstr "Попереджує" #~ msgid "Displayed when you are warned." #~ msgstr "Виводиться, коли вам роблять попередження." #~ msgid "buddy" #~ msgstr "користувач" #~ msgid "contact" #~ msgstr "контакт" #~ msgid "group" #~ msgstr "група" #~ msgid "Велетенський (144x144)" #~ msgstr " (144x144)" pidgin-guifications-2.16/po/AUTHORS0000644000175000017500000000111010567471427014013 00000000000000Translators =========== Netizen Trancelis (cs) David Kiliani (de) Stefan Georg (de) Peter Lawler (en_AU) Stu Tomlinson (en_GB) David Rubio (es) gnacio Casal Quinteiro (gl) Julien Enche (fr) Ficoos Bangaly (he) John Rapchuck (hu) Nyitrai Istvan (hu) Giacomo Succi (it) Yoshinari Takaoka (ja) Arangel Angov (mk) Lennert Van Alboom (nl, fr) Lars-Erik A. Labori (no) Duarte Henriques (pt) Gustavo Vasconcelos (pt_BR) Dmitry Beloglazov (ru) Jozef Riha (sk) Filip Miletic (sr, sr@Latn) Sergej Kotliar (sv) Peter Hjalmarsson (sv_SE) Mykola Lynnyk (uk) Zhengang LI (zh_CN) Ambrose Li (zh_TW) pidgin-guifications-2.16/po/no.po0000644000175000017500000004166010731276755013735 00000000000000# translation of no.po to Norsk Bokmål, Norwegian # translation of no.po to Norsk Bokmål # translation of guifications.po to Norsk Bokmål # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Lasse Labori , 2004. # Lasse Labori , 2004. # msgid "" msgstr "" "Project-Id-Version: no\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2004-07-21 15:31+0200\n" "Last-Translator: Lasse Labori \n" "Language-Team: Norsk Bokmål, Norwegian\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.3.1\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "" #: ../src/gf_action.c:205 #, fuzzy msgid "Display Log" msgstr "Visnings alternativer" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Kommer inn" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "" #: ../src/gf_blist.c:175 #, fuzzy msgid "_Theme" msgstr "Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "" #: ../src/gf_blist.c:180 msgid "Random" msgstr "" #: ../src/gf_blist.c:184 msgid "None" msgstr "" #: ../src/gf_blist.c:208 #, fuzzy msgid "Select Guifications theme" msgstr "Guification" #: ../src/gf_blist.c:210 msgid "OK" msgstr "" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "" #. add our menu item #: ../src/gf_blist.c:250 #, fuzzy msgid "Guifications Theme" msgstr "Guification" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Logget på" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Vises når en fra kontaktlisten logger seg på." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Logget av" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Vises når en fra kontaktlisten logger seg av." #: ../src/gf_event.c:672 msgid "Away" msgstr "Borte" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Vises når en fra kontaktlisten setter status til borte." #: ../src/gf_event.c:675 msgid "Back" msgstr "Tilbake" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Vises når en fra kontaktlisten kommer tilbake." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inaktiv" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Vises når en fra kontaktlisten ikke er aktiv." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Aktiv" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Vises når en fra kontaktlisten er aktiv igjen." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Øyeblikkelig Melding" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Vises når noen sender deg en melding." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Skriver" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Vises når noen skriver en melding." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Sluttet å skrive" #: ../src/gf_event.c:693 #, fuzzy msgid "Displayed when someone has stopped typing a message to you." msgstr "Vises når noen har stoppet skrivingen." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Samtale melding" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Vises når noen snakker i en samtale." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "" #: ../src/gf_event.c:700 #, fuzzy msgid "Displayed when someone says your nick in a chat" msgstr "Vises når noen snakker i en samtale." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Vises når noen kommer inn i en samtale." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Går ut" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Vises når noen går ut av en samtale." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invitasjon" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Vises når noen inviterer deg til en samtale." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "" #: ../src/gf_event.c:715 #, fuzzy msgid "Displayed when a topic is changed in a chat." msgstr "Vises når noen kommer inn i en samtale." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Vises når du får en advarsel." #: ../src/gf_event.c:723 msgid "Master" msgstr "" #: ../src/gf_event.c:723 #, fuzzy msgid "Master notification for the theme editor." msgstr "Guification" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Vises når en fra kontaktlisten ikke er aktiv." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "" #: ../src/gf_item.c:50 #, fuzzy msgid "Image" msgstr "Øyeblikkelig Melding" #: ../src/gf_item.c:50 msgid "Text" msgstr "" #: ../src/gf_item.c:56 msgid "North West" msgstr "" #: ../src/gf_item.c:56 msgid "North" msgstr "" #: ../src/gf_item.c:57 msgid "North East" msgstr "" #: ../src/gf_item.c:57 #, fuzzy msgid "West" msgstr "Web side" #: ../src/gf_item.c:57 msgid "Center" msgstr "" #: ../src/gf_item.c:58 msgid "East" msgstr "" #: ../src/gf_item.c:58 msgid "South West" msgstr "" #: ../src/gf_item.c:58 msgid "South" msgstr "" #: ../src/gf_item.c:59 msgid "South East" msgstr "" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Venstre oppe" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Høyre oppe" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Venstre nede" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Høyre nede" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "" #: ../src/gf_menu.c:263 msgid "Status" msgstr "" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "" #: ../src/gf_preferences.c:215 msgid "General" msgstr "" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Visnings alternativer" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Posisjon:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "Tilbake" #: ../src/gf_preferences.c:230 #, fuzzy msgid "Vertically" msgstr "V_ertikal" #: ../src/gf_preferences.c:231 #, fuzzy msgid "Horizontally" msgstr "_Horisontal Offset:" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "_Vis Guificationer mens man er borte" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Visnings tid:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "sekunder" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "Venstre oppe" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "Aktiv" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "Høyre oppe" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Vis" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Hendelse" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Beskrivelse" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Varsel" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "" #: ../src/gf_preferences.c:999 msgid "New" msgstr "" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Oppdatere" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Lastet" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Navn" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Oppsummering" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Tema" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versjon" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Opphavsmann" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Web side" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avansert" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "_Max synlige Guificationer" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "Varsel" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "Varsel" #: ../src/gf_theme_editor.c:344 #, fuzzy msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "" #: ../src/gf_theme_editor.c:354 #, fuzzy msgid "Options" msgstr "Visnings alternativer" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "" #: ../src/gf_theme_editor.c:862 #, fuzzy msgid "Confirm delete notification" msgstr "Utgivelses melding" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "" #: ../src/gf_theme_editor.c:1025 #, fuzzy msgid "New Notification" msgstr "Varsel" #: ../src/gf_theme_editor.c:1038 #, fuzzy msgid "New notification type:" msgstr "Varsel" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guification" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "" #: ../src/gf_theme_editor.c:2376 #, fuzzy msgid "Name:" msgstr "Navn" #: ../src/gf_theme_editor.c:2380 #, fuzzy msgid "Version:" msgstr "Versjon" #: ../src/gf_theme_editor.c:2384 #, fuzzy msgid "Summary:" msgstr "Oppsummering" #: ../src/gf_theme_editor.c:2388 #, fuzzy msgid "Description:" msgstr "Beskrivelse" #: ../src/gf_theme_editor.c:2392 #, fuzzy msgid "Author:" msgstr "Opphavsmann" #: ../src/gf_theme_editor.c:2396 #, fuzzy msgid "Website:" msgstr "Web side" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "" #: ../src/gf_theme_editor.c:2474 #, fuzzy msgid "Height:" msgstr "Høyre oppe" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Horisontal Offset:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Vertikal Offset:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "" #: ../src/gf_theme_editor.c:2552 #, fuzzy msgid "Image:" msgstr "Øyeblikkelig Melding" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "" #: ../src/gf_theme_editor.c:2662 #, fuzzy msgid "New notification" msgstr "Varsel" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "" #: ../src/gf_theme_editor.c:2743 #, fuzzy msgid "Guifications Theme Editor" msgstr "Guification" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "" "Det var slutten dere, vær alle, brødrister sprett-opp innstikkningsmodul" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guification:\n" "Det var slutten dere, vær alle, brødrister sprett-opp innstikkningsmodul" #~ msgid "Release Notification" #~ msgstr "Utgivelses melding" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "Sjekk etter nyere utgaver" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guification versjon %s er tilgjengelig, du bruker versjon %s." #~ msgid "ChangeLog:" #~ msgstr "ChangeLog" #~ msgid "You can download version %s from" #~ msgstr "Du kan laste ned versjon %s fra" #~ msgid "New version available" #~ msgstr "Ny versjon er tilgjengelig" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Det finnes en nyere versjon av Guification tilgjengelig!" #~ msgid "Warned" #~ msgstr "Advarsel" #~ msgid "Displayed when you are warned." #~ msgstr "Vises når du får en advarsel." #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Oppførsel" #~ msgid "Appearance" #~ msgstr "Utseende" #~ msgid "Position Options" #~ msgstr "Posisjons alternativer" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Vis _alias om det er opprettet" #~ msgid "Show _contacts as one guification" #~ msgstr "Vis _kontakter som 1 Guification" #~ msgid "Sign on delay:" #~ msgstr "Påloggings forsinkelse" #~ msgid "milliseconds" #~ msgstr "millisekunder" #, fuzzy #~ msgid "Conversations" #~ msgstr "Versjon" #, fuzzy #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Vis Guificationer mens man er borte" #~ msgid "pixels" #~ msgstr "pixler" pidgin-guifications-2.16/po/fr.po0000644000175000017500000004570710731276755013736 00000000000000# Guifications French translation. # Copyright (C) 2004, Lennert Van Alboom # This file is distributed under the same license as the Guifications package. # Lennert Van Alboom , 2004 # Julien Enche , 2005-2006 # msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-05-09 22:35+0200\n" "Last-Translator: Adri2000 \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Fermer" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Ouvrir une conversation" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Menu contextuel" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Infos" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Afficher les archives des messages" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "Message" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Ajouter une alerte" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Voir les archives des messages" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Donner un alias au contact" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Supprimer contact" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Ajouter contact" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Discussion jointe" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Connexion auto" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Voir archives des discussions" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Donner un alias la discussion" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Supprimer discussion" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Ajouter discussion" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "Veuillez choisir un thme pour le contact %s" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "Veuillez choisir un thme pour le contact %s" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "Veuillez choisir un thme pour le groupe %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Thme" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Effacer paramtre" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Alatoire" #: ../src/gf_blist.c:184 msgid "None" msgstr "Aucun" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Choisir le thme Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Annuler" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Thme Guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Connecter" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Montre quand un contact se connecte." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Dconnecter" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Montre quand un contact se dconnecte." #: ../src/gf_event.c:672 msgid "Away" msgstr "Absent" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Montre quand un contact s'absente." #: ../src/gf_event.c:675 msgid "Back" msgstr "De retour" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Montre quand un contact n'est plus absent." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inactif" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Montre quand un contact devient inactif." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Actif" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Montre quand un contact n'est plus inactif." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Message" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Montre quand un contact vous envoie un message." #: ../src/gf_event.c:689 msgid "Typing" msgstr "En cours d'criture" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Montre quand quelqu'un est en train de vous crire un message." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Arrt de l'criture" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Montre quand quelqu'un arrte de vous crire un message." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Message dans une discussion" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Montre quand quelqu'un parle dans une discussion." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Pseudonyme mentionn" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Montre quand quelqu'un crit votre pseudonyme dans une discussion." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Montre quand quelqu'un joint une discussion." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Dpart" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Montre quand quelqu'un quitte une discussion." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invit" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Montre quand quelqu'un vous invite dans une discussion." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Sujet chang" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Montre quand le sujet d'une discussion est chang." #: ../src/gf_event.c:718 msgid "Email" msgstr "Email" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Montre quand vous recevez un nouvel email." #: ../src/gf_event.c:723 msgid "Master" msgstr "Maitre" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Notification maitre pour l'diteur de thme." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "Rception d'un fichier annule" #: ../src/gf_event.c:727 msgid "Displayed when the buddy cancels the file transfer." msgstr "Montre quand un contact annule un transfert de fichier." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "Rception d'un fichier termine" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "Montre quand la rception d'un fichier se termine." #: ../src/gf_event.c:732 msgid "File send completed" msgstr "Envoi d'un fichier termin" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "Montre quand l'envoi d'un fichier se termine." #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icne" #: ../src/gf_item.c:50 msgid "Image" msgstr "Image" #: ../src/gf_item.c:50 msgid "Text" msgstr "Texte" #: ../src/gf_item.c:56 msgid "North West" msgstr "Haut Gauche" #: ../src/gf_item.c:56 msgid "North" msgstr "Haut" #: ../src/gf_item.c:57 msgid "North East" msgstr "Haut Droit" #: ../src/gf_item.c:57 msgid "West" msgstr "Gauche" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centre" #: ../src/gf_item.c:58 msgid "East" msgstr "Droit" #: ../src/gf_item.c:58 msgid "South West" msgstr "Bas Gauche" #: ../src/gf_item.c:58 msgid "South" msgstr "Bas" #: ../src/gf_item.c:59 msgid "South East" msgstr "Bas Droit" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Haut Gauche" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Haut Droit" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Bas Gauche" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Bas Droit" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Contact" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocole" #: ../src/gf_menu.c:263 msgid "Status" msgstr "tat" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "norme (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Plus grand (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Grand (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Petit (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Plus petit (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Minuscule (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Tronquer" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Points de suspension la fin" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Points de suspension au milieu" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Points de suspension au dbut" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Gnral" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Options d'affichage" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Position :" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Alignement :" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Vertical" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontal" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Montrer lorsque a_bsent :" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Oui" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Non" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "A_nimer :" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "Temps d'a_ffichage :" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "secondes" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Souris" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Gauche :" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Milieu :" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Droit :" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Montrer" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "vnement" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Description" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notifications" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Supprimer le thme ?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "tes-vous sr de vouloir supprimer ce thme ?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nouveau" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "diter" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Supprimer" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Rafrachir" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Charg" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Nom" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Rsum" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Editer" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Plus de thmes" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Thmes" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Version" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Auteur" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Site web" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Supporte" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Nom de fichier" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avanc" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Maximum de Guifications v_isibles :" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Emplacement" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Afficher les notifications sur l'_cran :" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Afficher les notifications sur le _moniteur :" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Thme" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Options" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Voulez-vous enregistrer avant de fermer ?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Voulez-vous enregistrer avant de crer un nouveau thme ?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Voulez-vous enregistrer avant d'ouvrir %s ?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirmer" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "tes-vous sr de vouloir supprimer la notification %s ?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirmer la suppression de la notification" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "tes-vous sr de vouloir supprimer l'item %s ?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirmez la suppression de l'item" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nouvelle notification" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Type de la nouvelle notification :" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nouvel Item" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Type du nouvel item :" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Ouvrir" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Choix de la police" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Choix de la couleur" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Nom :" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Version :" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Rsum :" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Description :" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Auteur :" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Site web :" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Format de la date :" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Format de l'heure :" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Avertissement :" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Points de suspension :" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias :" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Utiliser le fond du thme Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Fond :" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Largeur :" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Hauteur :" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Dcalage _horizontal :" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Pourcentage" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Dcalage _vertical :" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Type :" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "T_aille :" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Image :" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Format :" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Coupure :" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nouveau thme" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Enregistrer le thme" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nouvelle notification" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nouvel item" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Copier" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Monter" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Descendre" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Aide" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "diteur de thme Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Le plugin de notification ultime" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications :\n" "Le plugin de notification ultime" #~ msgid "Release Notification" #~ msgstr "Notification d'une nouvelle version" #~ msgid "_Check for new releases" #~ msgstr "_Vrifier les mises jour" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "" #~ "Guifications %s est disponible, vous utilisez en ce moment la version %s." #~ msgid "ChangeLog:" #~ msgstr "Nouveauts :" #~ msgid "You can download version %s from" #~ msgstr "Vous pouvez tlcharger la version %s partir de" #~ msgid "New version available" #~ msgstr "Nouvelle version disponible" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Une nouvelle version de Guifications est disponible !" #~ msgid "Anonymous" #~ msgstr "Anonyme" #~ msgid "Warned" #~ msgstr "Averti" #~ msgid "Displayed when you are warned." #~ msgstr "Montre quand quelqu'un vous avertit." #~ msgid "buddy" #~ msgstr "contact" #~ msgid "contact" #~ msgstr "contact" #~ msgid "group" #~ msgstr "groupe" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Comportement" #~ msgid "Appearance" #~ msgstr "Apparence" #~ msgid "Position Options" #~ msgstr "Options de position" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Montre l'_alias si possible" #~ msgid "Show _contacts as one guification" #~ msgstr "Montre les _contacts dans une seule Guification" #~ msgid "Buttons:" #~ msgstr "Boutons:" #~ msgid "Sign on delay:" #~ msgstr "Dlai de connexion:" #~ msgid "milliseconds" #~ msgstr "millisecondes" #~ msgid "Conversations" #~ msgstr "Conversations" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Cacher les notifications pour les conversations actives" #~ msgid "Hide chat join / leave messages" #~ msgstr "Cacher les messages rejoint/quitter dans une discussion" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "Montrez de_s Guifications aussi si l'cran de veille est actif" #~ msgid "pixels" #~ msgstr "pixels" #~ msgid "Miscellaneous" #~ msgstr "Divers" pidgin-guifications-2.16/po/es.po0000644000175000017500000004510110731276755013722 00000000000000# Guifications Spanish translation # Copyright (C) 2004, David Rubio Migulez # This file is distributed under the same license as the Guifications package. # David Rubio Migulez , 2004. # msgid "" msgstr "" "Project-Id-Version: es\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2004-12-13 18:12+0200\n" "Last-Translator: David Rubio Migulez \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Cerrar" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Abrir Conversacin" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Men Contextual" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Obtener Informacin" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Mostrar Registro" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "Mensaje privado" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Aadir Aviso de Amigo" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Ver registro de mensajes privados" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Apodar Amigo" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Eliminar Amigo" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Aadir Amigo" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Unirse" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Unirse automticamente" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Ver Registro del Chat" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Apodar Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Eliminar Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Aadir Chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Seleccione un tema para el %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Seleccione un tema para el %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Seleccione un tema para el %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Borrar ajuste" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Aleatorio" #: ../src/gf_blist.c:184 msgid "None" msgstr "Ninguno" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Seleccione un tema de Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "Aceptar" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Cancelar" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Tema de Guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Conectado" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Mostrado cuando un amigo se conecta." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Desconectado" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Mostrado cuando un amigo se desconecta." #: ../src/gf_event.c:672 msgid "Away" msgstr "Ausente" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Mostrado cuando un amigo se ausenta." #: ../src/gf_event.c:675 msgid "Back" msgstr "De vuelta" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Mostrado cuando un amigo vuelve del absentismo." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inactivo" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Mostrado cuando un amigo se vuelve inactivo." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Activo" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Mostrado cuando un amigo vuelve a la actividad." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Mensaje privado" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Mostrado cuando alguien te enva un mensaje." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Escribiendo" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Mostrado cuando alguien te est escribiendo." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Escritura detenida" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Mostrado cuando alguien te deja de escribir." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Mensaje de chat" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Mostrado cuando alguien habla en un chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Nombre pronunciado" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Mostrado cuando alguien te nombra en un chat." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Mostrado cuando alguien se une a un chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Salida" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Mostrado cuando alguien deja un chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invitado" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Mostrado cuando alguien te invita a un chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Tema cambiado" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Mostrado cuando se cambia el tema en un chat." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Mostrado cuando se te da un aviso." #: ../src/gf_event.c:723 #, fuzzy msgid "Master" msgstr "Maestro" #: ../src/gf_event.c:723 #, fuzzy msgid "Master notification for the theme editor." msgstr "Notificacin maestra para el editor de temas." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Mostrado cuando un amigo se vuelve inactivo." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icono" #: ../src/gf_item.c:50 msgid "Image" msgstr "Imagen" #: ../src/gf_item.c:50 msgid "Text" msgstr "Texto" #: ../src/gf_item.c:56 msgid "North West" msgstr "Noroeste" #: ../src/gf_item.c:56 msgid "North" msgstr "Norte" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nordeste" #: ../src/gf_item.c:57 msgid "West" msgstr "Oeste" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centro" #: ../src/gf_item.c:58 msgid "East" msgstr "Este" #: ../src/gf_item.c:58 msgid "South West" msgstr "Sudoeste" #: ../src/gf_item.c:58 msgid "South" msgstr "Sur" #: ../src/gf_item.c:59 msgid "South East" msgstr "Sudeste" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Arriba Izquierda" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Arriba Derecha" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Abajo Izquierda" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Abajo Derecha" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Amigo" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocolo" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Estado" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Descomunal (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Enorme (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Grande (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Reducido (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Pequeo (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Diminuto (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Truncar" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elipse al final" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elipse en el medio" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elipse al principio" #: ../src/gf_preferences.c:215 msgid "General" msgstr "General" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Opciones Grficas" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Posicin:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "Apilar:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Verticalmente" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontalmente" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "_Mostrar Guificaciones estando ausente" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 #, fuzzy msgid "No" msgstr "Ninguno" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Duracin:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "segundos" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Ratn" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "Izquierdo:" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "Central:" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "Derecho:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Mostrar" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Evento" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Descripcin" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notificaciones" #: ../src/gf_preferences.c:919 #, fuzzy msgid "Delete theme?" msgstr "Borrar tema?" #: ../src/gf_preferences.c:920 #, fuzzy msgid "Are you sure you want to delete this theme?" msgstr "Est seguro de que quiere borrar este tema?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nuevo" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Editar" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Borrar" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Recargar" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Cargado" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Nombre" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Resumen" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Editar" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Conseguir Ms" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Temas" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versin" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Pgina web" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Soporta" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avanzado" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "_Guificaciones Mximas Visibles" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Posicionamiento" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "Mostrar notificaciones en la pantalla:" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "Mostrar notificaciones en el monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opciones" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Quiere guardar antes de salir?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Quiere guardar antes de crear un nuevo tema?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Quiere guardar antes de abrir %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirme" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Est seguro de que quiere borrar esta notificacin de %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirme el borrado de la notificacin" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Est seguro de que quiere borrar este elemento de %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirme el borrado del elemento" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nueva Notificacin" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Nuevo tipo de notificacin:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nuevo Elemento" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Nuevo tipo de elemento:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Abrir" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Seleccionar tipografa" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Seleccionar color" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Nombre:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Versin" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Resumen:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Descripcin:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Pgina web:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formato de Fecha:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formato de Hora:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Aviso:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Elipse:" #: ../src/gf_theme_editor.c:2444 #, fuzzy msgid "Alias:" msgstr "Apodar Chat" #: ../src/gf_theme_editor.c:2450 #, fuzzy msgid "Use Gtk theme background" msgstr "Usar el fondo del tema de Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Fondo:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Ancho:" #: ../src/gf_theme_editor.c:2474 #, fuzzy msgid "Height:" msgstr "Altura:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Distancia _Horizontal:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Porcentaje:" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Distancia _Vertical:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Tipo:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "T_amao:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Imagen:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formato:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Recorte:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nuevo tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Guardar tema" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nueva notificacin" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nuevo elemento" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicar" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Mover arriba" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Mover abajo" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Ayuda" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editor de Temas de Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "El definitivo y todopoderoso notificador emergente" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "El definitivo y todopoderoso notificador emergente" #~ msgid "Release Notification" #~ msgstr "Notificacin de Lanzamiento" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "Comprobar nuevas versiones" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Est disponible Guifications %s, usted tiene la version %s." #~ msgid "ChangeLog:" #~ msgstr "Cambios:" #~ msgid "You can download version %s from" #~ msgstr "Puede descargar la versin %s desde" #~ msgid "New version available" #~ msgstr "Nueva version disponible" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Hay una nueva versin de Guifications disponible!" #~ msgid "Anonymous" #~ msgstr "Annimo" #~ msgid "Warned" #~ msgstr "Avisado" #~ msgid "Displayed when you are warned." #~ msgstr "Mostrado cuando se te da un aviso." #~ msgid "buddy" #~ msgstr "amigo" #~ msgid "contact" #~ msgstr "contacto" #~ msgid "group" #~ msgstr "grupo" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Comportamiento" #~ msgid "Appearance" #~ msgstr "Apariencia" #~ msgid "Position Options" #~ msgstr "Opciones de Posicin" #~ msgid "_Zoom:" #~ msgstr "_Aumento:" #~ msgid "Show _alias if set" #~ msgstr "Mostrar _alias si configurado" #~ msgid "Show _contacts as one guification" #~ msgstr "Mostrar _contactos como una guificacin" #~ msgid "Buttons:" #~ msgstr "Botones:" #~ msgid "Sign on delay:" #~ msgstr "Retardo de conexin:" #~ msgid "milliseconds" #~ msgstr "milisegundos" #~ msgid "Conversations" #~ msgstr "Conversaciones" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Esconder notificaciones para las conversaciones con foco" #~ msgid "Hide chat join / leave messages" #~ msgstr "Esconder mensajes de entrada / salida de chat" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Mostrar Guificaciones mientras el salvapantallas est activo" #~ msgid "pixels" #~ msgstr "pxels" #~ msgid "Miscellaneous" #~ msgstr "Miscelnea" pidgin-guifications-2.16/po/pt.po0000644000175000017500000004457010731276755013747 00000000000000# Guifications Portuguese (Portugal) translation # Copyright (C) 2004, Duarte Henriques # # This file is distributed under the same license as the Guifications package. # msgid "" msgstr "" "Project-Id-Version: guifications2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-04-05 00:54+0000\n" "Last-Translator: Duarte Henriques \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Fechar" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Abrir Conversa" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Menu de Contexto" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Obter Info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Mostrar Registo" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "MI" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Adicionar Notificação de Contacto" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Ver registo de MI" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Renomear Contacto" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Remover Contacto" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Adicionar Contacto" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Entrar" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Entrar automaticamente" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Ver Registo de Chat" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Renomear Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Remover Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Adicionar Chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Escolha um tema para %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Escolha um tema para %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Escolha um tema para %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Apagar definição" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Aleatório" #: ../src/gf_blist.c:184 msgid "None" msgstr "Nenhum" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Escolher Tema de Guificações" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Cancelar" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Tema de Guificações" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Ligar" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Mostrado quando um contacto se liga." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Desligar" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Mostrado quando um contacto se desliga." #: ../src/gf_event.c:672 msgid "Away" msgstr "Ausente" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Mostrado quando um contacto se torna ausente." #: ../src/gf_event.c:675 msgid "Back" msgstr "De volta" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Mostrado quando um contacto volta de ausente." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inactivo" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Mostrado quando um contacto fica inactivo." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Activo" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Mostrado quando um contacto volta de inactivo." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Mensagem MI" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Mostrado quando alguem lhe envia uma mensagem." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Escrevendo" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Mostrado quando alguem está a escrever uma mensagem para si." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Parou de escrever" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Mostrado quando alguem parou de escrever uma mensagem para si." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Mensagem de chat" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Mostrado quando alguem fala num chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Nome falado" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Mostrado quando alguem diz o seu nome num chat" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Mostrado quando alguem entra num chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Sair" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Mostrado quando alguem sai de um chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Convidado" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Mostrado quando alguem o convida para um chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Tópico alterado" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Mostrado quando um tópico é modificado num chat." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Mostrado quando é avisado." #: ../src/gf_event.c:723 msgid "Master" msgstr "Mestre" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Notificação mestre para o editor de temas." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Mostrado quando um contacto fica inactivo." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ícone" #: ../src/gf_item.c:50 msgid "Image" msgstr "Imagem" #: ../src/gf_item.c:50 msgid "Text" msgstr "Texto" #: ../src/gf_item.c:56 msgid "North West" msgstr "Noroeste" #: ../src/gf_item.c:56 msgid "North" msgstr "Norte" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nordeste" #: ../src/gf_item.c:57 msgid "West" msgstr "Oeste" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centro" #: ../src/gf_item.c:58 msgid "East" msgstr "Este" #: ../src/gf_item.c:58 msgid "South West" msgstr "Sudoeste" #: ../src/gf_item.c:58 msgid "South" msgstr "Sul" #: ../src/gf_item.c:59 msgid "South East" msgstr "Sudeste" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Superior Esquerdo" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Superior Direito" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Inferior Esquerdo" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Inferior Direito" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Contacto" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocolo" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Estado" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Gigante (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Enorme (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Grande (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Pequeno (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Minúsculo (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Mínimo (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Truncar" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elipsar no fim" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elipsar no meio" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elipsar no princípio" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Geral" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Mostrar Opções" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Posição:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "Pilha:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Verticalmente" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontalmente" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "Mostrar enquanto ausente:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Sim" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Não" #: ../src/gf_preferences.c:245 #, fuzzy msgid "_Animate:" msgstr "Animar:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "Mostrar _Durante:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "segundos" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Rato" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "Esquerdo:" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "Meio:" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "Direito:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Mostrar" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Acontecimento" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Descrição" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notificação" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Remover tema?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Tem a certeza que quer remover este tema?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Novo" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Editar" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Apagar" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Refrescar" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Carregado" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Nome" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Resumo" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Editar" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Obter Mais" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Temas" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versão" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Website" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Suporta" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Nome de Ficheiro" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avançado" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "Máx de Guificações _Visíveis:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Posicionamento" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "Mostrar notificações no ecrã:" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "Mostrar notificações no monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opções" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Gostaria de guardar antes de sair?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Gostaria de guardar antes de criar um novo tema?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Gostaria de gravar antes de abrir %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirmar" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Tem a certeza que quer remover esta notificação de %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirmar a remoção de notificação" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Tem a certeza que quer remover este item de %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirmar a remoção do item" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nova Notificação" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Tipo da nova notificação:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Novo Ítem" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Tipo do novo ítem:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Abrir" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Seleccionar fonte" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guificações" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Seleccionar cor" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Nome:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Versão:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Resumo:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Descrição:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Website:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formato de Data:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formato de Tempo:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Aviso:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Elipse:" #: ../src/gf_theme_editor.c:2444 #, fuzzy msgid "Alias:" msgstr "Renomear Chat" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Usar fundo do tema Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Fundo:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Largura:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Altura:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Intervalo _Horizontal:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Percentagem" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Intervalo _Vertical:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Tipo:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Tamanho:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Imagem:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formato:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Cortar:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Novo tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Guardar tema" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nova notificação" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Novo item" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicar" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Mover para cima" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Mover para baixo" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Ajuda" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editor de Temas Guificações" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "O plugin de popups para acabar com eles todos" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guificações:\n" "O plugin de popups para acabar com eles todos" #~ msgid "Release Notification" #~ msgstr "Notificação de Versão" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "Verificar novas versões" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guificações %s está disponível, esta é a versão %s." #~ msgid "ChangeLog:" #~ msgstr "ChangeLog:" #~ msgid "You can download version %s from" #~ msgstr "Pode descarregar a versão %s de" #~ msgid "New version available" #~ msgstr "Nova versão disponível" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Há uma nova versão de Guificações disponível!" #~ msgid "Anonymous" #~ msgstr "Anónimo" #~ msgid "Warned" #~ msgstr "Avisado" #~ msgid "Displayed when you are warned." #~ msgstr "Mostrado quando é avisado." #~ msgid "buddy" #~ msgstr "contacto" #~ msgid "contact" #~ msgstr "pessoa" #~ msgid "group" #~ msgstr "grupo" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Comportamento" #~ msgid "Appearance" #~ msgstr "Aparência" #~ msgid "Position Options" #~ msgstr "Opções de Posição" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Mostrar _nome local se definido" #~ msgid "Show _contacts as one guification" #~ msgstr "Mostrar _contactos como uma guificação" #~ msgid "Buttons:" #~ msgstr "Botões:" #~ msgid "Sign on delay:" #~ msgstr "Atraso de ligação:" #~ msgid "milliseconds" #~ msgstr "milisegundos" #~ msgid "Conversations" #~ msgstr "Conversas" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Esconder notificações para conversas com foco" #~ msgid "Hide chat join / leave messages" #~ msgstr "Esconder mensagens de Entrar / Sair num chat" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Mostrar Guificações quando o screensaver está activo" #~ msgid "pixels" #~ msgstr "pixels" pidgin-guifications-2.16/po/zh_TW.po0000644000175000017500000005134110731276755014351 00000000000000# Chinese (traditional) translation for Guifications. # Copyright (C) 2004 Gary Kramlich # This file is distributed under the same license as the Guifications package. # Ambrose Li , 2004-2006. # # $InternalId: zh_TW.po,v 1.23 2006/11/24 08:32:31 acli Rel $ # msgid "" msgstr "" "Project-Id-Version: guifications 2.13beta5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-11-24 01:56-0500\n" "Last-Translator: Ambrose Li \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/gf_action.c:199 msgid "Close" msgstr "關閉" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "開啟交談" # XXX 蘋果譯「項目特色清單(Contextual Menu) 」,但這明顯是錯的,因為「Menu」 # XXX 是「選單」而非「清單」;有一個人譯「智慧型動態選單(Contextual Menu)」 # XXX 但要強調的是,那只是「一」個人 # XXX 微軟那邊也見不了好,「快顯功能表(Context-Menu)」、「指令選單(context # XXX menu) 」、「右鍵選單」、「右鍵功能表(Context Menu)」 # XXX OOo 用「快顯功能表(context menu)」,但OOo的中文翻譯真是不敢恭維…… # XXX 參見http://ccca.nctu.edu.tw/~hlb/tavi/TransDictionary/Computer #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "右鍵選單" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "取得資訊" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "顯示日誌" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "即時訊息" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "新增好友狀態捕捉" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "讀取即時訊息日誌" # XXX #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "為好友加別名" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "移除好友" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "新增好友" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "加入" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "自動加入" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "讀取聊天日誌" # XXX #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "為聊天室加別名" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "移除聊天室" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "新增聊天室" # FIXME 目前的 Gaim 譯法無法分辨「Buddy」和「Contact」! #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "請為(個別)好友「%s」選擇一個主題" # FIXME 目前的 Gaim 譯法無法分辨「Buddy」和「Contact」! # XXX WARNING: This is translated differently than in gaim #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "請為好友(群組)「%s」選擇一個主題" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "請為「%s」群組選擇一個主題" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "主題(_T)" # XXX #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "清除設定" #: ../src/gf_blist.c:180 msgid "Random" msgstr "隨機" #: ../src/gf_blist.c:184 msgid "None" msgstr "無" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "請選擇一個 Guifications 主題" # NOTE I really wanted to put 「好!」 here and smuggle in a Macintoshism... #: ../src/gf_blist.c:210 msgid "OK" msgstr "確定" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "取消" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications 主題" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "登入" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "好友登入時顯示通知。" #: ../src/gf_event.c:668 msgid "Sign off" msgstr "登出" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "好友登出時顯示通知。" #: ../src/gf_event.c:672 msgid "Away" msgstr "離開" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "好友離開時顯示通知。" #: ../src/gf_event.c:675 msgid "Back" msgstr "返回" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "好友由離開返回時顯示通知。" #: ../src/gf_event.c:679 msgid "Idle" msgstr "閒置" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "好友閒置時顯示通知。" #: ../src/gf_event.c:682 msgid "Unidle" msgstr "不再閒置" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "好友由閒置返回時顯示通知。" #: ../src/gf_event.c:686 msgid "IM message" msgstr "即時訊息" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "有人對您送出訊息時顯示通知。" # XXX 暫譯 #: ../src/gf_event.c:689 msgid "Typing" msgstr "輸入訊息" # XXX 暫譯 #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "有人開始輸入給您的訊息時顯示通知。" # XXX 暫譯 #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "停止輸入" # XXX 暫譯 #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "有人停止輸入給您的訊息時顯示通知。" #: ../src/gf_event.c:696 msgid "Chat message" msgstr "聊天訊息" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "有人在聊天室內說話時顯示通知。" #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "有人提到您的名字" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "有人在聊天室內提到您的暱稱時顯示通知。" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "有人加入聊天室時顯示通知。" # XXX 不能單譯成「離開」,因為「Away」也是「離開」 #: ../src/gf_event.c:706 msgid "Leave" msgstr "離開聊天室" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "有人離開聊天室時顯示通知。" #: ../src/gf_event.c:710 msgid "Invited" msgstr "被邀" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "有人邀請您加入聊天室時顯示通知。" #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "聊天主題改變" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "有人修改聊天主題時顯示通知。" #: ../src/gf_event.c:718 msgid "Email" msgstr "電子郵件" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "您收到新郵件時顯示通知。" # NOTE (23:29:48) grim: theme editor only.. # NOTE (23:30:10) grim: when a theme has one, whenever a new notification is created, the contents of the master notification are copied to the new notification #: ../src/gf_event.c:723 msgid "Master" msgstr "樣本" # FIXME 譯文不通順 #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "主題編輯器用的通知樣本。" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "取消檔案傳輸" #: ../src/gf_event.c:727 msgid "Displayed when the buddy cancels the file transfer." msgstr "好友取消檔案傳輸時顯示通知。" #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "成功接收檔案" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "成功接收一個檔案後顯示通知" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "成功傳送檔案" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "成功傳送一個檔案後顯示通知" #: ../src/gf_item.c:50 msgid "Icon" msgstr "圖示" #: ../src/gf_item.c:50 msgid "Image" msgstr "圖像" #: ../src/gf_item.c:50 msgid "Text" msgstr "文字" #: ../src/gf_item.c:56 msgid "North West" msgstr "西北" #: ../src/gf_item.c:56 msgid "North" msgstr "北" #: ../src/gf_item.c:57 msgid "North East" msgstr "東北" #: ../src/gf_item.c:57 msgid "West" msgstr "西" #: ../src/gf_item.c:57 msgid "Center" msgstr "正中" #: ../src/gf_item.c:58 msgid "East" msgstr "東" #: ../src/gf_item.c:58 msgid "South West" msgstr "西南" #: ../src/gf_item.c:58 msgid "South" msgstr "南" #: ../src/gf_item.c:59 msgid "South East" msgstr "東南" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "左上角" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "右上角" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "左下角" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "右下角" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "好友" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "協定" #: ../src/gf_menu.c:263 msgid "Status" msgstr "狀態" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "超特大 (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "特大 (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "大 (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "中 (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "小 (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "特小 (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "超特小 (16x16)" # TODO 要覆查 #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "截斷" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "在後面使用省略號" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "在中間使用省略號" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "在前面使用省略號" #: ../src/gf_preferences.c:215 msgid "General" msgstr "一般" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "顯示選項" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "位置(_P):" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "堆疊方式(_S):" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "縱向排列" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "橫向排列" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "離開時仍顯示Guifications通知(_W)" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "是" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "否" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "使用動畫(_A):" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "顯示時間(_D):" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "秒" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "滑鼠" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "左(_L):" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "中(_M):" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "右(_R):" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "顯示" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "事件" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "說明" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "通知" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "移除主題?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "是否真的要移除這個主題?" # TODO 要覆查 #: ../src/gf_preferences.c:999 msgid "New" msgstr "新增" # TODO 要覆查 #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "修改" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "移除" # XXX 暫譯 #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "重新整理" # XXX 暫譯 #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "載入" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "名稱" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "簡述" # TODO 要覆查 #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "修改(_E)" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "下載(_G)" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "主題" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "版本" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "作者" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "網站" # XXX #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "支援" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "檔案名稱" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "進階" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "可見的Guifications通知個數上限(_V):" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "配置方式" # NOTE (23:21:32) grim: wing: screen is if you're using xinerama/dual view, monitor if you have multihead without xinerama/dualview.. # NOTE 暫定意譯,參見下條,譯文有待改進 #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "使用的 Xinerama/Dualview 熒幕號碼(_S):" # NOTE 暫定意譯,見上條,譯文有待改進 #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "使用的 X Display 顯示器號碼(_M):" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "主題" # TODO 要覆查 #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "資訊" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "選項" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "關閉前是否先行存檔?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "建立新主題前是否先行存檔?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "開啟 %s 前是否先行存檔?" # NOTE Window Title #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "確認" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "是否真的要移除這個 %s 通知?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "確認移除通知" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "是否真的要移除這個 %s 項目?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "確認移除項目" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "新通知" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "通知類別:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "新項目" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "新項目類別:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "開啟" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "選擇字型" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "選擇顏色" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "名稱:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "版本:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "簡述:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "說明:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "作者:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "網站:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "日期格式:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "時間格式:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "警告:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "省略號:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "別名:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "使用 GTK 主題之背景" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "背景:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "闊度:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "高度:" # XXX 暫譯 #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "距離螢幕最左/右邊緣(_H):" # XXX 這個很難譯 # NOTE (00:48:43) wing: but what does it mean in gf2? # NOTE (00:48:48) grim: flags if the value in the spin button should be treated as a percentage.. #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "百分比" # XXX 暫譯 #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "距離螢幕最上/下邊緣(_V):" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "類型(_T):" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "大小(_S):" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "圖像:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "格式:" # XXX 暫譯 # NOTE (00:54:38) wing: what is "clipping"? # NOTE (00:54:56) grim: like truncating.. # NOTE (00:55:06) grim: what to do with the text if its too wide to fit.. #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "剪裁:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "新增主題" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "儲存主題" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "新增通知" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "新增項目" # XXX #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "複製" # XXX #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "上移" # XXX #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "下移" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "說明" # FIXME 譯文不通順 #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications 主題編輯器" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "功能最強的彈出通知模組" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "功能最強的彈出通知模組" #~ msgid "Release Notification" #~ msgstr "新版本通知" #~ msgid "_Check for new releases" #~ msgstr "不時檢查有沒有新版本(_C)" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications 出了第 %s 版,您目前使用的是第 %s 版。" #~ msgid "ChangeLog:" #~ msgstr "更新履歷:" # NOTE 網址在訊息之下,故譯成「下列」 #~ msgid "You can download version %s from" #~ msgstr "下載第 %s 版,可到下列網址:" #~ msgid "New version available" #~ msgstr "有新版本" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Guifications 有新版本!" #~ msgid "Anonymous" #~ msgstr "暱名者" #~ msgid "Warned" #~ msgstr "被警告" #~ msgid "Displayed when you are warned." #~ msgstr "您被警告時顯示通知。" #~ msgid "buddy" #~ msgstr "好友" # XXX WARNING: This is translated differently than in gaim #~ msgid "contact" #~ msgstr "好友群組" #~ msgid "group" #~ msgstr "群組" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" # XXX 暫譯 #~ msgid "Behavior" #~ msgstr "基本設定" #, fuzzy #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "離開時仍顯示Guifications通知" # XXX 暫譯 #~ msgid "Appearance" #~ msgstr "外觀" #~ msgid "Position Options" #~ msgstr "位置選項" #~ msgid "_Zoom:" #~ msgstr "放大倍數(_Z):" #~ msgid "Show _alias if set" #~ msgstr "顯示別名(_A)" # NOTE 這很不通順,但沒分「Buddy」和「Contact」的後果就是這樣 :-( #~ msgid "Show _contacts as one guification" #~ msgstr "若果好友其實概括了好幾個好友帳號,顯示通知時就只視為一個好友(_C)" #~ msgid "Buttons:" #~ msgstr "按鍵:" # XXX 微秒 #~ msgid "Sign on delay:" #~ msgstr "登入後延遲發出通知時間:" #~ msgid "milliseconds" #~ msgstr "微秒" #~ msgid "Conversations" #~ msgstr "交談" #~ msgid "Hide notifications for focused conversations" #~ msgstr "不為焦點的交談顯示通知" #~ msgid "Hide chat join / leave messages" #~ msgstr "不顯示加入/離開訊息" #~ msgid "pixels" #~ msgstr "個像素" #~ msgid "Miscellaneous" #~ msgstr "其他" pidgin-guifications-2.16/po/hu.po0000644000175000017500000004216710731276755013740 00000000000000# magyar felirat by rapchee. # fixed Istvan Nyitrai # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distrSTibuted under the same license as the PACKAGE package. # rapchee , 2005. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Guifications\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-08-05 00:00+0000\n" "Last-Translator: John Rapchuck \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Bezárás" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Csevegés megnyitása" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Kontextus menü" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Info kérés" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Előzmények" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Partner figyelés hozzáadása" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "IM előzmények" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Partner álnév" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Partner eltávolítsa" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Partner hozzáadása" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Csatlakozás" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Automatikus csatlakozás" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Csevegés előzmények" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Csevegés álnév" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Csevegés eltávolítsa" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Csevegés hozzáadása" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Válasszon témát a %s %s -hoz" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Válasszon témát a %s %s -hoz" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Válasszon témát a %s %s -hoz" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Téma" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Beállítások törlése" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Véletlenszerű" #: ../src/gf_blist.c:184 msgid "None" msgstr "Nincs" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Guification tma vlasztk" #: ../src/gf_blist.c:210 msgid "OK" msgstr "Ok-zsok" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Mgsem" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications téma" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Bejelentkezás" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Partner bejelentkezésekor látható." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Kijelentkezés" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Partner kijelentkezésekor látható." #: ../src/gf_event.c:672 msgid "Away" msgstr "Távol" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Partner távozásakor látható." #: ../src/gf_event.c:675 msgid "Back" msgstr "Vissza" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Partner visszatérésekor látható." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Tétlen" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Partner tétlenné válásakor látható." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Aktív" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Partner aktívvá válásakor látható." #: ../src/gf_event.c:686 msgid "IM message" msgstr "IM üzenet" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Üzenet érkezésekor látható." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Írás" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Üzenet írásakor látható." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Írás befejezse" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Írás befejezésekor látható." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Csevegés üzenet" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Csevegsnél kapott üzenet érkezsekor látható" #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Név elhangzott" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Csevegés alatt, név elhangzásakor látható" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Mások csevegsébe bekapcsolódsakor látható" #: ../src/gf_event.c:706 msgid "Leave" msgstr "Távozás" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "A csevegésből mások eltávozásakor látható." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Meghívott" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Csevegéshez való meghívskor látható" #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Téma változtatás" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Téma megváltoztatásakor látható csevegsnél" #: ../src/gf_event.c:718 msgid "Email" msgstr "Email" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Új email érkezésekor látható." #: ../src/gf_event.c:723 msgid "Master" msgstr "Mester" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Téma szerkesztő számára mester jelzés." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Partner tétlenné válásakor látható." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ikon" #: ../src/gf_item.c:50 msgid "Image" msgstr "Kép" #: ../src/gf_item.c:50 msgid "Text" msgstr "Szöveg" #: ../src/gf_item.c:56 msgid "North West" msgstr "Északnyugat" #: ../src/gf_item.c:56 msgid "North" msgstr "Észak" #: ../src/gf_item.c:57 msgid "North East" msgstr "Északkelet" #: ../src/gf_item.c:57 msgid "West" msgstr "Nyugat" #: ../src/gf_item.c:57 msgid "Center" msgstr "Közép" #: ../src/gf_item.c:58 msgid "East" msgstr "Kelet" #: ../src/gf_item.c:58 msgid "South West" msgstr "Délnyugat" #: ../src/gf_item.c:58 msgid "South" msgstr "Dél" #: ../src/gf_item.c:59 msgid "South East" msgstr "Délkelet" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Bal felső" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Jobb felső" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Bal alsó" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Jobb alsó" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Partner" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protokol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Állapot" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Hatalmas (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Nagyobb (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Nagy (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normál (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Kicsi (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Apró (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Pici (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Levágs" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Szókihagyás a végén" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Szókihagyás a közepén" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Szókihagyás az elején" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Általános" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Megjelenítési beállítások" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Pozcíció:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "Igazítá_s" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Függőlegesen" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Vízszintesen" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Távollét alatt látható" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Igen" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Nem" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animálás:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "I_dő jelzése:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "másodperc" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Egér gombok" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "Ba_l:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Középső:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Jobb:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Mutassa" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Esemény" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Leírás" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Jelzések" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Téma törlése?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Biztosan törölni akarja ezt a témát?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Új" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Szerkesztés" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Törlés" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Frisstés" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Betöltve" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Név" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Összegzés" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "Sz_erkesztés" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "Szerezzen mé_g" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Témák" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Verzió" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Szerző" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Weboldal" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Támogatja" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Fájlnév" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Haladó" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Összesen látható Guifikció, legfeljebb:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Elhelyezés" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "A jelzések a képernyőn láthatóak:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "A jelzések a _monitoron láthatóak:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Téma" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Beállítások" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Szeretne elmenteni bezárás előtt?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Szeretne menteni új téma készítése előtt?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Szeretne menteni %s megnyitása előtt?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Megerősítés" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Biztosan törölni szeretné a %s jelzést?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Jelzés törlésének megerősítése" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Biztosan törölni szeretné a(z) %s elemet?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Elem törlésének megerősítése" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Új jelzés" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Új jelzés típusa:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Új elem" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Új elem típusa:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Megnyitás" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Betűtípus kiválasztása" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifikciók" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Szín kiválasztás" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Név:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Verzió:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Összegzés:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Leírás:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Szerző:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Weboldal:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Dátum formátum:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Idő formátum:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Figyelmeztetés:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Szókihagyás:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Álnév" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Gtk téma háttér használata" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Háttér:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Szélesség:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Magasság:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Vízszintes eltolás:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Százalék" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Függőleges eltolás" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Típus:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Méret:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Kép:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formátum:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Kivágás:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Új téma" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Téma mentése" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Új jelzés" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Új elem" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Másolás" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Felfel mozgatás" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Lefele mozgatás" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Segítség" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications téma szerkesztő" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" #~ msgid "Release Notification" #~ msgstr "Frissebb verzió jelzése" #~ msgid "_Check for new releases" #~ msgstr "_Újabb kiadás keresése" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s elérhető, %s verzió van használatban." #~ msgid "ChangeLog:" #~ msgstr "Változások:" #~ msgid "You can download version %s from" #~ msgstr "%s letölthető innen" #~ msgid "New version available" #~ msgstr "Új verzió elérhető" #~ msgid "There is a new version of Guifications available!" #~ msgstr "A Guifications új verziója elérhető!" #~ msgid "Anonymous" #~ msgstr "Nvtelen" #~ msgid "Warned" #~ msgstr "Figyelmeztetés" #~ msgid "Displayed when you are warned." #~ msgstr "Figyelmeztetéskor látható." #~ msgid "buddy" #~ msgstr "partner" #~ msgid "contact" #~ msgstr "kapcsolat" #~ msgid "group" #~ msgstr "csoport" pidgin-guifications-2.16/po/cs.po0000644000175000017500000004307210731276755013725 00000000000000# 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: Guifications\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-04-11 21:03+0100\n" "Last-Translator: Netizen Trancelis \n" "Language-Team: CZ \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Czech\n" "X-Poedit-Country: CZECH REPUBLIC\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Zavřít" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Otevřít konverzaci" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Kontextové menu" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Zobrazit info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Zobrazit záznamy" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Sledovat kamaráda" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Zobrazit záznam IM" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alias kamaráda" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Odstranit kamaráda" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Přidat kamaráda" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Připojit se" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Automaticky se připojit" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Zobrazit záznam chatu" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias chatu" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Odebrat chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Přidat chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Vyberte téma pro %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Vyberte téma pro %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Vyberte téma pro %s %s" #: ../src/gf_blist.c:175 #, fuzzy msgid "_Theme" msgstr "Téma" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Zrušit nastavení" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Náhodný" #: ../src/gf_blist.c:184 msgid "None" msgstr "Žádný" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Vyberte téma pro Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Zrušit" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Téma pro Guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Přihlášení" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Zobrazí se, když se kamarád přihlásí." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Odhlášení" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Zobrazí se, když se kamarád odhlásí." #: ../src/gf_event.c:672 msgid "Away" msgstr "Pryč" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Zobrazí se, když kamarád odejde." #: ../src/gf_event.c:675 msgid "Back" msgstr "Zpět" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Zobrazí se, když se kamarád vrátí." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Nečinný" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Zobrazí se, když se kamarád stane nečinným." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Činný" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Zobrazí se, když kamarád přestane být nečinným." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Zpráva" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Zobrazí se, když vám někdo pošle zprávu." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Píše" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Zobrazí se, když vám někdo píše zprávu." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Už nepíše" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Zobrazí se, když vám někdo přestane psát zprávu." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Chatová zpráva" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Zobrazí se, když někdo promluví v chatu." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Vyslovení jména" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Zobrazí se, když někdo napíše vaše jméno v chatu." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Zobrazí se, když někdo vstoupí do chatu." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Odchod" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Zobrazí se, když někdo odejde z chatu." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Pozvání" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Zobrazí se, když vás někdo pozve na chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Změna tématu" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Zobrazí se, když se změní téma chatu." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Zobrazí se, když jste varováni." #: ../src/gf_event.c:723 msgid "Master" msgstr "Hlavní" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Hlavní upozornění pro editor témat." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Zobrazí se, když se kamarád stane nečinným." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ikona" #: ../src/gf_item.c:50 msgid "Image" msgstr "Obrázek" #: ../src/gf_item.c:50 msgid "Text" msgstr "Text" #: ../src/gf_item.c:56 msgid "North West" msgstr "Severozápad" #: ../src/gf_item.c:56 msgid "North" msgstr "Sever" #: ../src/gf_item.c:57 msgid "North East" msgstr "Severovýchod" #: ../src/gf_item.c:57 msgid "West" msgstr "Západ" #: ../src/gf_item.c:57 msgid "Center" msgstr "Střed" #: ../src/gf_item.c:58 msgid "East" msgstr "Východ" #: ../src/gf_item.c:58 msgid "South West" msgstr "Jihovýchod" #: ../src/gf_item.c:58 msgid "South" msgstr "Jih" #: ../src/gf_item.c:59 msgid "South East" msgstr "Jihovýchod" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Horní levý" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Horní pravý" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Dolní levý" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Dolní pravý" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Kamarád" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protokol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Stav" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Obrovské (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Velké (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Větší (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normální (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Menší (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Malé (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Drobné (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Vyprázdnit" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elipsa na konci" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elipsa uprostřed" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elipsa na začátku" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Obecné" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Nastavení zobrazení" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "Umístění:" #: ../src/gf_preferences.c:228 #, fuzzy msgid "_Stack:" msgstr "Skládat:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Na sebe" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Vedle sebe" #: ../src/gf_preferences.c:236 #, fuzzy msgid "Show _while away:" msgstr "Zobrazovat i v režimu \"pryč\":" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Ano" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Ne" #: ../src/gf_preferences.c:245 #, fuzzy msgid "_Animate:" msgstr "Animovat:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "Doba zobrazení:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "sekund" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Tlačítko myši" #: ../src/gf_preferences.c:263 #, fuzzy msgid "_Left:" msgstr "Levé" #: ../src/gf_preferences.c:266 #, fuzzy msgid "_Middle:" msgstr "Prostřední" #: ../src/gf_preferences.c:269 #, fuzzy msgid "_Right:" msgstr "Pravé" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Ukázat" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Událost" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Popis" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Upozornění" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Smazat téma?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Jste si jisti, že chcete smazat toto téma?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nové" #: ../src/gf_preferences.c:1011 #, fuzzy msgid "Edit" msgstr "Upravit" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Smazat" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Obnovit" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Načteno" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Název" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Shrnutí" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "Upravit" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "Získat víc" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Témata" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Verze" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Web" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Podporuje" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Soubor" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Pokročilé" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "Max. počet viditelných upozornění" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Umístění" #: ../src/gf_preferences.c:1288 #, fuzzy msgid "Show notifications on _screen:" msgstr "Zobrazovat upozornění na obrazovce:" #: ../src/gf_preferences.c:1295 #, fuzzy msgid "Show notifications on _monitor:" msgstr "Zobrazovat upozornění na monitoru:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Téma" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Nastavení:" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Přejete si uložit téma před zavřením?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Přejete si uložit téma před vytvořením nového?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Uložit před otevřením %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Potvrdit" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Jste si jisti, že chcete smazat toto %s upozornění?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Potvrdit odstranení upozornění" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Jste si jisti, že chcete smazat tento %s objekt?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Potvrďte smazání" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nové upozornění" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Nový typ upozornění:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nový objekt" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Nový typ objektu:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Otevřít" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Vyberte font" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Vyberte barvu" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Název:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Verze:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Shrnutí:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Popis:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Web:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formát data:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formát času:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Varování" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Elipsa:" #: ../src/gf_theme_editor.c:2444 #, fuzzy msgid "Alias:" msgstr "Alias chatu" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Použít pozadí z Gtk tématu" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Pozadí:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Šířka:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Výška:" #: ../src/gf_theme_editor.c:2493 #, fuzzy msgid "_Horizontal Offset:" msgstr "Horizontální vzdálenost:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Procent" #: ../src/gf_theme_editor.c:2503 #, fuzzy msgid "_Vertical Offset:" msgstr "Vertikální vzdálenost:" #: ../src/gf_theme_editor.c:2527 #, fuzzy msgid "_Type:" msgstr "Typ:" #: ../src/gf_theme_editor.c:2532 #, fuzzy msgid "_Size:" msgstr "Velikost:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Obrázek:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formát:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Překrývání:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nové téma" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Uložit téma" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nové upozornění" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nový objekt" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Zkopírovat" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Nahoru" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Dolů" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Nápověda" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editor témat Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "The end all, be all, toaster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "The end all, be all, toaster popup plugin" #~ msgid "Release Notification" #~ msgstr "Upozornění na vydání nové verze" #, fuzzy #~ msgid "_Check for new releases" #~ msgstr "Zkontrolovat nové verze" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Je k dispozici verze %s, vy používáte verzi %s." #~ msgid "ChangeLog:" #~ msgstr "Changelog:" #~ msgid "You can download version %s from" #~ msgstr "Můžete stáhnout verzi %s z" #~ msgid "New version available" #~ msgstr "Nová verze" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Je k dispozici nová verze Guifications!" #~ msgid "Anonymous" #~ msgstr "Anonymní" #~ msgid "Warned" #~ msgstr "Varování" #~ msgid "Displayed when you are warned." #~ msgstr "Zobrazí se, když jste varováni." #~ msgid "buddy" #~ msgstr "kamarád" #~ msgid "contact" #~ msgstr "kontakt" #~ msgid "group" #~ msgstr "skupina" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" pidgin-guifications-2.16/po/ChangeLog0000644000175000017500000001144510567471427014531 00000000000000Version 2.13cvs: * French translation updated (Adri2000) Version 2.13beta3: * Russian translation updated (Dmitry Beloglazov) * Simplified Chinese translation updated (Zhengang Li) * Bangla translation added (Mahay Alam Khan) Version 2.13beta1: * Galician translation added (Ignacio Casal Quinteiro) * Hungarian translation added (John Rapchuck, Nyitrai Istvan) * Italian translation updated (Giacomo Succi) * Japanese translation updated (Yoshinari Takaoka) * Macedonian translation added (Arangel Angov) * Russian translation updated (Dmitry Beloglazov) * Serbian translation added (Filip Miletic) * Serbian (Latin) translation added (Filip Miletic) * Swedish translation updated (Sergej Kotliar) * Ukrainian translation added (Mykola Lynnyk) Version 2.12: * Dutch translation updated (Lennert Van Alboom) Version 2.11: * Chinese (traditional) added (Ambrose Li) * Czech translation added (Netizen Trancelis) * English (British) translation updated (Stu Tomlinson) * German translation updated (David Kilian) * Italian translation updated (Giacomo Succi) * Portuguese (Brazilian) translation updated (Gustavo Vasconcelos) * Russian translation added (Dmitry Beloglazov) * Slovak translation updated (Jozef Riha) * Swedish translation updated (Sergej Kotliar) Version 2.10: * Dutch translation updated (Lennert Van Alboom) * English (British) translation updated (Stu Tomlinson) * French translation updated (Julien Enche) * German translation updated (David Kiliani) * Italian translation updated (Giacomo Succi) * Japanese translation updated (Yoshinari Takaoka) * Portuguese translation updated (Duarte Henriques) Version 2.9: * German translation updated (David Kiliani) * Portuguese (Brazilian) translation added (Gustavo Vasconcelos) * Slovak translation added (Jozef Riha) * Swedish translation updated (Peter Hjalmarsson) Version 2.8: * English (Australian) translation updated (Peter Lawler) * Simplified Chinese translation updated (Zhen'gang LI) Version 2.7: * Dutch translation updated (Lennert Van Alboom) * English (British) translation updated (Stu Tomlinson) * French translation updated (Julien Enche) * Italian translation updated (Giacomo Succi) * Portuguese translation updated (Duarte Henriques) * Simplified Chinese translation added (Zhen'gang LI) * Spanish translation updated (David Rubio) * Swedish translation updated (Peter Hjalmarsson) Version 2.6: * Dutch translation updated (Lennert Van Alboom) * English (Australian) translation updated (Peter Lawler) * English (British) translation updated (Stu Tomlinson) * French translation updated (Lennert Van Alboom) * German translation updated (David Kiliani) * Italian translation updated (Giacomo Succi) * Japanese translation added (Yoshinari Takaoka) * Spanish translation updated (David Rubio) * Swedish translation updated (Peter Hjalmarsson) Version 2.5: * Dutch translation updated (Lennert Van Alboom) * English (Australian) translation updated (Peter Lawler) * English (British) translation updated (Stu Tomlinson) * French translation updated (Lennert Van Alboom) * Portuguese translation updated (Duarte Henriques) * Spanish translation updated (David Rubio) * Swedish translation updated (Peter Hjalmarsson) Version 2.4: * German translation update (David Kiliani) Version 2.3: * Italian translation updated (Giacomo Succi) * English (British) translation updated (Stu Tomlinson) * Spanish translation updated (David Rubio) * Swedish (Sweden) translation moved to Swedish and updated (Peter Hjalmarsson) * Dutch translation updated (Lennert Van Alboom) * French translation updated (Lennert Van Alboom) * English (Australian) translation updated (Peter Lawler) Version 2.2: * Swedish (Sweden) translation added (Kalle Kotte) * English (Australian) translation updated (Peter Lawler) * English (British) translation updated (Stu Tomlinson) * Italian translation updated (Giacomo Succi) * Portuguese translation added (Duarte Henriques) * Spanish translation updated (David Rubio) Version 2.1: * Italian translation added (Giacomo Succi) * Chinese (traditional) translation updated (Ambrose Li) * Dutch translation updated (Lennert Van Alboom) * English (Australian) translation updated (Peter Lawler) * English (British) translation updated (Stu Tomlinson) * French translation updated (Lennert Van Alboom) * German translation updated (David Kiliani) Version 2.0: * Chinese (traditional) added (Ambrose Li) * Dutch translation added (Lennert Van Alboom) * English (Australian) translation added (dup of below, really) * English (British) translation added (Stu Tomlinson) * French translation added (Lennert Van Alboom) * German translation added (Stefan Georg) * Hebrew translation added (Ficoos Bangaly) * Norwegian translation added (Lars-Erik A. Labori) * Spanish translation added (Davide Rubio) pidgin-guifications-2.16/po/it.po0000644000175000017500000004327210731276755013736 00000000000000# translation of it.po to Italian # translation of it.po to # Italian translation of Guifications # Copyright (C) 2004 Giacomo Succi # This file is distributed under the same license as the Guifications package. # Giacomo Succi , 2004, 2005. # msgid "" msgstr "" "Project-Id-Version: it\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-01-25 12:36+0100\n" "Last-Translator: Giacomo Succi \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Italian\n" "X-Poedit-Country: ITALY\n" "X-Poedit-SourceCharset: utf-8\n" "X-Generator: KBabel 1.10.1\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Chiudi" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Apri la Conversazione" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Menu Contestuale" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Informazioni" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Log della visualizzazione" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "Messaggiatore Istantaneo" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Aggiungi un allarme" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Mostra il log del Messaggiatore Istantaneo" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alias del Contatto" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Rimuovi il Contatto" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Aggiungi un Contatto" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Entrato" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Entra automaticamente" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Mostra il Log della Chat" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias della Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Rimuovi una Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Aggiungi una Chat" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "Seleziona un tema per il contatto %s" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "Seleziona un tema per il contatto %s" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "Seleziona un tema per il gruppo %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Pulisci i settaggi" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Casuale" #: ../src/gf_blist.c:184 msgid "None" msgstr "Nessuno" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Seleziona il tema per Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Annulla" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Tema per Guifications" # create all of our default events #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Connesso" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Mostrato quando un contatto si connette." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Disconnesso" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Mostrato quando un contatto si disconnette." #: ../src/gf_event.c:672 msgid "Away" msgstr "Assente" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Mostrato quando un contatto diventa assente." #: ../src/gf_event.c:675 msgid "Back" msgstr "Ritornato" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Mostrato quando un contatto ritorna attivo." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inattivo" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Mostrato quando un contatto diventa inattivo." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Riattivo" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Mostrato quando un contatto ritorna attivo." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Messaggio" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Mostrato quando qualcuno ti invia un messaggio." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Scrivendo" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Mostrato quando qualcuno sta scrivendo un messaggio per te." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Smesso di scrivere" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Mostrato quando qualcuno ha smesso di scriverti un messaggio." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Messaggio di chat" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Mostrato quando qualcuno parla in chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Nome detto" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Mostrato quando qualcuno dice il tuo nick in una chat." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Mostrato quando qualcuno entra in una chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Uscito" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Mostrato quando qualcuno esce dalla chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invitato" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Mostrato quando qualcuno ti invita in una chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Titolo cambiato" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Mostrato quando il titolo della chat e' cambiato." #: ../src/gf_event.c:718 msgid "Email" msgstr "e-Mail" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Mostrato quando hai ricevuto una nuova e-Mail" #: ../src/gf_event.c:723 msgid "Master" msgstr "Principale" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Notifica principale per l'editore di temi." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Mostrato quando un contatto diventa inattivo." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icona" #: ../src/gf_item.c:50 msgid "Image" msgstr "Immagine" #: ../src/gf_item.c:50 msgid "Text" msgstr "Testo" #: ../src/gf_item.c:56 msgid "North West" msgstr "Nord Ovest" #: ../src/gf_item.c:56 msgid "North" msgstr "Nord" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nord Est" #: ../src/gf_item.c:57 msgid "West" msgstr "Ovest" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centro" #: ../src/gf_item.c:58 msgid "East" msgstr "Est" #: ../src/gf_item.c:58 msgid "South West" msgstr "Sud Ovest" #: ../src/gf_item.c:58 msgid "South" msgstr "Sud" #: ../src/gf_item.c:59 msgid "South East" msgstr "Sud Est" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Alto a Sinistra" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Alto a Destra" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Basso a Sinistra" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Basso a Destra" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Contatto" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocollo" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Stato" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Enorme (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Grosso (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Grande (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normale (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Piccolo (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Piccolino (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Minuscolo (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Troncato" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Segnaposto alla fine" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Segnaposto nel centro" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Segnaposto all'inizio" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Generale" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Opzioni di visualizzazione" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Posizione:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Impila:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Verticalmente" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Orizzontalmente" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Mostra _quando assente:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Si" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "No" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Usare l'animazione:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Tempo di Visualizzazione:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "secondi" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Mouse" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Sinistro:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Centrale:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Destro" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Mostra" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Evento" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Descrizione" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notifiche" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Cancellare il tema?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Sei sicuro di voler eliminare questo tema?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nuovo" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Modifica" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Elimina" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Aggiorna" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Caricato" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Nome" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Sommario" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "Mo_difica" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Prendine ulteriore" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Temi" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versione" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autore" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Sito Web" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Supporta" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Nome del file" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avanzate" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Massima _visibilita' di Guifications:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Posizione" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Mostra le motifiche sullo _schermo:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Mostra le notifiche sul _monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Informazione" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opzioni" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Desideri salvare prima di chiudere?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Desideri salvare prima di creare un nuovo tema?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Desideri salvare prima di aprire %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Conferma" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Sei sicuro di voler cancellare questa %s notifica?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Conferma l'eliminazione di una notifica" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Sei sicuro di voler eliminare questo %s elemento?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confermi l'eliminazione dell'elemento" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nuova notifica" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Nuovo tipo di notifica:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nuovo elemento" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Nuovo tipo di elemento" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Apri" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Seleziona il carattere" # api version # type # ui requirement # flags # dependencies # priority # id #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Selezione del colore" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Nome:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Versione:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Sommario:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Descrizione:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autore:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Sito Web:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formato della data:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formato dell'Ora:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Avvertimento:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Segnaposto:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias della Chat" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Usa lo sfondo del tema Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Sfondo:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Larghezza:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Altezza:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Spostamento Orizzontale:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Percentuale" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Spostamento Vertic_ale:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Tipo:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Dimensione:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Immagine:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formato:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Segnaposto:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nuovo tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Salva tema" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nuova notifica" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nuovo elemento" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplica" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Sposta su'" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Sposta giu'" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Aiuto" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editore di Tema per Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "L'esser tutto, e la fine di tutto, popup plug-in tostapane." # summary #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "L'esser tutto, e la fine di tutto, popup plug-in tostapane." #~ msgid "Release Notification" #~ msgstr "Notifica di Rilasci" #~ msgid "_Check for new releases" #~ msgstr "Controlla _eventuali nuovi rilasci" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s e' disponibile, tu hai la versione %s." #~ msgid "ChangeLog:" #~ msgstr "Lista dei cambiamenti:" #~ msgid "You can download version %s from" #~ msgstr "Puoi scaricare la versine %s da" #~ msgid "New version available" #~ msgstr "Nuova versione disponibile" #~ msgid "There is a new version of Guifications available!" #~ msgstr "C'e' una nuova versione di Guifications disponibile!" #~ msgid "Anonymous" #~ msgstr "Anonimo" #~ msgid "Warned" #~ msgstr "Richiamato" #~ msgid "Displayed when you are warned." #~ msgstr "Mostrato quando qualcuno ti ha richiamato." #~ msgid "buddy" #~ msgstr "contatto" #~ msgid "contact" #~ msgstr "contatto" #~ msgid "group" #~ msgstr "gruppo" pidgin-guifications-2.16/po/POTFILES.in0000644000175000017500000000052710615527525014526 00000000000000src/gf_action.c src/gf_blist.c src/gf_display.c src/gf_event.c src/gf_event_info.c src/gf_item.c src/gf_item_icon.c src/gf_item_image.c src/gf_item_offset.c src/gf_item_text.c src/gf_menu.c src/gf_notification.c src/gf_preferences.c src/gf_stock.c src/gf_theme.c src/gf_theme_editor.c src/gf_theme_info.c src/gf_theme_ops.c src/guifications.c pidgin-guifications-2.16/po/Makefile.mingw0000644000175000017500000000153010633405456015522 00000000000000# Makefile.mingw # # Description: Makefile to generate mo files # GF_TOP := .. -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak PACKAGE = guifications .SUFFIXES: .SUFFIXES: .po .gmo ## ## SOURCES, OBJECTS ## CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) ## ## RULES ## .po.gmo: rm -f $@ && $(GMSGFMT) --statistics -o $@ $< ## ## TARGETS ## .PHONY: all install clean all: $(CATALOGS) install: all $(PURPLE_INSTALL_PO_DIR) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(PURPLE_INSTALL_PO_DIR)/$$lang/LC_MESSAGES; \ mkdir -p $$dir; \ cp $$cat $$dir/$(PACKAGE).mo; \ echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ done clean: rm -f *.gmo include $(PIDGIN_COMMON_TARGETS) pidgin-guifications-2.16/po/pt_BR.po0000644000175000017500000004217110731276755014325 00000000000000# Guifications Portuguese (Brazil) translation # Copyright (C) 2005, Gustavo Vasconcelos # Uses work from Duarte Henriques # This file is distributed under the same license as the Guifications package. # msgid "" msgstr "" "Project-Id-Version: guifications2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-07-16 07:56+0300\n" "Last-Translator: Gustavo Vasconcelos \n" "Language-Team: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Fechar" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Abrir Conversa" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Menu de Contexto" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Obter Info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Mostrar Log" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "MI" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Adicionar Notificação de Contato" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Ver log de MI" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Apelidar Contato" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Remover Contato" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Adicionar Contato" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Entrar" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Entrar automaticamente" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Ver Log de Chat" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Renomear Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Remover Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Adicionar Chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Escolha um tema para %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Escolha um tema para %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Escolha um tema para %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Apagar definição" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Aleatório" #: ../src/gf_blist.c:184 msgid "None" msgstr "Nenhum" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Escolher o tema do Guificações" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Cancelar" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Tema do Guificações" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Conectar" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Exibido quando um contato conecta." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Desconectar" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Exibido quando um contato desconecta." #: ../src/gf_event.c:672 msgid "Away" msgstr "Ausente" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Exibido quando um contato se torna ausente." #: ../src/gf_event.c:675 msgid "Back" msgstr "De volta" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Exibido quando um contato volta de ausente." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inativo" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Exibido quando um contato fica inativo." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Ativo" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Exibido quando um contato volta de inativo." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Mensagem" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Exibido quando alguem lhe envia uma mensagem." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Digitando" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Exibido quando alguem está digitando uma mensagem para você." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Parou de escrever" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Exibido quando alguem parou de digitar uma mensagem para você." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Mensagem de chat" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Exibido quando alguem fala num chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Nome mencionado" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Exibido quando alguem diz o seu nome num chat" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Exibido quando alguem entra num chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Sair" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Exibido quando alguem sai de um chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Convidado" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Exibido quando alguem o convida para um chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Tópico alterado" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Exibido quando um tópico é modificado num chat." #: ../src/gf_event.c:718 msgid "Email" msgstr "" #: ../src/gf_event.c:719 #, fuzzy msgid "Displayed when you receive new email." msgstr "Exibido quando você é avisado." #: ../src/gf_event.c:723 msgid "Master" msgstr "Mestre" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Notificação mestre para o editor de temas." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Exibido quando um contato fica inativo." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ícone" #: ../src/gf_item.c:50 msgid "Image" msgstr "Imagem" #: ../src/gf_item.c:50 msgid "Text" msgstr "Texto" #: ../src/gf_item.c:56 msgid "North West" msgstr "Noroeste" #: ../src/gf_item.c:56 msgid "North" msgstr "Norte" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nordeste" #: ../src/gf_item.c:57 msgid "West" msgstr "Oeste" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centro" #: ../src/gf_item.c:58 msgid "East" msgstr "Este" #: ../src/gf_item.c:58 msgid "South West" msgstr "Sudoeste" #: ../src/gf_item.c:58 msgid "South" msgstr "Sul" #: ../src/gf_item.c:59 msgid "South East" msgstr "Sudeste" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Superior Esquerdo" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Superior Direito" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Inferior Esquerdo" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Inferior Direito" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Contato" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocolo" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Estado" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Gigante (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Enorme (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Grande (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Pequeno (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Minúsculo (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Mínimo (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Truncar" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elipsar no fim" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elipsar no meio" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elipsar no início" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Geral" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Exibir Opções" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Posição:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "Empilhamento:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Vertical" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontal" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "_Mostrar Guificações enquanto ausente" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Sim" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Nenhum" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animar:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "Exibir _Durante:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "segundos" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Mouse" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "Esquerdo:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "Meio:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "Direito:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Exibir" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Evento" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Descrição" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notificação" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Excluir tema?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Tem a certeza que deseja excluir este tema?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Novo" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Editar" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Excluir" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Atualizar" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Carregado" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Nome" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Sumário" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Editar" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Obter Mais" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Temas" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versão" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Website" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Suporta" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Nome do Arquivo" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avançado" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "_Máximo de Guificações Visíveis:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Posicionamento" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Mostrar notificações no display:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Mostrar notificações no monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opções" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Deseja salvar antes de sair?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Deseja salvar antes de criar um novo tema?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Deseja salvar antes de abrir %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirmar" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Tem a certeza que deseja excluir esta notificação de %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirmar a exclusão de notificação" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Tem a certeza que deseja exluir este item de %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirmar a exclusão do item" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nova Notificação" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Tipo da nova notificação:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Novo Ítem" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Tipo do novo ítem:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Abrir" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Selecionar fonte" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guificações" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Selecionar cor" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Nome:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Versão:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Sumário:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Descrição:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Website:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formato da Data:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formato da Hora:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Aviso:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Elipse:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Renomear Chat" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Usar fundo do tema Gtk" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Fundo:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Largura:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Altura:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Deslocamento _Horizontal:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Porcentagem" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Deslocamento _Vertical:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Tipo:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "T_amanho:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Imagem:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formato:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Cortar:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Novo tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Salvar tema" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nova notificação" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Novo item" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicar" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Mover para cima" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Mover para baixo" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Ajuda" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editor de Temas do Guificações" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "O plugin de notificações popups DEFINITIVO" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guificações:\n" "O plugin de notificações popups DEFINITIVO" #~ msgid "Release Notification" #~ msgstr "Notificação de Versão" #~ msgid "_Check for new releases" #~ msgstr "Verificar novas versões" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "O Guificações %s está disponível, esta é a versão %s." #~ msgid "ChangeLog:" #~ msgstr "ChangeLog:" #~ msgid "You can download version %s from" #~ msgstr "Você pode baixar a versão %s de" #~ msgid "New version available" #~ msgstr "Nova versão disponível" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Há uma nova versão do Guificações disponível!" #~ msgid "Anonymous" #~ msgstr "Anônimo" #~ msgid "Warned" #~ msgstr "Avisado" #~ msgid "Displayed when you are warned." #~ msgstr "Exibido quando você é avisado." #~ msgid "buddy" #~ msgstr "Contato" #~ msgid "contact" #~ msgstr "contato" #~ msgid "group" #~ msgstr "grupo" pidgin-guifications-2.16/po/en_GB.po0000644000175000017500000004377310731276755014302 00000000000000# English (British) translation of Guifications # Copyright (C) 2004 Stu Tomlinson # This file is distributed under the same license as the Guifications package. # Stu tomlinson , 2004. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Guifications 2.0cvs\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-07-30 09:40-0400\n" "Last-Translator: Stu Tomlinson \n" "Language-Team: English (British) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n>1;\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Close" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Open Conversation" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Context Menu" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Get Info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Display Log" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Add Buddy Pounce" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "View IM log" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alias Buddy" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Remove Buddy" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Add Buddy" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Join" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Auto-join" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "View Chat Log" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Remove Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Add Chat" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Select a theme for the %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Select a theme for the %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Select a theme for the %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Theme" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Clear setting" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Random" #: ../src/gf_blist.c:184 msgid "None" msgstr "None" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Select Guifications theme" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Cancel" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications Theme" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Sign on" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Displayed when a buddy comes online." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Sign off" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Displayed when a buddy goes offline" #: ../src/gf_event.c:672 msgid "Away" msgstr "Away" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Displayed when a buddy goes away." #: ../src/gf_event.c:675 msgid "Back" msgstr "Back" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Displayed when a buddy returns from away." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Idle" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Displayed when a buddy goes idle." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Unidle" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Displayed when a buddy returns from idle" #: ../src/gf_event.c:686 msgid "IM message" msgstr "IM message" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Displayed when someone sends you a message." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Typing" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Displayed when someone is typing a message to you." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Stopped typing" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Displayed when someone has stopped typing a message to you." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Chat message" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Displayed when someone talks in a chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Name spoken" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Displayed when someone says your nick in a chat" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Displayed when someone joins a chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Leave" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Displayed when someone leaves a chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invited" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Displayed when someone invites you to a chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Topic changed" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Displayed when a topic is changed in a chat." #: ../src/gf_event.c:718 msgid "Email" msgstr "Email" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Displayed when you receive new email." #: ../src/gf_event.c:723 msgid "Master" msgstr "Master" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Master notification for the theme editor." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Displayed when a buddy goes idle." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icon" #: ../src/gf_item.c:50 msgid "Image" msgstr "Image" #: ../src/gf_item.c:50 msgid "Text" msgstr "Text" #: ../src/gf_item.c:56 msgid "North West" msgstr "North West" #: ../src/gf_item.c:56 msgid "North" msgstr "North" #: ../src/gf_item.c:57 msgid "North East" msgstr "North East" #: ../src/gf_item.c:57 msgid "West" msgstr "West" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centre" #: ../src/gf_item.c:58 msgid "East" msgstr "East" #: ../src/gf_item.c:58 msgid "South West" msgstr "South West" #: ../src/gf_item.c:58 msgid "South" msgstr "South" #: ../src/gf_item.c:59 msgid "South East" msgstr "South East" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Top Left" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Top Right" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Bottom Left" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Bottom Right" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Buddy" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Status" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Huge (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Large (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Big (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Little (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Small (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Tiny (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Truncate" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Ellipsis at the end" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Ellipsis in the middle" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Ellipsis at the beginning" #: ../src/gf_preferences.c:215 msgid "General" msgstr "General" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Display Options" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Position:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Stack:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Vertically" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontally" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Show _while away:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Yes" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "No" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animate:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Display Time:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "seconds" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Mouse" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Left:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Middle:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Right:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Show" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Event" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Description" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notifications" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Delete theme?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Are you sure you want to delete this theme?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "New" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Edit" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Delete" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Refresh" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Loaded" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Name" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Summary" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Edit" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Get More" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Themes" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Version" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Author" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Website" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Supports" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Filename" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Advanced" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Max _Visible Guifications:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Placement" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Show notifications on _screen:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Show notifications on _monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Theme" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Options" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Would you like to save before closing?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Would you like to save before creating a new theme?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Would you like to save before opening %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirm" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Are you sure you want to delete this %s notification?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirm delete notification" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Are you sure you want to delete this %s item?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirm delete item" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "New Notification" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "New notification type:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "New Item" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "New item type:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Open" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Select font" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Select colour" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Name:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Version:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Summary:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Description:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Author:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Website:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Date Format:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Time Format:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Warning:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Ellipsis:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Use Gtk theme background" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Background:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Width:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Height:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Horizontal Offset:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Percentage" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Vertical Offset:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Type:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Size:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Image:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Format:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Clipping:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "New theme" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Save theme" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "New notifications" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "New item" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicate" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Move up" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Move down" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Help" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications Theme Editor" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "The be all, and end all, toaster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "The be all, and end all, toaster popup plugin" #~ msgid "Release Notification" #~ msgstr "Release Notification" #~ msgid "_Check for new releases" #~ msgstr "_Check for new releases" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s is available, you are running version %s." #~ msgid "ChangeLog:" #~ msgstr "ChangeLog:" #~ msgid "You can download version %s from" #~ msgstr "You can download version %s from" #~ msgid "New version available" #~ msgstr "New version available" #~ msgid "There is a new version of Guifications available!" #~ msgstr "There is a new version of Guifications available!" #~ msgid "Anonymous" #~ msgstr "Anonymous" #~ msgid "Warned" #~ msgstr "Warned" #~ msgid "Displayed when you are warned." #~ msgstr "Displayed when you are warned." #~ msgid "buddy" #~ msgstr "buddy" #~ msgid "contact" #~ msgstr "contact" #~ msgid "group" #~ msgstr "group" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Behaviour" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Show Guifications while screensaver is active" #~ msgid "Appearance" #~ msgstr "Appearance" #~ msgid "Position Options" #~ msgstr "Position Options" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Show _alias if set" #~ msgid "Show _contacts as one guification" #~ msgstr "Show _contacts as one guification" #~ msgid "Buttons:" #~ msgstr "Buttons:" #~ msgid "Sign on delay:" #~ msgstr "Sign on delay:" #~ msgid "milliseconds" #~ msgstr "milliseconds" #~ msgid "Conversations" #~ msgstr "Conversations" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Hide notifications for focused conversations" #~ msgid "Hide chat join / leave messages" #~ msgstr "Hide chat join / leave messages" #~ msgid "pixels" #~ msgstr "pixels" #~ msgid "Miscellaneous" #~ msgstr "Miscellaneous" pidgin-guifications-2.16/po/sv.po0000644000175000017500000004167310731276755013755 00000000000000# translation of sv.po to Swedish # Swedish translation of Guifications. # Copyright (C) 2005 THE Guifications'S COPYRIGHT HOLDER # This file is distributed under the same license as the Guifications package. # <>, 2005. # Peter Hjalmarsson , 2005. # Sergej Kotliar , 2005Peter Hjalmarsson , 2005. # # msgid "" msgstr "" "Project-Id-Version: sv\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-08-07 14:23+0200\n" "Last-Translator: Sergej Kotliar \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.2\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Stng" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "ppna Konversation" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Kontextmeny" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Hmta Information" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Visa Logg" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "Snabbmeddelande" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Lgg till kompisanfall" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Visa snabbmeddelandelogg" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Ge Kompis Alias" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Ta bort kompis" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Lgg till kompis" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Anslut" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Anslut automatiskt" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Visa chattlogg" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias chatt" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Ta bort chatt" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Lgg till chatt" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Vlj tema fr den %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Vlj tema fr den %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Vlj tema fr den %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Rensa instllningar" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Slumpmssig" #: ../src/gf_blist.c:184 msgid "None" msgstr "Ingen" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Vlj Guifications-tema" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Avbryt" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications-tema" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Logga in" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Visas nr en kompis loggar in." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Logga ut" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Visas nr en kompis loggar ut." #: ../src/gf_event.c:672 msgid "Away" msgstr "Borta" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Visas d en kompis frsvinner." #: ../src/gf_event.c:675 msgid "Back" msgstr "Tillbaka" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Visas d en kompis kommer tillbaka." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inaktiv" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Visas d en kompis blir inaktiv." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Aktiv" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Visas d en kompis blir aktiv." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Meddelande" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Visas d ngon skickar dig ett meddelande." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Skriver" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Visas d ngon skriver ett meddelande till dig." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Slutar skriva" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Visas d ngon har slutat skriva ett meddelande till dig" #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Chattmeddelande" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Visas d ngon pratar i en chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Namn nmnt" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Visas d ngon sger ditt namn i en chat." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Visas d ngon ansluter till en chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Lmna" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Visas d ngon lmnar en chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Inbjudan" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Visas d ngon bjuder in dig till en chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "mnesbyte" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Visas d mnet i en chat ndras" #: ../src/gf_event.c:718 msgid "Email" msgstr "E-post" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Visas d du tar emot ny e-post" #: ../src/gf_event.c:723 msgid "Master" msgstr "Huvud" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Huvudnotifikation fr temaredigeraren." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Visas d en kompis blir inaktiv." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Ikon" #: ../src/gf_item.c:50 msgid "Image" msgstr "Bild" #: ../src/gf_item.c:50 msgid "Text" msgstr "Text" #: ../src/gf_item.c:56 msgid "North West" msgstr "Nordvst" #: ../src/gf_item.c:56 msgid "North" msgstr "Nord" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nordost" #: ../src/gf_item.c:57 msgid "West" msgstr "Vst" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centrerad" #: ../src/gf_item.c:58 msgid "East" msgstr "st" #: ../src/gf_item.c:58 msgid "South West" msgstr "Sydvst" #: ../src/gf_item.c:58 msgid "South" msgstr "Syd" #: ../src/gf_item.c:59 msgid "South East" msgstr "Sydost" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "vre vnstra" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "vre hgra" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Nedre vnstra" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Nedre hgra" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Kompis" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protokoll" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Status" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Enorm (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Mycket stor (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Stor (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Liten (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Mycket liten (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Pytteliten (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Stympa" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elliptisk p slutet" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elliptisk i mitten" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elliptisk i brjan" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Allmnt" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Visningsmjligheter" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Placering:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Stapla:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Lodrtt" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Vgrtt" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Visa medan du r borta: " #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Ja" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Nej" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animera:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "Visa ti_d:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "sekunder" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Mus" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Vnster:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Mitten:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Hger:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Visa" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Hndelse" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Beskrivning" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Underrttelser" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Ta bort tema?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "r du sker p att du vill ta bort detta tema?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nytt:" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Redigera:" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Ta bort" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Uppdatera" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Laddat" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Namn" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Sammanstllning" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "R_edigera" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Hmta fler" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Teman" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Version" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Skapare" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Webbsida" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Stdjer" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Filnamn" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avancerat" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "_Max synliga underrttelser:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Placering" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "_Visa underrttelser p skrmen:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Visa underrtteser p monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Information" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Instllningar" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Vill du spara fre stngning?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Vill du spara fre skapandet av ett nytt tema?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Vill du spara fre du ppnar %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Godknn" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "r du sker pt att du vill ta bort %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Godknn borttagning av underrttelse" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "r du sker p att du vill ta bort %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Godknn bortagning av objekt" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Ny underrttelse" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Ny underrttelsetyp:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nytt objekt" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Ny objektstyp:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "ppna" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Vlj typsnitt" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Vlj frg" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Namn:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Version:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Beskrivning:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Beskrivning:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Skapare:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Webbsida:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Datumformat:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Tidsformat:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Varning:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Ellips:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias chatt" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Anvnde Gtk-temats bakgrund" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Bakgrund:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Bredd:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Hjd:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Vgrtt Avstnd:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Procent" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Lodrtt avstnd:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Typ:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Storlek:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Bild:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Format:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Klippning:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nytt tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Spara tema" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Ny underrttelse" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nytt objekt" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicera" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Flytta upp" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Flytta ned" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Hjlp" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications Temaredigerare" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "The end all, be all, toaster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "The end all, be all, toaster popup plugin" #~ msgid "Release Notification" #~ msgstr "Underrttelse om nya versioner" #~ msgid "_Check for new releases" #~ msgstr "_Kontrollera om nya versioner finns" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s r tillgnglig, du anvnder %s" #~ msgid "ChangeLog:" #~ msgstr "ndringslogg:" #~ msgid "You can download version %s from" #~ msgstr "Du kan ladda ner version %s frn" #~ msgid "New version available" #~ msgstr "Ny version tillgnglig" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Det finns en ny version av Guifications tillgnglig!" #~ msgid "Anonymous" #~ msgstr "Anonym" #~ msgid "Warned" #~ msgstr "Varnad" #~ msgid "Displayed when you are warned." #~ msgstr "Visas d du blivit varnad" #~ msgid "buddy" #~ msgstr "kompis" #~ msgid "contact" #~ msgstr "kontakt" #~ msgid "group" #~ msgstr "grupp" pidgin-guifications-2.16/po/nl.po0000644000175000017500000004543710731276755013740 00000000000000# Guifications Dutch translation. # Copyright (C) 2004, Lennert Van Alboom # This file is distributed under the same license as the Guifications package. # Lennert Van Alboom , 2004 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: nl\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-04-05 22:33+0100\n" "Last-Translator: Lennert Van Alboom \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Sluiten" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Open Gesprek" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Context Menu" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Toon Info" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Toon Log" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Voeg een Contact-verwittiging toe" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Bekijk de IM log" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alias Contactpersoon" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Verwijder Contact" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Voeg Contactpersoon toe" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Binnengaan" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Automatisch Binnengaan" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Bekijk Chatlog" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Verwijder Chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Voeg Chat toe" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Selecteer een thema voor de %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Selecteer een thema voor de %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Selecteer een thema voor de %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Thema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Reset optie" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Random" #: ../src/gf_blist.c:184 msgid "None" msgstr "Geen" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Selecteer Guifications thema" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Annuleren" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications Thema" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Aanmelden" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Wordt getoond wanneer een contactpersoon online komt." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Afmelden" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Wordt getoond wanneer een contactpersoon offline gaat." #: ../src/gf_event.c:672 msgid "Away" msgstr "Afwezig" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "" "Wordt getoond wanneer een contactpersoon zijn/haar status naar Afwezig " "verandert." #: ../src/gf_event.c:675 msgid "Back" msgstr "Terug" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Wordt getoond wanneer een contactpersoon terugkeert van Afwezig." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inactief" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "" "Wordt getoond wanneer de status van een contactpersoon naar Inactief " "verandert." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Actief" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Wordt getoond wanneer een contactpersoon terugkeert van Inactief." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Bericht" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Wordt getoond wanneer iemand je een bericht zendt." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Aan het typen" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Wordt getoond wanneer iemand een bericht naar je aan het typen is." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Gestopt met typen" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "" "Wordt getoond wanneer iemand gestopt is met een bericht naar je te typen." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Chatbericht" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Wordt getoond wanneer iemand in een chatbox spreekt." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Naam vermeld" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Wordt getoond wanneer iemand je nick in een chatbox zegt." #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Wordt getoond wanneer iemand de chatbox binnenkomt." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Verlaten" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Wordt getoond wanneer iemand een chatbox verlaat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Uitgenodigd" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Wordt getoond wanneer iemand je uitnodigt naar een chatbox." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Topic veranderd" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Wordt getoond wanneer de topic van een chatbox wordt veranderd." #: ../src/gf_event.c:718 msgid "Email" msgstr "Email" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Wordt getoond wanneer je een nieuwe mail ontvangt." #: ../src/gf_event.c:723 msgid "Master" msgstr "Master" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Hoofdmelding voor de Thema Editor" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "" "Wordt getoond wanneer de status van een contactpersoon naar Inactief " "verandert." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icoon" #: ../src/gf_item.c:50 msgid "Image" msgstr "Foto" #: ../src/gf_item.c:50 msgid "Text" msgstr "Tekst" #: ../src/gf_item.c:56 msgid "North West" msgstr "Boven Links" #: ../src/gf_item.c:56 msgid "North" msgstr "Boven Midden" #: ../src/gf_item.c:57 msgid "North East" msgstr "Boven Rechts" #: ../src/gf_item.c:57 msgid "West" msgstr "Midden Links" #: ../src/gf_item.c:57 msgid "Center" msgstr "Midden" #: ../src/gf_item.c:58 msgid "East" msgstr "Midden Rechts" #: ../src/gf_item.c:58 msgid "South West" msgstr "Beneden Links" #: ../src/gf_item.c:58 msgid "South" msgstr "Beneden Midden" #: ../src/gf_item.c:59 msgid "South East" msgstr "Beneden Rechts" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Boven Links" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Boven Rechts" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Beneden Links" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Beneden Rechts" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Contactpersoon" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocol" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Status" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Gigantisch (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Groot (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Groter (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normaal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Kleiner (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Klein (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Minuscuul (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Inkorten" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Drie puntjes aan het einde" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Drie puntjes in het midden" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Drie puntjes aan het begin" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Algemeen" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Weergave-opties" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Positie:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Stapel:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Verticaal" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontaal" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Toon _wanneer afwezig:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Ja" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Nee" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animeer:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Weergave-interval:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "seconden" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Muis" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Links:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Midden:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Rechts:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Tonen" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Gebeurtenis" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Beschrijving" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Meldingen" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Thema verwijderen?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Bent u zeker dat u dit thema wil verwijderen?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Nieuw" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Aanpassen" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Verwijderen" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Verversen" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Ingeladen" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Naam" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Samenvatting" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Aanpassen" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Vind meer" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Thema's" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versie" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Auteur" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Website" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Ondersteunt" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Bestandsnaam" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Geavanceerd" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "_Maximum aantal zichtbare Guifications:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Plaatsing" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Toon de meldingen op _scherm:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Toon de meldingen op _monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Thema's" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opties" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Wil u opslaan alvorens te sluiten?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Wil u opslaan alvorens een nieuw thema te beginnen?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Wil u opslaan alvorens %s te openen?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Bevestigen" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Bent u zeker dat u deze %s melding wil verwijderen?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Bevestig melding verwijdering" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Bent u zeker dat u dit %s item wil verwijderen?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Bevestig item verwijdering" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nieuwe Melding" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Type van de melding:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Nieuw Item" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Type van het nieuwe item:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Openen" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Selecteer lettertype" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Selecteer kleur" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Naam:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Versie:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Samenvatting:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Beschrijving:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Auteur:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Website:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Datum-stijl:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Tijd-stijl:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Waarschuwing:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Drie puntjes:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Gebruik GTK thema achtergrond" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Achtergrond:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Breedte:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Hoogte:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Horizontale Afwijking:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Percentage" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Verticale Afwijking:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Type:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Grootte:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Beeldbestand:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Stijl:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Bijsnijden:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Nieuw thema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Thema opslaan" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nieuwe melding" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Nieuw item" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Kopiren" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Verplaats omhoog" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Verplaats omlaag" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Help" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications Thema Editor" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "De ultieme, alomtegenwoordige broodrooster popup plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "De ultieme, alomtegenwoordige broodrooster popup plugin" #~ msgid "Release Notification" #~ msgstr "Melding van nieuwe versie" #~ msgid "_Check for new releases" #~ msgstr "_Controleer voor nieuwe versie" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s is beschikbaar, je draait momenteel versie %s." #~ msgid "ChangeLog:" #~ msgstr "Lijst van aanpassingen:" #~ msgid "You can download version %s from" #~ msgstr "Je kan versie %s downloaden van" #~ msgid "New version available" #~ msgstr "Nieuwe versie beschikbaar" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Er is een nieuwe versie van Guifications beschikbaar!" #~ msgid "Anonymous" #~ msgstr "Anoniem" #~ msgid "Warned" #~ msgstr "Gewaarschuwd" #~ msgid "Displayed when you are warned." #~ msgstr "Wordt getoond wanneer je gewaarschuwd wordt." #~ msgid "buddy" #~ msgstr "contactpersoon" #~ msgid "contact" #~ msgstr "contact" #~ msgid "group" #~ msgstr "groep" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Gedragingen" #~ msgid "Appearance" #~ msgstr "Uitzicht" #~ msgid "Position Options" #~ msgstr "Positie-opties" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Toon _alias indien toegewezen" #~ msgid "Show _contacts as one guification" #~ msgstr "Toon _contactpersonen als n Guification" #~ msgid "Buttons:" #~ msgstr "Knoppen:" #~ msgid "Sign on delay:" #~ msgstr "Vertraging bij aanmelden:" #~ msgid "milliseconds" #~ msgstr "milliseconden" #~ msgid "Conversations" #~ msgstr "Gesprekken" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Verberg meldingen voor actieve gesprekken" #~ msgid "Hide chat join / leave messages" #~ msgstr "Verberg chat join/leave meldingen" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Toon Guifications ook wanneer een screensaver actief is" #~ msgid "pixels" #~ msgstr "pixels" #~ msgid "Miscellaneous" #~ msgstr "Andere" pidgin-guifications-2.16/po/gl.po0000644000175000017500000004216110731276755013720 00000000000000# translation of gl.po to Galego # This file is distributed under the same license as the Guifications package. # Copyright (C) 2003-2005. # # Ignacio Casal Quinteiro , 2005, 2006. msgid "" msgstr "" "Project-Id-Version: gl\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-03-30 21:24+0200\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.11.2\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Pechar" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Abrir conversación" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Menú contextual" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Obter información" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Amosar rexistro" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "MI" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Engadir aviso de amigo" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Ver rexistro de MI" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alcume de amigo" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Eliminar amigo" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Engadir amigo" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Unirse" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Unirse automaticamente" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Ver rexistro de chat" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alcume de chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Eliminar chat" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Engadir chat" #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "Por favor, seleccione un tema para o amigo %s" #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr "Por favor, seleccione un tema para o contacto %s" #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "Por favor, seleccione un tema para o grupo %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Tema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Borrar axuste" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Aleatorio" #: ../src/gf_blist.c:184 msgid "None" msgstr "Ningún" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Seleccione un tema de Guifications" #: ../src/gf_blist.c:210 msgid "OK" msgstr "Aceptar" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Cancelar" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Tema de guifications" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Conectado" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Amosado cando se conecta un amigo." #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Desconectado" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Amosado cando se desconecta un amigo." #: ../src/gf_event.c:672 msgid "Away" msgstr "Ausente" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Amosado cando se ausente un amigo." #: ../src/gf_event.c:675 msgid "Back" msgstr "De volta" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Amosado cando un amigo volve do ausentismo." #: ../src/gf_event.c:679 msgid "Idle" msgstr "Inactivo" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Amosado cando se volve inactivo un amigo." #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Activo" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Amosado cando un amigo volve á actividade." #: ../src/gf_event.c:686 msgid "IM message" msgstr "Mensaxe MI" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Amosado cando lle envía alguén unha mensaxe." #: ../src/gf_event.c:689 msgid "Typing" msgstr "Escribindo" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Amosado cando lle está escribindo alguén." #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Escritura detida" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Amosado cando alguén lle deixa de escribir." #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Mensaxe de chat" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Amosado cando alguén fala nun chat." #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Nome pronunciado" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Amosado cando lle nombra alguén nun chat" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Amosado cando se une alguén a un chat." #: ../src/gf_event.c:706 msgid "Leave" msgstr "Saída" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Amosado cando alguén deixa un chat." #: ../src/gf_event.c:710 msgid "Invited" msgstr "Invitado" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Amosado cando lle invita alguén a un chat." #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Tópico cambiado" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Amosado cando se cambia o tópico dun chat." #: ../src/gf_event.c:718 msgid "Email" msgstr "Correo electrónico" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Amosado cando recibe un novo correo." #: ../src/gf_event.c:723 msgid "Master" msgstr "Maestro" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Notificación maestra para o editor de temas." #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "Cancelada a transferencia do ficheiro" #: ../src/gf_event.c:727 msgid "Displayed when the buddy cancels the file transfer." msgstr "Amosado cando o amigo cancela a transferencia de ficheiro." #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "Transferencia completada" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" "Amosado cando se completa a transferencia de ficheiro para un ficheiro que " "está recibindo." #: ../src/gf_event.c:732 msgid "File send completed" msgstr "Envío de ficheiro completado" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" "Amosado cando se completa a transferencia dun ficheiro que está enviando." #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icona" #: ../src/gf_item.c:50 msgid "Image" msgstr "Imaxe" #: ../src/gf_item.c:50 msgid "Text" msgstr "Texto" #: ../src/gf_item.c:56 msgid "North West" msgstr "Noroeste" #: ../src/gf_item.c:56 msgid "North" msgstr "Norte" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nordeste" #: ../src/gf_item.c:57 msgid "West" msgstr "Oeste" #: ../src/gf_item.c:57 msgid "Center" msgstr "Centro" #: ../src/gf_item.c:58 msgid "East" msgstr "Este" #: ../src/gf_item.c:58 msgid "South West" msgstr "Sudoeste" #: ../src/gf_item.c:58 msgid "South" msgstr "Sur" #: ../src/gf_item.c:59 msgid "South East" msgstr "Sudeste" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Arriba Esquerda" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Arriba Dereita" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Abaixo Esquerda" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Abaixo Dereita" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Amigo" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protocolo" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Estado" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Enorme (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Moi grande (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Grande (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Reducido (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Pequeno (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Diminuto (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Truncar" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Elipse ao final" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Elipse no medio" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Elipse ao inicio" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Xeral" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Opcións gráficas" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Posición:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "_Apilar:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Verticalmente" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontalmente" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "Amosar _mentras está ausente:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Si" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Non" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animado:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Duración:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "segundos" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Rato" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Esquerda:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Central:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Dereita:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Amosar" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Evento" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Descrición" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Notificacións" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Borrar tema?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Está seguro de que quere borrar este tema?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Novo" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Editar" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Borrar" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Refrescar" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Cargado" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Nome" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Resumo" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "_Editar" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Obter máis" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Temas" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Versión" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Autor" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Sitio web" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Soportes" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Nome de ficheiro" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Avanzado" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "Guifications máximos _visibles:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Posicionamento" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Amosar notificacións na _pantalla:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Amosar notificacións no _monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Tema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Opcións" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Quere gardar antes de saír?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Quere gardar antes de crear un novo tema?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Quree gardar antes de abrir %s?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Confirme" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Está seguro de que quere borrar esta notificación de %s?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Confirme o borrado da notificación" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Está seguro de que quere borrar este elemento de %s?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Confirme o borrado do elemento" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Nova notificación" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Novo tipo de notificación:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Novo elemento" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Novo tipo de elemento:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Abrir" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Seleccionar fonte" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Seleccionar cor" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Nome:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Versión:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Resumo:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Descrición:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Autor:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Sitio web:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Formato de data:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Formato de hora:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Aviso:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Elipse:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alcume:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Usar o fondo do tema GTK" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Fondo:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Anchura:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Altura:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "Distancia _horizontal:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Porcentaxe" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "Distancia _vertical:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Tipo:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Tamaño:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Imaxe:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Formato:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Recorte:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Novo tema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Gardar tema" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Nova notificación" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Novo elemento" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplicar" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Mover arriba" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Movar abaixo" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Axuda" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Editor de temas de Guifications" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "O definitivo e todopoderoso notificador emerxente" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "O definitivo e todopoderoso notificador emerxente" #~ msgid "Release Notification" #~ msgstr "Notificación de lanzamento" #~ msgid "_Check for new releases" #~ msgstr "_Comprobar por novas versións" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Está dispoñible Guifications %s, vostede ten a versión %s." #~ msgid "ChangeLog:" #~ msgstr "Cambios:" #~ msgid "You can download version %s from" #~ msgstr "Pode descargar a versión %s desde" #~ msgid "New version available" #~ msgstr "Nova versión dispoñible" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Hai unha nova versión de Guifications dispoñible!" pidgin-guifications-2.16/po/bn.po0000644000175000017500000006121110731276755013712 00000000000000# translation of guifications.po to Bangla # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Mahay Alam Khan (মাহে আলম খান) , 2006. #, fuzzy msgid "" msgstr "" "Project-Id-Version: guifications\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2006-02-23 05:07+0600\n" "Last-Translator: Mahay Alam Khan (মাহে আলম খান) \n" "Language-Team: Bangla \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/gf_action.c:199 msgid "Close" msgstr "বন্ধ" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "আলোচনা খোলো" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "প্রসঙ্গ মেনু" #: ../src/gf_action.c:204 ../src/gf_action.c:749 #, fuzzy msgid "Get Info" msgstr "তথ্য আনো" # Pro - NEEDS CORRECTION. # or আলাপচারিতার লগ বা বিবরণী দেখাও - mak #: ../src/gf_action.c:205 msgid "Display Log" msgstr "কার্যবিবরণী দেখাও" # Pro - IM = আই.এম. . Applicable to all mentions of "IM" in this file. #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "আই.এম." # Pro - NEEDS CORRECTION. # please don't laugh - mak :D #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "বন্ধুকে ছো মারা যোগ করুন" # Pro - আই.এম.-এর বিবরণী দেখাও #: ../src/gf_action.c:775 msgid "View IM log" msgstr "আই.এম.-এর বিবরণী দেখাও" #. add the alias and remove button #: ../src/gf_action.c:795 #, fuzzy msgid "Alias Buddy" msgstr "বন্ধুর ছদ্মনামকরণ" # Pro - Remove = অপসারণ #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "বন্ধু অপসারণনও" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "বন্ধু যোগ করো" # Pro - Join = যোগদান #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "যোগদান" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "স্বয়ংক্রীয় যোগদান" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "আড্ডার বিবরণী দেখাও" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "আড্ডা ছদ্মনামকরণ" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "আড্ডা সরাও" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "আড্ডা যোগ করো" # Pro - NEEDS CORRECTION. #: ../src/gf_blist.c:148 #, c-format msgid "Please select a theme for the buddy %s" msgstr "বন্ধু %s এর জন্য থিম নির্বাচন করুন " # Pro - NEEDS CORRECTION. #: ../src/gf_blist.c:161 #, c-format msgid "Please select a theme for the contact %s" msgstr " %s এর জন্য থিম নির্বাচন করুন " #: ../src/gf_blist.c:165 #, c-format msgid "Please select a theme for the group %s" msgstr "%s গ্রুপটির জন্য থিম নির্বাচন করুন" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "থিম (_T)" # Pro - প্রদর্শিত বৈশিষ্ট্য মুছে ফেলো #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "প্রদর্শিত বৈশিষ্ট্য মুছে ফেলো" #: ../src/gf_blist.c:180 msgid "Random" msgstr "এলোমেলো" # I'm confused with my translation, so - mak # Pro - why is it "fuzzy" ? #: ../src/gf_blist.c:184 msgid "None" msgstr "কোনটিই নয়" # Pro - Guification-এর থিম নির্বাচন করুন # never heard of Guifications - mak #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Guification-এর থিম নির্বাচন করুন" # Pro - OK = ঠিক আছে #: ../src/gf_blist.c:210 msgid "OK" msgstr "ঠিক আছে" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "বাতিল" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guification-এর থিম" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "সাইন অন" # Pro - needs 'dari' #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "কোন বন্ধু অনলাইনে আসামাত্র প্রদর্শন করা হবে।" #: ../src/gf_event.c:668 msgid "Sign off" msgstr "সাইন অফ" # Pro - needs 'dari' #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "কোন বন্ধু অফলাইনে যাওয়ামাত্র প্রদর্শন করা হবে।" #: ../src/gf_event.c:672 msgid "Away" msgstr "দূরে" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "কোন বন্ধু পিসি থেকে দূরে গেলে প্রদর্শন করা হবে।" # this "Back" used if when anyone returns after being away from the PC, so it shouldn't be "পিছনে" - mak #: ../src/gf_event.c:675 msgid "Back" msgstr "ফিরে আসলাম" # Pro - needs 'dari' #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "কোন বন্ধু পিসির কাছে ফেরত এলে প্রদর্শন করা হবে।" # In the context of IM, idle == inactive. # inactive = নিষ্ক্রিয় - mak # Pro - Idle = নিষ্ক্রিয় #: ../src/gf_event.c:679 msgid "Idle" msgstr "নিস্ক্রিয়" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "কোন বন্ধু অলস হয়ে গেলে প্রদর্শন করা হবে।" # Pro - সক্রিয় #: ../src/gf_event.c:682 msgid "Unidle" msgstr "সক্রিয়" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "কোন বন্ধু অালস্য ত্যাগ করলে লে প্রদর্শন করা হবে।" # Pro - তাৎক্ষণিক বার্তা # আচ্ছা IM কে আইএম না লিখে IM লিখলেই তো sounds good - mak #: ../src/gf_event.c:686 msgid "IM message" msgstr "তাৎক্ষণিক বার্তা" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "কেউ বার্তা প্রেরণ করলে প্রদর্শন করা হবে।" #: ../src/gf_event.c:689 msgid "Typing" msgstr "টাইপ করছে" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "আপনার জন্য কেউ বার্তা টাইপ করতে থাকলে প্রদর্শিত হবে।" #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "টাইপ করা স্থগিত" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "আপনার জন্য কেউ বার্তা টাইপ করা স্থগিত করলে প্রদর্শিত হবে।" #: ../src/gf_event.c:696 msgid "Chat message" msgstr "আড্ডার বার্তা" # "কেহ" সাধুভাষা। আর সাধু ও চলিত ভাষার মিশ্রণ দূষণীয় :-) # কি কন? বুঝিনাই - mak # Pro - NEEDS CORRECTION. "কেহ" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "কেউ আড্ডাতে কথা বললে প্রদর্শিত হবে।" #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "যে নাম বলা হয়েছে" # Pro - NEEDS CORRECTION. "কেহ" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "আড্ডায় কেউ যদি আপনার ডাকনাম বলে, তখন প্রদর্শিত হবে" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "যখন কেউ আড্ডায় যোগ দিবে, তখন প্রদর্শিত হবে।" # IMO প্রস্থান করো- mak #: ../src/gf_event.c:706 #, fuzzy msgid "Leave" msgstr "বাদ দাও" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "যখন কেউ আড্ডা বাদ দিবে, তখন প্রদর্শিত হবে।" #: ../src/gf_event.c:710 msgid "Invited" msgstr "আমন্ত্রিত" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "আপনাকে কেউ আড্ডায় আমন্ত্রণ জানালে প্রলর্শিত হবে।" #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "বিষয়বস্তু পরিবর্তিত" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "আড্ডার বিষয়বস্তু পরিবর্তিত হলে প্রদর্শিত হবে।" #: ../src/gf_event.c:718 msgid "Email" msgstr "ই-মেইল" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "নতুন ই-মেইল গৃহিত হলে প্রদর্শিত হবে।" # Pro - মাস্টার । বিদেশি বানানে "ষ" ব্যবহৃত হয় না (ষত্ব বিধান) #: ../src/gf_event.c:723 msgid "Master" msgstr "মাস্টার" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "থিম সম্পাদকের প্রধান বিজ্ঞপ্তি।" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "কোন বন্ধু অলস হয়ে গেলে প্রদর্শন করা হবে।" #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "আইকন" #: ../src/gf_item.c:50 msgid "Image" msgstr "ছবি" # Pro - Text = টেক্সট #: ../src/gf_item.c:50 msgid "Text" msgstr "টেক্সট" #: ../src/gf_item.c:56 msgid "North West" msgstr "উত্তর পশ্চিম" #: ../src/gf_item.c:56 msgid "North" msgstr "উত্তর" #: ../src/gf_item.c:57 msgid "North East" msgstr "উত্তর পূর্ব" #: ../src/gf_item.c:57 msgid "West" msgstr "পশ্চিম" #: ../src/gf_item.c:57 msgid "Center" msgstr "মধ্য" #: ../src/gf_item.c:58 msgid "East" msgstr "পূর্ব" # Pro - Correct spelling is "দক্ষিণ" # Pro - NEEDS CORRECTION. "দক্ষিন" #: ../src/gf_item.c:58 msgid "South West" msgstr "দক্ষিণ পশ্চিম" #: ../src/gf_item.c:58 msgid "South" msgstr "দক্ষিন" #: ../src/gf_item.c:59 msgid "South East" msgstr "দক্ষিন পূর্ব" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "উপরে বামে" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "উপরে ডানে" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "নিচে বামে" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "নিচে ডানে" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "বন্ধু" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "প্রোটোকল" #: ../src/gf_menu.c:263 msgid "Status" msgstr "অবস্থা" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "বিরাট (১৪৪x১৪৪)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "অনেক বড় (৯৬x৯৬)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "বড় (৬৪x৬৪)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "সাধারণ (৪৮x৪৮)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "ছোট (৩২x৩২)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "ক্ষুদ্র (২৪x২৪)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "অতিক্ষুদ্র (১৬x১৬)" # Pro - Truncate = ছেঁটে দেওয়া #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "ছেঁটে দেওয়া" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "শেষের ইলিপসিস" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "মধ্যবর্তী ইলিপসিস" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "শুরুর ইলিপসিস" #: ../src/gf_preferences.c:215 msgid "General" msgstr "সাধারণ" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "অপশন দেখাও" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "অবস্থান (_P)" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "গাদা (_S):" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "উলম্বভাবে" # Pro - অনুভূমিকভাবে #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "অনুভূমিকভাবে" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "যখন দূরে থাকবে তখন প্রদর্শন করুন:" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "হ্যাঁ" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "না" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "অ্যানিমেট (_A):" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "সময় দেখাও (_D):" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "সেকেন্ড" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "মাউস" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "বাম (_L):" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "মধ্য (_M):" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "ডান (_R):" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "দেখাও" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "ঘটনা" # Pro - NEEDS CORRECTION. #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "বর্ণনাণ" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "বিজ্ঞপ্তি" #: ../src/gf_preferences.c:919 #, fuzzy msgid "Delete theme?" msgstr "থিম মোছা হবে কি?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "আপনি কি নিশ্চিত যে আপনি এই থিমটি মুছে ফেলবেন?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "নতুন" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "সম্পাদন করো" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "মোছো" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "পুনরায় প্রদর্শন" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "লোডকৃত" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "নাম" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "সারসংক্ষেপ" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "সম্পাদন (_E)" #: ../src/gf_preferences.c:1136 #, fuzzy msgid "_Get More" msgstr "আরও (_G)" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "থিম" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "সংস্করণ" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "লেখক" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "ওয়েবসাইট" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "সমর্থন" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "ফাইল-নাম" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "অগ্রসর" #: ../src/gf_preferences.c:1277 #, fuzzy msgid "Max _Visible Guifications:" msgstr "সর্বোচ্চ দৃশ্যমান Guifications(_V):" #: ../src/gf_preferences.c:1284 #, fuzzy msgid "Placement" msgstr "স্থাপন" # Pro - Space missing before "(_s)" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "স্ক্রীনে বিজ্ঞপ্তি দেখাও (_s):" # Pro - Space missing before "(_m)" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "মনিটরে বিজ্ঞপ্তি দেখাও (_m):" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "থিম" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "তথ্য" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "অপশন" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "আপনি কি বন্ধ করার আগে সংরক্ষণ করতে চান?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "একটি নতুন থিম তৈরী করার পূর্বে কি সংরক্ষণ করতে চান?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "%s খোলার পূর্বে কি সংরক্ষণ করতে চান?" # Pro - Confirm = নিশ্চিত #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "নিশ্চিত" #: ../src/gf_theme_editor.c:860 #, fuzzy, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "আপনি কি নিশ্চিত যে আপনি এই %s বিজ্ঞপ্তিটি মুছতে চান?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "বিজ্ঞপ্তি মোছা নিশ্চিত করুন" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "আপনি কি নিশ্চিত যে আপনি এই %s বস্তুটি মুছতে চান?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "বস্তু মোছা নিশ্চিত করুন" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "নতুন বিজ্ঞপ্তি" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "নতুন বিজ্ঞপ্তির ধরণ:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "নতুন বস্তু" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "নতুন বস্তুর ধরণ:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "খোলো" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "ফন্ট নির্বাচন করুন" # transliteration চলবে ? গুইফিকেশন - mak # Pro - Since it's a noun, keep it as it is, i.e. "Guifications" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "রং নির্বাচন করুন" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "নাম:" # Pro - Version = সংস্করণ #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "সংস্করণ:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "সারসংক্ষেপ:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "বিবরণ:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "লেখক:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "ওয়েবসাইট:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "তারিখ বিন্যাস:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "সময় বিন্যাস:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "সতর্কবার্তা:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "ইলিপসিস:" # FixMe - mak #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "ছদ্মনাম:" # Pro - ......... ব্যবহার করো #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Gtk থিমের পটভূমি ব্যবহার করো" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "পটভূমি:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "প্রস্থ:" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "উচ্চতা:" # Pro - অনুভুমিক #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "অনুভূমিক অফসেট (_H):" # নাকি শতকরা? - mak # Pro - ঠিক আছে #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "শতাংশ" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "উলম্ব অফসেট (_V):" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "টাইপ (_T):" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "আকার (_S):" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "ছবি:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "বিন্যাস:" # Pro - ":" missing # Pro - clipping - ছেঁটে ফেলা #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "ছেঁটে ফেলা:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "নতুন থিম" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "থিম সংরক্ষণ করুন" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "নতুন বিজ্ঞপ্তি" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "নতুন বস্তু" # Pro - you can write "নকল" too. #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "অবিকল" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "উপরে সরাও" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "নিচে সরাও" # Pro - Help = সহায়িকা #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "সহায়িকা" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications থিম সম্পাদক" # FixMe - mak # Pro - কমা একটা বেশি হইছে :-) #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "সব শেষ, সব হও, টোস্টার পপ-আপ প্লাগ-ইন" # FixMe - mak #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "সব শেষ, সব হও, টোস্টার পপ-আপ প্লাগ-ইন" #~ msgid "Release Notification" #~ msgstr "প্রকাশ বিজ্ঞপ্তি" # Pro - ভাল শোনাচ্ছে না :-( #~ msgid "_Check for new releases" #~ msgstr "নতুন রিলিজ পরীক্ষা করুন (_C)" # Pro - Extra dot after "%s" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s পাওয়া যাচ্ছে, আপনি সংস্করণ %s চালাচ্ছেন।" #~ msgid "ChangeLog:" #~ msgstr "কার্যবিবরণী পরিবর্তন করুন:" #, fuzzy #~ msgid "You can download version %s from" #~ msgstr "আপনি সংস্করণ %s ডাউনলোড করতে পারেন" #~ msgid "New version available" #~ msgstr "নতুন সংস্করণ পাওয়া যাচ্ছে" # Pro - Guifications এর .......... #~ msgid "There is a new version of Guifications available!" #~ msgstr "Guifications এর নতুন সংস্করণ পাওয়া যাচ্ছে!" pidgin-guifications-2.16/po/de.po0000644000175000017500000004504110731276755013706 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-12-16 00:37-0500\n" "PO-Revision-Date: 2005-04-04 23:01+0200\n" "Last-Translator: David Kiliani \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/gf_action.c:199 msgid "Close" msgstr "Schließen" #: ../src/gf_action.c:200 msgid "Open Conversation" msgstr "Unterhaltung beginnen" #: ../src/gf_action.c:202 msgid "Context Menu" msgstr "Kontextmenü" #: ../src/gf_action.c:204 ../src/gf_action.c:749 msgid "Get Info" msgstr "Info anzeigen" #: ../src/gf_action.c:205 msgid "Display Log" msgstr "Zeige Mitschnitt" #. we can im anyone.. so.. #: ../src/gf_action.c:755 msgid "IM" msgstr "IM" #: ../src/gf_action.c:766 msgid "Add Buddy Pounce" msgstr "Buddy-Alarm hinzufügen" #: ../src/gf_action.c:775 msgid "View IM log" msgstr "Mitschnitt anzeigen" #. add the alias and remove button #: ../src/gf_action.c:795 msgid "Alias Buddy" msgstr "Alias für Buddy" #: ../src/gf_action.c:798 msgid "Remove Buddy" msgstr "Buddy entfernen" #: ../src/gf_action.c:802 msgid "Add Buddy" msgstr "Buddy hinzufügen" #. add the join item, possibly redundant.. #: ../src/gf_action.c:821 ../src/gf_event.c:703 msgid "Join" msgstr "Verbinden" #: ../src/gf_action.c:825 msgid "Auto-join" msgstr "Automatisch Verbinden" #: ../src/gf_action.c:842 msgid "View Chat Log" msgstr "Chat Mitschnitt anzeigen" #. add the alias and remove buttons #: ../src/gf_action.c:856 msgid "Alias Chat" msgstr "Alias für Chat" #: ../src/gf_action.c:860 msgid "Remove Chat" msgstr "Chat entfernen" #: ../src/gf_action.c:867 msgid "Add Chat" msgstr "Chat hinzufügen" #: ../src/gf_blist.c:148 #, fuzzy, c-format msgid "Please select a theme for the buddy %s" msgstr "Wählen Sie ein Thema für %s %s" #: ../src/gf_blist.c:161 #, fuzzy, c-format msgid "Please select a theme for the contact %s" msgstr "Wählen Sie ein Thema für %s %s" #: ../src/gf_blist.c:165 #, fuzzy, c-format msgid "Please select a theme for the group %s" msgstr "Wählen Sie ein Thema für %s %s" #: ../src/gf_blist.c:175 msgid "_Theme" msgstr "_Thema" #: ../src/gf_blist.c:178 msgid "Clear setting" msgstr "Einstellung löschen" #: ../src/gf_blist.c:180 msgid "Random" msgstr "Zufällig" #: ../src/gf_blist.c:184 msgid "None" msgstr "Kein" #: ../src/gf_blist.c:208 msgid "Select Guifications theme" msgstr "Guifications Thema auswählen" #: ../src/gf_blist.c:210 msgid "OK" msgstr "OK" #: ../src/gf_blist.c:211 msgid "Cancel" msgstr "Abbrechen" #. add our menu item #: ../src/gf_blist.c:250 msgid "Guifications Theme" msgstr "Guifications Thema" #. create all of our default events #: ../src/gf_event.c:665 msgid "Sign on" msgstr "Anmelden" #: ../src/gf_event.c:666 msgid "Displayed when a buddy comes online." msgstr "Erscheint wenn ein Freund sich anmeldet" #: ../src/gf_event.c:668 msgid "Sign off" msgstr "Abmelden" #: ../src/gf_event.c:669 msgid "Displayed when a buddy goes offline." msgstr "Erscheint wenn ein Freund sich abmeldet" #: ../src/gf_event.c:672 msgid "Away" msgstr "Nicht am Computer" #: ../src/gf_event.c:673 msgid "Displayed when a buddy goes away." msgstr "Erscheint wenn ein Freund den Computer verlässt" #: ../src/gf_event.c:675 msgid "Back" msgstr "Zurück am Computer" #: ../src/gf_event.c:676 msgid "Displayed when a buddy returns from away." msgstr "Erscheint wenn ein Freund zum Computer zurückkehrt" #: ../src/gf_event.c:679 msgid "Idle" msgstr "Untätig" #: ../src/gf_event.c:680 msgid "Displayed when a buddy goes idle." msgstr "Erscheint wenn ein Freund untätig ist" #: ../src/gf_event.c:682 msgid "Unidle" msgstr "Nicht Untätig" #: ../src/gf_event.c:683 msgid "Displayed when a buddy returns from idle." msgstr "Erscheint wenn ein Freund nicht mehr untätig ist" #: ../src/gf_event.c:686 msgid "IM message" msgstr "Nachricht" #: ../src/gf_event.c:687 msgid "Displayed when someone sends you a message." msgstr "Erscheint wenn ein Freund dir eine Nachricht schickt" #: ../src/gf_event.c:689 msgid "Typing" msgstr "Tippen" #: ../src/gf_event.c:690 msgid "Displayed when someone is typing a message to you." msgstr "Erscheint wenn jemand beginnt zu tippen" #: ../src/gf_event.c:692 msgid "Stopped typing" msgstr "Tippen beendet" #: ../src/gf_event.c:693 msgid "Displayed when someone has stopped typing a message to you." msgstr "Erscheint wenn jemand aufhört zu tippen" #: ../src/gf_event.c:696 msgid "Chat message" msgstr "Chat Nachricht" #: ../src/gf_event.c:697 msgid "Displayed when someone talks in a chat." msgstr "Erscheint wenn jemand im Chat schreibt" #: ../src/gf_event.c:699 msgid "Name spoken" msgstr "Name genannt" #: ../src/gf_event.c:700 msgid "Displayed when someone says your nick in a chat" msgstr "Erscheint wenn jemand im Chat deinen Namen nennt" #: ../src/gf_event.c:704 msgid "Displayed when someone joins a chat." msgstr "Erscheint wenn jemand einen Chat betritt" #: ../src/gf_event.c:706 msgid "Leave" msgstr "Verlassen" #: ../src/gf_event.c:707 msgid "Displayed when someone leaves a chat." msgstr "Erscheint wenn jemand einen Chat verlässt" #: ../src/gf_event.c:710 msgid "Invited" msgstr "Eingeladen" #: ../src/gf_event.c:711 msgid "Displayed when someone invites you to a chat." msgstr "Erscheint wenn man zu einem Chat eingeladen wird" #: ../src/gf_event.c:714 msgid "Topic changed" msgstr "Thema geändert" #: ../src/gf_event.c:715 msgid "Displayed when a topic is changed in a chat." msgstr "Erscheint wenn das Thema in Chat verändert wird" #: ../src/gf_event.c:718 msgid "Email" msgstr "Email" #: ../src/gf_event.c:719 msgid "Displayed when you receive new email." msgstr "Erscheint bei neuen Emails" #: ../src/gf_event.c:723 msgid "Master" msgstr "Master" #: ../src/gf_event.c:723 msgid "Master notification for the theme editor." msgstr "Übergeordnete Nachricht für den Themeneditor" #: ../src/gf_event.c:726 msgid "File receive cancelled" msgstr "" #: ../src/gf_event.c:727 #, fuzzy msgid "Displayed when the buddy cancels the file transfer." msgstr "Erscheint wenn ein Freund untätig ist" #: ../src/gf_event.c:729 msgid "File receive completed" msgstr "" #: ../src/gf_event.c:730 msgid "Displayed when file transfer completes for a file you are receiving." msgstr "" #: ../src/gf_event.c:732 msgid "File send completed" msgstr "" #: ../src/gf_event.c:733 msgid "Displayed when file transfer completes for a file you are sending." msgstr "" #: ../src/gf_item.c:50 msgid "Icon" msgstr "Icon" #: ../src/gf_item.c:50 msgid "Image" msgstr "Bild" #: ../src/gf_item.c:50 msgid "Text" msgstr "Text" #: ../src/gf_item.c:56 msgid "North West" msgstr "Nord Westen" #: ../src/gf_item.c:56 msgid "North" msgstr "Norden" #: ../src/gf_item.c:57 msgid "North East" msgstr "Nord Osten" #: ../src/gf_item.c:57 msgid "West" msgstr "Westen" #: ../src/gf_item.c:57 msgid "Center" msgstr "Mitte" #: ../src/gf_item.c:58 msgid "East" msgstr "Ost" #: ../src/gf_item.c:58 msgid "South West" msgstr "Süd Westen" #: ../src/gf_item.c:58 msgid "South" msgstr "Süden" #: ../src/gf_item.c:59 msgid "South East" msgstr "Süd Osten" #: ../src/gf_menu.c:98 msgid "Top Left" msgstr "Links Oben" #: ../src/gf_menu.c:103 msgid "Top Right" msgstr "Rechts Oben" #: ../src/gf_menu.c:108 msgid "Bottom Left" msgstr "Links Unten" #: ../src/gf_menu.c:113 msgid "Bottom Right" msgstr "Rechts Unten" #: ../src/gf_menu.c:257 msgid "Buddy" msgstr "Freund" #: ../src/gf_menu.c:260 msgid "Protocol" msgstr "Protokoll" #: ../src/gf_menu.c:263 msgid "Status" msgstr "Status" #: ../src/gf_menu.c:286 msgid "Huge (144x144)" msgstr "Riesig (144x144)" #: ../src/gf_menu.c:291 msgid "Large (96x96)" msgstr "Sehr Groß (96x96)" #: ../src/gf_menu.c:296 msgid "Big (64x64)" msgstr "Groß (64x64)" #: ../src/gf_menu.c:301 msgid "Normal (48x48)" msgstr "Normal (48x48)" #: ../src/gf_menu.c:306 msgid "Little (32x32)" msgstr "Klein (32x32)" #: ../src/gf_menu.c:311 msgid "Small (24x24)" msgstr "Sehr Klein (24x24)" #: ../src/gf_menu.c:316 msgid "Tiny (16x16)" msgstr "Winzig (16x16)" #: ../src/gf_menu.c:339 msgid "Truncate" msgstr "Abschneiden" #: ../src/gf_menu.c:344 msgid "Ellipsis at the end" msgstr "Freier Platz am Ende" #: ../src/gf_menu.c:349 msgid "Ellipsis in the middle" msgstr "Freier Platz in der Mitte" #: ../src/gf_menu.c:354 msgid "Ellipsis at the beginning" msgstr "Freier Platz am Anfang" #: ../src/gf_preferences.c:215 msgid "General" msgstr "Allgemein" #. Display Options #: ../src/gf_preferences.c:221 ../src/gf_preferences.c:1275 msgid "Display Options" msgstr "Anzeigeoptionen" #: ../src/gf_preferences.c:224 ../src/gf_theme_editor.c:2487 msgid "_Position:" msgstr "_Position:" #: ../src/gf_preferences.c:228 msgid "_Stack:" msgstr "An_ordnung:" #: ../src/gf_preferences.c:230 msgid "Vertically" msgstr "Vertikal" #: ../src/gf_preferences.c:231 msgid "Horizontally" msgstr "Horizontal" #: ../src/gf_preferences.c:236 msgid "Show _while away:" msgstr "_Zeige Guifications während ich weg bin" #: ../src/gf_preferences.c:239 ../src/gf_preferences.c:247 msgid "Yes" msgstr "Ja" #: ../src/gf_preferences.c:240 ../src/gf_preferences.c:248 msgid "No" msgstr "Nein" #: ../src/gf_preferences.c:245 msgid "_Animate:" msgstr "_Animieren:" #: ../src/gf_preferences.c:253 msgid "_Display Time:" msgstr "_Anzeige Zeit:" #: ../src/gf_preferences.c:256 msgid "seconds" msgstr "Sekunden" #. Mouse Options #: ../src/gf_preferences.c:260 msgid "Mouse" msgstr "Maus" #: ../src/gf_preferences.c:263 msgid "_Left:" msgstr "_Links:" #: ../src/gf_preferences.c:266 msgid "_Middle:" msgstr "_Mitte:" #: ../src/gf_preferences.c:269 msgid "_Right:" msgstr "_Rechts:" #: ../src/gf_preferences.c:429 msgid "Show" msgstr "Anzeigen" #: ../src/gf_preferences.c:435 msgid "Event" msgstr "Ereignis" #: ../src/gf_preferences.c:441 ../src/gf_preferences.c:1200 msgid "Description" msgstr "Beschreibung" #: ../src/gf_preferences.c:453 msgid "Notifications" msgstr "Meldungen" #: ../src/gf_preferences.c:919 msgid "Delete theme?" msgstr "Thema löschen?" #: ../src/gf_preferences.c:920 msgid "Are you sure you want to delete this theme?" msgstr "Sind Sie sicher daß Sie dieses Thema löschen wollen?" #: ../src/gf_preferences.c:999 msgid "New" msgstr "Neu" #: ../src/gf_preferences.c:1011 msgid "Edit" msgstr "Bearbeiten" #: ../src/gf_preferences.c:1015 ../src/gf_theme_editor.c:2676 msgid "Delete" msgstr "Löschen" #: ../src/gf_preferences.c:1026 msgid "Refresh" msgstr "Aktualisieren" #: ../src/gf_preferences.c:1071 msgid "Loaded" msgstr "Geladen" #: ../src/gf_preferences.c:1078 ../src/gf_preferences.c:1176 msgid "Name" msgstr "Name" #: ../src/gf_preferences.c:1085 msgid "Summary" msgstr "Zusammenfassung" #: ../src/gf_preferences.c:1106 msgid "_Edit" msgstr "B_earbeiten" #: ../src/gf_preferences.c:1136 msgid "_Get More" msgstr "_Weitere" #: ../src/gf_preferences.c:1152 msgid "Themes" msgstr "Themen" #: ../src/gf_preferences.c:1188 msgid "Version" msgstr "Version" #: ../src/gf_preferences.c:1212 msgid "Author" msgstr "Author" #: ../src/gf_preferences.c:1224 msgid "Website" msgstr "Webseite" #: ../src/gf_preferences.c:1236 msgid "Supports" msgstr "Unterstützt" #: ../src/gf_preferences.c:1248 msgid "Filename" msgstr "Dateiname" #: ../src/gf_preferences.c:1273 msgid "Advanced" msgstr "Erweitert" #: ../src/gf_preferences.c:1277 msgid "Max _Visible Guifications:" msgstr "_Max Sichtbare Guifications:" #: ../src/gf_preferences.c:1284 msgid "Placement" msgstr "Plazierung" #: ../src/gf_preferences.c:1288 msgid "Show notifications on _screen:" msgstr "Meldungen anzeigen auf Bild_schirm:" #: ../src/gf_preferences.c:1295 msgid "Show notifications on _monitor:" msgstr "Meldungen anzeigen auf _Monitor:" #: ../src/gf_theme_editor.c:344 msgid "Theme" msgstr "Thema" #: ../src/gf_theme_editor.c:349 msgid "Info" msgstr "Info" #: ../src/gf_theme_editor.c:354 msgid "Options" msgstr "Optionen" #: ../src/gf_theme_editor.c:731 msgid "Would you like to save before closing?" msgstr "Wollen Sie vor dem Beenden speichern?" #: ../src/gf_theme_editor.c:733 msgid "Would you like to save before creating a new theme?" msgstr "Wollen Sie vor dem Erstellen eines neuen Themas speichern?" #: ../src/gf_theme_editor.c:735 #, c-format msgid "Would you like to save before opening %s?" msgstr "Wollen Sie vor dem Öffnen von %s speichern?" #: ../src/gf_theme_editor.c:746 msgid "Confirm" msgstr "Bestätigen" #: ../src/gf_theme_editor.c:860 #, c-format msgid "Are you sure you want to delete this %s notification?" msgstr "Sind Sie sicher daß Sie diese %s Benachrichtigung löschen wollen?" #: ../src/gf_theme_editor.c:862 msgid "Confirm delete notification" msgstr "Löschen der Benachrichtung bestätigen" #: ../src/gf_theme_editor.c:868 #, c-format msgid "Are you sure you want to delete this %s item?" msgstr "Sind Sie sicher daß Sie diese %s Komponente löschen wollen?" #: ../src/gf_theme_editor.c:870 msgid "Confirm delete item" msgstr "Löschen der Komponente bestätigen" #: ../src/gf_theme_editor.c:1025 msgid "New Notification" msgstr "Neue Benachrichtigung" #: ../src/gf_theme_editor.c:1038 msgid "New notification type:" msgstr "Typ der neuen Benachrichtigung:" #: ../src/gf_theme_editor.c:1180 msgid "New Item" msgstr "Neue Komponente" #: ../src/gf_theme_editor.c:1194 msgid "New item type:" msgstr "Typ der neuen Komponente:" #: ../src/gf_theme_editor.c:1967 msgid "Open" msgstr "Öffnen" #: ../src/gf_theme_editor.c:1972 msgid "Select font" msgstr "Schriftart auswählen" #: ../src/gf_theme_editor.c:1979 ../src/guifications.c:143 msgid "Guifications" msgstr "Guifications" #: ../src/gf_theme_editor.c:2001 msgid "Select color" msgstr "Farbe auswählen" #: ../src/gf_theme_editor.c:2376 msgid "Name:" msgstr "Name:" #: ../src/gf_theme_editor.c:2380 msgid "Version:" msgstr "Version:" #: ../src/gf_theme_editor.c:2384 msgid "Summary:" msgstr "Zusammenfassung:" #: ../src/gf_theme_editor.c:2388 msgid "Description:" msgstr "Beschreibung:" #: ../src/gf_theme_editor.c:2392 msgid "Author:" msgstr "Author:" #: ../src/gf_theme_editor.c:2396 msgid "Website:" msgstr "Webseite:" #: ../src/gf_theme_editor.c:2414 msgid "Date Format:" msgstr "Datumsformat:" #: ../src/gf_theme_editor.c:2418 msgid "Time Format:" msgstr "Zeitformat:" #: ../src/gf_theme_editor.c:2422 msgid "Warning:" msgstr "Warnung:" #: ../src/gf_theme_editor.c:2426 msgid "Ellipsis:" msgstr "Ausrichtung:" #: ../src/gf_theme_editor.c:2444 msgid "Alias:" msgstr "Alias:" #: ../src/gf_theme_editor.c:2450 msgid "Use Gtk theme background" msgstr "Hintergrund des Gtk-Themas verwenden" #: ../src/gf_theme_editor.c:2455 msgid "Background:" msgstr "Hintergrund:" #: ../src/gf_theme_editor.c:2468 ../src/gf_theme_editor.c:2584 msgid "Width:" msgstr "Breite" #: ../src/gf_theme_editor.c:2474 msgid "Height:" msgstr "Höhe:" #: ../src/gf_theme_editor.c:2493 msgid "_Horizontal Offset:" msgstr "_Horizontaler Abstand:" #: ../src/gf_theme_editor.c:2498 ../src/gf_theme_editor.c:2508 msgid "Percentage" msgstr "Prozent" #: ../src/gf_theme_editor.c:2503 msgid "_Vertical Offset:" msgstr "_Senkrechter Abstand:" #: ../src/gf_theme_editor.c:2527 msgid "_Type:" msgstr "_Typ:" #: ../src/gf_theme_editor.c:2532 msgid "_Size:" msgstr "_Größe:" #: ../src/gf_theme_editor.c:2552 msgid "Image:" msgstr "Bild:" #: ../src/gf_theme_editor.c:2579 msgid "Format:" msgstr "Format:" #: ../src/gf_theme_editor.c:2589 msgid "Clipping:" msgstr "Abschneiden:" #: ../src/gf_theme_editor.c:2654 msgid "New theme" msgstr "Neues Thema" #: ../src/gf_theme_editor.c:2656 msgid "Save theme" msgstr "Thema speichern" #: ../src/gf_theme_editor.c:2662 msgid "New notification" msgstr "Neue Benachrichtigung" #: ../src/gf_theme_editor.c:2667 msgid "New item" msgstr "Neue Komponente" #: ../src/gf_theme_editor.c:2671 msgid "Duplicate" msgstr "Duplizieren" #: ../src/gf_theme_editor.c:2682 msgid "Move up" msgstr "Hinauf" #: ../src/gf_theme_editor.c:2685 msgid "Move down" msgstr "Hinunter" #: ../src/gf_theme_editor.c:2690 msgid "Help" msgstr "Hilfe" #: ../src/gf_theme_editor.c:2743 msgid "Guifications Theme Editor" msgstr "Guifications Themen Editor" #: ../src/guifications.c:144 msgid "The end all, be all, toaster popup plugin" msgstr "Das ultimative, allumfassende Toaster popup Plugin" #: ../src/guifications.c:145 msgid "" "Guifications:\n" "The end all, be all, toaster popup plugin" msgstr "" "Guifications:\n" "Das ultimative, allumfassende Toaster Popup Plugin" #~ msgid "Release Notification" #~ msgstr "Meldung bei neuer Version" #~ msgid "_Check for new releases" #~ msgstr "Nach neuen Versionen suchen" #~ msgid "Guifications %s is available, you are running version %s." #~ msgstr "Guifications %s ist verfügbar, Sie haben zur Zeit Version %s." #~ msgid "ChangeLog:" #~ msgstr "Veränderungen:" #~ msgid "You can download version %s from" #~ msgstr "Sie können Version %s hier herunterladen" #~ msgid "New version available" #~ msgstr "Neue Version verfügbar" #~ msgid "There is a new version of Guifications available!" #~ msgstr "Es gibt eine neue Version von Guifications!" #~ msgid "Anonymous" #~ msgstr "Anonym" #~ msgid "Warned" #~ msgstr "Verwarnt" #~ msgid "Displayed when you are warned." #~ msgstr "Erscheint wenn man verwarnt wird" #~ msgid "buddy" #~ msgstr "Buddy" #~ msgid "contact" #~ msgstr "Kontakt" #~ msgid "group" #~ msgstr "Gruppe" #~ msgid "200%" #~ msgstr "200%" #~ msgid "175%" #~ msgstr "175%" #~ msgid "150%" #~ msgstr "150%" #~ msgid "125%" #~ msgstr "125%" #~ msgid "100%" #~ msgstr "100%" #~ msgid "75%" #~ msgstr "75%" #~ msgid "50%" #~ msgstr "50%" #~ msgid "25%" #~ msgstr "25%" #~ msgid "Behavior" #~ msgstr "Verhalten" #~ msgid "Appearance" #~ msgstr "Aussehen" #~ msgid "Position Options" #~ msgstr "Positionseinstellungen" #~ msgid "_Zoom:" #~ msgstr "_Zoom:" #~ msgid "Show _alias if set" #~ msgstr "Zeige _Alias wenn er gesetzt ist" #~ msgid "Show _contacts as one guification" #~ msgstr "_Mehrere Ereignisse pro Kontakt als eine Guification anzeigen" #~ msgid "Buttons:" #~ msgstr "Buttons:" #~ msgid "Sign on delay:" #~ msgstr "Anmeldeverzögerung" #~ msgid "milliseconds" #~ msgstr "Millisekunden" #~ msgid "Conversations" #~ msgstr "Unterhaltungen" #~ msgid "Hide notifications for focused conversations" #~ msgstr "Keine Benachrichtigungen für ausgewählte Unterhaltungsfenster" #~ msgid "Hide chat join / leave messages" #~ msgstr "Verstecke Chat Anmelde- / Abmeldenachrichten" #~ msgid "_Show Guifications while screensaver is active" #~ msgstr "_Zeige Guifications während der Bildschirmschoner aktiv ist" #~ msgid "pixels" #~ msgstr "Pixel" #~ msgid "Miscellaneous" #~ msgstr "Sonstiges" pidgin-guifications-2.16/VERSION.in0000644000175000017500000000001210567471427014002 00000000000000@VERSION@ pidgin-guifications-2.16/Makefile.am0000644000175000017500000000152010731276755014366 00000000000000EXTRA_DIST = \ AUTHORS \ ChangeLog \ COPYING \ gf_config.h.mingw \ pidgin-guifications.spec \ guifications-installer.nsi \ INSTALL \ INSTALL.WIN32 \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ Makefile.mingw \ NEWS \ README \ VERSION \ VERSION.in \ po/AUTHORS \ po/ChangeLog \ po/Makefile.mingw DISTCLEANFILES = \ gf_config.h \ intltool-extract \ intltool-update \ intltool-merge SUBDIRS = doc nsis pixmaps po src themes BUILT_SOURCES = gf_config.h $(OBJECTS): $(BUILT_SOURCES) signatures: dist echo $(DIST_ARCHIVES) | xargs -n 1 gpg -a -b gf_config.h: pre_config.h cp -f po/Makefile po/.tmp-Makefile sed -e "s#localedir = .*#localedir = $(PIDGIN_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile rm -f po/.tmp-Makefile $(sedpath) 's/\#define PACKAGE/\#define GF_PACKAGE/g' pre_config.h > $@ pidgin-guifications-2.16/themes/0000777000175000017500000000000010731357020013666 500000000000000pidgin-guifications-2.16/themes/mini/0000777000175000017500000000000010731357020014622 500000000000000pidgin-guifications-2.16/themes/mini/Makefile.in0000644000175000017500000002770510731356736016633 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = themes/mini 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)/pre_config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = 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)$(guificationsminithemedir)" guificationsminithemeDATA_INSTALL = $(INSTALL_DATA) DATA = $(guificationsminitheme_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ background.png \ theme.xml \ Makefile.mingw guificationsminithemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/mini guificationsminitheme_DATA = background.png theme.xml all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themes/mini/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themes/mini/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-guificationsminithemeDATA: $(guificationsminitheme_DATA) @$(NORMAL_INSTALL) test -z "$(guificationsminithemedir)" || $(mkdir_p) "$(DESTDIR)$(guificationsminithemedir)" @list='$(guificationsminitheme_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(guificationsminithemeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(guificationsminithemedir)/$$f'"; \ $(guificationsminithemeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(guificationsminithemedir)/$$f"; \ done uninstall-guificationsminithemeDATA: @$(NORMAL_UNINSTALL) @list='$(guificationsminitheme_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(guificationsminithemedir)/$$f'"; \ rm -f "$(DESTDIR)$(guificationsminithemedir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 $(DATA) installdirs: for dir in "$(DESTDIR)$(guificationsminithemedir)"; 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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-guificationsminithemeDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-guificationsminithemeDATA uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-guificationsminithemeDATA install-info install-info-am \ install-man install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am \ uninstall-guificationsminithemeDATA 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: pidgin-guifications-2.16/themes/mini/theme.xml0000644000175000017500000002436610731276755016414 00000000000000 mini 1.0 Guifications Mini Theme A minimal Guifications theme Gary Kramlich <amc_grim@users.sf.net> http://guifications.sourceforge.net ... pidgin-guifications-2.16/themes/mini/Makefile.am0000644000175000017500000000031210604002337016563 00000000000000EXTRA_DIST = \ background.png \ theme.xml \ Makefile.mingw guificationsminithemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/mini guificationsminitheme_DATA = background.png theme.xml pidgin-guifications-2.16/themes/mini/Makefile.mingw0000644000175000017500000000072210616774112017326 00000000000000# # Makefile.mingw # # Description: Makefile for guifications default theme # GF_TOP := ../.. -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak PIDGIN_DATADIR = $(PIDGIN_INSTALL_DIR) include ./Makefile.am .PHONY: install install: if test '$(guificationsminitheme_DATA)'; then \ mkdir -p $(guificationsminithemedir); \ cp $(guificationsminitheme_DATA) $(guificationsminithemedir); \ fi; pidgin-guifications-2.16/themes/mini/background.png0000644000175000017500000000034710567471427017406 00000000000000PNG  IHDR` b pHYs  tIME :y`tEXtCommentCreated with The GIMPd%n]IDATx١@=! P@ TwGUHr{&@ @H @ @ @?. b0UIENDB`pidgin-guifications-2.16/themes/Makefile.in0000644000175000017500000003732310731356736015674 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = themes DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog 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)/pre_config.h CONFIG_CLEAN_FILES = 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 ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ ChangeLog \ Makefile.mingw SUBDIRS = default funky mini Penguins all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themes/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themes/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # 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) $(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) $(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) $(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 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 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: 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 clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am 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: pidgin-guifications-2.16/themes/Penguins/0000777000175000017500000000000010731357020015456 500000000000000pidgin-guifications-2.16/themes/Penguins/Makefile.in0000644000175000017500000003005610731356736017460 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = themes/Penguins 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)/pre_config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = 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)$(guificationspenguinsthemedir)" guificationspenguinsthemeDATA_INSTALL = $(INSTALL_DATA) DATA = $(guificationspenguinstheme_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ penguin.png \ theme.xml \ Makefile.mingw guificationspenguinsthemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/Penguins guificationspenguinstheme_DATA = penguin.png theme.xml all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themes/Penguins/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themes/Penguins/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-guificationspenguinsthemeDATA: $(guificationspenguinstheme_DATA) @$(NORMAL_INSTALL) test -z "$(guificationspenguinsthemedir)" || $(mkdir_p) "$(DESTDIR)$(guificationspenguinsthemedir)" @list='$(guificationspenguinstheme_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(guificationspenguinsthemeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(guificationspenguinsthemedir)/$$f'"; \ $(guificationspenguinsthemeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(guificationspenguinsthemedir)/$$f"; \ done uninstall-guificationspenguinsthemeDATA: @$(NORMAL_UNINSTALL) @list='$(guificationspenguinstheme_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(guificationspenguinsthemedir)/$$f'"; \ rm -f "$(DESTDIR)$(guificationspenguinsthemedir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 $(DATA) installdirs: for dir in "$(DESTDIR)$(guificationspenguinsthemedir)"; 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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-guificationspenguinsthemeDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-guificationspenguinsthemeDATA \ uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-guificationspenguinsthemeDATA install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-guificationspenguinsthemeDATA 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: pidgin-guifications-2.16/themes/Penguins/theme.xml0000644000175000017500000002753510731276755017251 00000000000000 Penguins 1.0 A Pidgin Penguin Theme Much like the default theme, but uses the Pidgin penguin instead. It's also the first theme written completely in the theme editor! Gary Kramlich <amc_grim@users.sf.net> http://guifications.sourceforge.net %x %X N/A ... pidgin-guifications-2.16/themes/Penguins/Makefile.am0000644000175000017500000000032010604002337017416 00000000000000EXTRA_DIST = \ penguin.png \ theme.xml \ Makefile.mingw guificationspenguinsthemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/Penguins guificationspenguinstheme_DATA = penguin.png theme.xml pidgin-guifications-2.16/themes/Penguins/Makefile.mingw0000644000175000017500000000074210616774112020164 00000000000000# # Makefile.mingw # # Description: Makefile for guifications penguin theme # GF_TOP := ../.. -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak PIDGIN_DATADIR = $(PIDGIN_INSTALL_DIR) include ./Makefile.am .PHONY: install install: if test '$(guificationspenguinstheme_DATA)'; then \ mkdir -p $(guificationspenguinsthemedir); \ cp $(guificationspenguinstheme_DATA) $(guificationspenguinsthemedir); \ fi; pidgin-guifications-2.16/themes/Penguins/penguin.png0000644000175000017500000001000010567471427017553 00000000000000PNG  IHDRx 1bKGD pHYs  tIME9tEXtCommentCreated with The GIMPd%nIDATxLu-sAe!?b.GI*d,b87'E(8?tfe҅ڟ&'nGǁ:H`믻/{}LSㆀ̷,YΟc5p]aI<A0  `@0`@0    `@0`@0    `@0`@0    `@0 `@0    `@0 `@0   ̊%ikЏ'ti{%l6mޢޫ,߿Oyk$X211 ~$qxkx jBo-N0bĩTF~DDc  j:׫J}^[EZ4o>hg2ظAG<+ % ^7+$I=UO3NF &ddpg*q!V?JIw8^XX())_eff*%rl|EO ;wtX9$E!]>rUUU0{ UV.,{W-o<ֻQ4488X&ꫯB,---Zzuرzq9˦7J?򾤤$X~>#~Xs[{-;kٳg^$.y^)n!IJ_{zv:JHH;FIM2u0O+82 96-KMT__$)777غ:*,PpNFBl0>&ikĸW/}^F-ة[g DEy/[*JXxR4UHE7ieNOzDWo5yz-JtU7xk.v|>\.}rT;(k2' P_9wA_da2d>0  sf.?"ad _rt&IENDB`cU@0>@H{V@``%H{V@5\H{V@0>pX@0>PiS@ @6@ `2:I@h#c-C@#h#>6@ `2A@A@h#HX@h#0ZA cU@H{V@PHA@@h߃@<c-#cU@pPA@%@c->7@ 0`3A@<ȇe@<@ 0`3A@<#@<@TU@`\A@<# A@A@8Hs&@02WU@`A@l6@<<kU@`8xkU@80 H{V@d H{V@dH{V@0HU@c&@H{V@HN@00X<N@,h @8/@)3ԗ@8i@i@)3h2@8)3)3)3A(@UA]As@8zHVA~F@h@a@R:I@ЉH}F@8xEЉ(@]A]AP(N@8;+P(N@8UAP8;+@6cU@RX:I@P8;+x.C@`8<:I@0ExoC@0E.C@`8<:I@0EQC@0E@6:I@VA0E؊e]D@h[A0E8;+@68<:I@VAr0E8;+@6:I@:I@0EXE@0Er@6 D8;+rQ:I@D0E\C@D0E8;+b@6(D@:I@DSAXD@D0E8;+b@6PTX h@Ќ h@D@Ht@QA@Ht@>t@D @Ht@>t@@Ht@h@@Ht@^@HװY@H{V@A@h@Z@^@D>Z@@Ht@>t@@Ht@XAh@@Ht@XA^@XAXAtY@XAA@kU@XAЍȌyU@A@Eh~.3@XAH{V@DDU@Dh@[@@Ht@>t@@Ht@A@ h@D(h@PcF76eAH@Ht@>t@QAlesIh@@Ht@QAD H{V@eAeAQAH>t@@Ht@@h@@Ht@QA@QA^@QA@Y@QA@q.[@wQȍq.[@؍ 8[@`Y@Y@4Y@Z@Y@^@^@(^@eAHfZ@XA@Ht@ ^@XAXAnX@ AXAXA XAXA^@@SXA0X@pidgin-guifications-2.16/themes/ChangeLog0000644000175000017500000000014010567471427015366 00000000000000Version 2.2 : * Change text format for typing and stopped-typing to use '%c' rather than '%n' pidgin-guifications-2.16/themes/default/0000777000175000017500000000000010731357020015312 500000000000000pidgin-guifications-2.16/themes/default/Makefile.in0000644000175000017500000003002610731356736017311 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = themes/default 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)/pre_config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = 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)$(guificationsdefaultthemedir)" guificationsdefaultthemeDATA_INSTALL = $(INSTALL_DATA) DATA = $(guificationsdefaulttheme_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ background.png \ theme.xml \ Makefile.mingw guificationsdefaultthemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/default guificationsdefaulttheme_DATA = background.png theme.xml all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themes/default/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themes/default/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-guificationsdefaultthemeDATA: $(guificationsdefaulttheme_DATA) @$(NORMAL_INSTALL) test -z "$(guificationsdefaultthemedir)" || $(mkdir_p) "$(DESTDIR)$(guificationsdefaultthemedir)" @list='$(guificationsdefaulttheme_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(guificationsdefaultthemeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(guificationsdefaultthemedir)/$$f'"; \ $(guificationsdefaultthemeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(guificationsdefaultthemedir)/$$f"; \ done uninstall-guificationsdefaultthemeDATA: @$(NORMAL_UNINSTALL) @list='$(guificationsdefaulttheme_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(guificationsdefaultthemedir)/$$f'"; \ rm -f "$(DESTDIR)$(guificationsdefaultthemedir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 $(DATA) installdirs: for dir in "$(DESTDIR)$(guificationsdefaultthemedir)"; 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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-guificationsdefaultthemeDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-guificationsdefaultthemeDATA uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-exec install-exec-am \ install-guificationsdefaultthemeDATA install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-guificationsdefaultthemeDATA 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: pidgin-guifications-2.16/themes/default/theme.xml0000644000175000017500000002676310567471427017107 00000000000000 [Default] 1.0 Guifications Default Theme The default guifications theme Gary Kramlich <amc_grim@users.sf.net> http://guifications.sourceforge.net ... pidgin-guifications-2.16/themes/default/Makefile.am0000644000175000017500000000032310604002337017255 00000000000000EXTRA_DIST = \ background.png \ theme.xml \ Makefile.mingw guificationsdefaultthemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/default guificationsdefaulttheme_DATA = background.png theme.xml pidgin-guifications-2.16/themes/default/Makefile.mingw0000644000175000017500000000074010616774112020016 00000000000000# # Makefile.mingw # # Description: Makefile for guifications default theme # GF_TOP := ../.. -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak PIDGIN_DATADIR = $(PIDGIN_INSTALL_DIR) include ./Makefile.am .PHONY: install install: if test '$(guificationsdefaulttheme_DATA)'; then \ mkdir -p $(guificationsdefaultthemedir); \ cp $(guificationsdefaulttheme_DATA) $(guificationsdefaultthemedir); \ fi; pidgin-guifications-2.16/themes/default/background.png0000644000175000017500000020374010567471427020100 00000000000000PNG  IHDRx 1bKGDC pHYs  ~tIME  4Q IDATxL^K IDATމK_ IDATc?h IDATlG IDATö91 IDAT! 4 %!&3  =& IDATо7,+$ ! ? @3%$56! //- "*, )   ,    3 '  #"!2@  #. 3   &%%51, a 89/H / ) "132 'A ]OW IDAT !$ %$#      #    " J2 # 5+('?"  #,&*$#" ,1 ';)$$#C0/  211 +,1 ""! ;D_ IDAT  AZIENDB`pidgin-guifications-2.16/themes/funky/0000777000175000017500000000000010731357020015022 500000000000000pidgin-guifications-2.16/themes/funky/Makefile.in0000644000175000017500000002505310731356736017025 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = themes/funky 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)/pre_config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG_CFLAGS = @DEBUG_CFLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ PIDGIN_DATADIR = @PIDGIN_DATADIR@ PIDGIN_LIBDIR = @PIDGIN_LIBDIR@ PIDGIN_LIBS = @PIDGIN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PLUGINS_FALSE = @PLUGINS_FALSE@ PLUGINS_TRUE = @PLUGINS_TRUE@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PURPLE_CFLAGS = @PURPLE_CFLAGS@ PURPLE_LIBS = @PURPLE_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sedpath = @sedpath@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ EXTRA_DIST = \ background.png \ theme.xml \ Makefile.mingw all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign themes/funky/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign themes/funky/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: 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 installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(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-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ 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-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am #guificationsfunkythemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/funky #guificationsfunkytheme_DATA = background.png theme.xml # 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: pidgin-guifications-2.16/themes/funky/theme.xml0000644000175000017500000000430110567471427016577 00000000000000 Funky 1.0 Guifications Funky Theme A funky looking theme that was made to test non rectangular window support Gary Kramlich <amc_grim@users.sourceforge.net> http://guifications.sourceforge.net ... pidgin-guifications-2.16/themes/funky/Makefile.am0000644000175000017500000000031710604002337016770 00000000000000EXTRA_DIST = \ background.png \ theme.xml \ Makefile.mingw #guificationsfunkythemedir = $(PIDGIN_DATADIR)/pixmaps/pidgin/guifications/themes/funky #guificationsfunkytheme_DATA = background.png theme.xml pidgin-guifications-2.16/themes/funky/Makefile.mingw0000644000175000017500000000072310616774112017527 00000000000000# # Makefile.mingw # # Description: Makefile for guifications test theme # GF_TOP := ../.. -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak PIDGIN_DATADIR = $(PIDGIN_INSTALL_DIR) include ./Makefile.am .PHONY: install install: if test '$(guificationsfunkytheme_DATA)'; then \ mkdir -p $(guificationsfunkythemedir); \ cp $(guificationsfunkytheme_DATA) $(guificationsfunkythemedir); \ fi; pidgin-guifications-2.16/themes/funky/background.png0000644000175000017500000000163710567471427017611 00000000000000PNG  IHDRx 1bKGD pHYs  tIME4StEXtCommentCreated with The GIMPd%nIDATxݱJ#AlscmA|4=[By`:{{ٸKu̠(P<} wAHW1l6 yoWMT?-N |A}JׇӨ߯OIg5?s:H,8r ^aty}^z7wl8}>PVwxίߒCT ?LI>-P|K ;F,D0* F` A0 `%Hu.>kJB0 A0 A0 CzoLViT4!*Q4`3!a:`֍2Fah(E0WG o%D=xpylv8C ^S/GOk=srq5L?zՃ!r.S=MEM}҇[(.hN.iA}ZLj1 Mw䱆i:- `  CW_O)ֱXCT,!*`?K0 `@0 `@0D`Z^~$0]З1 -^ӭMIX `  ` HnuT].lyVZ fC(hB [`GO# 0VRiڌY?r2I^W,]gӇ}ݍ,!P=,y:}^1>_IENDB`pidgin-guifications-2.16/themes/Makefile.am0000644000175000017500000000012410616775007015646 00000000000000EXTRA_DIST = \ ChangeLog \ Makefile.mingw SUBDIRS = default funky mini Penguins pidgin-guifications-2.16/themes/Makefile.mingw0000644000175000017500000000052010567471427016376 00000000000000# # Makefile.mingw # # Description: Makefile for guifications themes # DEFAULT_THEME = ./default MINI_THEME = ./mini PENGUINS_THEME = ./Penguins .PHONY: install install: $(MAKE) -C $(DEFAULT_THEME) -f Makefile.mingw install $(MAKE) -C $(MINI_THEME) -f Makefile.mingw install $(MAKE) -C $(PENGUINS_THEME) -f Makefile.mingw install pidgin-guifications-2.16/Makefile.mingw0000644000175000017500000000210310731276755015110 00000000000000# # Makefile.mingw # # Description: Makefile for win32 (mingw) guifications 2 # # # PATHS # GF_SRC := ./src GF_PIXMAPS := ./pixmaps GF_THEMES := ./themes GF_PO := ./po GF_TOP := . -include $(GF_TOP)/local.mak PIDGIN_TREE_TOP ?= ../../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak ## ## VARIABLE DEFINITIONS ## GF_VERSION := $(shell cat ./VERSION) PIDGIN_VERSION := $(shell cat $(PIDGIN_TREE_TOP)/VERSION) .PHONY: all install installer clean all: $(MAKE) -C $(GF_SRC) -f Makefile.mingw $(MAKE) -C $(GF_PO) -f Makefile.mingw gf_config.h: gf_config.h.mingw cp gf_config.h.mingw gf_config.h install: all $(MAKE) -C $(GF_PIXMAPS) -f Makefile.mingw install $(MAKE) -C $(GF_THEMES) -f Makefile.mingw install $(MAKE) -C $(GF_SRC) -f Makefile.mingw install $(MAKE) -C $(GF_PO) -f Makefile.mingw install installer: all $(MAKENSIS) -DGUIFICATIONS_VERSION="$(GF_VERSION)" -DPIDGIN_VERSION="$(PIDGIN_VERSION)" -DPIDGIN_TREE_TOP="$(PIDGIN_TREE_TOP)" guifications-installer.nsi clean: $(MAKE) -C $(GF_SRC) -f Makefile.mingw clean rm -f gf_config.h guifications-*.exe pidgin-guifications-2.16/depcomp0000755000175000017500000003710010731356736013710 00000000000000#! /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: pidgin-guifications-2.16/guifications-installer.nsi0000644000175000017500000003066110655207405017523 00000000000000; NSIS Script For Guifications Plugin ; Author Daniel A. Atallah ; Based on the Pidgin installer by Herman Bloggs and the Pidgin-Encryption installer by Bill Tompkins ; Uses NSIS v2.0 ;-------------------------------- ;Include Modern UI !include "MUI.nsh" !include "FileFunc.nsh" !insertmacro GetParameters !insertmacro GetOptions ;-------------------------------- ;General Name "Pidgin Guifications ${GUIFICATIONS_VERSION}" ;Do A CRC Check CRCCheck On ;Output File Name OutFile "pidgin-guifications-${GUIFICATIONS_VERSION}.exe" ;The Default Installation Directory InstallDir "$PROGRAMFILES\pidgin" InstallDirRegKey HKLM SOFTWARE\pidgin "" ShowInstDetails show ShowUnInstDetails show SetCompressor /SOLID lzma ;Reserve files used in .onInit for faster start-up !insertmacro MUI_RESERVEFILE_LANGDLL !define GUIFICATIONS_UNINST_EXE "pidgin-guifications-uninst.exe" !define GUIFICATIONS_DLL "guifications.dll" !define GUIFICATIONS_UNINSTALL_LNK "Guifications Uninstall.lnk" ;-------------------------------- ; Registry keys: !define GUIFICATIONS_REG_KEY "SOFTWARE\pidgin-guifications" !define GUIFICATIONS_UNINSTALL_KEY "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\pidgin-guifications" ;------------------------------- ; Pidgin Plugin installer helper stuff !addincludedir "${PIDGIN_TREE_TOP}\pidgin\win32\nsis" !include "pidgin-plugin.nsh" ;-------------------------------- ; Modern UI Configuration !define MUI_ICON .\nsis\install.ico !define MUI_UNICON .\nsis\install.ico !define MUI_HEADERIMAGE !define MUI_HEADERIMAGE_BITMAP "nsis\header.bmp" !define MUI_CUSTOMFUNCTION_GUIINIT gf_checkPidginVersion !define MUI_ABORTWARNING !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" !define MUI_LANGDLL_REGISTRY_KEY ${GUIFICATIONS_REG_KEY} !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" ;-------------------------------- ; Pages ;Welcome Page !define MUI_WELCOMEPAGE_TITLE $(WELCOME_TITLE) !define MUI_WELCOMEPAGE_TEXT $(WELCOME_TEXT) !insertmacro MUI_PAGE_WELCOME ;License Page !define MUI_LICENSEPAGE_RADIOBUTTONS !insertmacro MUI_PAGE_LICENSE ".\COPYING" ;Directory Page !define MUI_DIRECTORYPAGE_TEXT_TOP $(DIR_SUBTITLE) !define MUI_DIRECTORYPAGE_TEXT_DESTINATION $(DIR_INNERTEXT) !insertmacro MUI_PAGE_DIRECTORY ;Installation Page !insertmacro MUI_PAGE_INSTFILES ;Finish Page !define MUI_FINISHPAGE_TITLE $(FINISH_TITLE) !define MUI_FINISHPAGE_TEXT $(FINISH_TEXT) !insertmacro MUI_PAGE_FINISH ;-------------------------------- ; Languages !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "French" !insertmacro MUI_LANGUAGE "Italian" !insertmacro MUI_LANGUAGE "Spanish" ;Translations !include "nsis\translations\english.nsh" !include "nsis\translations\french.nsh" !include "nsis\translations\italian.nsh" !include "nsis\translations\spanish.nsh" ; Uninstall the previous version if it exists Section -SecUninstallOldPlugin ; Check install rights.. Call CheckUserInstallRights Pop $R0 StrCmp $R0 "HKLM" rights_hklm StrCmp $R0 "HKCU" rights_hkcu done rights_hkcu: ReadRegStr $R1 HKCU "${GUIFICATIONS_REG_KEY}" "" ReadRegStr $R2 HKCU "${GUIFICATIONS_REG_KEY}" "Version" ReadRegStr $R3 HKCU "${GUIFICATIONS_UNINSTALL_KEY}" "UninstallString" Goto try_uninstall rights_hklm: ReadRegStr $R1 HKLM "${GUIFICATIONS_REG_KEY}" "" ReadRegStr $R2 HKLM "${GUIFICATIONS_REG_KEY}" "Version" ReadRegStr $R3 HKLM "${GUIFICATIONS_UNINSTALL_KEY}" "UninstallString" ; If previous version exists .. remove try_uninstall: StrCmp $R1 "" done StrCmp $R2 "" uninstall_problem IfFileExists $R3 0 uninstall_problem ; Have uninstall string.. go ahead and uninstall. SetOverwrite on ; Need to copy uninstaller outside of the install dir ClearErrors CopyFiles /SILENT $R3 "$TEMP\${GUIFICATIONS_UNINST_EXE}" SetOverwrite off IfErrors uninstall_problem ; Ready to uninstall.. ClearErrors ExecWait '"$TEMP\${GUIFICATIONS_UNINST_EXE}" /S _?=$R1' IfErrors exec_error Delete "$TEMP\${GUIFICATIONS_UNINST_EXE}" Goto done exec_error: Delete "$TEMP\${GUIFICATIONS_UNINST_EXE}" Goto uninstall_problem uninstall_problem: ; Just delete the plugin and uninstaller, and remove Registry key MessageBox MB_YESNO $(GUIFICATIONS_PROMPT_WIPEOUT) IDYES do_wipeout IDNO cancel_install cancel_install: Quit do_wipeout: StrCmp $R0 "HKLM" del_lm_reg del_cu_reg del_cu_reg: DeleteRegKey HKCU ${GUIFICATIONS_REG_KEY} Goto uninstall_prob_cont del_lm_reg: DeleteRegKey HKLM ${GUIFICATIONS_REG_KEY} uninstall_prob_cont: ; plugin DLL Delete "$R1\plugins\${GUIFICATIONS_DLL}" ; pixmaps RMDir /r "$R1\pixmaps\pidgin\guifications" Delete "$R3" done: SectionEnd !macro INSTALL_GMO LANG SetOutPath "$INSTDIR\locale\${LANG}\LC_MESSAGES" File /oname=guifications.mo po\${LANG}.gmo !macroend Section "Install" Call CheckUserInstallRights Pop $R0 StrCmp $R0 "NONE" instrights_none StrCmp $R0 "HKLM" instrights_hklm instrights_hkcu instrights_hklm: ; Write the version registry keys: WriteRegStr HKLM ${GUIFICATIONS_REG_KEY} "" "$INSTDIR" WriteRegStr HKLM ${GUIFICATIONS_REG_KEY} "Version" "${GUIFICATIONS_VERSION}" ; Write the uninstall keys for Windows WriteRegStr HKLM ${GUIFICATIONS_UNINSTALL_KEY} "DisplayName" "$(GUIFICATIONS_UNINSTALL_DESC)" WriteRegStr HKLM ${GUIFICATIONS_UNINSTALL_KEY} "UninstallString" "$INSTDIR\${GUIFICATIONS_UNINST_EXE}" SetShellVarContext "all" Goto install_files instrights_hkcu: ; Write the version registry keys: WriteRegStr HKCU ${GUIFICATIONS_REG_KEY} "" "$INSTDIR" WriteRegStr HKCU ${GUIFICATIONS_REG_KEY} "Version" "${GUIFICATIONS_VERSION}" ; Write the uninstall keys for Windows WriteRegStr HKCU ${GUIFICATIONS_UNINSTALL_KEY} "DisplayName" "$(GUIFICATIONS_UNINSTALL_DESC)" WriteRegStr HKCU ${GUIFICATIONS_UNINSTALL_KEY} "UninstallString" "$INSTDIR\${GUIFICATIONS_UNINST_EXE}" Goto install_files instrights_none: ; No registry keys for us... install_files: SetOutPath "$INSTDIR\plugins" SetCompress Auto SetOverwrite on File "src\${GUIFICATIONS_DLL}" SetOutPath "$INSTDIR\pixmaps\pidgin\guifications\conf" File "pixmaps\*.png" SetOutPath "$INSTDIR\pixmaps\pidgin\guifications\themes\default" File "themes\default\theme.xml" File "themes\default\background.png" SetOutPath "$INSTDIR\pixmaps\pidgin\guifications\themes\mini" File "themes\mini\theme.xml" File "themes\mini\background.png" SetOutPath "$INSTDIR\pixmaps\pidgin\guifications\themes\Penguins" File "themes\Penguins\theme.xml" File "themes\Penguins\penguin.png" ; translations - if there is a way to automate this, i can't find it !insertmacro INSTALL_GMO "bn" !insertmacro INSTALL_GMO "cs" !insertmacro INSTALL_GMO "de" !insertmacro INSTALL_GMO "en_AU" !insertmacro INSTALL_GMO "en_GB" !insertmacro INSTALL_GMO "es" !insertmacro INSTALL_GMO "fr" !insertmacro INSTALL_GMO "gl" !insertmacro INSTALL_GMO "he" !insertmacro INSTALL_GMO "hu" !insertmacro INSTALL_GMO "it" !insertmacro INSTALL_GMO "ja" !insertmacro INSTALL_GMO "mk" !insertmacro INSTALL_GMO "nl" !insertmacro INSTALL_GMO "no" !insertmacro INSTALL_GMO "pt" !insertmacro INSTALL_GMO "pt_BR" !insertmacro INSTALL_GMO "ru" !insertmacro INSTALL_GMO "sk" !insertmacro INSTALL_GMO "sr" !insertmacro INSTALL_GMO "sr@Latn" !insertmacro INSTALL_GMO "sv" !insertmacro INSTALL_GMO "uk" !insertmacro INSTALL_GMO "zh_CN" !insertmacro INSTALL_GMO "zh_TW" StrCmp $R0 "NONE" done CreateShortCut "$SMPROGRAMS\Pidgin\${GUIFICATIONS_UNINSTALL_LNK}" "$INSTDIR\${GUIFICATIONS_UNINST_EXE}" WriteUninstaller "$INSTDIR\${GUIFICATIONS_UNINST_EXE}" SetOverWrite off done: SectionEnd Section Uninstall Call un.CheckUserInstallRights Pop $R0 StrCmp $R0 "NONE" no_rights StrCmp $R0 "HKCU" try_hkcu try_hklm try_hkcu: ReadRegStr $R0 HKCU "${GUIFICATIONS_REG_KEY}" "" StrCmp $R0 $INSTDIR 0 cant_uninstall ; HKCU install path matches our INSTDIR.. so uninstall DeleteRegKey HKCU "${GUIFICATIONS_REG_KEY}" DeleteRegKey HKCU "${GUIFICATIONS_UNINSTALL_KEY}" Goto cont_uninstall try_hklm: ReadRegStr $R0 HKLM "${GUIFICATIONS_REG_KEY}" "" StrCmp $R0 $INSTDIR 0 try_hkcu ; HKLM install path matches our INSTDIR.. so uninstall DeleteRegKey HKLM "${GUIFICATIONS_REG_KEY}" DeleteRegKey HKLM "${GUIFICATIONS_UNINSTALL_KEY}" ; Sets start menu and desktop scope to all users.. SetShellVarContext "all" cont_uninstall: ; plugin Delete "$INSTDIR\plugins\${GUIFICATIONS_DLL}" ; pixmaps RMDir /r "$INSTDIR\pixmaps\pidgin\guifications" ; translations ; loop through locale dirs and try to delete any guifications translations ClearErrors FindFirst $R1 $R2 "$INSTDIR\locale\*" IfErrors doneFindingTranslations processCurrentTranslationDir: ;Ignore "." and ".." StrCmp $R2 "." readNextTranslationDir StrCmp $R2 ".." readNextTranslationDir IfFileExists "$INSTDIR\locale\$R2\LC_MESSAGES\guifications.mo" +1 readNextTranslationDir Delete "$INSTDIR\locale\$R2\LC_MESSAGES\guifications.mo" RMDir "$INSTDIR\locale\$R2\LC_MESSAGES" RMDir "$INSTDIR\locale\$R2" ClearErrors readNextTranslationDir: FindNext $R1 $R2 IfErrors doneFindingTranslations processCurrentTranslationDir doneFindingTranslations: FindClose $R1 RMDir "$INSTDIR\locale" ; uninstaller Delete "$INSTDIR\${GUIFICATIONS_UNINST_EXE}" ; uninstaller shortcut Delete "$SMPROGRAMS\Pidgin\${GUIFICATIONS_UNINSTALL_LNK}" ; try to delete the Pidgin directories, in case it has already uninstalled RMDir "$INSTDIR\plugins" RMDir "$INSTDIR" RMDir "$SMPROGRAMS\Pidgin" Goto done cant_uninstall: MessageBox MB_OK $(un.GUIFICATIONS_UNINSTALL_ERROR_1) IDOK Quit no_rights: MessageBox MB_OK $(un.GUIFICATIONS_UNINSTALL_ERROR_2) IDOK Quit done: SectionEnd Function .onInit ${GetParameters} $R0 ClearErrors ${GetOptions} $R0 "/L=" $R0 IfErrors +3 StrCpy $LANGUAGE $R0 Goto skip_lang ; Select Language ; Display Language selection dialog !insertmacro MUI_LANGDLL_DISPLAY skip_lang: FunctionEnd Function un.onInit ; Get stored language preference !insertmacro MUI_UNGETLANGUAGE FunctionEnd ; Check that the selected installation dir contains pidgin.exe Function .onVerifyInstDir IfFileExists $INSTDIR\pidgin.exe +2 Abort FunctionEnd ; Check that the currently installed pidgin version is compatible with the version of guifications we are installing Function gf_checkPidginVersion Push $R0 Push ${PIDGIN_VERSION} Call CheckPidginVersion Pop $R0 StrCmp $R0 ${PIDGIN_VERSION_OK} gf_checkPidginVersion_OK StrCmp $R0 ${PIDGIN_VERSION_INCOMPATIBLE} +1 +6 Call GetPidginVersion IfErrors +3 Pop $R0 MessageBox MB_OK|MB_ICONSTOP "$(BAD_PIDGIN_VERSION_1) $R0 $(BAD_PIDGIN_VERSION_2)" goto +2 MessageBox MB_OK|MB_ICONSTOP "$(NO_PIDGIN_VERSION)" Quit gf_checkPidginVersion_OK: Pop $R0 FunctionEnd Function CheckUserInstallRights ClearErrors UserInfo::GetName IfErrors Win9x Pop $0 UserInfo::GetAccountType Pop $1 StrCmp $1 "Admin" 0 +3 StrCpy $1 "HKLM" Goto done StrCmp $1 "Power" 0 +3 StrCpy $1 "HKLM" Goto done StrCmp $1 "User" 0 +3 StrCpy $1 "HKCU" Goto done StrCmp $1 "Guest" 0 +3 StrCpy $1 "NONE" Goto done ; Unknown error StrCpy $1 "NONE" Goto done Win9x: StrCpy $1 "HKLM" done: Push $1 FunctionEnd ; This is necessary because the uninstaller doesn't have access to installer functions ; (it is identical to CheckUserInstallRights) Function un.CheckUserInstallRights ClearErrors UserInfo::GetName IfErrors Win9x Pop $0 UserInfo::GetAccountType Pop $1 StrCmp $1 "Admin" 0 +3 StrCpy $1 "HKLM" Goto done StrCmp $1 "Power" 0 +3 StrCpy $1 "HKLM" Goto done StrCmp $1 "User" 0 +3 StrCpy $1 "HKCU" Goto done StrCmp $1 "Guest" 0 +3 StrCpy $1 "NONE" Goto done ; Unknown error StrCpy $1 "NONE" Goto done Win9x: StrCpy $1 "HKLM" done: Push $1 FunctionEnd pidgin-guifications-2.16/intltool-merge.in0000644000175000017500000011120110731356730015611 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Merger # # Copyright (C) 2000, 2003 Free Software Foundation. # Copyright (C) 2000, 2001 Eazel, Inc # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Maciej Stachowiak # Kenneth Christiansen # Darin Adler # # Proper XML UTF-8'ification written by Cyrille Chepelov # ## Release information my $PROGRAM = "intltool-merge"; my $PACKAGE = "intltool"; my $VERSION = "0.36.2"; ## Loaded modules use strict; use Getopt::Long; use Text::Wrap; use File::Basename; my $must_end_tag = -1; my $last_depth = -1; my $translation_depth = -1; my @tag_stack = (); my @entered_tag = (); my @translation_strings = (); my $leading_space = ""; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $BA_STYLE_ARG = 0; my $XML_STYLE_ARG = 0; my $KEYS_STYLE_ARG = 0; my $DESKTOP_STYLE_ARG = 0; my $SCHEMAS_STYLE_ARG = 0; my $RFC822DEB_STYLE_ARG = 0; my $QUOTED_STYLE_ARG = 0; my $QUIET_ARG = 0; my $PASS_THROUGH_ARG = 0; my $UTF8_ARG = 0; my $MULTIPLE_OUTPUT = 0; my $cache_file; ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "quiet|q" => \$QUIET_ARG, "oaf-style|o" => \$BA_STYLE_ARG, ## for compatibility "ba-style|b" => \$BA_STYLE_ARG, "xml-style|x" => \$XML_STYLE_ARG, "keys-style|k" => \$KEYS_STYLE_ARG, "desktop-style|d" => \$DESKTOP_STYLE_ARG, "schemas-style|s" => \$SCHEMAS_STYLE_ARG, "rfc822deb-style|r" => \$RFC822DEB_STYLE_ARG, "quoted-style" => \$QUOTED_STYLE_ARG, "pass-through|p" => \$PASS_THROUGH_ARG, "utf8|u" => \$UTF8_ARG, "multiple-output|m" => \$MULTIPLE_OUTPUT, "cache|c=s" => \$cache_file ) or &error; my $PO_DIR; my $FILE; my $OUTFILE; my %po_files_by_lang = (); my %translations = (); my $iconv = $ENV{"ICONV"} || "iconv"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); sub isProgramInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file -l >$devnull") == 0)); return 0; } if (! isProgramInPath ("$iconv")) { print STDERR " *** iconv is not found on this system!\n". " *** Without it, intltool-merge can not convert encodings.\n"; exit; } # Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; # XML quoted string contents my $q = "[^\\\"]*"; ## Check for options. if ($VERSION_ARG) { &print_version; } elsif ($HELP_ARG) { &print_help; } elsif ($BA_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &ba_merge_translations; &finalize; } elsif ($XML_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &xml_merge_output; &finalize; } elsif ($KEYS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &keys_merge_translations; &finalize; } elsif ($DESKTOP_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &desktop_merge_translations; &finalize; } elsif ($SCHEMAS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &schemas_merge_translations; &finalize; } elsif ($RFC822DEB_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &rfc822deb_merge_translations; &finalize; } elsif ($QUOTED_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; "ed_merge_translations; &finalize; } else { &print_help; } exit; ## Sub for printing release information sub print_version { print <<_EOF_; ${PROGRAM} (${PACKAGE}) ${VERSION} Written by Maciej Stachowiak, Darin Adler and Kenneth Christiansen. Copyright (C) 2000-2003 Free Software Foundation, Inc. Copyright (C) 2000-2001 Eazel, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub print_help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE Generates an output file that includes some localized attributes from an untranslated source file. Mandatory options: (exactly one must be specified) -b, --ba-style includes translations in the bonobo-activation style -d, --desktop-style includes translations in the desktop style -k, --keys-style includes translations in the keys style -s, --schemas-style includes translations in the schemas style -r, --rfc822deb-style includes translations in the RFC822 style --quoted-style includes translations in the quoted string style -x, --xml-style includes translations in the standard xml style Other options: -u, --utf8 convert all strings to UTF-8 before merging (default for everything except RFC822 style) -p, --pass-through deprecated, does nothing and issues a warning -m, --multiple-output output one localized file per locale, instead of a single file containing all localized elements -c, --cache=FILE specify cache file name (usually \$top_builddir/po/.intltool-merge-cache) -q, --quiet suppress most messages --help display this help and exit --version output version information and exit Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub print_error { print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub print_message { print "Merging translations into $OUTFILE.\n" unless $QUIET_ARG; } sub preparation { $PO_DIR = $ARGV[0]; $FILE = $ARGV[1]; $OUTFILE = $ARGV[2]; &gather_po_files; &get_translation_database; } # General-purpose code for looking up translations in .po files sub po_file2lang { my ($tmp) = @_; $tmp =~ s/^.*\/(.*)\.po$/$1/; return $tmp; } sub gather_po_files { if (my $linguas = $ENV{"LINGUAS"}) { for my $lang (split / /, $linguas) { my $po_file = $PO_DIR . "/" . $lang . ".po"; if (-e $po_file) { $po_files_by_lang{$lang} = $po_file; } } } else { if (open LINGUAS_FILE, "$PO_DIR/LINGUAS") { while () { next if /^#/; if (/([-a-zA-Z_@.]+)\n/) { my $lang = $1; my $po_file = $PO_DIR . "/" . $lang . ".po"; if (-e $po_file) { $po_files_by_lang{$lang} = $po_file; } } } close LINGUAS_FILE; } else { for my $po_file (glob "$PO_DIR/*.po") { $po_files_by_lang{po_file2lang($po_file)} = $po_file; } } } } sub get_local_charset { my ($encoding) = @_; my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "@INTLTOOL_LIBDIR@/charset.alias"; # seek character encoding aliases in charset.alias (glib) if (open CHARSET_ALIAS, $alias_file) { while () { next if /^\#/; return $1 if (/^\s*([-._a-zA-Z0-9]+)\s+$encoding\b/i) } close CHARSET_ALIAS; } # if not found, return input string return $encoding; } sub get_po_encoding { my ($in_po_file) = @_; my $encoding = ""; open IN_PO_FILE, $in_po_file or die; while () { ## example: "Content-Type: text/plain; charset=ISO-8859-1\n" if (/Content-Type\:.*charset=([-a-zA-Z0-9]+)\\n/) { $encoding = $1; last; } } close IN_PO_FILE; if (!$encoding) { print STDERR "Warning: no encoding found in $in_po_file. Assuming ISO-8859-1\n" unless $QUIET_ARG; $encoding = "ISO-8859-1"; } system ("$iconv -f $encoding -t UTF-8 <$devnull 2>$devnull"); if ($?) { $encoding = get_local_charset($encoding); } return $encoding } sub utf8_sanity_check { print STDERR "Warning: option --pass-through has been removed.\n" if $PASS_THROUGH_ARG; $UTF8_ARG = 1; } sub get_translation_database { if ($cache_file) { &get_cached_translation_database; } else { &create_translation_database; } } sub get_newest_po_age { my $newest_age; foreach my $file (values %po_files_by_lang) { my $file_age = -M $file; $newest_age = $file_age if !$newest_age || $file_age < $newest_age; } $newest_age = 0 if !$newest_age; return $newest_age; } sub create_cache { print "Generating and caching the translation database\n" unless $QUIET_ARG; &create_translation_database; open CACHE, ">$cache_file" || die; print CACHE join "\x01", %translations; close CACHE; } sub load_cache { print "Found cached translation database\n" unless $QUIET_ARG; my $contents; open CACHE, "<$cache_file" || die; { local $/; $contents = ; } close CACHE; %translations = split "\x01", $contents; } sub get_cached_translation_database { my $cache_file_age = -M $cache_file; if (defined $cache_file_age) { if ($cache_file_age <= &get_newest_po_age) { &load_cache; return; } print "Found too-old cached translation database\n" unless $QUIET_ARG; } &create_cache; } sub create_translation_database { for my $lang (keys %po_files_by_lang) { my $po_file = $po_files_by_lang{$lang}; if ($UTF8_ARG) { my $encoding = get_po_encoding ($po_file); if (lc $encoding eq "utf-8") { open PO_FILE, "<$po_file"; } else { print "NOTICE: $po_file is not in UTF-8 but $encoding, converting...\n" unless $QUIET_ARG;; open PO_FILE, "$iconv -f $encoding -t UTF-8 $po_file|"; } } else { open PO_FILE, "<$po_file"; } my $nextfuzzy = 0; my $inmsgid = 0; my $inmsgstr = 0; my $msgid = ""; my $msgstr = ""; while () { $nextfuzzy = 1 if /^#, fuzzy/; if (/^msgid "((\\.|[^\\]+)*)"/ ) { $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; $msgid = ""; $msgstr = ""; if ($nextfuzzy) { $inmsgid = 0; } else { $msgid = unescape_po_string($1); $inmsgid = 1; } $inmsgstr = 0; $nextfuzzy = 0; } if (/^msgstr "((\\.|[^\\]+)*)"/) { $msgstr = unescape_po_string($1); $inmsgstr = 1; $inmsgid = 0; } if (/^"((\\.|[^\\]+)*)"/) { $msgid .= unescape_po_string($1) if $inmsgid; $msgstr .= unescape_po_string($1) if $inmsgstr; } } $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; } } sub finalize { } sub unescape_one_sequence { my ($sequence) = @_; return "\\" if $sequence eq "\\\\"; return "\"" if $sequence eq "\\\""; return "\n" if $sequence eq "\\n"; return "\r" if $sequence eq "\\r"; return "\t" if $sequence eq "\\t"; return "\b" if $sequence eq "\\b"; return "\f" if $sequence eq "\\f"; return "\a" if $sequence eq "\\a"; return chr(11) if $sequence eq "\\v"; # vertical tab, see ascii(7) return chr(hex($1)) if ($sequence =~ /\\x([0-9a-fA-F]{2})/); return chr(oct($1)) if ($sequence =~ /\\([0-7]{3})/); # FIXME: Is \0 supported as well? Kenneth and Rodney don't want it, see bug #48489 return $sequence; } sub unescape_po_string { my ($string) = @_; $string =~ s/(\\x[0-9a-fA-F]{2}|\\[0-7]{3}|\\.)/unescape_one_sequence($1)/eg; return $string; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/<//g; s/&/&/g; return $_; } # entity_encode: (string) # # Encode the given string to XML format (encode '<' etc). sub entity_encode { my ($pre_encoded) = @_; my @list_of_chars = unpack ('C*', $pre_encoded); # with UTF-8 we only encode minimalistic return join ('', map (&entity_encode_int_minimalist, @list_of_chars)); } sub entity_encode_int_minimalist { return """ if $_ == 34; return "&" if $_ == 38; return "'" if $_ == 39; return "<" if $_ == 60; return chr $_; } sub entity_encoded_translation { my ($lang, $string) = @_; my $translation = $translations{$lang, $string}; return $string if !$translation; return entity_encode ($translation); } ## XML (bonobo-activation specific) merge code sub ba_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die "can't open $OUTFILE: $!"; # Binmode so that selftest works ok if using a native Win32 Perl... binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ s|^(.*?)([ \t]*<\s*$w+\s+($w+\s*=\s*"$q"\s*)+/?>)([ \t]*\n)?||s) { print OUTPUT $1; my $node = $2 . "\n"; my @strings = (); $_ = $node; while (s/(\s)_($w+\s*=\s*"($q)")/$1$2/s) { push @strings, entity_decode($3); } print OUTPUT; my %langs; for my $string (@strings) { for my $lang (keys %po_files_by_lang) { $langs{$lang} = 1 if $translations{$lang, $string}; } } for my $lang (sort keys %langs) { $_ = $node; s/(\sname\s*=\s*)"($q)"/$1"$2-$lang"/s; s/(\s)_($w+\s*=\s*")($q)"/$1 . $2 . entity_encoded_translation($lang, $3) . '"'/seg; print OUTPUT; } } print OUTPUT $source; close OUTPUT; } ## XML (non-bonobo-activation) merge code # Process tag attributes # Only parameter is a HASH containing attributes -> values mapping sub getAttributeString { my $sub = shift; my $do_translate = shift || 0; my $language = shift || ""; my $result = ""; my $translate = shift; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; if ($do_translate && $key =~ /^_/) { $key =~ s|^_||g; if ($language) { # Handle translation my $decode_string = entity_decode($string); my $translation = $translations{$language, $decode_string}; if ($translation) { $translation = entity_encode($translation); $string = $translation; } $$translate = 2; } else { $$translate = 2 if ($translate && (!$$translate)); # watch not to "overwrite" $translate } } $result .= " $key=$quote$string$quote"; } return $result; } # Returns a translatable string from XML node, it works on contents of every node in XML::Parser tree sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; if ($singlelang) { my $oldMO = $MULTIPLE_OUTPUT; $MULTIPLE_OUTPUT = 1; traverse($fh, $type, $rest, $language, $spacepreserve); $MULTIPLE_OUTPUT = $oldMO; } else { traverse($fh, $type, $rest, $language, $spacepreserve); } $index += 2; } } sub isWellFormedXmlFragment { my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $fragment = shift; return 0 if (!$fragment); $fragment = "$fragment"; my $xp = new XML::Parser(Style => 'Tree'); my $tree = 0; eval { $tree = $xp->parse($fragment); }; return $tree; } sub traverse { my $fh = shift; my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if (!$nodename) { if ($content =~ /^[\s]*$/) { $leading_space .= $content; } print $fh $content; } else { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); print $fh "<$nodename", $outattr; if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup || $translate == 2) { my $translation = $translations{$language, $lookup} if isWellFormedXmlFragment($translations{$language, $lookup}); if ($MULTIPLE_OUTPUT && ($translation || $translate == 2)) { $translation = $lookup if (!$translation); print $fh " xml:lang=\"", $language, "\"" if $language; print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; return; # this means there will be no same translation with xml:lang="$language"... # if we want them both, just remove this "return" } else { print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $lookup; } print $fh ""; } } else { print $fh "/>"; } for my $lang (sort keys %po_files_by_lang) { if ($MULTIPLE_OUTPUT && $lang ne "$language") { next; } if ($lang) { # Handle translation # my $translate = 0; my $localattrs = getAttributeString($attrs, 1, $lang, \$translate); my $translation = $translations{$lang, $lookup} if isWellFormedXmlFragment($translations{$lang, $lookup}); if ($translate && !$translation) { $translation = $lookup; } if ($translation || $translate) { print $fh "\n"; $leading_space =~ s/.*\n//g; print $fh $leading_space; print $fh "<", $nodename, " xml:lang=\"", $lang, "\"", $localattrs, ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $lang, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; } } } } else { my $count = scalar(@all); if ($count > 0) { print $fh ">"; my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } print $fh ""; } else { print $fh "/>"; } } } } sub intltool_tree_comment { my $expat = shift; my $data = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 1 => $data; } sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } sub readXml { my $filename = shift || return; if(!-f $filename) { die "ERROR Cannot find filename: $filename\n"; } my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); my $tree = $xp->parsefile($filename); # Hello thereHowdydo # would be: # [foo, [{}, head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, [{}, # 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub print_header { my $infile = shift; my $fh = shift; my $source; if(!-f $infile) { die "ERROR Cannot find filename: $infile\n"; } print $fh qq{\n}; { local $/; open DOCINPUT, "<${FILE}" or die; $source = ; close DOCINPUT; } if ($source =~ /()/s) { print $fh "$1\n"; } elsif ($source =~ /(]*>)/s) { print $fh "$1\n"; } } sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } sub xml_merge_output { my $source; if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree, $lang); close OUTPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } } open OUTPUT, ">$OUTFILE" or die "Cannot open $OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED $OUTFILE\n" unless $QUIET_ARG; } sub keys_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub desktop_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/${1}[$lang]=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub schemas_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; # FIXME: support attribute translations # Empty nodes never need translation, so unmark all of them. # For example, <_foo/> is just replaced by . $source =~ s|<\s*_($w+)\s*/>|<$1/>|g; while ($source =~ s/ (.*?) (\s+)((\s*) (\s*(?:\s*)?(.*?)\s*<\/default>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/short>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/long>)?(\s*) <\/locale>) //sx) { print OUTPUT $1; my $locale_start_spaces = $2 ? $2 : ''; my $default_spaces = $4 ? $4 : ''; my $short_spaces = $7 ? $7 : ''; my $long_spaces = $10 ? $10 : ''; my $locale_end_spaces = $13 ? $13 : ''; my $c_default_block = $3 ? $3 : ''; my $default_string = $6 ? $6 : ''; my $short_string = $9 ? $9 : ''; my $long_string = $12 ? $12 : ''; print OUTPUT "$locale_start_spaces$c_default_block"; $default_string =~ s/\s+/ /g; $default_string = entity_decode($default_string); $short_string =~ s/\s+/ /g; $short_string = entity_decode($short_string); $long_string =~ s/\s+/ /g; $long_string = entity_decode($long_string); for my $lang (sort keys %po_files_by_lang) { my $default_translation = $translations{$lang, $default_string}; my $short_translation = $translations{$lang, $short_string}; my $long_translation = $translations{$lang, $long_string}; next if (!$default_translation && !$short_translation && !$long_translation); print OUTPUT "\n$locale_start_spaces"; print OUTPUT "$default_spaces"; if ($default_translation) { $default_translation = entity_encode($default_translation); print OUTPUT "$default_translation"; } print OUTPUT "$short_spaces"; if ($short_translation) { $short_translation = entity_encode($short_translation); print OUTPUT "$short_translation"; } print OUTPUT "$long_spaces"; if ($long_translation) { $long_translation = entity_encode($long_translation); print OUTPUT "$long_translation"; } print OUTPUT "$locale_end_spaces"; } } print OUTPUT $source; close OUTPUT; } sub rfc822deb_merge_translations { my %encodings = (); for my $lang (keys %po_files_by_lang) { $encodings{$lang} = ($UTF8_ARG ? 'UTF-8' : get_po_encoding($po_files_by_lang{$lang})); } my $source; $Text::Wrap::huge = 'overflow'; $Text::Wrap::break = qr/\n|\s(?=\S)/; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ /(^|\n+)(_*)([^:\s]+)(:[ \t]*)(.*?)(?=\n[\S\n]|$)/sg) { my $sep = $1; my $non_translated_line = $3.$4; my $string = $5; my $underscore = length($2); next if $underscore eq 0 && $non_translated_line =~ /^#/; # Remove [] dummy strings my $stripped = $string; $stripped =~ s/\[\s[^\[\]]*\],/,/g if $underscore eq 2; $stripped =~ s/\[\s[^\[\]]*\]$//; $non_translated_line .= $stripped; print OUTPUT $sep.$non_translated_line; if ($underscore) { my @str_list = rfc822deb_split($underscore, $string); for my $lang (sort keys %po_files_by_lang) { my $is_translated = 1; my $str_translated = ''; my $first = 1; for my $str (@str_list) { my $translation = $translations{$lang, $str}; if (!$translation) { $is_translated = 0; last; } # $translation may also contain [] dummy # strings, mostly to indicate an empty string $translation =~ s/\[\s[^\[\]]*\]$//; if ($first) { if ($underscore eq 2) { $str_translated .= $translation; } else { $str_translated .= Text::Tabs::expand($translation) . "\n"; } } else { if ($underscore eq 2) { $str_translated .= ', ' . $translation; } else { $str_translated .= Text::Tabs::expand( Text::Wrap::wrap(' ', ' ', $translation)) . "\n .\n"; } } $first = 0; # To fix some problems with Text::Wrap::wrap $str_translated =~ s/(\n )+\n/\n .\n/g; } next unless $is_translated; $str_translated =~ s/\n \.\n$//; $str_translated =~ s/\s+$//; $_ = $non_translated_line; s/^(\w+):\s*.*/$sep${1}-$lang.$encodings{$lang}: $str_translated/s; print OUTPUT; } } } print OUTPUT "\n"; close OUTPUT; close INPUT; } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub quoted_translation { my ($lang, $string) = @_; $string =~ s/\\\"/\"/g; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $translation =~ s/\"/\\\"/g; return $translation } sub quoted_merge_translations { if (!$MULTIPLE_OUTPUT) { print "Quoted only supports Multiple Output.\n"; exit(1); } for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open INPUT, "<${FILE}" or die; open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { s/\"(([^\"]|\\\")*[^\\\"])\"/"\"" . "ed_translation($lang, $1) . "\""/ge; print OUTPUT; } close OUTPUT; close INPUT; } } pidgin-guifications-2.16/intltool-extract.in0000644000175000017500000005500610731356730016176 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Extractor # # Copyright (C) 2000-2001, 2003 Free Software Foundation. # # Intltool 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. # # Intltool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # 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. # # Authors: Kenneth Christiansen # Darin Adler # ## Release information my $PROGRAM = "intltool-extract"; my $PACKAGE = "intltool"; my $VERSION = "0.36.2"; ## Loaded modules use strict; use File::Basename; use Getopt::Long; ## Scalars used by the option stuff my $TYPE_ARG = "0"; my $LOCAL_ARG = "0"; my $HELP_ARG = "0"; my $VERSION_ARG = "0"; my $UPDATE_ARG = "0"; my $QUIET_ARG = "0"; my $SRCDIR_ARG = "."; my $FILE; my $OUTFILE; my $gettext_type = ""; my $input; my %messages = (); my %loc = (); my %count = (); my %comments = (); my $strcount = 0; my $XMLCOMMENT = ""; ## Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; ## Always print first $| = 1; ## Handle options GetOptions ( "type=s" => \$TYPE_ARG, "local|l" => \$LOCAL_ARG, "help|h" => \$HELP_ARG, "version|v" => \$VERSION_ARG, "update" => \$UPDATE_ARG, "quiet|q" => \$QUIET_ARG, "srcdir=s" => \$SRCDIR_ARG, ) or &error; &split_on_argument; ## Check for options. ## This section will check for the different options. sub split_on_argument { if ($VERSION_ARG) { &version; } elsif ($HELP_ARG) { &help; } elsif ($LOCAL_ARG) { &place_local; &extract; } elsif ($UPDATE_ARG) { &place_normal; &extract; } elsif (@ARGV > 0) { &place_normal; &message; &extract; } else { &help; } } sub place_normal { $FILE = $ARGV[0]; $OUTFILE = "$FILE.h"; my $dirname = dirname ($OUTFILE); if (! -d "$dirname" && $dirname ne "") { system ("mkdir -p $dirname"); } } sub place_local { $FILE = $ARGV[0]; $OUTFILE = fileparse($FILE, ()); if (!-e "tmp/") { system("mkdir tmp/"); } $OUTFILE = "./tmp/$OUTFILE.h" } sub determine_type { if ($TYPE_ARG =~ /^gettext\/(.*)/) { $gettext_type=$1 } } ## Sub for printing release information sub version{ print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Copyright (C) 2000, 2003 Free Software Foundation, Inc. Written by Kenneth Christiansen, 2000. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... [FILENAME] Generates a header file from an XML source file. It grabs all strings between <_translatable_node> and its end tag in XML files. Read manpage (man ${PROGRAM}) for more info. --type=TYPE Specify the file type of FILENAME. Currently supports: "gettext/glade", "gettext/ini", "gettext/keys" "gettext/rfc822deb", "gettext/schemas", "gettext/scheme", "gettext/xml", "gettext/quoted" -l, --local Writes output into current working directory (conflicts with --update) --update Writes output into the same directory the source file reside (conflicts with --local) --srcdir Root of the source tree -v, --version Output version information and exit -h, --help Display this help and exit -q, --quiet Quiet mode Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub error{ print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub message { print "Generating C format header file for translation.\n" unless $QUIET_ARG; } sub extract { &determine_type; &convert; open OUT, ">$OUTFILE"; binmode (OUT) if $^O eq 'MSWin32'; &msg_write; close OUT; print "Wrote $OUTFILE\n" unless $QUIET_ARG; } sub convert { ## Reading the file { local (*IN); local $/; #slurp mode open (IN, "<$SRCDIR_ARG/$FILE") || die "can't open $SRCDIR_ARG/$FILE: $!"; $input = ; } &type_ini if $gettext_type eq "ini"; &type_keys if $gettext_type eq "keys"; &type_xml if $gettext_type eq "xml"; &type_glade if $gettext_type eq "glade"; &type_scheme if $gettext_type eq "scheme"; &type_schemas if $gettext_type eq "schemas"; &type_rfc822deb if $gettext_type eq "rfc822deb"; &type_quoted if $gettext_type eq "quoted"; } sub entity_decode_minimal { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; return $_; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/<//g; s/&/&/g; return $_; } sub escape_char { return '\"' if $_ eq '"'; return '\n' if $_ eq "\n"; return '\\\\' if $_ eq '\\'; return $_; } sub escape { my ($string) = @_; return join "", map &escape_char, split //, $string; } sub type_ini { ### For generic translatable desktop files ### while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) { if (defined($2)) { $comments{$3} = $2; } $messages{$3} = []; } } sub type_keys { ### For generic translatable mime/keys files ### while ($input =~ /^\s*_\w+=(.*)$/mg) { $messages{$1} = []; } } sub type_xml { ### For generic translatable XML files ### my $tree = readXml($input); parseTree(0, $tree); } sub print_var { my $var = shift; my $vartype = ref $var; if ($vartype =~ /ARRAY/) { my @arr = @{$var}; print "[ "; foreach my $el (@arr) { print_var($el); print ", "; } print "] "; } elsif ($vartype =~ /HASH/) { my %hash = %{$var}; print "{ "; foreach my $key (keys %hash) { print "$key => "; print_var($hash{$key}); print ", "; } print "} "; } else { print $var; } } # Same syntax as getAttributeString in intltool-merge.in.in, similar logic (look for ## differences comment) sub getAttributeString { my $sub = shift; my $do_translate = shift || 1; my $language = shift || ""; my $translate = shift; my $result = ""; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; ## differences from intltool-merge.in.in if ($key =~ /^_/) { $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT; $messages{entity_decode($string)} = []; $$translate = 2; } ## differences end here from intltool-merge.in.in $result .= " $key=$quote$string$quote"; } return $result; } # Verbatim copy from intltool-merge.in.in sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Verbatim copy from intltool-merge.in.in, except for MULTIPLE_OUTPUT handling removed # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } # Based on traverse() in intltool-merge.in.in sub traverse { my $fh = shift; # unused, to allow us to sync code between -merge and -extract my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if ($nodename && "$nodename" eq "1") { $XMLCOMMENT = $content; } elsif ($nodename) { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup && $translate != 2) { $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT; $messages{$lookup} = []; } elsif ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } } else { $XMLCOMMENT = ""; my $count = scalar(@all); if ($count > 0) { my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } } $XMLCOMMENT = ""; } } # Verbatim copy from intltool-merge.in.in, $fh for compatibility sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_comment { my $expat = shift; my $data = $expat->original_string(); my $clist = $expat->{Curlist}; my $pos = $#$clist; $data =~ s/^$//s; push @$clist, 1 => $data; } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } # Verbatim copy from intltool-merge.in.in sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } # Copied from intltool-merge.in.in and added comment handler. sub readXml { my $xmldoc = shift || return; my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); ## differences from intltool-merge.in.in $xp->setHandlers(Comment => \&intltool_tree_comment); ## differences end here from intltool-merge.in.in my $tree = $xp->parse($xmldoc); #print_var($tree); # Hello thereHowdydo # would be: # [foo, [{}, 1, "comment", head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, # [{}, 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub type_schemas { ### For schemas XML files ### # FIXME: We should handle escaped < (less than) while ($input =~ / \s* (\s*(?:\s*)?(.*?)\s*<\/default>\s*)? (\s*(?:\s*)?(.*?)\s*<\/short>\s*)? (\s*(?:\s*)?(.*?)\s*<\/long>\s*)? <\/locale> /sgx) { my @totranslate = ($3,$6,$9); my @eachcomment = ($2,$5,$8); foreach (@totranslate) { my $currentcomment = shift @eachcomment; next if !$_; s/\s+/ /g; $messages{entity_decode_minimal($_)} = []; $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment)); } } } sub type_rfc822deb { ### For rfc822-style Debian configuration files ### my $lineno = 1; my $type = ''; while ($input =~ /\G(.*?)(^|\n)(_+)([^:]+):[ \t]*(.*?)(?=\n\S|$)/sg) { my ($pre, $newline, $underscore, $tag, $text) = ($1, $2, $3, $4, $5); while ($pre =~ m/\n/g) { $lineno ++; } $lineno += length($newline); my @str_list = rfc822deb_split(length($underscore), $text); for my $str (@str_list) { $strcount++; $messages{$str} = []; $loc{$str} = $lineno; $count{$str} = $strcount; my $usercomment = ''; while($pre =~ s/(^|\n)#([^\n]*)$//s) { $usercomment = "\n" . $2 . $usercomment; } $comments{$str} = $tag . $usercomment; } $lineno += ($text =~ s/\n//g); } } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub type_quoted { while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) { my $message = $1; my $before = $`; $message =~ s/\\\"/\"/g; $before =~ s/[^\n]//g; $messages{$message} = []; $loc{$message} = length ($before) + 2; } } sub type_glade { ### For translatable Glade XML files ### my $tags = "label|title|text|format|copyright|comments|preview_text|tooltip|message"; while ($input =~ /<($tags)>([^<]+)<\/($tags)>/sg) { # Glade sometimes uses tags that normally mark translatable things for # little bits of non-translatable content. We work around this by not # translating strings that only includes something like label4 or window1. $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/; } while ($input =~ /(..[^<]*)<\/items>/sg) { for my $item (split (/\n/, $1)) { $messages{entity_decode($item)} = []; } } ## handle new glade files while ($input =~ /<(property|atkproperty)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { $messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/; if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) { $comments{entity_decode($3)} = entity_decode($2) ; } } while ($input =~ /]*)"\s+description="([^>]+)"\/>/sg) { $messages{entity_decode_minimal($2)} = []; } } sub type_scheme { my ($line, $i, $state, $str, $trcomment, $char); for $line (split(/\n/, $input)) { $i = 0; $state = 0; # 0 - nothing, 1 - string, 2 - translatable string while ($i < length($line)) { if (substr($line,$i,1) eq "\"") { if ($state == 2) { $comments{$str} = $trcomment if ($trcomment); $messages{$str} = []; $str = ''; $state = 0; $trcomment = ""; } elsif ($state == 1) { $str = ''; $state = 0; $trcomment = ""; } else { $state = 1; $str = ''; if ($i>0 && substr($line,$i-1,1) eq '_') { $state = 2; } } } elsif (!$state) { if (substr($line,$i,1) eq ";") { $trcomment = substr($line,$i+1); $trcomment =~ s/^;*\s*//; $i = length($line); } elsif ($trcomment && substr($line,$i,1) !~ /\s|\(|\)|_/) { $trcomment = ""; } } else { if (substr($line,$i,1) eq "\\") { $char = substr($line,$i+1,1); if ($char ne "\"" && $char ne "\\") { $str = $str . "\\"; } $i++; } $str = $str . substr($line,$i,1); } $i++; } } } sub msg_write { my @msgids; if (%count) { @msgids = sort { $count{$a} <=> $count{$b} } keys %count; } else { @msgids = sort keys %messages; } for my $message (@msgids) { my $offsetlines = 1; $offsetlines++ if $message =~ /%/; if (defined ($comments{$message})) { while ($comments{$message} =~ m/\n/g) { $offsetlines++; } } print OUT "# ".($loc{$message} - $offsetlines). " \"$FILE\"\n" if defined $loc{$message}; print OUT "/* ".$comments{$message}." */\n" if defined $comments{$message}; print OUT "/* xgettext:no-c-format */\n" if $message =~ /%/; my @lines = split (/\n/, $message, -1); for (my $n = 0; $n < @lines; $n++) { if ($n == 0) { print OUT "char *s = N_(\""; } else { print OUT " \""; } print OUT escape($lines[$n]); if ($n < @lines - 1) { print OUT "\\n\"\n"; } else { print OUT "\");\n"; } } } } pidgin-guifications-2.16/config.guess0000755000175000017500000012706110731356736014661 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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 Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa:Linux:*:*) echo xtensa-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: pidgin-guifications-2.16/NEWS0000644000175000017500000000006210567471427013031 00000000000000For all news and changes please see the ChangeLog pidgin-guifications-2.16/INSTALL0000644000175000017500000000237610616774737013402 00000000000000To Compile ========== Untar the source tarball: tar zxvf guifications-VERSION.tar.gz Next run the configure script. If you have installed Pidgin and it's headers in the standard location, then configure should find the Pidgin source. If not, you need to set the environment variable PKG_CONFIG_PATH to point to the directory containing pidgin.pc before running configure. You should configure with the same prefix was used for Pidgin (for packages this would be /usr), eg: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/usr As long as you haven't gotten any error messages during the configure script, you'll be read to compile. To compile just type 'make': make Guifications will install to the Pidgin lib directory and all of the configuration images into the Pidgin datadir. These directories are usually /usr/local/lib/pidgin and /usr/local/share/pixmaps/pidgin, so be sure you have write access to these directories, or use 'su' to become root and then run 'make install': make install Once thats done, you are good to go. Restart Pidgin, go into the plugins dialog. Enable Guifications, right out of the box it will work with all the default settings. There is always a large configuration for you to play with if you would like to.