blob: 0aed2b8cac2b0b9206f0aaa59ba4952daa82334f [file] [log] [blame]
sewardjde4a1d02002-03-22 01:27:54 +00001# Process this file with autoconf to produce a configure script.
sewardjc62cc062005-03-19 23:45:04 +00002AC_INIT(Valgrind, 3.0.0.SVN, valgrind-users@lists.sourceforge.net)
njn04e16982005-05-31 00:23:43 +00003AC_CONFIG_SRCDIR(coregrind/m_main.c)
sewardjde4a1d02002-03-22 01:27:54 +00004AM_CONFIG_HEADER(config.h)
thughes6dbad732004-08-29 09:46:38 +00005AM_INIT_AUTOMAKE
sewardjde4a1d02002-03-22 01:27:54 +00006
gobryb0ed4672002-03-27 20:58:58 +00007AM_MAINTAINER_MODE
8
njn8738c282004-11-23 16:31:56 +00009# Where is VEX ?
njnfe408942004-11-23 17:52:24 +000010# Nb: For the 2nd arg, the help string, AS_HELP_STRING is the proper way, but
11# older autoconfs don't support it... here's what it would say:
12#
13# AS_HELP_STRING([--with-vex], [Vex directory (must be specified!)]),
14#
njn8738c282004-11-23 16:31:56 +000015AC_ARG_WITH(vex,
sewardj2a99cf62004-11-24 10:44:19 +000016 [ --with-vex=/path/to/vex/dir Vex directory (must be specified!)],
njn8738c282004-11-23 16:31:56 +000017[
18 AC_CHECK_FILE($withval/pub/libvex.h,
19 [VEX_DIR=$withval],
20 [AC_MSG_ERROR([Directory '$withval' does not exist, or does not contain Vex])])
21],
22[
sewardj2a99cf62004-11-24 10:44:19 +000023 AC_MSG_ERROR([You must specify --with-vex=/path/to/vex/dir])
njn8738c282004-11-23 16:31:56 +000024])
sewardj50629ec2004-11-22 13:44:11 +000025AC_SUBST(VEX_DIR)
26
sewardjde4a1d02002-03-22 01:27:54 +000027# Checks for programs.
sewardjb5f6f512005-03-10 23:59:00 +000028CFLAGS="-Wno-long-long"
gobrye721a522002-03-22 13:38:30 +000029
sewardjde4a1d02002-03-22 01:27:54 +000030AC_PROG_LN_S
31AC_PROG_CC
njnca0518d2004-11-26 19:34:36 +000032##AM_PROG_CC_C_O
sewardjde4a1d02002-03-22 01:27:54 +000033AC_PROG_CPP
njn25e49d8e72002-09-23 09:36:25 +000034AC_PROG_CXX
sewardjde4a1d02002-03-22 01:27:54 +000035AC_PROG_RANLIB
36
gobrye721a522002-03-22 13:38:30 +000037# Check for the compiler support
38if test "${GCC}" != "yes" ; then
39 AC_MSG_ERROR([Valgrind relies on GCC to be compiled])
40fi
41
sewardj2f685952002-12-22 19:32:23 +000042# figure out where perl lives
43AC_PATH_PROG(PERL, perl)
44
njn9315df32003-04-16 20:50:50 +000045# figure out where gdb lives
46AC_PATH_PROG(GDB, gdb)
njnfe408942004-11-23 17:52:24 +000047AC_DEFINE_UNQUOTED(GDB_PATH, "$GDB", [path to GDB])
njn9315df32003-04-16 20:50:50 +000048
daywalker48ccca52002-04-15 00:31:58 +000049# some older automake's don't have it so try something on our own
50ifdef([AM_PROG_AS],[AM_PROG_AS],
51[
gobry1be19852002-03-26 20:44:55 +000052AS="${CC}"
53AC_SUBST(AS)
gobry3b777892002-04-04 09:18:39 +000054
gobry1be19852002-03-26 20:44:55 +000055ASFLAGS=""
56AC_SUBST(ASFLAGS)
daywalker48ccca52002-04-15 00:31:58 +000057])
gobry3b777892002-04-04 09:18:39 +000058
59# This variable will collect the individual suppression files
60# depending on the results of autoconf
61
62DEFAULT_SUPP=""
63
64
sewardj535c50f2005-06-04 23:14:53 +000065# We don't want gcc < 3.0
gobrye721a522002-03-22 13:38:30 +000066AC_MSG_CHECKING([for a supported version of gcc])
67
daywalker870ac4c2002-05-21 00:09:48 +000068gcc_version=`${CC} --version | head -n 1`
gobrye721a522002-03-22 13:38:30 +000069
70case "${gcc_version}" in
71 gcc-2.7.*)
72 AC_MSG_RESULT([no (${gcc_version})])
sewardj535c50f2005-06-04 23:14:53 +000073 AC_MSG_ERROR([please use a recent (>= gcc-3.0) version of gcc])
74 ;;
75 gcc-2.8.*)
76 AC_MSG_RESULT([no (${gcc_version})])
77 AC_MSG_ERROR([please use a recent (>= gcc-3.0) version of gcc])
78 ;;
79 gcc-2.9*)
80 AC_MSG_RESULT([no (${gcc_version})])
81 AC_MSG_ERROR([please use a recent (>= gcc-3.0) version of gcc])
gobrye721a522002-03-22 13:38:30 +000082 ;;
83
84 *)
85 AC_MSG_RESULT([ok (${gcc_version})])
86 ;;
87esac
88
gobrye721a522002-03-22 13:38:30 +000089
sewardjde4a1d02002-03-22 01:27:54 +000090# Checks for the platform
91AC_CANONICAL_HOST
92
93AC_MSG_CHECKING([for a supported CPU])
nethercote888ecb72004-08-23 14:54:40 +000094AC_SUBST(VG_ARCH)
njna5f1bcd2004-11-27 16:47:42 +000095AC_SUBST(VG_ARCH_ALL)
njnc6168192004-11-29 13:54:10 +000096VG_ARCH_ALL="amd64 arm x86"
nethercote2b72e942004-10-25 14:05:56 +000097AC_SUBST(KICKSTART_BASE)
nethercotecf4d9972004-10-25 15:21:00 +000098AC_SUBST(ARCH_CORE_AM_CFLAGS)
99AC_SUBST(ARCH_TOOL_AM_CFLAGS)
nethercote8df0a402004-10-25 19:20:14 +0000100AC_SUBST(ARCH_CORE_AM_CCASFLAGS)
sewardjde4a1d02002-03-22 01:27:54 +0000101
gobrye721a522002-03-22 13:38:30 +0000102case "${host_cpu}" in
sewardjde4a1d02002-03-22 01:27:54 +0000103 i?86)
104 AC_MSG_RESULT([ok (${host_cpu})])
nethercote888ecb72004-08-23 14:54:40 +0000105 VG_ARCH="x86"
nethercote2b72e942004-10-25 14:05:56 +0000106 KICKSTART_BASE="0xb0000000"
sewardj535c50f2005-06-04 23:14:53 +0000107 ARCH_CORE_AM_CFLAGS="@FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ -DELFSZ=32"
108 ARCH_TOOL_AM_CFLAGS="@FLAG_M32@ @PREFERRED_STACK_BOUNDARY@"
109 ARCH_CORE_AM_CCASFLAGS="@FLAG_M32@"
sewardjde4a1d02002-03-22 01:27:54 +0000110 ;;
111
njnfe408942004-11-23 17:52:24 +0000112 x86_64)
113 AC_MSG_RESULT([ok (${host_cpu})])
114 VG_ARCH="amd64"
njnc6168192004-11-29 13:54:10 +0000115 # XXX: relocations under amd64's "small model" are 32-bit signed
njnfe408942004-11-23 17:52:24 +0000116 # quantities; therefore going above 0x7fffffff doesn't work... this is
117 # a problem.
118 KICKSTART_BASE="0x70000000"
tom0064ee32005-05-17 16:13:15 +0000119 ARCH_CORE_AM_CFLAGS="-m64 -fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -DELFSZ=64"
njnc6168192004-11-29 13:54:10 +0000120 # XXX: need to use -fpic, otherwise when linking tools I get this error
121 # message:
122 # relocation R_X86_64_32 can not be used when making a shared object;
123 # recompile with -fPIC
124 #
125 # I don't understand... --njn
tom0064ee32005-05-17 16:13:15 +0000126 ARCH_TOOL_AM_CFLAGS="-m64 -fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -fpic"
127 ARCH_CORE_AM_CCASFLAGS="-m64"
njnfe408942004-11-23 17:52:24 +0000128 ;;
129
sewardj3e38ce02004-11-23 01:17:29 +0000130 arm*)
131 AC_MSG_RESULT([ok (${host_cpu})])
132 VG_ARCH="arm"
133 KICKSTART_BASE="0xb0000000"
134 ARCH_CORE_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -DELFSZ=32"
135 ARCH_TOOL_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@"
136 ARCH_CORE_AM_CCASFLAGS=""
137 ;;
138
nethercote9bcc9062004-10-13 13:50:01 +0000139 powerpc*)
140 AC_MSG_RESULT([no (${host_cpu})])
nethercoteda8735a2004-10-19 14:24:42 +0000141 VG_ARCH="ppc"
nethercote2b72e942004-10-25 14:05:56 +0000142 KICKSTART_BASE="0x70000000"
nethercotecf4d9972004-10-25 15:21:00 +0000143 ARCH_CORE_AM_CFLAGS="-DELFSZ=32"
144 ARCH_TOOL_AM_CFLAGS="-fpic"
nethercote8df0a402004-10-25 19:20:14 +0000145 ARCH_CORE_AM_CCASFLAGS="-Wa,-maltivec"
nethercote9bcc9062004-10-13 13:50:01 +0000146 AC_MSG_ERROR([PowerPC not supported. Sorry])
147 ;;
148
sewardjde4a1d02002-03-22 01:27:54 +0000149 *)
150 AC_MSG_RESULT([no (${host_cpu})])
nethercote81d5c662004-10-13 13:18:51 +0000151 AC_MSG_ERROR([Unsupported host architecture. Sorry])
sewardjde4a1d02002-03-22 01:27:54 +0000152 ;;
153esac
154
155AC_MSG_CHECKING([for a supported OS])
nethercote888ecb72004-08-23 14:54:40 +0000156AC_SUBST(VG_OS)
njna5f1bcd2004-11-27 16:47:42 +0000157AC_SUBST(VG_OS_ALL)
158VG_OS_ALL="linux"
sewardjde4a1d02002-03-22 01:27:54 +0000159
gobrye721a522002-03-22 13:38:30 +0000160case "${host_os}" in
mueller8c68e042004-01-03 15:21:14 +0000161 *linux*)
sewardjde4a1d02002-03-22 01:27:54 +0000162 AC_MSG_RESULT([ok (${host_os})])
nethercote888ecb72004-08-23 14:54:40 +0000163 VG_OS="linux"
mueller8c68e042004-01-03 15:21:14 +0000164
165 # Ok, this is linux. Check the kernel version
166 AC_MSG_CHECKING([for the kernel version])
167
168 kernel=`uname -r`
169
170 case "${kernel}" in
171 2.6.*)
172 AC_MSG_RESULT([2.6 family (${kernel})])
173 AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
174 ;;
175
176 2.4.*)
177 AC_MSG_RESULT([2.4 family (${kernel})])
178 AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x])
179 ;;
180
mueller8c68e042004-01-03 15:21:14 +0000181 *)
182 AC_MSG_RESULT([unsupported (${kernel})])
nethercote4fa681f2004-11-08 17:51:39 +0000183 AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6])
mueller8c68e042004-01-03 15:21:14 +0000184 ;;
185 esac
186
187 ;;
188
189 *freebsd*)
190 AC_MSG_RESULT([ok (${host_os})])
nethercote888ecb72004-08-23 14:54:40 +0000191 VG_OS="freebsd"
sewardjde4a1d02002-03-22 01:27:54 +0000192 ;;
193
194 *)
195 AC_MSG_RESULT([no (${host_os})])
mueller8c68e042004-01-03 15:21:14 +0000196 AC_MSG_ERROR([Valgrind is operating system specific. Sorry. Please consider doing a port.])
sewardjde4a1d02002-03-22 01:27:54 +0000197 ;;
198esac
199
nethercote888ecb72004-08-23 14:54:40 +0000200AC_MSG_CHECKING([for a supported CPU/OS combination])
201AC_SUBST(VG_PLATFORM)
njna5f1bcd2004-11-27 16:47:42 +0000202AC_SUBST(VG_PLATFORM_ALL)
njnc6168192004-11-29 13:54:10 +0000203VG_PLATFORM_ALL="amd64-linux arm-linux x86-linux"
nethercote888ecb72004-08-23 14:54:40 +0000204
205VG_PLATFORM="$VG_ARCH-$VG_OS"
206
207case $VG_PLATFORM in
njnfe408942004-11-23 17:52:24 +0000208 x86-linux|amd64-linux|arm-linux)
sewardj3e38ce02004-11-23 01:17:29 +0000209 AC_MSG_RESULT([ok (${host_cpu}-${host_os})])
210 ;;
211
nethercote888ecb72004-08-23 14:54:40 +0000212 *)
213 AC_MSG_RESULT([no (${host_cpu}-${host_os})])
sewardj3e38ce02004-11-23 01:17:29 +0000214 AC_MSG_ERROR([Valgrind is platform specific. Sorry. Please consider doing a port.])
nethercote888ecb72004-08-23 14:54:40 +0000215 ;;
216esac
sewardjde4a1d02002-03-22 01:27:54 +0000217
sewardjde4a1d02002-03-22 01:27:54 +0000218AC_SUBST(DEFAULT_SUPP)
219
sewardjde4a1d02002-03-22 01:27:54 +0000220glibc=""
221
222AC_EGREP_CPP([GLIBC_21], [
223#include <features.h>
224#ifdef __GNU_LIBRARY__
225 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 1)
226 GLIBC_21
227 #endif
228#endif
229],
230glibc="2.1")
231
232AC_EGREP_CPP([GLIBC_22], [
233#include <features.h>
234#ifdef __GNU_LIBRARY__
235 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2)
236 GLIBC_22
237 #endif
238#endif
239],
240glibc="2.2")
241
sewardj08c7f012002-10-07 23:56:55 +0000242AC_EGREP_CPP([GLIBC_23], [
243#include <features.h>
244#ifdef __GNU_LIBRARY__
245 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 3)
246 GLIBC_23
247 #endif
248#endif
249],
250glibc="2.3")
251
daywalkere9212b32003-06-15 22:39:15 +0000252AC_MSG_CHECKING([the glibc version])
253
gobrye721a522002-03-22 13:38:30 +0000254case "${glibc}" in
sewardjde4a1d02002-03-22 01:27:54 +0000255 2.1)
256 AC_MSG_RESULT(2.1 family)
daywalker418c7482002-10-16 13:09:26 +0000257 AC_DEFINE([GLIBC_2_1], 1, [Define to 1 if you're using glibc 2.1.x])
gobry3b777892002-04-04 09:18:39 +0000258 DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.1.supp"
sewardjde4a1d02002-03-22 01:27:54 +0000259 ;;
260
261 2.2)
262 AC_MSG_RESULT(2.2 family)
daywalker418c7482002-10-16 13:09:26 +0000263 AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x])
gobry3b777892002-04-04 09:18:39 +0000264 DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.2.supp"
sewardjde4a1d02002-03-22 01:27:54 +0000265 ;;
266
sewardj08c7f012002-10-07 23:56:55 +0000267 2.3)
268 AC_MSG_RESULT(2.3 family)
daywalker418c7482002-10-16 13:09:26 +0000269 AC_DEFINE([GLIBC_2_3], 1, [Define to 1 if you're using glibc 2.3.x])
daywalker63f6f782003-05-27 00:19:52 +0000270 DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.3.supp"
sewardj08c7f012002-10-07 23:56:55 +0000271 ;;
272
sewardjde4a1d02002-03-22 01:27:54 +0000273 *)
274 AC_MSG_RESULT(unsupported version)
sewardj08c7f012002-10-07 23:56:55 +0000275 AC_MSG_ERROR([Valgrind requires the glibc version 2.1, 2.2 or 2.3])
sewardjde4a1d02002-03-22 01:27:54 +0000276 ;;
277esac
278
sewardj535c50f2005-06-04 23:14:53 +0000279
nethercote3d260f62004-10-31 19:39:18 +0000280# We don't know how to detect the X client library version
281# (detecting the server version is easy, bu no help). So we
282# just use a hack: always include the suppressions for both
283# versions 3 and 4.
gobrye721a522002-03-22 13:38:30 +0000284AC_PATH_X
gobrye721a522002-03-22 13:38:30 +0000285if test "${no_x}" != 'yes' ; then
nethercote3d260f62004-10-31 19:39:18 +0000286 DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp"
287 DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp"
gobrye721a522002-03-22 13:38:30 +0000288fi
289
sewardj2e10a682003-04-07 19:36:41 +0000290
sewardj535c50f2005-06-04 23:14:53 +0000291# does this compiler support -m32 ?
292AC_MSG_CHECKING([if gcc accepts -m32])
293
294safe_CFLAGS=$CFLAGS
295CFLAGS="-m32"
296
297AC_TRY_COMPILE(, [
298int main () { return 0 ; }
299],
300[
301FLAG_M32="-m32"
302AC_MSG_RESULT([yes])
303], [
304FLAG_M32=""
305AC_MSG_RESULT([no])
306])
307CFLAGS=$safe_CFLAGS
308
309AC_SUBST(FLAG_M32)
310
311
sewardj5b754b42002-06-03 22:53:35 +0000312# does this compiler support -mpreferred-stack-boundary=2 ?
313AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary])
314
daywalker3664f562003-10-17 13:43:46 +0000315safe_CFLAGS=$CFLAGS
sewardj5b754b42002-06-03 22:53:35 +0000316CFLAGS="-mpreferred-stack-boundary=2"
317
318AC_TRY_COMPILE(, [
sewardj5b754b42002-06-03 22:53:35 +0000319int main () { return 0 ; }
sewardj5b754b42002-06-03 22:53:35 +0000320],
321[
322PREFERRED_STACK_BOUNDARY="-mpreferred-stack-boundary=2"
daywalker3664f562003-10-17 13:43:46 +0000323AC_MSG_RESULT([yes])
sewardj5b754b42002-06-03 22:53:35 +0000324], [
325PREFERRED_STACK_BOUNDARY=""
326AC_MSG_RESULT([no])
327])
daywalker3664f562003-10-17 13:43:46 +0000328CFLAGS=$safe_CFLAGS
sewardj5b754b42002-06-03 22:53:35 +0000329
330AC_SUBST(PREFERRED_STACK_BOUNDARY)
331
sewardj535c50f2005-06-04 23:14:53 +0000332
sewardjb5f6f512005-03-10 23:59:00 +0000333# does this compiler support -Wno-pointer-sign ?
334AC_MSG_CHECKING([if gcc accepts -Wno-pointer-sign ])
335
336safe_CFLAGS=$CFLAGS
337CFLAGS="-Wno-pointer-sign"
338
339AC_TRY_COMPILE(, [
340int main () { return 0 ; }
341],
342[
343no_pointer_sign=yes
344AC_MSG_RESULT([yes])
345], [
346no_pointer_sign=no
347AC_MSG_RESULT([no])
348])
349CFLAGS=$safe_CFLAGS
350
351if test x$no_pointer_sign = xyes; then
352 CFLAGS="$CFLAGS -Wno-pointer-sign"
353fi
354
sewardj535c50f2005-06-04 23:14:53 +0000355
sewardjb5f6f512005-03-10 23:59:00 +0000356# Check for TLS support in the compiler and linker
357AC_CACHE_CHECK([for TLS support], vg_cv_tls,
358 [AC_ARG_ENABLE(tls, [ --enable-tls platform supports TLS],
359 [vg_cv_tls=$enableval],
360 [AC_RUN_IFELSE([AC_LANG_PROGRAM([[static __thread int foo;]],
361 [[return foo;]])],
362 [vg_cv_tls=yes],
363 [vg_cv_tls=no])])])
364
365if test "$vg_cv_tls" = yes; then
366AC_DEFINE([HAVE_TLS], 1, [can use __thread to define thread-local variables])
367fi
sewardj5b754b42002-06-03 22:53:35 +0000368
sewardj535c50f2005-06-04 23:14:53 +0000369
nethercote7f390022004-10-25 17:18:24 +0000370# Check for PIE support in the compiler and linker
tom78604412005-05-17 16:11:40 +0000371AC_SUBST(PIE_AM_CFLAGS)
nethercote7f390022004-10-25 17:18:24 +0000372AC_CACHE_CHECK([for PIE support], vg_cv_pie,
sewardjb5f6f512005-03-10 23:59:00 +0000373 [AC_ARG_ENABLE(pie, [ --enable-pie platform supports PIE linking],
374 [vg_cv_pie=$enableval],
375 [safe_CFLAGS=$CFLAGS
376 CFLAGS="$CFLAGS -fpie"
377 safe_LDFLAGS=$LDFLAGS
378 LDFLAGS="$LDFLAGS -pie"
379 AC_TRY_LINK([int foo;],
380 [],
381 [vg_cv_pie=yes],
382 [vg_cv_pie=no])
383 CFLAGS=$safe_CFLAGS
384 LDFLAGS=$safe_LDFLAGS])])
nethercote7f390022004-10-25 17:18:24 +0000385if test "$vg_cv_pie" = yes; then
386AC_DEFINE([HAVE_PIE], 1, [can create position-independent executables])
tom78604412005-05-17 16:11:40 +0000387PIE_AM_CFLAGS="-fpie"
nethercote7f390022004-10-25 17:18:24 +0000388fi
389AM_CONDITIONAL(USE_PIE, test "$vg_cv_pie" = "yes")
390
sewardj5b754b42002-06-03 22:53:35 +0000391
sewardjde4a1d02002-03-22 01:27:54 +0000392# Checks for header files.
393AC_HEADER_STDC
nethercote3d260f62004-10-31 19:39:18 +0000394AC_CHECK_HEADERS([sys/endian.h endian.h mqueue.h])
sewardjde4a1d02002-03-22 01:27:54 +0000395
sewardj535c50f2005-06-04 23:14:53 +0000396
sewardjde4a1d02002-03-22 01:27:54 +0000397# Checks for typedefs, structures, and compiler characteristics.
sewardjde4a1d02002-03-22 01:27:54 +0000398AC_TYPE_UID_T
399AC_TYPE_OFF_T
400AC_TYPE_SIZE_T
401AC_HEADER_TIME
402
sewardj535c50f2005-06-04 23:14:53 +0000403
sewardjde4a1d02002-03-22 01:27:54 +0000404# Checks for library functions.
405AC_FUNC_MEMCMP
406AC_FUNC_MMAP
407AC_TYPE_SIGNAL
408
thughesbeb6eb92004-06-14 12:33:43 +0000409AC_CHECK_FUNCS([floor memchr memset mkdir strchr strdup strpbrk strrchr strstr semtimedop])
sewardjde4a1d02002-03-22 01:27:54 +0000410
gobrye721a522002-03-22 13:38:30 +0000411AC_OUTPUT(
sewardjde4a1d02002-03-22 01:27:54 +0000412 Makefile
njn25cac76cb2002-09-23 11:21:57 +0000413 valgrind.spec
muellerbddd6072003-11-19 21:50:07 +0000414 valgrind.pc
njn254d542432002-09-23 16:09:39 +0000415 docs/Makefile
njn3e986b22004-11-30 10:43:45 +0000416 docs/lib/Makefile
417 docs/images/Makefile
418 docs/xml/Makefile
njn254d542432002-09-23 16:09:39 +0000419 tests/Makefile
njnc2e7f482002-09-27 08:44:17 +0000420 tests/vg_regtest
njn251ffab942002-09-23 16:42:19 +0000421 tests/unused/Makefile
njn254d542432002-09-23 16:09:39 +0000422 include/Makefile
njn7a6e7462002-11-09 17:53:30 +0000423 auxprogs/Makefile
njn25ab726032002-09-23 16:24:41 +0000424 coregrind/Makefile
sewardj55f9d1a2005-04-25 11:11:44 +0000425 coregrind/m_aspacemgr/Makefile
njnea27e462005-05-31 02:38:09 +0000426 coregrind/m_debuginfo/Makefile
njn36b66df2005-05-12 05:13:04 +0000427 coregrind/m_demangle/Makefile
428 coregrind/m_dispatch/Makefile
njn717cde52005-05-10 02:47:21 +0000429 coregrind/m_replacemalloc/Makefile
njn278b3d62005-05-30 23:20:51 +0000430 coregrind/m_scheduler/Makefile
njn2521d322005-05-08 14:45:13 +0000431 coregrind/m_sigframe/Makefile
432 coregrind/m_syscalls/Makefile
njnc6168192004-11-29 13:54:10 +0000433 coregrind/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000434 coregrind/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000435 coregrind/x86/Makefile
nethercote8ff888f2004-11-17 17:11:45 +0000436 coregrind/linux/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000437 addrcheck/Makefile
njnf2df9b52002-10-04 11:35:47 +0000438 addrcheck/tests/Makefile
njn7da8fa72002-10-03 10:38:40 +0000439 addrcheck/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000440 memcheck/Makefile
441 memcheck/tests/Makefile
njnc6168192004-11-29 13:54:10 +0000442 memcheck/tests/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000443 memcheck/tests/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000444 memcheck/tests/x86/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000445 memcheck/docs/Makefile
446 cachegrind/Makefile
njnc6168192004-11-29 13:54:10 +0000447 cachegrind/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000448 cachegrind/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000449 cachegrind/x86/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000450 cachegrind/tests/Makefile
njnc6168192004-11-29 13:54:10 +0000451 cachegrind/tests/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000452 cachegrind/tests/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000453 cachegrind/tests/x86/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000454 cachegrind/docs/Makefile
njnf2df9b52002-10-04 11:35:47 +0000455 cachegrind/cg_annotate
njn25cac76cb2002-09-23 11:21:57 +0000456 helgrind/Makefile
njnf2df9b52002-10-04 11:35:47 +0000457 helgrind/tests/Makefile
njn83157fc2002-10-03 10:07:34 +0000458 helgrind/docs/Makefile
nethercotec9f36922004-02-14 16:40:02 +0000459 massif/Makefile
460 massif/hp2ps/Makefile
461 massif/tests/Makefile
462 massif/docs/Makefile
463 corecheck/Makefile
464 corecheck/tests/Makefile
465 corecheck/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000466 lackey/Makefile
njnf2df9b52002-10-04 11:35:47 +0000467 lackey/tests/Makefile
njn83157fc2002-10-03 10:07:34 +0000468 lackey/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000469 none/Makefile
470 none/tests/Makefile
njnc6168192004-11-29 13:54:10 +0000471 none/tests/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000472 none/tests/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000473 none/tests/x86/Makefile
njn9bc8c002002-10-02 13:49:13 +0000474 none/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000475)
gobry3b777892002-04-04 09:18:39 +0000476
477cat<<EOF
478
479Using the following suppressions by default:
480
481 ${DEFAULT_SUPP}
482EOF
483
484cat<<EOF > default.supp
485# This is a generated file, composed of the following suppression rules:
486#
487# ${DEFAULT_SUPP}
488#
489
490EOF
491
492for file in ${DEFAULT_SUPP} ; do
493 cat ${srcdir}/$file >> default.supp
494done