utt/configure
Mateusz Hromada 63a5739817 Refactoring of configure scripts.
* Move default values to auto/default
 * Get configuration from environment
 * Add --quiet switch to hide summary
2009-06-06 13:08:46 +02:00

24 lines
297 B
Bash
Executable File

#!/bin/sh
. ./auto/defaults
. ./auto/options
if [ -f ./src/config.h ]; then
echo ERROR: config.h exists
exit
fi
if [ -f ./Makefile ]; then
echo ERROR: Makefile exists
exit
fi
if [ ! -d ./src ]; then
mkdir ./src
fi
. ./auto/output/config_h
. ./auto/output/Makefile
. ./auto/summary