sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 1 | # Process this file with autoconf to produce a configure script. |
njn25 | ab72603 | 2002-09-23 16:24:41 +0000 | [diff] [blame] | 2 | AC_INIT(coregrind/vg_clientmalloc.c) # give me a source file, any source file... |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 3 | AM_CONFIG_HEADER(config.h) |
sewardj | 32f5b3f | 2002-12-22 19:26:30 +0000 | [diff] [blame] | 4 | AM_INIT_AUTOMAKE(valgrind, 1.9.3) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 5 | |
gobry | b0ed467 | 2002-03-27 20:58:58 +0000 | [diff] [blame] | 6 | AM_MAINTAINER_MODE |
| 7 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 8 | # Checks for programs. |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 9 | CFLAGS="" |
| 10 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 11 | AC_PROG_LN_S |
| 12 | AC_PROG_CC |
| 13 | AC_PROG_CPP |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 14 | AC_PROG_CXX |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 15 | AC_PROG_RANLIB |
| 16 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 17 | # Check for the compiler support |
| 18 | if test "${GCC}" != "yes" ; then |
| 19 | AC_MSG_ERROR([Valgrind relies on GCC to be compiled]) |
| 20 | fi |
| 21 | |
sewardj | 2f68595 | 2002-12-22 19:32:23 +0000 | [diff] [blame^] | 22 | # figure out where perl lives |
| 23 | AC_PATH_PROG(PERL, perl) |
| 24 | |
daywalker | 48ccca5 | 2002-04-15 00:31:58 +0000 | [diff] [blame] | 25 | # some older automake's don't have it so try something on our own |
| 26 | ifdef([AM_PROG_AS],[AM_PROG_AS], |
| 27 | [ |
gobry | 1be1985 | 2002-03-26 20:44:55 +0000 | [diff] [blame] | 28 | AS="${CC}" |
| 29 | AC_SUBST(AS) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 30 | |
gobry | 1be1985 | 2002-03-26 20:44:55 +0000 | [diff] [blame] | 31 | ASFLAGS="" |
| 32 | AC_SUBST(ASFLAGS) |
daywalker | 48ccca5 | 2002-04-15 00:31:58 +0000 | [diff] [blame] | 33 | ]) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 34 | |
| 35 | # This variable will collect the individual suppression files |
| 36 | # depending on the results of autoconf |
| 37 | |
| 38 | DEFAULT_SUPP="" |
| 39 | |
| 40 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 41 | # We don't want gcc 2.7 |
| 42 | AC_MSG_CHECKING([for a supported version of gcc]) |
| 43 | |
daywalker | 870ac4c | 2002-05-21 00:09:48 +0000 | [diff] [blame] | 44 | gcc_version=`${CC} --version | head -n 1` |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 45 | |
| 46 | case "${gcc_version}" in |
| 47 | gcc-2.7.*) |
| 48 | AC_MSG_RESULT([no (${gcc_version})]) |
| 49 | AC_MSG_ERROR([please use a recent (>= gcc-2.95) version of gcc]) |
| 50 | ;; |
| 51 | |
| 52 | *) |
| 53 | AC_MSG_RESULT([ok (${gcc_version})]) |
| 54 | ;; |
| 55 | esac |
| 56 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 57 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 58 | # Checks for the platform |
| 59 | AC_CANONICAL_HOST |
| 60 | |
| 61 | AC_MSG_CHECKING([for a supported CPU]) |
| 62 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 63 | case "${host_cpu}" in |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 64 | i?86) |
| 65 | AC_MSG_RESULT([ok (${host_cpu})]) |
| 66 | ;; |
| 67 | |
| 68 | *) |
| 69 | AC_MSG_RESULT([no (${host_cpu})]) |
| 70 | AC_MSG_ERROR([Valgrind is ix86 specific. Sorry]) |
| 71 | ;; |
| 72 | esac |
| 73 | |
| 74 | AC_MSG_CHECKING([for a supported OS]) |
| 75 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 76 | case "${host_os}" in |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 77 | *linux*) |
| 78 | AC_MSG_RESULT([ok (${host_os})]) |
| 79 | ;; |
| 80 | |
| 81 | *) |
| 82 | AC_MSG_RESULT([no (${host_os})]) |
| 83 | AC_MSG_ERROR([Valgrind is Linux specific. Sorry]) |
| 84 | ;; |
| 85 | esac |
| 86 | |
| 87 | |
| 88 | # Ok, this is linux. Check the kernel version |
| 89 | AC_MSG_CHECKING([for the kernel version]) |
| 90 | |
| 91 | kernel=`uname -r` |
| 92 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 93 | case "${kernel}" in |
sewardj | 2c21624 | 2002-12-14 23:49:42 +0000 | [diff] [blame] | 94 | 2.5.*) |
| 95 | AC_MSG_RESULT([2.5 family (${kernel})]) |
| 96 | AC_DEFINE([KERNEL_2_5], 1, [Define to 1 if you're using Linux 2.5.x]) |
| 97 | ;; |
| 98 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 99 | 2.4.*) |
| 100 | AC_MSG_RESULT([2.4 family (${kernel})]) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 101 | AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x]) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 102 | ;; |
| 103 | |
| 104 | 2.2.*) |
| 105 | AC_MSG_RESULT([2.2 family (${kernel})]) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 106 | AC_DEFINE([KERNEL_2_2], 1, [Define to 1 if you're using Linux 2.2.x]) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 107 | ;; |
| 108 | |
| 109 | *) |
| 110 | AC_MSG_RESULT([unsupported (${kernel})]) |
| 111 | AC_MSG_ERROR([Valgrind works on kernels 2.2 and 2.4]) |
| 112 | ;; |
| 113 | esac |
| 114 | |
| 115 | AC_SUBST(DEFAULT_SUPP) |
| 116 | |
| 117 | |
| 118 | # Ok, this is linux. Check the kernel version |
| 119 | AC_MSG_CHECKING([the glibc version]) |
| 120 | |
| 121 | glibc="" |
| 122 | |
| 123 | AC_EGREP_CPP([GLIBC_21], [ |
| 124 | #include <features.h> |
| 125 | #ifdef __GNU_LIBRARY__ |
| 126 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 1) |
| 127 | GLIBC_21 |
| 128 | #endif |
| 129 | #endif |
| 130 | ], |
| 131 | glibc="2.1") |
| 132 | |
| 133 | AC_EGREP_CPP([GLIBC_22], [ |
| 134 | #include <features.h> |
| 135 | #ifdef __GNU_LIBRARY__ |
| 136 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2) |
| 137 | GLIBC_22 |
| 138 | #endif |
| 139 | #endif |
| 140 | ], |
| 141 | glibc="2.2") |
| 142 | |
sewardj | 08c7f01 | 2002-10-07 23:56:55 +0000 | [diff] [blame] | 143 | AC_EGREP_CPP([GLIBC_23], [ |
| 144 | #include <features.h> |
| 145 | #ifdef __GNU_LIBRARY__ |
| 146 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 3) |
| 147 | GLIBC_23 |
| 148 | #endif |
| 149 | #endif |
| 150 | ], |
| 151 | glibc="2.3") |
| 152 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 153 | case "${glibc}" in |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 154 | 2.1) |
| 155 | AC_MSG_RESULT(2.1 family) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 156 | AC_DEFINE([GLIBC_2_1], 1, [Define to 1 if you're using glibc 2.1.x]) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 157 | DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.1.supp" |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 158 | ;; |
| 159 | |
| 160 | 2.2) |
| 161 | AC_MSG_RESULT(2.2 family) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 162 | AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x]) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 163 | DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.2.supp" |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 164 | ;; |
| 165 | |
sewardj | 08c7f01 | 2002-10-07 23:56:55 +0000 | [diff] [blame] | 166 | 2.3) |
| 167 | AC_MSG_RESULT(2.3 family) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 168 | AC_DEFINE([GLIBC_2_3], 1, [Define to 1 if you're using glibc 2.3.x]) |
sewardj | 08c7f01 | 2002-10-07 23:56:55 +0000 | [diff] [blame] | 169 | ## Use the same suppression for as for 2.2. |
| 170 | ## This is a horrible hack that should be gotten |
| 171 | ## rid of. JRS, 20021007. |
| 172 | DEFAULT_SUPP="${DEFAULT_SUPP} glibc-2.2.supp" |
| 173 | ;; |
| 174 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 175 | *) |
| 176 | AC_MSG_RESULT(unsupported version) |
sewardj | 08c7f01 | 2002-10-07 23:56:55 +0000 | [diff] [blame] | 177 | AC_MSG_ERROR([Valgrind requires the glibc version 2.1, 2.2 or 2.3]) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 178 | ;; |
| 179 | esac |
| 180 | |
sewardj | 3e909ce | 2002-06-03 13:27:15 +0000 | [diff] [blame] | 181 | # APIs introduced in recent glibc versions |
| 182 | |
| 183 | AC_MSG_CHECKING([whether sched_param has a sched_priority member]) |
| 184 | AC_CACHE_VAL(vg_have_sched_priority, |
| 185 | [ |
| 186 | AC_TRY_COMPILE([#include <pthread.h>],[ |
| 187 | struct sched_param p; p.sched_priority=1;], |
| 188 | vg_have_sched_priority=yes, |
| 189 | vg_have_sched_priority=no) |
| 190 | ]) |
| 191 | AC_MSG_RESULT($vg_have_sched_priority) |
| 192 | if test "$vg_have_sched_priority" = yes; then |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 193 | AC_DEFINE([HAVE_SCHED_PRIORITY], 1, [pthread / sched_priority exists]) |
sewardj | 3e909ce | 2002-06-03 13:27:15 +0000 | [diff] [blame] | 194 | fi |
| 195 | |
| 196 | AC_MSG_CHECKING([whether nfds_t is defined]) |
| 197 | AC_CACHE_VAL(vg_have_nfds_t, |
| 198 | [ |
| 199 | AC_TRY_COMPILE([#include <sys/poll.h>],[ |
| 200 | nfds_t i=0;], |
| 201 | vg_have_nfds_t=yes, |
| 202 | vg_have_nfds_t=no) |
| 203 | ]) |
| 204 | AC_MSG_RESULT($vg_have_nfds_t) |
| 205 | if test "$vg_have_nfds_t" = yes; then |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 206 | AC_DEFINE([HAVE_NFDS_T], 1, [nfds_t exists]) |
sewardj | 3e909ce | 2002-06-03 13:27:15 +0000 | [diff] [blame] | 207 | fi |
| 208 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 209 | # try to detect the XFree version |
sewardj | 8ce25cd | 2002-06-18 01:05:58 +0000 | [diff] [blame] | 210 | # JRS 2002-06-17: this is completely bogus because it |
| 211 | # detects the server version, whereas we need to know the |
| 212 | # client library version. So what follows is hacked to |
| 213 | # use all the X supp files regardless of what is detected. |
| 214 | # This is really stoooopid and should be fixed properly. |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 215 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 216 | AC_PATH_X |
| 217 | |
| 218 | if test "${no_x}" != 'yes' ; then |
| 219 | |
| 220 | AC_MSG_CHECKING([XFree version]) |
| 221 | |
| 222 | cat<<EOF > conftest.c |
| 223 | #include <X11/Xlib.h> |
| 224 | |
| 225 | int main (int argc, char * argv []) |
| 226 | { |
| 227 | Display * display = XOpenDisplay (NULL); |
| 228 | |
| 229 | if (display) { |
| 230 | printf ("%s version=%d\n", ServerVendor (display), VendorRelease (display)); |
| 231 | } |
| 232 | |
| 233 | return 0; |
| 234 | } |
| 235 | EOF |
| 236 | |
| 237 | ${CC} -o conftest conftest.c -I${x_includes} -L${x_libraries} -lX11 >&5 2>&1 |
| 238 | |
| 239 | if test "$?" != 0 ; then |
| 240 | AC_MSG_RESULT([cannot compile test program]) |
| 241 | else |
| 242 | xfree=`./conftest` |
| 243 | |
| 244 | case "${xfree}" in |
| 245 | *XFree86*) |
| 246 | ;; |
| 247 | |
| 248 | *) AC_MSG_RESULT([not a XFree86 server]) |
| 249 | ;; |
| 250 | esac |
| 251 | |
| 252 | case "${xfree}" in |
| 253 | |
| 254 | *version=4*) |
| 255 | AC_MSG_RESULT([XFree 4.x family]) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 256 | AC_DEFINE([XFREE_4], 1, [Define to 1 if you're using XFree 4.x]) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 257 | DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp" |
sewardj | 8ce25cd | 2002-06-18 01:05:58 +0000 | [diff] [blame] | 258 | # haaaaaaack! |
| 259 | DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp" |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 260 | ;; |
| 261 | |
| 262 | *version=3*) |
| 263 | AC_MSG_RESULT([XFree 3.x family]) |
daywalker | 418c748 | 2002-10-16 13:09:26 +0000 | [diff] [blame] | 264 | AC_DEFINE([XFREE_3], 1, [Define to 1 if you're using XFree86 3.x]) |
sewardj | 19e6a4d | 2002-05-22 11:58:25 +0000 | [diff] [blame] | 265 | DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp" |
sewardj | 8ce25cd | 2002-06-18 01:05:58 +0000 | [diff] [blame] | 266 | # haaaaaaack! |
| 267 | DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp" |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 268 | ;; |
| 269 | |
| 270 | *) AC_MSG_RESULT([unknown XFree86 server (${xfree})]) |
sewardj | 8ce25cd | 2002-06-18 01:05:58 +0000 | [diff] [blame] | 271 | # haaaaaaack! |
| 272 | DEFAULT_SUPP="${DEFAULT_SUPP} xfree-3.supp" |
| 273 | DEFAULT_SUPP="${DEFAULT_SUPP} xfree-4.supp" |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 274 | ;; |
| 275 | esac |
| 276 | fi |
| 277 | |
| 278 | rm -f conftest conftest.c |
| 279 | fi |
| 280 | |
sewardj | 5b754b4 | 2002-06-03 22:53:35 +0000 | [diff] [blame] | 281 | # does this compiler support -mpreferred-stack-boundary=2 ? |
| 282 | AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary]) |
| 283 | |
| 284 | CFLAGS="-mpreferred-stack-boundary=2" |
| 285 | |
| 286 | AC_TRY_COMPILE(, [ |
| 287 | |
| 288 | int main () { return 0 ; } |
| 289 | |
| 290 | ], |
| 291 | [ |
| 292 | PREFERRED_STACK_BOUNDARY="-mpreferred-stack-boundary=2" |
| 293 | AC_MSG_RESULT([$PREFERRED_STACK_BOUNDARY]) |
| 294 | ], [ |
| 295 | PREFERRED_STACK_BOUNDARY="" |
| 296 | AC_MSG_RESULT([no]) |
| 297 | ]) |
| 298 | |
| 299 | AC_SUBST(PREFERRED_STACK_BOUNDARY) |
| 300 | |
| 301 | |
| 302 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 303 | # Checks for header files. |
| 304 | AC_HEADER_STDC |
sewardj | a83005f | 2002-06-13 16:07:51 +0000 | [diff] [blame] | 305 | AC_CHECK_HEADERS([fcntl.h malloc.h stdlib.h string.h sys/socket.h sys/statfs.h sys/time.h termios.h unistd.h utime.h]) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 306 | |
| 307 | # Checks for typedefs, structures, and compiler characteristics. |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 308 | AC_TYPE_UID_T |
| 309 | AC_TYPE_OFF_T |
| 310 | AC_TYPE_SIZE_T |
| 311 | AC_HEADER_TIME |
| 312 | |
| 313 | # Checks for library functions. |
| 314 | AC_FUNC_MEMCMP |
| 315 | AC_FUNC_MMAP |
| 316 | AC_TYPE_SIGNAL |
| 317 | |
| 318 | AC_CHECK_FUNCS([floor memchr memset mkdir strchr strdup strpbrk strrchr strstr]) |
| 319 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 320 | AC_OUTPUT( |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 321 | Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 322 | valgrind.spec |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 323 | docs/Makefile |
| 324 | tests/Makefile |
njn | c2e7f48 | 2002-09-27 08:44:17 +0000 | [diff] [blame] | 325 | tests/vg_regtest |
njn25 | 1ffab94 | 2002-09-23 16:42:19 +0000 | [diff] [blame] | 326 | tests/unused/Makefile |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 327 | include/Makefile |
njn | 7a6e746 | 2002-11-09 17:53:30 +0000 | [diff] [blame] | 328 | auxprogs/Makefile |
njn25 | ab72603 | 2002-09-23 16:24:41 +0000 | [diff] [blame] | 329 | coregrind/Makefile |
| 330 | coregrind/demangle/Makefile |
| 331 | coregrind/docs/Makefile |
| 332 | coregrind/valgrind |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 333 | addrcheck/Makefile |
njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 334 | addrcheck/tests/Makefile |
njn | 7da8fa7 | 2002-10-03 10:38:40 +0000 | [diff] [blame] | 335 | addrcheck/docs/Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 336 | memcheck/Makefile |
| 337 | memcheck/tests/Makefile |
| 338 | memcheck/docs/Makefile |
| 339 | cachegrind/Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 340 | cachegrind/tests/Makefile |
| 341 | cachegrind/docs/Makefile |
njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 342 | cachegrind/cg_annotate |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 343 | corecheck/Makefile |
| 344 | corecheck/tests/Makefile |
njn | 83157fc | 2002-10-03 10:07:34 +0000 | [diff] [blame] | 345 | corecheck/docs/Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 346 | helgrind/Makefile |
njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 347 | helgrind/tests/Makefile |
njn | 83157fc | 2002-10-03 10:07:34 +0000 | [diff] [blame] | 348 | helgrind/docs/Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 349 | lackey/Makefile |
njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 350 | lackey/tests/Makefile |
njn | 83157fc | 2002-10-03 10:07:34 +0000 | [diff] [blame] | 351 | lackey/docs/Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 352 | none/Makefile |
| 353 | none/tests/Makefile |
njn | 9bc8c00 | 2002-10-02 13:49:13 +0000 | [diff] [blame] | 354 | none/docs/Makefile |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 355 | ) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 356 | |
| 357 | cat<<EOF |
| 358 | |
| 359 | Using the following suppressions by default: |
| 360 | |
| 361 | ${DEFAULT_SUPP} |
| 362 | EOF |
| 363 | |
| 364 | cat<<EOF > default.supp |
| 365 | # This is a generated file, composed of the following suppression rules: |
| 366 | # |
| 367 | # ${DEFAULT_SUPP} |
| 368 | # |
| 369 | |
| 370 | EOF |
| 371 | |
| 372 | for file in ${DEFAULT_SUPP} ; do |
| 373 | cat ${srcdir}/$file >> default.supp |
| 374 | done |