A guide to the autotools build system

From Elvanör's Technical Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

configure

  • You can execute ./configure --help to get help about this configure program.
  • Usually to pass additional library or header paths to configure, use the following:
LDFLAGS="-L/root/e2fsprogs-1.41.9/lib/blkid -L/root/e2fsprogs-1.41.9/lib/uuid" ./configure
CFLAGS="-I/root/e2fsprogs-1.41.9/lib/" ./configure
  • There is a configure log available which can be extremely useful to troubleshoot problems.