Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
§ àÀ f=3ãóx—dZddlZddlZddlmZddlmZddlmZddl m Z ddd œZ Gd „d e¦«Z d d „Z dS)aêdistutils.command.config Implements the Distutils 'config' command, a (mostly) empty command class that exists mainly to be sub-classed by specific module distributions and applications. The idea is that while every "config" command is different, at least they're all named the same, and users always see "config" in the list of standard commands. Also, this is a good place to put common configure-like tasks: "try to compile this C code", or "figure out where this header file lives". éN)ÚCommand)ÚDistutilsExecError)Úcustomize_compiler)Úlogz.cz.cxx)Úczc++có¬—eZdZdZgd¢Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z dd„Z dd„Zdd„Z dd„Z dd„Z dd„Zd d d gfd„Z dd„Zd S)Úconfigzprepare to build) )z compiler=Nzspecify the compiler type)zcc=Nzspecify the compiler executable)z include-dirs=ÚIz.list of directories to search for header files)zdefine=ÚDzC preprocessor macros to define)zundef=ÚUz!C preprocessor macros to undefine)z libraries=Úlz!external C libraries to link with)z library-dirs=ÚLz.directories to search for external C libraries)ÚnoisyNz1show every action (compile, link, run, ...) taken)z dump-sourceNz=dump generated source files before attempting to compile themcóv—d|_d|_d|_d|_d|_d|_d|_g|_dS)Né)ÚcompilerÚccÚ include_dirsÚ librariesÚ library_dirsrÚ dump_sourceÚ temp_files©Úselfs ú?/opt/alt/python311/lib64/python3.11/distutils/command/config.pyÚinitialize_optionszconfig.initialize_options3sE€ØˆŒ ؈ŒØ ˆÔ؈ŒØ ˆÔðˆŒ ØˆÔðˆŒˆˆócóØ—|j€|jjpg|_nCt|jt¦«r)|j t j¦«|_|j€g|_n't|jt¦«r |jg|_|j€ g|_dSt|jt¦«r+|j t j¦«|_dSdS©N) rÚ distributionÚ isinstanceÚstrÚsplitÚosÚpathseprrrs rÚfinalize_optionszconfig.finalize_optionsBsÝ€Ø Ô Ð $Ø $Ô 1Ô >Ð DÀ"ˆDÔ Ð Ý ˜Ô)­3Ñ /Ô /ð DØ $Ô 1× 7Ò 7½¼ Ñ CÔ CˆDÔ à Œ>Ð !؈DŒNˆNÝ ˜œ­Ñ ,Ô ,ð .Ø"œnÐ-ˆDŒNà Ô Ð $Ø "ˆDÔ Ð Ð Ý ˜Ô)­3Ñ /Ô /ð DØ $Ô 1× 7Ò 7½¼ Ñ CÔ CˆDÔ Ð Ð ð Dð Drcó—dSr©rs rÚrunz config.runRs€Ø ˆrcóŽ—ddlm}m}t|j|¦«s¥||j|jd¬¦«|_t |j¦«|jr|j |j¦«|j r|j  |j ¦«|j r#|j  |j ¦«dSdSdS)z^Check that 'self.compiler' really is a CCompiler object; if not, make it one. r)Ú CCompilerÚ new_compilerr)rÚdry_runÚforceN) Údistutils.ccompilerr+r,r!rr-rrÚset_include_dirsrÚ set_librariesrÚset_library_dirs)rr+r,s rÚ_check_compilerzconfig._check_compilerYsò€ð @Ð?Ð?Ð?Ð?Ð?Ð?Ð?ݘ$œ-¨Ñ3Ô3ð BØ(˜L°$´-Ø15´ÀQðHñHôHˆDŒMå ˜tœ}Ñ -Ô -Ð -ØÔ ð BØ” ×.Ò.¨tÔ/@ÑAÔAÐAØŒ~ð <Ø” ×+Ò+¨D¬NÑ;Ô;Ð;ØÔ ð BØ” ×.Ò.¨tÔ/@ÑAÔAÐAÐAÐAð Bð Bð Bð BrcóJ—dt|z}t|d¦«5}|r2|D]}| d|z¦«Œ| d¦«| |¦«|ddkr| d¦«ddd¦«n #1swxYwY|S)NÚ _configtestÚwz#include <%s> ú éÿÿÿÿ)ÚLANG_EXTÚopenÚwrite)rÚbodyÚheadersÚlangÚfilenameÚfileÚheaders rÚ_gen_temp_sourcefilezconfig._gen_temp_sourcefileksð€Ø ¥8¨D¤>Ñ1ˆÝ �(˜CÑ Ô ð ! DØð !Ø%ð;ð;�FØ—J’JÐ0°6Ñ9Ñ:Ô:Ð:Ð:Ø— ’ ˜4Ñ Ô Ð Ø �JŠJ�tÑ Ô Ð Ø�BŒx˜4ÒÐØ— ’ ˜4Ñ Ô Ð ð !ð !ð !ñ !ô !ð !ð !ð !ð !ð !ð !øøøð !ð !ð !ð !ðˆs¡A+BÂBÂBcó®—| |||¦«}d}|j ||g¦«|j |||¬¦«||fS)Nz _configtest.i©r)rBrÚextendrÚ preprocess)rr<r=rr>ÚsrcÚouts rÚ _preprocesszconfig._preprocessws_€Ø×'Ò'¨¨g°tÑ<Ô<ˆØˆØ Œ×Ò  S˜zÑ*Ô*Ð*Ø Œ × Ò   c¸ Ð ÑEÔEÐEØ�SˆzÐrcó—| |||¦«}|jrt|d|z¦«|j |g¦«\}|j ||g¦«|j |g|¬¦«||fS)Nzcompiling '%s':rD)rBrÚ dump_filerÚobject_filenamesrrEÚcompile)rr<r=rr>rGÚobjs rÚ_compilezconfig._compile~s”€Ø×'Ò'¨¨g°tÑ<Ô<ˆØ Ô ð 4Ý �cÐ,¨sÑ2Ñ 3Ô 3Ð 3Ø”×/Ò/°°Ñ6Ô6‰ˆØ Œ×Ò  S˜zÑ*Ô*Ð*Ø Œ ×Ò˜s˜e°,ÐÑ?Ô?Ð?Ø�SˆzÐrcóp—| ||||¦«\}}tj tj |¦«¦«d} |j |g| |||¬¦«|jj�| |jjz} |j  | ¦«||| fS)Nr)rrÚ target_lang) rOr$ÚpathÚsplitextÚbasenamerÚlink_executableÚ exe_extensionrÚappend) rr<r=rrrr>rGrNÚprogs rÚ_linkz config._link‡s´€à—]’] 4¨°,ÀÑEÔE‰ ˆˆcÝŒw×Ò¥¤× 0Ò 0°Ñ 5Ô 5Ñ6Ô6°qÔ9ˆØ Œ ×%Ò% s e¨TØ09Ø3?Ø26ð &ñ 8ô 8ð 8ð Œ=Ô &Ð 2ؘ$œ-Ô5Ñ5ˆDØ Œ×Ò˜tÑ$Ô$Ð$à�S˜$ÐÐrcóÊ—|s|j}g|_tjdd |¦«¦«|D]'} t j|¦«Œ#t $rYŒ$wxYwdS)Nz removing: %sú )rrÚinfoÚjoinr$ÚremoveÚOSError)rÚ filenamesr?s rÚ_cleanz config._clean–s‡€Øð !ØœˆIØ ˆDŒOÝ Œ� §¢¨)Ñ!4Ô!4Ñ5Ô5Ð5Ø!ð ð ˆHð Ý” ˜(Ñ#Ô#Ð#Ð#øÝð ð ð Ø�ð øøøð ð s¾AÁ A ÁA Nrcó´—ddlm}| ¦«d} | ||||¦«n #|$rd}YnwxYw| ¦«|S)aQConstruct a source file from 'body' (a string containing lines of C/C++ code) and 'headers' (a list of header files to include) and run it through the preprocessor. Return true if the preprocessor succeeded, false if there were any errors. ('body' probably isn't of much use, but what the heck.) r©Ú CompileErrorTF)r/rdr3rIra©rr<r=rr>rdÚoks rÚtry_cppzconfig.try_cpp¬s‡€ð 5Ð4Ð4Ð4Ð4Ð4Ø ×ÒÑÔÐØ ˆð Ø × Ò ˜T 7¨L¸$Ñ ?Ô ?Ð ?Ð ?øØð ð ð ØˆBˆBˆBð øøøð � Š ‰ Œ ˆ ؈ sž7·AÁAcóš—| ¦«| ||||¦«\}}t|t¦«rt j|¦«}t |¦«5}d} | ¦«} | dkrn| | ¦«rd} nŒ4ddd¦«n #1swxYwY|  ¦«| S)a´Construct a source file (just like 'try_cpp()'), run it through the preprocessor, and return true if any line of the output matches 'pattern'. 'pattern' should either be a compiled regex object or a string containing a regex. If both 'body' and 'headers' are None, preprocesses an empty file -- which can be useful to determine the symbols the preprocessor and compiler set by default. FTÚN) r3rIr!r"ÚrerMr:ÚreadlineÚsearchra) rÚpatternr<r=rr>rGrHr@ÚmatchÚlines rÚ search_cppzconfig.search_cpp¾s €ð ×ÒÑÔÐØ×#Ò# D¨'°<ÀÑFÔF‰ˆˆSå �g�sÑ #Ô #ð *Ý”j Ñ)Ô)ˆGå �#‰YŒYð ˜$؈Eð Ø—}’}‘”�ؘ2’:�:ØØ—>’> $Ñ'Ô'ðØ �EØð  ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð � Š ‰ Œ ˆ ؈ sÁ(8B,Â,B0Â3B0cóä—ddlm}| ¦« | ||||¦«d}n #|$rd}YnwxYwt j|rdpd¦«| ¦«|S)zwTry to compile a source file built from 'body' and 'headers'. Return true on success, false otherwise. rrcTFúsuccess!úfailure.)r/rdr3rOrr\rares rÚ try_compilezconfig.try_compileÚsž€ð 5Ð4Ð4Ð4Ð4Ð4Ø ×ÒÑÔÐð Ø �MŠM˜$ ¨°tÑ <Ô <Ð <؈BˆBøØð ð ð ØˆBˆBˆBð øøøõ Œ�Ð"˜ Ð0 jÑ1Ô1Ð1Ø � Š ‰ Œ ˆ ؈ sœ7·AÁAcóð—ddlm}m}| ¦« | ||||||¦«d} n#||f$rd} YnwxYwt j| rdpd¦«| ¦«| S)zžTry to compile and link a source file, built from 'body' and 'headers', to executable form. Return true on success, false otherwise. r©rdÚ LinkErrorTFrrrs)r/rdrwr3rYrr\ra) rr<r=rrrr>rdrwrfs rÚtry_linkzconfig.try_linkêsµ€ð @Ð?Ð?Ð?Ð?Ð?Ð?Ð?Ø ×ÒÑÔÐð Ø �JŠJ�t˜W lØ  ,°ñ 6ô 6ð 6àˆBˆBøØ˜iÐ(ð ð ð ØˆBˆBˆBð øøøõ Œ�Ð"˜ Ð0 jÑ1Ô1Ð1Ø � Š ‰ Œ ˆ ؈ sž;» AÁAcó0—ddlm}m}| ¦« | ||||||¦«\} } } | | g¦«d} n#||t f$rd} YnwxYwtj| rdpd¦«|  ¦«| S)zœTry to compile, link to an executable, and run a program built from 'body' and 'headers'. Return true on success, false otherwise. rrvTFrrrs) r/rdrwr3rYÚspawnrrr\ra) rr<r=rrrr>rdrwrGrNÚexerfs rÚtry_runzconfig.try_runýsÑ€ð @Ð?Ð?Ð?Ð?Ð?Ð?Ð?Ø ×ÒÑÔÐð Ø ŸJšJ t¨W°lØ'0°,ÀñFôF‰MˆC��cà �JŠJ˜�uÑ Ô Ð ØˆBˆBøØ˜iÕ);Ð<ð ð ð ØˆBˆBˆBð øøøõ Œ�Ð"˜ Ð0 jÑ1Ô1Ð1Ø � Š ‰ Œ ˆ ؈ sž6AÁA'Á&A'rcó~—| ¦«g}|r| d|z¦«| d¦«|r| d|z¦«n| d|z¦«| d¦«d |¦«dz}| |||||¦«S)aÛDetermine if function 'func' is available by constructing a source file that refers to 'func', and compiles and links it. If everything succeeds, returns true; otherwise returns false. The constructed source file starts out by including the header files listed in 'headers'. If 'decl' is true, it then declares 'func' (as "int func()"); you probably shouldn't supply 'headers' and set 'decl' true in the same call, or you might get errors about a conflicting declarations for 'func'. Finally, the constructed 'main()' function either references 'func' or (if 'call' is true) calls it. 'libraries' and 'library_dirs' are used when linking. z int %s ();z int main () {z %s();z %s;ú}r7)r3rWr]rx) rÚfuncr=rrrÚdeclÚcallr<s rÚ check_funczconfig.check_funcsË€ð ×ÒÑÔÐØˆØ ð -Ø �KŠK˜  tÑ+Ñ ,Ô ,Ð ,Ø � Š �OÑ$Ô$Ð$Ø ð (Ø �KŠK˜  DÑ(Ñ )Ô )Ð )Ð )à �KŠK˜ $™Ñ 'Ô 'Ð 'Ø � Š �CÑÔÐØ�yŠy˜‰Œ Ñ%ˆà�}Š}˜T 7¨LØ&¨ ñ6ô6ð 6rcód—| ¦«| d|||g|z|¦«S)aáDetermine if 'library' is available to be linked against, without actually checking that any particular symbols are provided by it. 'headers' will be used in constructing the source file to be compiled, but the only effect of this is to check if all the header files listed are available. Any libraries listed in 'other_libraries' will be included in the link, in case 'library' has symbols that depend on other libraries. zint main (void) { })r3rx)rÚlibraryrr=rÚother_librariess rÚ check_libzconfig.check_lib4sB€ð ×ÒÑÔÐØ�}Š}Ð2°G¸\Ø%˜Y¨Ñ8¸,ñHôHð Hrcó4—| d|g|¬¦«S)z¤Determine if the system header file named by 'header_file' exists and can be found by the preprocessor; return true if so, false otherwise. z /* No body */)r<r=r)rg)rrArrr>s rÚ check_headerzconfig.check_headerBs(€ð �|Š| ¸6¸(Ø)5ðñ7ô7ð 7r)NNNr)NNr)NNNNr)NNNNrr)Ú__name__Ú __module__Ú __qualname__Ú descriptionÚ user_optionsrr&r)r3rBrIrOrYrargrprtrxr|r‚r†rˆr(rrr r s—€€€€€à$€Kð ð ð €Lð4 ð ð ðDðDðDð  ð ð ðBðBðBð$ ð ð ððððððð  ð  ð  ð ð ð ð,ðððð$IMØððððð8ðððð IMØ),ððððð&HLØ(+ððððð2;?ØCDð6ð6ð6ð6ð</3¸DØ#°Rð Hð Hð Hð HðDHØð7ð7ð7ð7ð7ð7rr có$—|€tjd|¦«ntj|¦«t|¦«} tj| ¦«¦«| ¦«dS#| ¦«wxYw)zjDumps a file content into log.info. If head is not None, will be dumped before the file content. Nz%s)rr\r:ÚreadÚclose)r?Úheadr@s rrKrKKsv€ð  €|Ý Œ��xÑ Ô Ð Ð å Œ�‰ŒˆÝ �‰>Œ>€DðÝ Œ�—’‘”ÑÔÐà � Š ‰ Œ ˆ ˆ ˆ øˆ� Š ‰ Œ ˆ ˆ øøøs ½&A9Á9Br)Ú__doc__r$rjÚdistutils.corerÚdistutils.errorsrÚdistutils.sysconfigrÚ distutilsrr9r rKr(rrúr—sÈðð ð ð€ € € € € € € à"Ð"Ð"Ð"Ð"Ð"Ø/Ð/Ð/Ð/Ð/Ð/Ø2Ð2Ð2Ð2Ð2Ð2ØÐÐÐÐÐà˜fÐ %Ð %€ðt7ðt7ðt7ðt7ðt7ˆWñt7ôt7ðt7ðl ð ð ð ð ð r