source: configure @ 1e551bd

Last change on this file since 1e551bd 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
RevLine 
[c08f3b1]1#!/bin/sh
2
[63a5739]3. ./auto/defaults
[c08f3b1]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
[f7b30b9]16if [ ! -d ./src ]; then
17  mkdir ./src
18fi
19
[c08f3b1]20. ./auto/output/config_h
21. ./auto/output/Makefile
22
23. ./auto/summary
Note: See TracBrowser for help on using the repository browser.