Changeset ad75d61


Ignore:
Timestamp:
11/30/04 13:44:34 (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:
5c27814
Parents:
47801f2
Message:

poink

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • config.h

    r20482800 rad75d61  
    1515
    1616/* Define to 1 if you have the <libxml2/libxml/parser.h> header file. */
    17 /* #undef HAVE_LIBXML2_LIBXML_PARSER_H */
     17#define HAVE_LIBXML2_LIBXML_PARSER_H 1
    1818
    1919/* Define to 1 if you have the <libxml/parser.h> header file. */
     
    5959#define HAVE_STRING_H 1
    6060
     61/* Define to 1 if you have the `strndup' function. */
     62#define HAVE_STRNDUP 1
     63
    6164/* Define to 1 if you have the <sys/limits.h> header file. */
    62 #define HAVE_SYS_LIMITS_H 1
     65/* #undef HAVE_SYS_LIMITS_H */
    6366
    6467/* Define to 1 if you have the <sys/stat.h> header file. */
     
    106109
    107110/* Number of bits in a file offset, on hosts where this is settable. */
    108 /* #undef _FILE_OFFSET_BITS */
     111#define _FILE_OFFSET_BITS 64
    109112
    110113/* Define for large files, on AIX-style hosts. */
  • config.h.in

    r26a2928 rad75d61  
    5757/* Define to 1 if you have the <string.h> header file. */
    5858#undef HAVE_STRING_H
     59
     60/* Define to 1 if you have the `strndup' function. */
     61#undef HAVE_STRNDUP
    5962
    6063/* Define to 1 if you have the <sys/limits.h> header file. */
  • configure

    r47801f2 rad75d61  
    79247924
    79257925
     7926for ac_func in strndup
     7927do
     7928as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7929echo "$as_me:$LINENO: checking for $ac_func" >&5
     7930echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     7931if eval "test \"\${$as_ac_var+set}\" = set"; then
     7932  echo $ECHO_N "(cached) $ECHO_C" >&6
     7933else
     7934  cat >conftest.$ac_ext <<_ACEOF
     7935#line $LINENO "configure"
     7936#include "confdefs.h"
     7937/* System header to define __stub macros and hopefully few prototypes,
     7938    which can conflict with char $ac_func (); below.  */
     7939#include <assert.h>
     7940/* Override any gcc2 internal prototype to avoid an error.  */
     7941#ifdef __cplusplus
     7942extern "C"
     7943#endif
     7944/* We use char because int might match the return type of a gcc2
     7945   builtin and then its argument prototype would still apply.  */
     7946char $ac_func ();
     7947char (*f) ();
     7948
     7949#ifdef F77_DUMMY_MAIN
     7950#  ifdef __cplusplus
     7951     extern "C"
     7952#  endif
     7953   int F77_DUMMY_MAIN() { return 1; }
     7954#endif
     7955int
     7956main ()
     7957{
     7958/* The GNU C library defines this for functions which it implements
     7959    to always fail with ENOSYS.  Some functions are actually named
     7960    something starting with __ and the normal name is an alias.  */
     7961#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7962choke me
     7963#else
     7964f = $ac_func;
     7965#endif
     7966
     7967  ;
     7968  return 0;
     7969}
     7970_ACEOF
     7971rm -f conftest.$ac_objext conftest$ac_exeext
     7972if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7973  (eval $ac_link) 2>&5
     7974  ac_status=$?
     7975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7976  (exit $ac_status); } &&
     7977         { ac_try='test -s conftest$ac_exeext'
     7978  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7979  (eval $ac_try) 2>&5
     7980  ac_status=$?
     7981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7982  (exit $ac_status); }; }; then
     7983  eval "$as_ac_var=yes"
     7984else
     7985  echo "$as_me: failed program was:" >&5
     7986cat conftest.$ac_ext >&5
     7987eval "$as_ac_var=no"
     7988fi
     7989rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     7990fi
     7991echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     7992echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     7993if test `eval echo '${'$as_ac_var'}'` = yes; then
     7994  cat >>confdefs.h <<_ACEOF
     7995#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7996_ACEOF
     7997
     7998else
     7999  LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     8000fi
     8001done
     8002
     8003
     8004
    79268005echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    79278006echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     
    97279806s,@CPP@,$CPP,;t t
    97289807s,@LIBTOOL@,$LIBTOOL,;t t
     9808s,@LIBOBJS@,$LIBOBJS,;t t
    97299809s,@DAG_TOOLS_DIR@,$DAG_TOOLS_DIR,;t t
    97309810s,@HAVE_DAG_TRUE@,$HAVE_DAG_TRUE,;t t
  • lib/Makefile.in

    r47801f2 rad75d61  
    8787INCLUDES = -I$(top_builddir) -I$(top_srcdir)
    8888
    89 
    90 #noinst_LIBRARIES = libreplace.a
    91 #libreplace_a_SOURCES =
    92 #libreplace_a_LIBADD = @LIBOBJS@
     89noinst_LIBRARIES = libreplace.a
     90libreplace_a_SOURCES =
     91libreplace_a_LIBADD = @LIBOBJS@
     92
    9393lib_LTLIBRARIES = libtrace.la
    9494include_HEADERS = libtrace.h dagformat.h wag.h
     
    102102CONFIG_HEADER = $(top_builddir)/config.h
    103103CONFIG_CLEAN_FILES =
     104LIBRARIES = $(noinst_LIBRARIES)
     105
     106libreplace_a_AR = $(AR) cru
     107libreplace_a_DEPENDENCIES = @LIBOBJS@
     108am_libreplace_a_OBJECTS =
     109libreplace_a_OBJECTS = $(am_libreplace_a_OBJECTS)
    104110LTLIBRARIES = $(lib_LTLIBRARIES)
    105111
     
    121127@AMDEP_TRUE@    $(DEPDIR)/libtrace_la-dagopts.Plo \
    122128@AMDEP_TRUE@    $(DEPDIR)/libtrace_la-fifo.Plo \
    123 @AMDEP_TRUE@    $(DEPDIR)/libtrace_la-trace.Plo
     129@AMDEP_TRUE@    $(DEPDIR)/libtrace_la-trace.Plo \
     130@AMDEP_TRUE@    $(DEPDIR)/strndup.Po
    124131COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    125132        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     
    130137        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    131138CFLAGS = @CFLAGS@
    132 DIST_SOURCES = $(libtrace_la_SOURCES)
     139DIST_SOURCES = $(libreplace_a_SOURCES) $(libtrace_la_SOURCES)
    133140HEADERS = $(include_HEADERS)
    134141
    135 DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in
    136 SOURCES = $(libtrace_la_SOURCES)
     142DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in strndup.c
     143SOURCES = $(libreplace_a_SOURCES) $(libtrace_la_SOURCES)
    137144
    138145all: all-am
     
    156163          CONFIG_HEADERS= CONFIG_LINKS= \
    157164          CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
     165
     166AR = ar
     167
     168clean-noinstLIBRARIES:
     169        -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
     170libreplace.a: $(libreplace_a_OBJECTS) $(libreplace_a_DEPENDENCIES)
     171        -rm -f libreplace.a
     172        $(libreplace_a_AR) libreplace.a $(libreplace_a_OBJECTS) $(libreplace_a_LIBADD)
     173        $(RANLIB) libreplace.a
    158174install-libLTLIBRARIES: $(lib_LTLIBRARIES)
    159175        @$(NORMAL_INSTALL)
     
    192208@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/libtrace_la-fifo.Plo@am__quote@
    193209@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/libtrace_la-trace.Plo@am__quote@
     210@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strndup.Po@am__quote@
    194211
    195212distclean-depend:
     
    360377check-am: all-am
    361378check: check-am
    362 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     379all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS)
    363380
    364381installdirs:
     
    391408
    392409clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
    393         mostlyclean-am
     410        clean-noinstLIBRARIES mostlyclean-am
    394411
    395412distclean: distclean-am
     
    429446
    430447.PHONY: GTAGS all all-am check check-am clean clean-generic \
    431         clean-libLTLIBRARIES clean-libtool distclean distclean-compile \
    432         distclean-depend distclean-generic distclean-libtool \
    433         distclean-tags distdir dvi dvi-am info info-am install \
    434         install-am install-data install-data-am install-exec \
    435         install-exec-am install-includeHEADERS install-info \
    436         install-info-am install-libLTLIBRARIES install-man \
     448        clean-libLTLIBRARIES clean-libtool clean-noinstLIBRARIES \
     449        distclean distclean-compile distclean-depend distclean-generic \
     450        distclean-libtool distclean-tags distdir dvi dvi-am info \
     451        info-am install install-am install-data install-data-am \
     452        install-exec install-exec-am install-includeHEADERS \
     453        install-info install-info-am install-libLTLIBRARIES install-man \
    437454        install-strip installcheck installcheck-am installdirs \
    438455        maintainer-clean maintainer-clean-generic mostlyclean \
Note: See TracChangeset for help on using the changeset viewer.