xteddy-2.2-linking.patch 477 B

1234567891011121314151617181920212223
  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -5,6 +5,8 @@
  4. AC_PATH_XTRA
  5. PKG_CHECK_MODULES(IMLIB2, imlib2)
  6. +PKG_CHECK_MODULES(X11, x11)
  7. +PKG_CHECK_MODULES(XEXT, xext)
  8. PIXMAP_PATH="/usr/share/xteddy"
  9. AC_SUBST(PIXMAP_PATH)
  10. --- a/Makefile.am
  11. +++ b/Makefile.am
  12. @@ -7,7 +7,7 @@
  13. bin_SCRIPTS = xtoys xteddy_test
  14. AM_CFLAGS = @IMLIB2_CFLAGS@
  15. -AM_LDFLAGS = @IMLIB2_LIBS@ -lX11
  16. +xteddy_LDADD = @IMLIB2_LIBS@ @X11_LIBS@ @XEXT_LIBS@
  17. DEFS = -DPIXMAP_PATH=\"@PIXMAP_PATH@\" -Wall