source: configure @ 1e572e1

Last change on this file since 1e572e1 was 63a5739, checked in by Mateusz Hromada <ruanda@…>, 15 years ago

Refactoring of configure scripts.

  • Move default values to auto/default
  • Get configuration from environment
  • Add --quiet switch to hide summary
  • Property mode set to 100755
File size: 297 bytes
Line 
1#!/bin/sh
2
3. ./auto/defaults
4. ./auto/options
5
6if [ -f ./src/config.h ]; then
7  echo ERROR: config.h exists
8  exit
9fi
10
11if [ -f ./Makefile ]; then
12  echo ERROR: Makefile exists
13  exit
14fi
15
16if [ ! -d ./src ]; then
17  mkdir ./src
18fi
19
20. ./auto/output/config_h
21. ./auto/output/Makefile
22
23. ./auto/summary
Note: See TracBrowser for help on using the repository browser.