Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 7b0651d8a23a5a77ff8f5fd073fe8e19 > files > 18

lib64check-devel-0.9.10-2.mga4.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.