3 # Actual test of ansi2knr functionality. Relies on existence
6 .
$srcdir/defs ||
exit 1
8 cat > configure.
in << 'END'
10 AM_INIT_AUTOMAKE
(hello
,0.23)
16 cat > Makefile.am
<< 'END'
17 AUTOMAKE_OPTIONS
= ansi2knr no-dependencies
21 cat > hello.c
<< 'END'
24 main
(int argc
, char
*argv
[])
26 printf ("yeah, yeah\n");
31 # Fail gracefully if no autoconf.
35 (gcc
-v) > /dev
/null
2>&1 ||
exit 77
37 # We use gcc and not gcc -traditional as the latter fails on some
38 # Linux boxes (Red Hat 5.1 in particular).
42 && CC
='gcc' .
/configure \
43 && $MAKE ANSI2KNR
=.
/ansi2knr U
=_ \