| Server IP : 216.92.14.13 / Your IP : 216.73.216.171 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/scons/SCons/ |
Upload File : |
�
�b3Qc @ s
d Z d d l Z d d l m Z d Z d Z d d d � Z d � Z d � Z d � Z
d � Z e d
� Z
d d d � Z d d d d � Z d d d d
� Z d d d d � Z d d d � Z d d d d d d e d � Z d d � Z d d � Z d � Z d � Z d S( sX SCons.Conftest
Autoconf-like configuration support; low level implementation of tests.
i����N( t IntTypei c C sy t | � \ } } } | r0 | j d | � | S| s? d } n | j d | � | j | | � } t | | d | � | S( s�
Configure check to see if the compiler works.
Note that this uses the current value of compiler and linker flags, make
sure $CFLAGS, $CPPFLAGS and $LIBS are set correctly.
"language" should be "C" or "C++" and is used to select the compiler.
Default is "C".
"text" may be used to specify the code to be build.
Returns an empty string for success, an error message for failure.
s %s
s
int main() {
return 0;
}
s( Checking if building a %s file works... N( t _lang2suffixt Displayt BuildProgt _YesNoResultt None( t contextt textt languaget langt suffixt msgt ret( ( s /usr/lib/scons/SCons/Conftest.pyt CheckBuilder{ s
c C s? | j d � d } t | d | d � } t | | d | � | S( s
Configure check for a working C compiler.
This checks whether the C compiler, as defined in the $CC construction
variable, can compile a C source file. It uses the current $CCCOM value
too, so that it can test against non working flags.
s% Checking whether the C compiler workss
int main()
{
return 0;
}
t CCt CN( R t _check_empty_programR R ( R R R ( ( s /usr/lib/scons/SCons/Conftest.pyt CheckCC� s
c C sE | j d � d } t | d | d d t �} t | | d | � | S( s
Configure check for a working shared C compiler.
This checks whether the C compiler, as defined in the $SHCC construction
variable, can compile a C source file. It uses the current $SHCCCOM value
too, so that it can test against non working flags.
s. Checking whether the (shared) C compiler workss
int foo()
{
return 0;
}
t SHCCR t
use_sharedN( R R t TrueR R ( R R R ( ( s /usr/lib/scons/SCons/Conftest.pyt CheckSHCC� s
c C s? | j d � d } t | d | d � } t | | d | � | S( s
Configure check for a working CXX compiler.
This checks whether the CXX compiler, as defined in the $CXX construction
variable, can compile a CXX source file. It uses the current $CXXCOM value
too, so that it can test against non working flags.
s'