Changeset 333


Ignore:
Timestamp:
Jan 10, 2004, 8:53:14 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + Check for -lm.
  • examples/cacaplas.c: + New demo, cacaplas, that displays a colour plasma.
Location:
libcaca/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r331 r333  
    3131AC_CHECK_HEADERS(inttypes.h endian.h)
    3232AC_CHECK_FUNCS(vsnprintf getenv putenv strcasecmp usleep Sleep)
     33AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
    3334
    3435CACA_DRIVERS=""
     
    121122fi
    122123
     124AC_SUBST(MATH_LIBS)
    123125AC_SUBST(CACA_LIBS)
    124126
  • libcaca/trunk/examples

    • Property svn:ignore
      •  

        old new  
        1313cacafire
        1414cacafire.exe
         15cacaplas
         16cacaplas.exe
  • libcaca/trunk/examples/Makefile.am

    r323 r333  
    77EXTRA_DIST = caca.txt
    88
    9 bin_PROGRAMS = cacademo cacafire cacaball cacaview
     9bin_PROGRAMS = cacademo cacafire cacaball cacaplas cacaview
    1010
    1111cacademo_SOURCES = demo.c
    12 cacademo_LDADD = ../src/libcaca.a @CACA_LIBS@ -lm
     12cacademo_LDADD = ../src/libcaca.a @CACA_LIBS@ @MATH_LIBS@
    1313cacademo_CPPFLAGS = -I$(top_srcdir)/src -DDATADIR=\"$(pkgdatadir)\"
    1414
     
    1818
    1919cacaball_SOURCES = cacaball.c
    20 cacaball_LDADD = ../src/libcaca.a @CACA_LIBS@
     20cacaball_LDADD = ../src/libcaca.a @CACA_LIBS@ @MATH_LIBS@
    2121cacaball_CPPFLAGS = -I$(top_srcdir)/src
     22
     23cacaplas_SOURCES = cacaplas.c
     24cacaplas_LDADD = ../src/libcaca.a @CACA_LIBS@ @MATH_LIBS@
     25cacaplas_CPPFLAGS = -I$(top_srcdir)/src
    2226
    2327cacaview_SOURCES = cacaview.c
Note: See TracChangeset for help on using the changeset viewer.