Changeset 207 for libcaca/trunk


Ignore:
Timestamp:
Nov 22, 2003, 1:53:55 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • AUTHORS NEWS: + Added these mandatory files.
  • doc/: + Wrote a Doxygen configuration file. + Added a manpage for caca-config(1), borrowed from sdl-config.
  • configure.ac: + Use new style AC_INIT. + Error out if no library was found. + Added *djgpp* to the list of non-PIC platforms. + Added checks for doxygen and latex.
Location:
libcaca/trunk
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/Makefile.am

    r202 r207  
    33###############################################################################
    44
    5 SUBDIRS = src examples
     5SUBDIRS = src examples doc
    66DIST_SUBDIRS = $(SUBDIRS) autotools debian
    77
    88EXTRA_DIST = BUGS bootstrap caca-config.in
    9 AUTOMAKE_OPTIONS = foreign dist-bzip2
     9AUTOMAKE_OPTIONS = dist-bzip2
    1010
    1111bin_SCRIPTS = caca-config
  • libcaca/trunk/configure.ac

    r202 r207  
    11# $Id$
    22
    3 AC_INIT(libcaca,0.0cvs-20031110)
     3AC_INIT(src/caca.c)
    44
    55AC_PREREQ(2.50)
    6 AC_CONFIG_SRCDIR(src/caca.c)
    76AC_CONFIG_AUX_DIR(autotools)
    87AC_CANONICAL_SYSTEM
    98
    10 AM_INIT_AUTOMAKE(libcaca,0.0cvs-20031110)
     9AM_INIT_AUTOMAKE(libcaca, 0.1)
    1110AM_CONFIG_HEADER(config.h)
    1211
     
    4948  AC_DEFINE(USE_SLANG, 1, Define if the backend driver is slang)
    5049  USE_SLANG=:
     50else
     51  AC_MSG_ERROR([could not find any terminal graphics interface])
    5152fi
    5253
     
    6162# Build the PIC library?
    6263case "${target_os}" in
    63   *mingw32* | *cygwin*)
     64  *mingw32* | *cygwin* | *djgpp*)
    6465    NEED_PIC=false
    6566    ;;
     
    6869    ;;
    6970esac
     71AM_CONDITIONAL(NEED_PIC, ${NEED_PIC})
    7072
    71 AM_CONDITIONAL(NEED_PIC, ${NEED_PIC})
     73# Build documentation?
     74AC_PATH_PROG(DOXYGEN, doxygen, no)
     75AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no")
     76AC_PATH_PROG(LATEX, latex, no)
     77AC_MSG_CHECKING(for a4wide.sty)
     78if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then
     79  AC_MSG_RESULT(yes)
     80else
     81  LATEX=no
     82  AC_MSG_RESULT(no)
     83fi
     84AM_CONDITIONAL(LATEX, test "${LATEX}" != "no")
    7285
    7386AC_OUTPUT([
     
    7588  src/Makefile
    7689  examples/Makefile
     90  doc/Makefile
    7791  autotools/Makefile
    7892  debian/Makefile
Note: See TracChangeset for help on using the changeset viewer.