blob: 05040698c1cd71bf5433112f12290adca71c5959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
dnl configure.ac --- autoconf input file for systemtap
dnl Process this file with autoconf to produce a configure script.
AC_INIT([systemtap], 0.2, systemtap@sources.redhat.com, systemtap)
AC_PREREQ(2.59)
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
AC_PROG_LN_S
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
AM_PROG_CC_STDC
AM_C_PROTOTYPES
AC_LANG_CPLUSPLUS
AC_PROG_RANLIB
AC_OBJEXT
AC_EXEEXT
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
dnl Need libdwfl-capable elfutils 0.102+ from <drepper@redhat.com>
dnl ... except that these libraries are only used by stap, not
dnl stpd. The implicit LIBS set from these is too broadly applied.
AC_CHECK_HEADERS([libelf.h elfutils/libdw.h elfutils/libdwfl.h])
AC_CHECK_LIB(dw, dwarf_begin)
AC_CHECK_LIB(elf, elf_begin)
AC_CHECK_LIB(dwfl, dwfl_begin)
dnl Plop in the build (configure) date
date=`date +%Y-%m-%d`
AC_DEFINE_UNQUOTED(DATE, "$date", [Configuration/build date])
AC_SUBST(DATE)
AC_CONFIG_HEADERS([config.h:config.in])
AC_CONFIG_FILES(Makefile systemtap.spec)
AC_OUTPUT
|