mò
|Dc           @   si   d  k  Z  d  k Z d  k Z d k l Z d k l Z d k l Z d k	 l
 Z
 d e f d „  ƒ  YZ d  S(   N(   s   config(   s   get_info(   s   _nt_quote_args(   s   exec_commandt   config_pygistc           B   sÔ   t  Z d „  Z d „  Z d  d „ Z d „  Z e i d  d j  o. d  d  d  d  d d „ Z	 d  d  d d	 „ Z
 n d
 „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   Nc         C   sZ   d k  l } t i |  | ƒ  ƒ | |  _ | |  _ t i i	 |  i d ƒ |  _
 d |  _ d  S(   N(   s   Distributions   config.hi    (   t   distutils.distt   Distributiont   configt   __init__t   selft
   local_patht   config_patht   ost   patht   joint   config_ht   dump_source(   R   R   R   R   (    (    t!   Lib/sandbox/xplt/config_pygist.pyR      s    		c   
      C   s²   |  i | | | | ƒ \ } } t i	 i
 t i	 i | ƒ ƒ d }	 |  i i | g |	 d | d | ƒ|  i i d  j o d |  i _ n |	 |  i i }	 |  i i |	 ƒ | | |	 f S(   Ni    t	   librariest   library_dirst    (   R   t   _compilet   bodyt   headerst   include_dirst   langt   srct   objR   R	   t   splitextt   basenamet   progt   compilert   link_executableR   R   t   exe_extensiont   Nonet
   temp_filest   append(
   R   R   R   R   R   R   R   R   R   R   (    (    R   t   _link   s    "
c         C   s€   t  | ƒ t  g  ƒ j o  t i d j o t | ƒ } n t | d d ƒ\ } } | o$ d k l	 } | d | | f ‚ n d  S(   Nt   ntt   use_teei    (   s   DistutilsExecErrors'   Command "%s" failed with exit status %d(
   t   typet   cmdR   t   namet   _nt_quote_argst   exec_commandt   st   ot   distutils.ccompilert   DistutilsExecError(   R   R%   t   displayR,   R*   R)   (    (    R   t   spawn-   s    )c         C   sÉ  t  i i |  i d ƒ } t  i i | ƒ oK t  i i |  i ƒ o5 d d GHd | |  i f GHd | GHd d GHd  Sn d k l	 } d k
 l } | d ƒ } | d	 |  i d
 d ƒ |  _ |  i i } |  i |  i _ d k l } | |  i ƒ t | d ƒ |  _ |  i i d t i ƒ  d ƒ t i d j oO |  i i d ƒ x( t  i ƒ  D] } |  i i d | ƒ qIW|  i i d ƒ n |  i ƒ  |  i ƒ  |  i ƒ  d G| GH|  i i ƒ  | | ƒ | |  i _ d  S(   Ns   Make.cfgt   *iF   s   Files
%s
%s
 exist.sC   Skipping pygist configuration (remove %s to force reconfiguration).(   s   set_verbosity(   s   new_compileriÿÿÿÿR   t   verbosei    (   s   customize_compilert   ws    # Make.cfg from setup.py script s   
t   win32t   #t    t   wrote(   R   R	   R
   R   R   t   fnt   isfileR   t   numpy.distutils.logt   set_verbosityt   numpy.distutils.ccompilert   new_compilert   save_verbosityR   R.   t	   old_spawnt   distutils.sysconfigt   customize_compilert   opent
   configfilet   writet   timet   ctimet   syst   platformt   unamet   itemt   config_toplevelt   config_unixt
   config_x11t   close(   R   R?   R<   RH   R6   R=   R9   R;   (    (    R   t   run6   s>    )			 


	
i   s   2.2t   cc         C   sÁ   d k  l } l }
 l } |  i ƒ  yP |  i | | | | | | ƒ \ }	 } } |  i t i i d | ƒ g ƒ d } Wn" | |
 | f j
 o d } n X|  i | o d p d ƒ |  i ƒ  | S(   s¨   Try to compile, link to an executable, and run a program
            built from 'body' and 'headers'.  Return true on success, false
            otherwise.
            (   s   CompileErrors	   LinkErrors   DistutilsExecErrort   .i   i    s   success!s   failure.N(   R+   t   CompileErrort	   LinkErrorR,   R   t   _check_compilerR!   R   R   R   R   R   R   R   R   t   exeR.   R   R	   R
   t   okt   announcet   _clean(   R   R   R   R   R   R   R   RS   R,   R   RQ   RT   RP   R   (    (    R   t   try_run\   s     


c         C   s|   d k  l } |  i ƒ  y  |  i | | | | ƒ d } Wn | j
 o d } n X|  i
 | o d p d ƒ |  i ƒ  | S(   s   Try to compile a source file built from 'body' and 'headers'.
            Return true on success, false otherwise.
            (   s   CompileErrori   i    s   success!s   failure.N(   R+   RP   R   RR   R   R   R   R   R   RT   RU   RV   (   R   R   R   R   R   RT   RP   (    (    R   t   try_compiles   s     


c         C   su  d GHd } |  i | ƒ o" |  i | ƒ o d GHd  |  _ n¬ t i i d ƒ pˆ d |  _ |  i | d |  i g ƒoY |  i | d |  i g ƒp9 |  i | d d g ƒo d |  _ d GHqÊ d	 GHd
 GHqÔ qè d ‚ n t i d |  _ g  } |  i o/ |  i
 i d |  i d ƒ | i |  i ƒ n d } |  i | d | ƒo d GH|  i
 i d ƒ n d GH|  i
 i d ƒ d  S(   Ns;     ============= begin top level configuration =============s—   /* check whether libm is broken */
#include <math.h>
int main(int argc, char *argv[])
{
  return exp(-720.) > 1.0;  /* typically an IEEE denormal */
}
s   No libm needed.t   MATHLIBt   mR   t   cpmls%   WARNING - using -lcpml instead of -lms/   WARNING - libm broken? see play/unix/README.fpus;     if on Alpha Linux, rerun ./configure with CC='gcc -mieee'sK   math library missing; rerun setup.py after setting the MATHLIB env variables
   MATHLIB=-ls   
s_   int main(int argc, char *argv[])
{
  double x=exp10(3.);
  return (x<999.999)||(x>1000.001);
}
s   using exp10 found in libms
   NO_EXP10=
s)   libm does not contain exp10, will emulates   NO_EXP10=-DNO_EXP10
(   t   testcodeR   t   try_linkRW   R   t   mathlibR   t   environt   has_keyR   RA   RB   R    (   R   R   R\   (    (    R   RI   …   s4    	 			

c         C   sq  t  i d j o1 t |  i d ƒ } | i d ƒ | i ƒ  d  Sn Hd GHHt |  i d ƒ } | i d ƒ | i d ƒ | i d ƒ | i d ƒ | i ƒ  t |  i d	 d ƒ } | i d
 t i	 ƒ  d ƒ | i d ƒ x% t
 i ƒ  D] } | i d | ƒ qã W| i d ƒ | i d ƒ d |  _ t
 i i t
 i i |  i ƒ ƒ t
 i i t
 i i |  i d d ƒ ƒ g |  _ t
 i ƒ  } t
 i t
 i i |  i d d d ƒ ƒ t  i d j o+ |  i | ƒ |  i | ƒ |  i | ƒ n |  i | ƒ |  i | ƒ |  i | ƒ |  i | ƒ |  i | ƒ t
 i | ƒ |  i o d GHd GHn* | i ƒ  t
 i |  i d	 |  i ƒ d GHHd GHd  S(   NR2   R1   s   
s;     ============= begin play/unix configuration =============s,   /* config.h used during config.sh script */
s   #ifndef CONFIG_SCRIPT
s9   # error destroy this config.h and rerun configure script
s   #endif
t   0s"   /* config.h from config.sh script s    *R4   s    */
i    R   t   playt   unixt   cygwins<   *** at least one play/unix component could not be configureds3   *** see configuration notes in play/unix/README.cfgs   wrote config.hs;     ============== end play/unix configuration ==============(    RE   RF   R@   R   R   RA   RB   RL   RC   RD   R   RG   RH   t   fatalityR	   t   abspatht   dirnameR
   R   t   unix_include_dirst   getcwdt   _olddirt   chdirt	   find_timet   find_wall_timet   find_sigfpet   find_user_namet   find_tiocgpgrpt   find_cwdt   find_direntt	   find_pollt   rename(   R   Rj   RH   RA   (    (    R   RJ   ¶   sZ    

 	6%
	
c         C   s    d } |  i d | d |  i ƒo d GH| i d ƒ nd |  i d | d |  i ƒo d GH| i d ƒ n1 |  i | d |  i ƒo	 d GHn d GHd	 |  _ d  S(
   Ns´   /* check settings of: USE_GETRUSAGE USE_TIMES */
#define CONFIG_SCRIPT
#include "timeu.c"
int
main(int argc, char *argv[])
{
  double s;
  double t = p_cpu_secs(&s);
  return 0;
}
s   #define USE_GETRUSAGE
R   s   using getrusage() (CPU timer)s   #define USE_TIMES
s   using times() (CPU timer)s@   fallback to clock(), getrusage() and times() missing (CPU timer)s=   FATAL getrusage(), times(), and clock() all missing (timeu.c)i   (   R\   R   R]   Rh   RA   RB   Re   (   R   RA   R\   (    (    R   Rl   ë   s    	c         C   sm   d } |  i d | d |  i ƒo d GH| i d ƒ n1 |  i | d |  i ƒo	 d GHn d GHd |  _ d  S(   Ns    /* check settings of: USE_GETTIMEOFDAY */
#define CONFIG_SCRIPT
#include "timew.c"
int
main(int argc, char *argv[])
{
  double t = p_wall_secs();
  return 0;
}
s   #define USE_GETTIMEOFDAY
R   s!   using gettimeofday() (wall timer)sB   fallback to time()+difftime(), gettimeofday() missing (wall timer)s@   FATAL gettimeofday(), and time() or difftime() missing (timew.c)i   (   R\   R   R]   Rh   RA   RB   Re   (   R   RA   R\   (    (    R   Rm     s    	c         C   s0  t  i d j o d GH| i d ƒ d  Sn d } d } d } d } d } |  i
 d | d |  i ƒo d	 GH| i d ƒ d
 } n+|  i
 d | d |  i ƒo d GH| i d ƒ d } nò|  i
 d | d |  i ƒo% d GH| i d ƒ d } |  i } n°|  i
 d | d |  i ƒo d GH| i d ƒ d } nw|  i
 d | d |  i g d |  i ƒo% d GH| i d ƒ d } |  i } n)|  i
 d | d d g d |  i ƒo" d GH| i d ƒ d } d } ná|  i
 d | d d g d |  i ƒo" d GH| i d ƒ d } d } n™|  i
 d | d |  i ƒo d GH| i d ƒ d } n`|  i
 d | d |  i ƒo d  GH| i d ƒ d! } n'|  i d" | d |  i ƒod|  i
 d# | d |  i ƒo& d$ GH| i d# ƒ d% } d& GHd' GHq«|  i
 d( | d |  i ƒo d) GH| i d( ƒ d* } q«|  i
 d+ | d |  i ƒo d, GH| i d+ ƒ d- } q«|  i
 d. | d |  i ƒo d/ GH| i d. ƒ d0 } q«|  i
 d1 | d |  i ƒo d2 GH| i d1 ƒ d3 } q«|  i
 d4 | d |  i ƒo d5 GH| i d4 ƒ d6 } q«n¦ |  i
 d7 | d |  i g d |  i ƒo+ d8 ‚ d9 GH| i d: ƒ d; } |  i } nR |  i
 d< | d |  i g d |  i ƒo( d= GH|  i i d< ƒ d> } |  i } n t i i d? ƒ oW |  i
 d | d |  i g d |  i ƒo d@ GH| i d ƒ dA } qdB GHdC |  _ n | o |  i i dD | dE ƒ n |  i i dF ƒ | o |  i i dG | dE ƒ n |  i i dH ƒ | oª t i i dI ƒ o t i dI =n dJ | dK dE | } g  } | o | i | ƒ n | o | i | ƒ n |  i | d | d |  i ƒp HdL GHdM GHdN GHdL GHHq,n d  S(O   NRd   s   hardwiring #define FPU_IGNOREs   #define FPU_IGNORE
s+   #define CONFIG_SCRIPT
#include "fputest.c"
s*   #define CONFIG_SCRIPT
#include "config.c"
R   s   #define FPU_DIGITAL
R   s#   using FPU_DIGITAL (SIGFPE delivery)s   -DFPU_DIGITALs   #define FPU_AIX
s   using FPU_AIX (SIGFPE delivery)s	   -DFPU_AIXs   #define FPU_HPUX
s    using FPU_HPUX (SIGFPE delivery)s
   -DFPU_HPUXs   #define FPU_SOLARIS
s#   using FPU_SOLARIS (SIGFPE delivery)s   -DFPU_SOLARISs   #define FPU_SUN4
R   s&   using FPU_SUN4 (-lm) (SIGFPE delivery)s
   -DFPU_SUN4t   sunmaths,   using FPU_SUN4 (-lsunmath) (SIGFPE delivery)s   #define FPU_IRIX
t   fpes    using FPU_IRIX (SIGFPE delivery)s
   -DFPU_IRIXs1   using FPU_IRIX (SIGFPE delivery), but no libfpe??s   #define FPU_MACOSX
s"   using FPU_MACOSX (SIGFPE delivery)s   -DFPU_MACOSXs   #define TEST_GCC
s   #define FPU_ALPHA_LINUX
s'   using FPU_ALPHA_LINUX (SIGFPE delivery)s   -DFPU_ALPHA_LINUXs;   ...libm may be broken -- read play/unix/README.fpu for mores<   ...fputest failure may not mean that pygist itself is brokens   #define FPU_GCC_I86
s#   using FPU_GCC_I86 (SIGFPE delivery)s   -DFPU_GCC_I86s   #define FPU_GCC_SPARC
s%   using FPU_GCC_SPARC (SIGFPE delivery)s   -DFPU_GCC_SPARCs   #define FPU_GCC_M68K
s$   using FPU_GCC_M68K (SIGFPE delivery)s   -DFPU_GCC_M68Ks   #define FPU_GCC_POWERPC
s'   using FPU_GCC_POWERPC (SIGFPE delivery)s   -DFPU_GCC_POWERPCs   #define FPU_GCC_ARM
s#   using FPU_GCC_ARM (SIGFPE delivery)s   -DFPU_GCC_ARMs   #define FPU_GNU_FENV 
t   kutjes$   using FPU_GNU_FENV (SIGFPE delivery)s   #define FPU_GNU_FENV
s   -DFPU_GNU_FENVs   #define FPU_UNICOS
s"   using FPU_UNICOS (SIGFPE delivery)s   -DFPU_UNICOSt   fpedefs"   using FPU_IGNORE (SIGFPE delivery)s   -DFPU_IGNOREs;   FATAL unable to build SIGFPE fputest? (fputest.c, fpuset.c)i   s   FPELIB=s   
s   FPELIB=
s   FPELIBM=s	   FPELIBM=
t   TRAP_FPEs   #define i   s;   *************************WARNING***************************s:   *** play/unix configuration failed to get SIGFPE delivereds*   *** read the notes in play/unix/README.fpu(   RE   RF   RA   RB   R\   t   testgccRx   t   fpelibt   fpelibmR   R]   Rh   R^   RX   R   R_   R`   Re   R   R    RW   (   R   RA   R   R\   Rx   Rz   R{   R|   (    (    R   Rn     s   


	
	


	




   	c         C   sm   d } |  i | d |  i ƒo	 d GHnB |  i d | d |  i ƒo d GH| i d ƒ n d GHd |  _ d  S(	   Nsº   /* check settings of: NO_PASSWD */
#define CONFIG_SCRIPT
#include "usernm.c"
int
main(int argc, char *argv[])
{
  int value;
  char *u = p_getuser();   value = (u!=0);
  return value;
}
R   s6   using POSIX getlogin(), getpwuid(), getuid() functionss   #define USE_PASSWD
s6   fallback to cuserid(), POSIX getlogin() family missings   #define NO_PASSWD
s@   FATAL cuserid(), POSIX getlogin() family both missing (usernm.c)i   (   R\   R   R]   Rh   RA   RB   Re   (   R   RA   R\   (    (    R   Ro   Ä  s    	c         C   s  d } |  i | d |  i ƒo n> |  i d | d |  i ƒo  d GHd | } | i d ƒ n |  i | d |  i ƒo	 d GHn‡ |  i d | d |  i ƒo d GH| i d ƒ nT |  i d	 | d |  i ƒo d
 GH| i d ƒ n! d GHd GH| i d ƒ d |  _ d  S(   Nsµ   /* check settings of: USE_TIOCGPGRP_IOCTL */
#define CONFIG_SCRIPT
#include "uinbg.c"
int
main(int argc, char *argv[])
{
  int value;
  value = u_in_background();
  return value;
}
R   s   #define USE_POSIX_GETPGRP
s$   using strict POSIX getpgrp prototypes    using POSIX tcgetpgrp() functions,   #define USE_TIOCGPGRP_IOCTL=<sys/termios.h>
sA   fallback to TIOCGPGRP in sys/termios.h, POSIX tcgetpgrp() missings,   #define USE_TIOCGPGRP_IOCTL <sys/termios.h>
s&   #define USE_TIOCGPGRP_IOCTL=<sgtty.h>
s;   fallback to TIOCGPGRP in sgtty.h, POSIX tcgetpgrp() missings&   #define USE_TIOCGPGRP_IOCTL <sgtty.h>
s5   FATAL unable to find TIOCGPGRP ioctl header (uinbg.c)s6     (you can patch config.0h by hand if you know header)s"   #define USE_TIOCGPGRP_IOCTL <???>
i   (   R\   R   RX   Rh   RA   RB   R]   Re   (   R   RA   R\   (    (    R   Rp   Ý  s,    
	c         C   sm   d } |  i | d |  i ƒo	 d GHnB |  i d | d |  i ƒo d GH| i d ƒ n d GHd |  _ d  S(   Ns  /* check settings of: USE_GETWD */
#define CONFIG_SCRIPT
#include <unistd.h>
static char dirbuf[1024];
#ifdef USE_GETWD
#define getcwd(x,y) getwd(x)
#endif
int
main(int argc, char *argv[])
{
  int value;
  char *u = getcwd(dirbuf, 1024);
  value = (u!=0);
  return value;
}
R   s   using POSIX getcwd() functions   #define USE_GETWD
s+   fallback to getwd(), POSIX getcwd() missings,   FATAL getcwd(), getwd() both missing (dir.c)i   (   R\   R   R]   Rh   RA   RB   Re   (   R   RA   R\   (    (    R   Rq     s    	c         C   sÓ   d } |  i | d |  i ƒo	 d GHn¨ |  i d | d |  i ƒo d GH| i d ƒ nu |  i d | d |  i ƒo d GH| i d	 ƒ nB |  i d
 | d |  i ƒo d GH| i d ƒ n d GHd |  _ d  S(   Ns9  /* check settings of: DIRENT_HEADER USE_GETWD */
#define TEST_DIRENT
#define CONFIG_SCRIPT
#include "dir.c"
p_twkspc p_wkspc;
int
main(int argc, char *argv[])
{
  int value;
  p_dir *d = p_dopen("no/such/thing");
  char *l = p_dnext(d, &value);
  value = p_chdir(l) || p_rmdir(l) || p_mkdir(l);
  return value;
}
R   s-   using POSIX dirent.h header for directory opss"   #define DIRENT_HEADER=<sys/dir.h>
s(   using sys/dir.h header for directory opss"   #define DIRENT_HEADER <sys/dir.h>
s#   #define DIRENT_HEADER=<sys/ndir.h>
s)   using sys/ndir.h header for directory opss"   #define DIRENT_HEADER <sys/ndir.h>s   #define DIRENT_HEADER=<ndir.h>
s%   using ndir.h header for directory opss   #define DIRENT_HEADER <ndir.h>sA   FATAL dirent.h, sys/dir.h, sys/ndir.h, ndir.h all missing (dir.c)i   (   R\   R   R]   Rh   RA   RB   Re   (   R   RA   R\   (    (    R   Rr     s"    	c         C   sÁ  d } |  i | d |  i ƒo	 d GHn–|  i d | d |  i ƒo d GH| i d ƒ nc|  i d d | d |  i ƒo# d GH| i d ƒ | i d ƒ n|  i d d	 | d |  i ƒo# d
 GH| i d ƒ | i d	 ƒ nÛ |  i d d d	 | d |  i ƒo0 d GH| i d ƒ | i d ƒ | i d	 ƒ n† |  i d | d |  i ƒo d GH| i d ƒ nS |  i d d | d |  i ƒo# d GH| i d ƒ | i d ƒ n d GHd |  _ d  S(   Ns   /* check settings of: USE_SYS_POLL_H USE_SELECT HAVE_SYS_SELECT_H
                      NO_SYS_TIME_H NEED_SELECT_PROTO */
#define CONFIG_SCRIPT
#define TEST_POLL
#include "uevent.c"
int
main(int argc, char *argv[])
{
  int p = u_poll(1000);   return 0;
}
R   s   using poll(), poll.h headers   #define USE_SYS_POLL_H
s   using poll(), sys/poll.h headers   #define USE_SELECT
s   #define HAVE_SYS_SELECT_H
s#   using select(), sys/select.h headers   #define NEED_SELECT_PROTO
s/   using select(), sys/time.h, sys/types.h headerss   #define NO_SYS_TIME_H
s+   using select(), time.h, sys/types.h headerss!   using select(), sys/time.h headers   #define USE_SELECTs   using select(), time.h headers=   FATAL neither poll() nor select() usable? (uevent.c, upoll.c)i   (   R\   R   R]   Rh   RA   RB   Re   (   R   RA   R\   (    (    R   Rs   C  sD    	c         C   sP  t  i d d g j o d  Sn t i i d ƒ o d  Sn Hd GHHd k l } d |  _ t	 d ƒ } | oÛ d GH| i d	 d
 ƒ } d i g  } | D] } | d | q‘ ~ ƒ } | i d d
 ƒ } d i g  } | D] } | d | qÑ ~ ƒ } | o d | GHn d | GH|  i i d | d ƒ |  i i d | d ƒ d GHn d GHd |  _ Hd GHd  St i i d d ƒ }	 |	 d d d d d d d  d! d" d# d$ d% d& d' d( d) d* d+ d, d- d. d/ d0 d1 d2 d3 d4 g } d5 } d
 } d
 } d } |  i | ƒ o
 d } ni xe | D]] } t i i | d6 ƒ o@ |  i | d	 | g ƒo# d } | } | | d7 d8 ƒ } PqbqqW| p d GHd |  _ n8|  i | d	 | g d9 d: g ƒo d
 } d; } n| o5 |  i | d	 | g d | g d9 d: g ƒo
 d; } nÊ g  } | D] }
 | | |
 d7 d8 ƒ qø~ } | oQ x’ | D]B } |  i | d	 | g d | g d9 d: g ƒo | } d; } Pq(q(WnE xA | D]9 } |  i | d | g d9 d: g ƒo | } d; } PqyqyW| o+ d GH| o d< | GHn d= GHd> | GHn d? GHd |  _ | o |  i i d@ | d ƒ n |  i i dA ƒ |  i i dB | d ƒ d GHHd GHd  S(C   NR2   Rd   t   NO_XLIBs;     ============= begin play/x11 configuration ==============(   s   replacei    t   x11s0   found X Window System, X11 headers and librariesR   R   R4   s   -IR   s   -Ls     - using X11 header switch s     - using X11 loader switch s   XINC=s   
s   XLIB=s   appended to Make.cfgs2   FATAL unable to find X11 includes (play/x11) $xinci   s;     ============== end play/x11 configuration ===============t   X11BASEs   /no/suggested/x11dirs   /includes   /usr/X11R6/includes   /usr/X11R5/includes   /usr/X11R4/includes   /usr/include/X11R6s   /usr/include/X11R5s   /usr/include/X11R4s   /usr/openwin/includes   /usr/openwin/share/includes   /usr/local/X11R6/includes   /usr/local/X11R5/includes   /usr/local/X11R4/includes   /usr/local/include/X11R6s   /usr/local/include/X11R5s   /usr/local/include/X11R4s   /usr/X11/includes   /usr/include/X11s,   /usr/local/X11/include/usr/local/include/X11s   /usr/X386/includes   /usr/x386/includes   /usr/XFree86/include/X11s   /usr/includes   /usr/local/includes   /usr/unsupported/includes   /usr/athena/includes   /usr/local/x11r5/includes   /usr/lpp/Xamples/includes  #include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
extern XVisualInfo xvi;
XVisualInfo xvi;             /* XVisualInfo declared in Xutil.h */
int main(int argc, char *argv[])
{
  Display *dpy = XOpenDisplay("nosuchserver:0.0");
  xvi.screen = XK_BackSpace;  /* XK_BackSpace defined in keysym.h */
  xvi.red_mask = XA_PRIMARY;  /* XA_PRIMARY defined in Xatom.h */
  xvi.depth = XC_crosshair;   /* XC_crosshair defined in cursorfont.h */
  XCloseDisplay(dpy);
  return 0;
}
s   /X11/Xlib.ht   includet   libR   t   X11i   s     - using X11 header switch -Is"     - using X11 header switch [none]s     - using X11 loader switch -Ls3   FATAL unable to find X11 libraries (play/x11) $xlibs   XINC=-Is   XINC=
s   XLIB=-L(   RE   RF   R   R_   R`   t   stringt   replaceR   Re   t   get_infot   x11_infot   gett   xincR
   t   _[1]t   dt   xlibRA   RB   R   t   xlistR\   t   xfoundRX   R	   t   existsR]   t	   directory(   R   Rˆ   R‰   R   R\   RŠ   R‹   R„   R†   R   R   RŒ   (    (    R   RK   u  s     	..			[
 "
2
- + "		(   t   __name__t
   __module__R   R!   R   R.   RM   RE   t   versionRW   RX   RI   RJ   Rl   Rm   Rn   Ro   Rp   Rq   Rr   Rs   RK   (    (    (    R   R       s$   				%	1	5			¦		%		$	2(   R   RE   RC   t   distutils.command.configR   t   numpy.distutils.system_infoR…   t   distutils.spawnR'   t   numpy.distutils.exec_commandR(   R    (   R'   R   R    RE   R…   RC   R   R(   (    (    R   t   ?   s   			