hmm never mind.. a -I not a -l... ARGH!
authorCarsten Haitzler <raster@rasterman.com>
Tue, 4 Jan 2005 14:07:03 +0000 (14:07 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Tue, 4 Jan 2005 14:07:03 +0000 (14:07 +0000)
SVN revision: 12735

legacy/ecore/configure.in
legacy/ecore/src/lib/ecore_x/Makefile.am

index 8360158..63ceb44 100644 (file)
@@ -265,7 +265,7 @@ AC_CHECK_HEADER(X11/Xcursor/Xcursor.h, [
     AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor, [
         AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
         Xcursor_cflags=""
-        Xcursor_libs="-IXcursor"
+        Xcursor_libs="-lXcursor"
         use_Xcursor="yes"
       ], [
         Xcursor_cflags=""
index dfcc4ac..e6fd236 100644 (file)
@@ -15,8 +15,6 @@ libecore_x_la_LDFLAGS = -version-info 1:0:0 \
 -L$(top_builddir)/src/lib/ecore_txt/.libs \
 -L$(top_builddir)/src/lib/ecore_job/.libs
 
-XCURSOR_LIBS=@Xcursor_libs@
-
 if BUILD_ECORE_X
 
 lib_LTLIBRARIES = libecore_x.la
@@ -41,27 +39,8 @@ ecore_x_pixmap.c \
 ecore_x_gc.c \
 ecore_x_private.h
 
-### FUCK FUCK FIXME:
-# This line:
-###@Xcursor_libs@ \
-# has been replaced by
-###-lXcursor
-# because -f or some unknonw reason libtool REFUSES to put -lXcursor into the
-# .la file for libecore_x in the dependency libs UNLESS this is explicitly
-# states and not used as a replace term. if someone knows why... let me know
-# and send patches... but i'm fresh out of ideas.
-#
-# After trying to get this working for the last 2+ hours... i only have one
-# thing to say... FUCK YOU LIBSPLEEN! FUCK YOU!
-#
-# GRRRR... (this is just an example of what shits developers off about auto
-# foo - somehting that should obviously "just work" and if i make my own
-# Makefiles it works. its happy. but once you go through the 368 layers of
-# autofuck things mysteriously stop working and if you're lucky you may just
-# run across a workaround as I have here... ARGH!)
-
 libecore_x_la_LIBADD = \
--lXcursor \
+@Xcursor_libs@ \
 @x_ldflags@ \
 @x_libs@ \
 $(top_builddir)/src/lib/ecore/libecore.la \