[libXext] configure should check whether `X11/Xauth.h' is present?

Dawid Gajownik gajownik at fedora.pl
Fri Oct 7 12:17:30 PDT 2005


Hi!

I've been playing with libXext and I've noticed that it does not build
if libXau's header files are not installed. Here's the output from
`make' command:

[snip]

  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT XSecurity.lo -MD -MP -MF
.deps/XSecurity.Tpo -c XSecurity.c  -fPIC -DPIC -o .libs/XSecurity.o
In file included from /usr/include/X11/extensions/securstr.h:32,
                  from XSecurity.c:36:
/usr/include/X11/extensions/security.h:33:23: error: X11/Xauth.h: No
such file or directory
In file included from /usr/include/X11/extensions/securstr.h:32,
                  from XSecurity.c:36:
/usr/include/X11/extensions/security.h:74: error: syntax error before
'*' token
/usr/include/X11/extensions/security.h:76: error: syntax error before
'*' token
/usr/include/X11/extensions/security.h:88: error: syntax error before
'*' token
/usr/include/X11/extensions/security.h:90: error: syntax error before
'Xauth'
XSecurity.c:187: error: syntax error before '*' token
XSecurity.c: In function 'XSecurityAllocXauth':
XSecurity.c:190: error: 'Xauth' undeclared (first use in this function)

[snip]

Maybe configure script should check whether Xauth.h file is present in 
the system?

Regards,
	Dawid

-- 

   ^_*


More information about the xorg-modular mailing list