Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > a6ec49c68bb1ab93bd1f371b6fb4fe78 > files > 16

lib64check0-devel-0.9.5-3mdv2008.1.x86_64.rpm

This is the "money example" from the Check tutorial.

You need the following programs installed on your system:
  -- Autoconf 2.59
  -- Automake 1.9.6
  -- Libtool 1.5.22
  -- Check 0.9.3 

Somewhat earlier versions of these programs might work.

Then, do as follows:

$ autoreconf --install
$ ./configure
$ make
$ make check

Don't do "make install" unless you want to install the money example.

money.c and money.h are built as a library.  src/main.c:main() is a
client of libmoney.la, just as tests/check_money.c:main() is a client
of libmoney.la

Please send bug reports to check-devel@lists.sourceforge.net.