Ignore:
Timestamp:
Nov 27, 2003, 10:43:56 AM (17 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + More sensible imlib2 detection, works with cross-compilation.
  • Makefile.am: + Don't forget to include NOTES to the dist tarball.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r222 r224  
    2626
    2727AC_CHECK_HEADERS(inttypes.h)
     28AC_CHECK_FUNCS(vsnprintf)
    2829
    2930USE_SLANG=false
     
    7475
    7576# Build cacaview?
     77save_CPPFLAGS="${CPPFLAGS}"
    7678AC_PATH_PROG(IMLIB2_CONFIG, imlib2-config, no)
    77 AM_CONDITIONAL(IMLIB2_CONFIG, test "${IMLIB2_CONFIG}" != "no")
     79if test "${IMLIB2_CONFIG}" != "no"; then
     80  CPPFLAGS="${CPPFLAGS} `imlib2-config --cflags` -DX_DISPLAY_MISSING=1"
     81fi
     82AC_CHECK_HEADER(Imlib2.h, USE_IMLIB2=:, USE_IMLIB2=false)
     83CPPFLAGS="${save_CPPFLAGS}"
     84AM_CONDITIONAL(USE_IMLIB2, ${USE_IMLIB2})
    7885
    7986# Build documentation?
Note: See TracChangeset for help on using the changeset viewer.