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=""
-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
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 \