[ANNOUNCE] xserver 1.4.99.905

Juergen Beisert juergen127 at kreuzholzen.de
Fri Jul 18 08:51:05 PDT 2008


On Donnerstag, 17. Juli 2008, Juergen Beisert wrote:
> On Montag, 30. Juni 2008, Adam Jackson wrote:
> > Bah, last one went out with a bad xinput ABI number.  Don't use that
> > one, use this one.
>
> The "configure" script of xserver-1.4.99.905 confuses me. Building the
> server fails when no openssl is available. But the configure run does not
> complain about it.
>
> [...]
> checking for XdmcpWrap in -lXdmcp... yes
> checking for XSERVERCFLAGS... yes
> checking for XSERVERLIBS... yes
> checking if SVR4 needs to be defined... no
> checking whether to build Xvfb DDX... no
> checking whether to build Xnest DDX... checking for XNESTMODULES... yes
> [...]
>
> "configure" checks for "openssl" between "checking for XSERVERLIBS... yes"
> and "checking if SVR4 needs to be defined... no". But why it fails
> silently? "config.log" at this point states:
>
> [....]
> configure:31652: checking for XSERVERLIBS
> configure:31659: $PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS"
> configure:31662: $? = 0
> configure:31675: $PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS"
> configure:31678: $? = 0
> configure:31753: result: yes
> configure:31761: $PKG_CONFIG --exists --print-errors "openssl"
> Package openssl was not found in the pkg-config search path.
> Perhaps you should add the directory containing `openssl.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'openssl' found
> configure:31764: $? = 1
> configure:31923: checking if SVR4 needs to be defined
> configure:31948: result: no
> [...]

Hmm, it seems most of the tests fail due to the brackets.

--- xorg-server-1.4.99.905.orig/configure
+++ xorg-server-1.4.99.905/configure
@@ -31762,7 +31762,7 @@ if test -n "$PKG_CONFIG" && \
   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  exit $ac_status; }; then
 
 pkg_failed=no
 { echo "$as_me:$LINENO: checking for OPENSSL" >&5

Only when I remove them, the openssl test fails if this package is not present 
on the system. Intention?

Juergen



More information about the xorg mailing list