Version: (using KDE Devel) Installed from: Compiled sources if kdeartwork is configured with --without-gl, the GL screensavers in kscreensaver/xsavers are not compiled. But if the configure scripts detects that Qt is compiled with GL support, it tries to compile the GL screensavers in kscreensaver/kdesavers, but since the macro for setting GL include paths and stuff was not executed, the compilation fails. The following one-liner disables compilation of GL screensavers in both kdesavers and xsavers with --without-gl. RCS file: /home/kde/kdeartwork/kscreensaver/configure.in.in,v retrieving revision 1.12 diff -u -3 -b -r1.12 configure.in.in --- configure.in.in 10 Mar 2004 16:22:48 -0000 1.12 +++ configure.in.in 12 Sep 2004 22:50:32 -0000 @@ -32,7 +32,7 @@ AC_HAVE_GL( have_gl=yes, have_gl=no ) AM_CONDITIONAL(COMPILE_GL_XSAVERS, test x$have_gl = xyes) -AM_CONDITIONAL(COMPILE_GL_KSAVERS, test x$ac_cv_kde_qt_has_opengl = xyes) +AM_CONDITIONAL(COMPILE_GL_KSAVERS, test x$have_gl = xyes && test x$ac_cv_kde_qt_has_opengl = xyes) AM_CONDITIONAL(COMPILE_X11_KSAVERS, test "x$ac_x_includes" != x && test "x$ac_x_libraries" != x) LIBART=
Created attachment 7499 [details] gl-kdesavers.diff
Thanks for your patch. A fix for this was committed recently.
What was the fix? I can still reproduce this one with current CVS...
confirming the bug is still there.
SVN commit 424438 by howells: Fix the GL checks. Thanks a lot for the patch and apologies for the delay, real life took over :( CCBUG: 89387 M +1 -1 configure.in.in --- trunk/KDE/kdeartwork/kscreensaver/configure.in.in #424437:424438 @@ -32,7 +32,7 @@ AC_HAVE_GL( have_gl=yes, have_gl=no ) AM_CONDITIONAL(COMPILE_GL_XSAVERS, test x$have_gl = xyes) -AM_CONDITIONAL(COMPILE_GL_KSAVERS, test x$ac_cv_kde_qt_has_opengl = xyes) +AM_CONDITIONAL(COMPILE_GL_KSAVERS, test x$have_gl = xyes && test x$ac_cv_kde_qt_has_opengl = xyes) AM_CONDITIONAL(COMPILE_X11_KSAVERS, test "x$ac_x_includes" != x && test "x$ac_x_libraries" != x) AM_CONDITIONAL(COMPILE_ARTS_KSAVERS, test x$build_arts = xyes)
SVN commit 424439 by howells: Backport fix to 3.4 branch CCBUG: 89387 M +1 -1 configure.in.in --- branches/KDE/3.4/kdeartwork/kscreensaver/configure.in.in #424438:424439 @@ -32,7 +32,7 @@ AC_HAVE_GL( have_gl=yes, have_gl=no ) AM_CONDITIONAL(COMPILE_GL_XSAVERS, test x$have_gl = xyes) -AM_CONDITIONAL(COMPILE_GL_KSAVERS, test x$ac_cv_kde_qt_has_opengl = xyes) +AM_CONDITIONAL(COMPILE_GL_KSAVERS, test x$have_gl = xyes && test x$ac_cv_kde_qt_has_opengl = xyes) AM_CONDITIONAL(COMPILE_X11_KSAVERS, test "x$ac_x_includes" != x && test "x$ac_x_libraries" != x) AM_CONDITIONAL(COMPILE_ARTS_KSAVERS, test x$build_arts = xyes)
Fixed.