#!/bin/sh # build the C test file ... rm -f "$2.c" cat >>"$2.c" < #include #include /* testing specific header */ #include /* standard headers */ #include #include #ifdef HAVE_STDLIB_H #include #endif #if HAVE_STRING_H #include #else #include #endif int main(int argc, char *argv[]) { EOF echo >>"$2.c" "#line 1 \"$1\"" cat >>"$2.c" "$1" cat >>"$2.c" <