A guide to the autotools build system

From Elvanör's Technical Wiki
Jump to navigation Jump to search

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.