From mboxrd@z Thu Jan 1 00:00:00 1970 From: mjw@redhat.com (Mark Wielaard) Date: Tue, 12 Apr 2011 21:12:07 +0200 Subject: [ltt-dev] SystemTAP support in tracepoints In-Reply-To: <20110412184835.GA11727@Krystal> References: <20110410174444.GA30466@Krystal> <4DA3704C.8010502@redhat.com> <4DA380D5.80608@redhat.com> <20110412183555.GB11056@Krystal> <20110412184835.GA11727@Krystal> Message-ID: <1302635527.4057.9.camel@springer.wildebeest.org> On Tue, 2011-04-12 at 14:48 -0400, Mathieu Desnoyers wrote: > * Frank Ch. Eigler (fche at redhat.com) wrote: > > How about just: > > > > > > #define SDT_USE_VARIADIC > > #include > > How should support systems that don't have sdt.h ? Is there a define we > could check ? I have just been using the following configure check: AC_CHECK_HEADER([sys/sdt.h], [SDT_H_FOUND='yes'], [SDT_H_FOUND='no'; AC_MSG_ERROR([systemtap support needs sys/sdt.h header])]) Which you can adapt to your needs with/without error message, including an test to see if it fully works for your environment.