Changeset ab9a63d


Ignore:
Timestamp:
10/26/05 17:47:22 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
a773a3b
Parents:
767bd50
Message:

fixed broken docs/Makefile.am (changed doxygen variable)

updated configure to run a sed script across libtrace.h to define HAVE_ATTR_PURE for us. ick, but it works.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r767bd50 rab9a63d  
    148148        AC_MSG_RESULT($libtrace_pure)
    149149fi
     150
     151if test "$libtrace_pure" = true; then
     152         sed -i 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 1/' lib/libtrace.h
     153else
     154         sed -i 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 0/' lib/libtrace.h
     155fi
     156
    150157
    151158# configure time options for man pages
  • docs/Makefile.am

    r16143a3 rab9a63d  
    2525
    2626doxy:
    27         @if test x"$(has_doxygen)" == xtrue ; then \
     27        @if test x"$(libtrace_doxygen)" == xtrue ; then \
    2828          if test -f $(DOXYGEN_CONF) ; then \
    2929            doxygen $(DOXYGEN_CONF) ; \
  • lib/libtrace.h

    r3436702 rab9a63d  
    3434#include <sys/types.h>
    3535#include <netinet/in.h>
    36 #include "config.h"
    3736
    3837/** API version as 2 byte hex digits, eg 0xXXYYZZ */
     
    4342#endif
    4443
     44/* HAVE_ATTR_PURE is replaced by autoconf */
     45
     46#define HAVE_ATTR_PURE 0
     47
    4548/* Function does not depend on anything but it's
    4649 * parameters, used to hint gcc's optimisations
    4750 */
    48 #ifdef HAVE_ATTR_PURE
     51#if HAVE_ATTR_PURE
    4952#  define SIMPLE_FUNCTION __attribute__((pure))
    5053#else
Note: See TracChangeset for help on using the changeset viewer.