SOURCES: libcm-configure.patch - no need to link libcm with -lGLU ...

qboosh qboosh at pld-linux.org
Sat Mar 4 20:35:54 CET 2006


Author: qboosh                       Date: Sat Mar  4 19:35:54 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- no need to link libcm with -lGLU (GLU is just for demos)

---- Files affected:
SOURCES:
   libcm-configure.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/libcm-configure.patch
diff -u SOURCES/libcm-configure.patch:1.1 SOURCES/libcm-configure.patch:1.2
--- SOURCES/libcm-configure.patch:1.1	Sun Feb 19 15:09:15 2006
+++ SOURCES/libcm-configure.patch	Sat Mar  4 20:35:49 2006
@@ -1,7 +1,7 @@
 diff -aurN libcm-0.0.16.orig/configure.ac libcm-0.0.16/configure.ac
 --- libcm-0.0.16.orig/configure.ac	2005-12-06 00:51:41.000000000 +0100
 +++ libcm-0.0.16/configure.ac	2006-02-19 14:23:32.243530832 +0100
-@@ -35,6 +35,30 @@
+@@ -35,6 +35,28 @@
  # Check for dependencies
  PKG_CHECK_MODULES(DEP, glib-2.0 x11 xcomposite xdamage xtst)
  
@@ -19,8 +19,6 @@
 +
 +if test "x$HAVE_LIBGLU" = "xno"; then
 +   AC_MSG_ERROR(libGLU not found);
-+else
-+   DEP_LIBS="$DEP_LIBS -lGLU"
 +fi
 +
 +AC_CHECK_LIB(GL, glXBindTexImageEXT, [AC_DEFINE([HAVE_TFD], [], [Define if we have TFD extension])])
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/libcm-configure.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list