blob: 15b4531f40308f77f1906970b57c5054f2a8c947 [file] [log] [blame]
sewardjde4a1d02002-03-22 01:27:54 +00001# Process this file with autoconf to produce a configure script.
jsewarddc0b4e82004-08-31 16:26:27 +00002AC_INIT(Valgrind, 2.3.0.CVS, valgrind-users@lists.sourceforge.net)
thughes6dbad732004-08-29 09:46:38 +00003AC_CONFIG_SRCDIR(coregrind/vg_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
gobrye721a522002-03-22 13:38:30 +000065# We don't want gcc 2.7
66AC_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})])
73 AC_MSG_ERROR([please use a recent (>= gcc-2.95) version of gcc])
74 ;;
75
76 *)
77 AC_MSG_RESULT([ok (${gcc_version})])
78 ;;
79esac
80
gobrye721a522002-03-22 13:38:30 +000081
sewardjde4a1d02002-03-22 01:27:54 +000082# Checks for the platform
83AC_CANONICAL_HOST
84
85AC_MSG_CHECKING([for a supported CPU])
nethercote888ecb72004-08-23 14:54:40 +000086AC_SUBST(VG_ARCH)
njna5f1bcd2004-11-27 16:47:42 +000087AC_SUBST(VG_ARCH_ALL)
njnc6168192004-11-29 13:54:10 +000088VG_ARCH_ALL="amd64 arm x86"
nethercote2b72e942004-10-25 14:05:56 +000089AC_SUBST(KICKSTART_BASE)
nethercotecf4d9972004-10-25 15:21:00 +000090AC_SUBST(ARCH_CORE_AM_CFLAGS)
91AC_SUBST(ARCH_TOOL_AM_CFLAGS)
nethercote8df0a402004-10-25 19:20:14 +000092AC_SUBST(ARCH_CORE_AM_CCASFLAGS)
sewardjde4a1d02002-03-22 01:27:54 +000093
gobrye721a522002-03-22 13:38:30 +000094case "${host_cpu}" in
sewardjde4a1d02002-03-22 01:27:54 +000095 i?86)
96 AC_MSG_RESULT([ok (${host_cpu})])
nethercote888ecb72004-08-23 14:54:40 +000097 VG_ARCH="x86"
nethercote2b72e942004-10-25 14:05:56 +000098 KICKSTART_BASE="0xb0000000"
sewardjb5f6f512005-03-10 23:59:00 +000099 ARCH_CORE_AM_CFLAGS="@PREFERRED_STACK_BOUNDARY@ -DELFSZ=32"
100 ARCH_TOOL_AM_CFLAGS="@PREFERRED_STACK_BOUNDARY@"
nethercote8df0a402004-10-25 19:20:14 +0000101 ARCH_CORE_AM_CCASFLAGS=""
sewardjde4a1d02002-03-22 01:27:54 +0000102 ;;
103
njnfe408942004-11-23 17:52:24 +0000104 x86_64)
105 AC_MSG_RESULT([ok (${host_cpu})])
106 VG_ARCH="amd64"
njnc6168192004-11-29 13:54:10 +0000107 # XXX: relocations under amd64's "small model" are 32-bit signed
njnfe408942004-11-23 17:52:24 +0000108 # quantities; therefore going above 0x7fffffff doesn't work... this is
109 # a problem.
110 KICKSTART_BASE="0x70000000"
111 ARCH_CORE_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -DELFSZ=64"
njnc6168192004-11-29 13:54:10 +0000112 # XXX: need to use -fpic, otherwise when linking tools I get this error
113 # message:
114 # relocation R_X86_64_32 can not be used when making a shared object;
115 # recompile with -fPIC
116 #
117 # I don't understand... --njn
118 ARCH_TOOL_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -fpic"
njnfe408942004-11-23 17:52:24 +0000119 ARCH_CORE_AM_CCASFLAGS=""
120 ;;
121
sewardj3e38ce02004-11-23 01:17:29 +0000122 arm*)
123 AC_MSG_RESULT([ok (${host_cpu})])
124 VG_ARCH="arm"
125 KICKSTART_BASE="0xb0000000"
126 ARCH_CORE_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@ -DELFSZ=32"
127 ARCH_TOOL_AM_CFLAGS="-fomit-frame-pointer @PREFERRED_STACK_BOUNDARY@"
128 ARCH_CORE_AM_CCASFLAGS=""
129 ;;
130
nethercote9bcc9062004-10-13 13:50:01 +0000131 powerpc*)
132 AC_MSG_RESULT([no (${host_cpu})])
nethercoteda8735a2004-10-19 14:24:42 +0000133 VG_ARCH="ppc"
nethercote2b72e942004-10-25 14:05:56 +0000134 KICKSTART_BASE="0x70000000"
nethercotecf4d9972004-10-25 15:21:00 +0000135 ARCH_CORE_AM_CFLAGS="-DELFSZ=32"
136 ARCH_TOOL_AM_CFLAGS="-fpic"
nethercote8df0a402004-10-25 19:20:14 +0000137 ARCH_CORE_AM_CCASFLAGS="-Wa,-maltivec"
nethercote9bcc9062004-10-13 13:50:01 +0000138 AC_MSG_ERROR([PowerPC not supported. Sorry])
139 ;;
140
sewardjde4a1d02002-03-22 01:27:54 +0000141 *)
142 AC_MSG_RESULT([no (${host_cpu})])
nethercote81d5c662004-10-13 13:18:51 +0000143 AC_MSG_ERROR([Unsupported host architecture. Sorry])
sewardjde4a1d02002-03-22 01:27:54 +0000144 ;;
145esac
146
147AC_MSG_CHECKING([for a supported OS])
nethercote888ecb72004-08-23 14:54:40 +0000148AC_SUBST(VG_OS)
njna5f1bcd2004-11-27 16:47:42 +0000149AC_SUBST(VG_OS_ALL)
150VG_OS_ALL="linux"
sewardjde4a1d02002-03-22 01:27:54 +0000151
gobrye721a522002-03-22 13:38:30 +0000152case "${host_os}" in
mueller8c68e042004-01-03 15:21:14 +0000153 *linux*)
sewardjde4a1d02002-03-22 01:27:54 +0000154 AC_MSG_RESULT([ok (${host_os})])
nethercote888ecb72004-08-23 14:54:40 +0000155 VG_OS="linux"
mueller8c68e042004-01-03 15:21:14 +0000156
157 # Ok, this is linux. Check the kernel version
158 AC_MSG_CHECKING([for the kernel version])
159
160 kernel=`uname -r`
161
162 case "${kernel}" in
163 2.6.*)
164 AC_MSG_RESULT([2.6 family (${kernel})])
165 AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
166 ;;
167
168 2.4.*)
169 AC_MSG_RESULT([2.4 family (${kernel})])
170 AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x])
171 ;;
172
mueller8c68e042004-01-03 15:21:14 +0000173 *)
174 AC_MSG_RESULT([unsupported (${kernel})])
nethercote4fa681f2004-11-08 17:51:39 +0000175 AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6])
mueller8c68e042004-01-03 15:21:14 +0000176 ;;
177 esac
178
179 ;;
180
181 *freebsd*)
182 AC_MSG_RESULT([ok (${host_os})])
nethercote888ecb72004-08-23 14:54:40 +0000183 VG_OS="freebsd"
sewardjde4a1d02002-03-22 01:27:54 +0000184 ;;
185
186 *)
187 AC_MSG_RESULT([no (${host_os})])
mueller8c68e042004-01-03 15:21:14 +0000188 AC_MSG_ERROR([Valgrind is operating system specific. Sorry. Please consider doing a port.])
sewardjde4a1d02002-03-22 01:27:54 +0000189 ;;
190esac
191
nethercote888ecb72004-08-23 14:54:40 +0000192AC_MSG_CHECKING([for a supported CPU/OS combination])
193AC_SUBST(VG_PLATFORM)
njna5f1bcd2004-11-27 16:47:42 +0000194AC_SUBST(VG_PLATFORM_ALL)
njnc6168192004-11-29 13:54:10 +0000195VG_PLATFORM_ALL="amd64-linux arm-linux x86-linux"
nethercote888ecb72004-08-23 14:54:40 +0000196
197VG_PLATFORM="$VG_ARCH-$VG_OS"
198
199case $VG_PLATFORM in
njnfe408942004-11-23 17:52:24 +0000200 x86-linux|amd64-linux|arm-linux)
sewardj3e38ce02004-11-23 01:17:29 +0000201 AC_MSG_RESULT([ok (${host_cpu}-${host_os})])
202 ;;
203
nethercote888ecb72004-08-23 14:54:40 +0000204 *)
205 AC_MSG_RESULT([no (${host_cpu}-${host_os})])
sewardj3e38ce02004-11-23 01:17:29 +0000206 AC_MSG_ERROR([Valgrind is platform specific. Sorry. Please consider doing a port.])
nethercote888ecb72004-08-23 14:54:40 +0000207 ;;
208esac
sewardjde4a1d02002-03-22 01:27:54 +0000209
sewardjde4a1d02002-03-22 01:27:54 +0000210AC_SUBST(DEFAULT_SUPP)
211
sewardjde4a1d02002-03-22 01:27:54 +0000212glibc=""
213
214AC_EGREP_CPP([GLIBC_21], [
215#include <features.h>
216#ifdef __GNU_LIBRARY__
217 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 1)
218 GLIBC_21
219 #endif
220#endif
221],
222glibc="2.1")
223
224AC_EGREP_CPP([GLIBC_22], [
225#include <features.h>
226#ifdef __GNU_LIBRARY__
227 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2)
228 GLIBC_22
229 #endif
230#endif
231],
232glibc="2.2")
233
sewardj08c7f012002-10-07 23:56:55 +0000234AC_EGREP_CPP([GLIBC_23], [
235#include <features.h>
236#ifdef __GNU_LIBRARY__
237 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 3)
238 GLIBC_23
239 #endif
240#endif
241],
242glibc="2.3")
243
daywalkere9212b32003-06-15 22:39:15 +0000244AC_MSG_CHECKING([the glibc version])
245
gobrye721a522002-03-22 13:38:30 +0000246case "${glibc}" in
sewardjde4a1d02002-03-22 01:27:54 +0000247 2.1)
248 AC_MSG_RESULT(2.1 family)
daywalker418c7482002-10-16 13:09:26 +0000249 AC_DEFINE([GLIBC_2_1], 1, [Define to 1 if you're using glibc 2.1.x])
gobry3b777892002-04-04 09:18:39 +0000250 DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.1.supp"
sewardjde4a1d02002-03-22 01:27:54 +0000251 ;;
252
253 2.2)
254 AC_MSG_RESULT(2.2 family)
daywalker418c7482002-10-16 13:09:26 +0000255 AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x])
gobry3b777892002-04-04 09:18:39 +0000256 DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.2.supp"
sewardjde4a1d02002-03-22 01:27:54 +0000257 ;;
258
sewardj08c7f012002-10-07 23:56:55 +0000259 2.3)
260 AC_MSG_RESULT(2.3 family)
daywalker418c7482002-10-16 13:09:26 +0000261 AC_DEFINE([GLIBC_2_3], 1, [Define to 1 if you're using glibc 2.3.x])
daywalker63f6f782003-05-27 00:19:52 +0000262 DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.3.supp"
sewardj08c7f012002-10-07 23:56:55 +0000263 ;;
264
sewardjde4a1d02002-03-22 01:27:54 +0000265 *)
266 AC_MSG_RESULT(unsupported version)
sewardj08c7f012002-10-07 23:56:55 +0000267 AC_MSG_ERROR([Valgrind requires the glibc version 2.1, 2.2 or 2.3])
sewardjde4a1d02002-03-22 01:27:54 +0000268 ;;
269esac
270
nethercote3d260f62004-10-31 19:39:18 +0000271# We don't know how to detect the X client library version
272# (detecting the server version is easy, bu no help). So we
273# just use a hack: always include the suppressions for both
274# versions 3 and 4.
gobrye721a522002-03-22 13:38:30 +0000275AC_PATH_X
gobrye721a522002-03-22 13:38:30 +0000276if test "${no_x}" != 'yes' ; then
nethercote3d260f62004-10-31 19:39:18 +0000277 DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp"
278 DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp"
gobrye721a522002-03-22 13:38:30 +0000279fi
280
sewardj2e10a682003-04-07 19:36:41 +0000281
sewardj5b754b42002-06-03 22:53:35 +0000282# does this compiler support -mpreferred-stack-boundary=2 ?
283AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary])
284
daywalker3664f562003-10-17 13:43:46 +0000285safe_CFLAGS=$CFLAGS
sewardj5b754b42002-06-03 22:53:35 +0000286CFLAGS="-mpreferred-stack-boundary=2"
287
288AC_TRY_COMPILE(, [
sewardj5b754b42002-06-03 22:53:35 +0000289int main () { return 0 ; }
sewardj5b754b42002-06-03 22:53:35 +0000290],
291[
292PREFERRED_STACK_BOUNDARY="-mpreferred-stack-boundary=2"
daywalker3664f562003-10-17 13:43:46 +0000293AC_MSG_RESULT([yes])
sewardj5b754b42002-06-03 22:53:35 +0000294], [
295PREFERRED_STACK_BOUNDARY=""
296AC_MSG_RESULT([no])
297])
daywalker3664f562003-10-17 13:43:46 +0000298CFLAGS=$safe_CFLAGS
sewardj5b754b42002-06-03 22:53:35 +0000299
300AC_SUBST(PREFERRED_STACK_BOUNDARY)
301
sewardjb5f6f512005-03-10 23:59:00 +0000302# does this compiler support -Wno-pointer-sign ?
303AC_MSG_CHECKING([if gcc accepts -Wno-pointer-sign ])
304
305safe_CFLAGS=$CFLAGS
306CFLAGS="-Wno-pointer-sign"
307
308AC_TRY_COMPILE(, [
309int main () { return 0 ; }
310],
311[
312no_pointer_sign=yes
313AC_MSG_RESULT([yes])
314], [
315no_pointer_sign=no
316AC_MSG_RESULT([no])
317])
318CFLAGS=$safe_CFLAGS
319
320if test x$no_pointer_sign = xyes; then
321 CFLAGS="$CFLAGS -Wno-pointer-sign"
322fi
323
324# Check for TLS support in the compiler and linker
325AC_CACHE_CHECK([for TLS support], vg_cv_tls,
326 [AC_ARG_ENABLE(tls, [ --enable-tls platform supports TLS],
327 [vg_cv_tls=$enableval],
328 [AC_RUN_IFELSE([AC_LANG_PROGRAM([[static __thread int foo;]],
329 [[return foo;]])],
330 [vg_cv_tls=yes],
331 [vg_cv_tls=no])])])
332
333if test "$vg_cv_tls" = yes; then
334AC_DEFINE([HAVE_TLS], 1, [can use __thread to define thread-local variables])
335fi
sewardj5b754b42002-06-03 22:53:35 +0000336
nethercote7f390022004-10-25 17:18:24 +0000337# Check for PIE support in the compiler and linker
338AC_CACHE_CHECK([for PIE support], vg_cv_pie,
sewardjb5f6f512005-03-10 23:59:00 +0000339 [AC_ARG_ENABLE(pie, [ --enable-pie platform supports PIE linking],
340 [vg_cv_pie=$enableval],
341 [safe_CFLAGS=$CFLAGS
342 CFLAGS="$CFLAGS -fpie"
343 safe_LDFLAGS=$LDFLAGS
344 LDFLAGS="$LDFLAGS -pie"
345 AC_TRY_LINK([int foo;],
346 [],
347 [vg_cv_pie=yes],
348 [vg_cv_pie=no])
349 CFLAGS=$safe_CFLAGS
350 LDFLAGS=$safe_LDFLAGS])])
nethercote7f390022004-10-25 17:18:24 +0000351if test "$vg_cv_pie" = yes; then
352AC_DEFINE([HAVE_PIE], 1, [can create position-independent executables])
353fi
354AM_CONDITIONAL(USE_PIE, test "$vg_cv_pie" = "yes")
355
sewardj5b754b42002-06-03 22:53:35 +0000356
sewardjde4a1d02002-03-22 01:27:54 +0000357# Checks for header files.
358AC_HEADER_STDC
nethercote3d260f62004-10-31 19:39:18 +0000359AC_CHECK_HEADERS([sys/endian.h endian.h mqueue.h])
sewardjde4a1d02002-03-22 01:27:54 +0000360
361# Checks for typedefs, structures, and compiler characteristics.
sewardjde4a1d02002-03-22 01:27:54 +0000362AC_TYPE_UID_T
363AC_TYPE_OFF_T
364AC_TYPE_SIZE_T
365AC_HEADER_TIME
366
367# Checks for library functions.
368AC_FUNC_MEMCMP
369AC_FUNC_MMAP
370AC_TYPE_SIGNAL
371
thughesbeb6eb92004-06-14 12:33:43 +0000372AC_CHECK_FUNCS([floor memchr memset mkdir strchr strdup strpbrk strrchr strstr semtimedop])
sewardjde4a1d02002-03-22 01:27:54 +0000373
gobrye721a522002-03-22 13:38:30 +0000374AC_OUTPUT(
sewardjde4a1d02002-03-22 01:27:54 +0000375 Makefile
njn25cac76cb2002-09-23 11:21:57 +0000376 valgrind.spec
muellerbddd6072003-11-19 21:50:07 +0000377 valgrind.pc
njn254d542432002-09-23 16:09:39 +0000378 docs/Makefile
njn3e986b22004-11-30 10:43:45 +0000379 docs/lib/Makefile
380 docs/images/Makefile
381 docs/xml/Makefile
njn254d542432002-09-23 16:09:39 +0000382 tests/Makefile
njnc2e7f482002-09-27 08:44:17 +0000383 tests/vg_regtest
njn251ffab942002-09-23 16:42:19 +0000384 tests/unused/Makefile
nethercotee90c6832004-10-18 18:07:49 +0000385 include/valgrind.h
njn254d542432002-09-23 16:09:39 +0000386 include/Makefile
njnc6168192004-11-29 13:54:10 +0000387 include/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000388 include/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000389 include/x86/Makefile
nethercote73b526f2004-10-31 18:48:21 +0000390 include/linux/Makefile
njnc6168192004-11-29 13:54:10 +0000391 include/amd64-linux/Makefile
njnca0518d2004-11-26 19:34:36 +0000392 include/arm-linux/Makefile
njnc6168192004-11-29 13:54:10 +0000393 include/x86-linux/Makefile
njn7a6e7462002-11-09 17:53:30 +0000394 auxprogs/Makefile
njn25ab726032002-09-23 16:24:41 +0000395 coregrind/Makefile
396 coregrind/demangle/Makefile
njnc6168192004-11-29 13:54:10 +0000397 coregrind/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000398 coregrind/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000399 coregrind/x86/Makefile
nethercote8ff888f2004-11-17 17:11:45 +0000400 coregrind/linux/Makefile
njnc6168192004-11-29 13:54:10 +0000401 coregrind/amd64-linux/Makefile
njnca0518d2004-11-26 19:34:36 +0000402 coregrind/arm-linux/Makefile
njnc6168192004-11-29 13:54:10 +0000403 coregrind/x86-linux/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000404 addrcheck/Makefile
njnf2df9b52002-10-04 11:35:47 +0000405 addrcheck/tests/Makefile
njn7da8fa72002-10-03 10:38:40 +0000406 addrcheck/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000407 memcheck/Makefile
408 memcheck/tests/Makefile
njnc6168192004-11-29 13:54:10 +0000409 memcheck/tests/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000410 memcheck/tests/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000411 memcheck/tests/x86/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000412 memcheck/docs/Makefile
413 cachegrind/Makefile
njnc6168192004-11-29 13:54:10 +0000414 cachegrind/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000415 cachegrind/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000416 cachegrind/x86/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000417 cachegrind/tests/Makefile
njnc6168192004-11-29 13:54:10 +0000418 cachegrind/tests/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000419 cachegrind/tests/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000420 cachegrind/tests/x86/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000421 cachegrind/docs/Makefile
njnf2df9b52002-10-04 11:35:47 +0000422 cachegrind/cg_annotate
njn25cac76cb2002-09-23 11:21:57 +0000423 helgrind/Makefile
njnf2df9b52002-10-04 11:35:47 +0000424 helgrind/tests/Makefile
njn83157fc2002-10-03 10:07:34 +0000425 helgrind/docs/Makefile
nethercotec9f36922004-02-14 16:40:02 +0000426 massif/Makefile
427 massif/hp2ps/Makefile
428 massif/tests/Makefile
429 massif/docs/Makefile
430 corecheck/Makefile
431 corecheck/tests/Makefile
432 corecheck/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000433 lackey/Makefile
njnf2df9b52002-10-04 11:35:47 +0000434 lackey/tests/Makefile
njn83157fc2002-10-03 10:07:34 +0000435 lackey/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000436 none/Makefile
437 none/tests/Makefile
njnc6168192004-11-29 13:54:10 +0000438 none/tests/amd64/Makefile
njnca0518d2004-11-26 19:34:36 +0000439 none/tests/arm/Makefile
njnc6168192004-11-29 13:54:10 +0000440 none/tests/x86/Makefile
njn9bc8c002002-10-02 13:49:13 +0000441 none/docs/Makefile
njn25cac76cb2002-09-23 11:21:57 +0000442)
gobry3b777892002-04-04 09:18:39 +0000443
444cat<<EOF
445
446Using the following suppressions by default:
447
448 ${DEFAULT_SUPP}
449EOF
450
451cat<<EOF > default.supp
452# This is a generated file, composed of the following suppression rules:
453#
454# ${DEFAULT_SUPP}
455#
456
457EOF
458
459for file in ${DEFAULT_SUPP} ; do
460 cat ${srcdir}/$file >> default.supp
461done