Ignore:
Timestamp:
Oct 12, 2006, 11:33:49 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Use pkg-config to check for Imlib2. Patch adapted from Alt Linux.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/Makefile.am

    r1048 r1198  
    1717cacaview_SOURCES = cacaview.c common-image.c common-image.h
    1818cacaview_LDADD = ../caca/libcaca.la ../cucul/libcucul.la @CACA_LIBS@
    19 cacaview_CFLAGS = $(img_cflags)
    20 cacaview_LDFLAGS = $(img_ldflags)
     19cacaview_CFLAGS = @IMLIB2_CFLAGS@
     20cacaview_LDFLAGS = @IMLIB2_LIBS@
    2121
    2222cacadraw_SOURCES = cacadraw.c
     
    3131img2irc_SOURCES = img2irc.c common-image.c common-image.h
    3232img2irc_LDADD = ../cucul/libcucul.la @CACA_LIBS@
    33 img2irc_CFLAGS = $(img_cflags)
    34 img2irc_LDFLAGS = $(img_ldflags)
    35 
    36 if USE_IMLIB2
    37 img_cflags = `imlib2-config --cflags`
    38 img_ldflags = `imlib2-config --libs`
    39 else
    40 img_cflags =
    41 img_ldflags =
    42 endif
     33img2irc_CFLAGS = @IMLIB2_CFLAGS@
     34img2irc_LDFLAGS = @IMLIB2_LIBS@
    4335
    4436if USE_NETWORK
Note: See TracChangeset for help on using the changeset viewer.