Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 0d50ba4b0190117ea8d232e29fb0d81b > files > 18

lib64check-devel-0.9.12-5.mga5.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.9

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 AT lists.sourceforge.net.