Browse Source

* Rename "test" to "examples". The former will become a real testsuite.

* Autodetect zzuf in the configure step. It might become handy.
tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
10bf9f48a7
26 changed files with 13 additions and 4 deletions
  1. +1
    -1
      Makefile.am
  2. +12
    -3
      configure.ac
  3. +0
    -0
      examples/.gitignore
  4. +0
    -0
      examples/Makefile.am
  5. +0
    -0
      examples/blit.c
  6. +0
    -0
      examples/colors.c
  7. +0
    -0
      examples/cucul.c
  8. +0
    -0
      examples/demo.c
  9. +0
    -0
      examples/demo0.c
  10. +0
    -0
      examples/dithering.c
  11. +0
    -0
      examples/event.c
  12. +0
    -0
      examples/export.c
  13. +0
    -0
      examples/font.c
  14. +0
    -0
      examples/font2tga.c
  15. +0
    -0
      examples/frames.c
  16. +0
    -0
      examples/fullwidth.c
  17. +0
    -0
      examples/gamma.c
  18. +0
    -0
      examples/hsv.c
  19. +0
    -0
      examples/import.c
  20. +0
    -0
      examples/input.c
  21. +0
    -0
      examples/spritedit.c
  22. +0
    -0
      examples/swallow.c
  23. +0
    -0
      examples/text.c
  24. +0
    -0
      examples/transform.c
  25. +0
    -0
      examples/truecolor.c
  26. +0
    -0
      examples/unicode.c

+ 1
- 1
Makefile.am View File

@@ -1,6 +1,6 @@
# $Id$

SUBDIRS = kernel cucul caca src test tools csharp cxx python ruby doc
SUBDIRS = kernel cucul caca src examples tools csharp cxx python ruby doc
DIST_SUBDIRS = $(SUBDIRS) msvc

EXTRA_DIST = NOTES COPYING.GPL COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in common.h libcaca.spec


+ 12
- 3
configure.ac View File

@@ -79,11 +79,13 @@ AC_ARG_ENABLE(imlib2,

dnl conditional builds
AC_ARG_ENABLE(debug,
[ --enable-debug build debug versions of the library])
[ --enable-debug build debug versions of the library (default no)])
AC_ARG_ENABLE(plugins,
[ --enable-plugins build X11 and GL drivers as plugins])
[ --enable-plugins make X11 and GL drivers plugins (default disabled)])
AC_ARG_ENABLE(doc,
[ --enable-doc build documentation (needs doxygen and LaTeX)])
AC_ARG_ENABLE(zzuf,
[ --enable-zzuf use zzuf for fuzzing tests (autodetected)])

AC_CHECK_HEADERS(stdio.h stdarg.h signal.h sys/ioctl.h sys/time.h inttypes.h endian.h unistd.h arpa/inet.h netinet/in.h winsock2.h errno.h locale.h getopt.h dlfcn.h termios.h)
AC_CHECK_FUNCS(signal ioctl vsnprintf getenv putenv strcasecmp htons)
@@ -429,13 +431,20 @@ fi
AM_CONDITIONAL(BUILD_DOCUMENTATION, test "${DOXYGEN}" != "no")
AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no")

# Use zzuf for fuzzing tests?
ZZUF="no"
if test "${enable_zzuf}" != "no"; then
AC_PATH_PROG(ZZUF, zzuf, no)
fi
AM_CONDITIONAL(USE_ZZUF, test "${ZZUF}" != "no")

AC_CONFIG_FILES([
Makefile
kernel/Makefile
cucul/Makefile
caca/Makefile
src/Makefile
test/Makefile
examples/Makefile
tools/Makefile
csharp/Makefile
cxx/Makefile


test/.gitignore → examples/.gitignore View File


test/Makefile.am → examples/Makefile.am View File


test/blit.c → examples/blit.c View File


test/colors.c → examples/colors.c View File


test/cucul.c → examples/cucul.c View File


test/demo.c → examples/demo.c View File


test/demo0.c → examples/demo0.c View File


test/dithering.c → examples/dithering.c View File


test/event.c → examples/event.c View File


test/export.c → examples/export.c View File


test/font.c → examples/font.c View File


test/font2tga.c → examples/font2tga.c View File


test/frames.c → examples/frames.c View File


test/fullwidth.c → examples/fullwidth.c View File


test/gamma.c → examples/gamma.c View File


test/hsv.c → examples/hsv.c View File


test/import.c → examples/import.c View File


test/input.c → examples/input.c View File


test/spritedit.c → examples/spritedit.c View File


test/swallow.c → examples/swallow.c View File


test/text.c → examples/text.c View File


test/transform.c → examples/transform.c View File


test/truecolor.c → examples/truecolor.c View File


test/unicode.c → examples/unicode.c View File


Loading…
Cancel
Save