This is a ./configure script which was created as an alternative for autoconf. Originally patch for the Git package (which now uses autoconf though). Requires POSIX shell. GPLv2. Take the config-lib.sh script and tweak the configure script for your needs.