utt/configure
Mateusz Hromada f7b30b9fc6 Improvements on configure script.
* config.h has more details about project
 * configure creates src directory unless it exists
2009-06-05 00:52:29 +02:00

23 lines
279 B
Bash
Executable File

#!/bin/sh
. ./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