source: vendor/automake/1.4-p6/tests/defun2.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 412 bytes
Line 
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
8cat >> configure.in << 'END'
9dnl if buggy this will require getloadavg.c
10AC_PROG_CC
11AC_DEFUN([AC_FUNC_GETLOADAVG],
12dnl need this to avoid LIBOBJS used but not defined.
13AC_FUNC_MEMCMP
14END
15
16cat > Makefile.am << 'END'
17bin_PROGRAMS = foo
18foo_LDADD = @LIBOBJS@
19END
20
21: > memcmp.c
22
23$AUTOMAKE
Note: See TracBrowser for help on using the repository browser.