Ignore:
Timestamp:
Feb 29, 2008, 11:29:08 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Don't use mygetopt.c in img2txt if the system has getopt_long.
  • Fix invalid pointer/int cast (Closes #39).
File:
1 edited

Legend:

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

    r1901 r2248  
    3030cacaserver_LDADD = ../cucul/libcucul.la
    3131
    32 img2txt_SOURCES = img2txt.c mygetopt.c mygetopt.h common-image.c common-image.h
     32img2txt_SOURCES = img2txt.c $(GETOPT) common-image.c common-image.h
    3333img2txt_LDADD = ../cucul/libcucul.la
    3434img2txt_CFLAGS = $(IMLIB2_CFLAGS)
    35 img2txt_LDFLAGS = $(IMLIB2_LIBS)
     35img2txt_LDFLAGS = $(IMLIB2_LIBS) $(GETOPT_LIBS)
    3636
    3737if USE_NETWORK
     
    4040fcntl_programs =
    4141endif
     42
     43if NEED_GETOPT_LONG
     44GETOPT = mygetopt.c mygetopt.h
     45endif
     46
Note: See TracChangeset for help on using the changeset viewer.