|
Last change
on this file since 4518a0b was
63a5739,
checked in by Mateusz Hromada <ruanda@…>, 16 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 | |
|---|
| 6 | if [ -f ./src/config.h ]; then |
|---|
| 7 | echo ERROR: config.h exists |
|---|
| 8 | exit |
|---|
| 9 | fi |
|---|
| 10 | |
|---|
| 11 | if [ -f ./Makefile ]; then |
|---|
| 12 | echo ERROR: Makefile exists |
|---|
| 13 | exit |
|---|
| 14 | fi |
|---|
| 15 | |
|---|
| 16 | if [ ! -d ./src ]; then |
|---|
| 17 | mkdir ./src |
|---|
| 18 | fi |
|---|
| 19 | |
|---|
| 20 | . ./auto/output/config_h |
|---|
| 21 | . ./auto/output/Makefile |
|---|
| 22 | |
|---|
| 23 | . ./auto/summary |
|---|
Note: See
TracBrowser
for help on using the repository browser.