63a5739817
* Move default values to auto/default * Get configuration from environment * Add --quiet switch to hide summary
24 lines
297 B
Bash
Executable File
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
|