hsetroot-1.0.2-underlinking.patch 523 B

12345678910111213141516171819202122232425
  1. http://bugs.gentoo.org/504056
  2. --- configure.ac
  3. +++ configure.ac
  4. @@ -38,6 +38,8 @@
  5. # Checks for typedefs, structures, and compiler characteristics.
  6. AC_C_CONST
  7. +PKG_CHECK_MODULES(X11, [x11])
  8. +
  9. # Check for imlib2
  10. AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
  11. if test x$imlib2config_cmd = "x"; then
  12. --- src/Makefile.am
  13. +++ src/Makefile.am
  14. @@ -1,7 +1,7 @@
  15. bin_PROGRAMS = hsetroot
  16. AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ -Wall
  17. -LIBS = @IMLIB2_LIBS@
  18. +LIBS = @IMLIB2_LIBS@ $(X11_LIBS)
  19. hsetroot_SOURCES = hsetroot.c