Configure With Verbose Shell

Autoconf-made configure scripts are just shell scrips. As such, they have, at the beginning:

#!/bin/sh 

If you want the script to print out everything it does, simply change this to:

#!/bin/sh -x 

And each line of shell code will be printed out, beginning with a plus. Normal output (what would be printed without the -x) appears as it did before.

Often the info you want is at the end, where it fails, but sometimes the amount of output from this trick can be dizzying. If you find yourself overwhelmed, it's often best to run a typescript.