TIVI-153: Adding automake14 as dep for iputils package
[profile/ivi/automake14.git] / tests / defun2.test
1 #! /bin/sh
2
3 # Make sure we don't mistake a macro definition for an invocation.
4 # From Jim Meyering.
5
6 . $srcdir/defs || exit 1
7
8 cat >> configure.in << 'END'
9 dnl if buggy this will require getloadavg.c
10 AC_PROG_CC
11 AC_DEFUN([AC_FUNC_GETLOADAVG],
12 dnl need this to avoid LIBOBJS used but not defined.
13 AC_FUNC_MEMCMP
14 END
15
16 cat > Makefile.am << 'END'
17 bin_PROGRAMS = foo
18 foo_LDADD = @LIBOBJS@
19 END
20
21 : > memcmp.c
22
23 $AUTOMAKE