Ignore:
Timestamp:
Aug 28, 2010, 7:19:14 PM (10 years ago)
Author:
sam
Message:

Proper detection of libcaca and libpipi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debugrecord.cpp

    r171 r178  
    1111#include <cstring>
    1212
    13 #if defined HAVE_PIPI_H
     13#if defined USE_PIPI
    1414#   include <pipi.h>
    1515#endif
     
    2929    char const *path;
    3030    int width, height;
    31 #if defined HAVE_PIPI_H
     31#if defined USE_PIPI
    3232    pipi_sequence_t *sequence;
    3333#endif
     
    4444    data->width = 0;
    4545    data->height = 0;
    46 #if defined HAVE_PIPI_H
     46#if defined USE_PIPI
    4747    data->sequence = NULL;
    4848#endif
     
    7171        data->height = height;
    7272
    73 #if defined HAVE_PIPI_H
     73#if defined USE_PIPI
    7474        if (data->sequence)
    7575            pipi_close_sequence(data->sequence);
     
    7979    }
    8080
    81 #if defined HAVE_PIPI_H
     81#if defined USE_PIPI
    8282    if (data->sequence)
    8383    {
Note: See TracChangeset for help on using the changeset viewer.