Commit Diff
Diff:
d316efa4badfb1f53bba986fb2af02b4585950d7
e1d9a703d427d77003078e0b5d8ce5e414030668
Commit:
e1d9a703d427d77003078e0b5d8ce5e414030668
Tree:
98f14a73827ccc90023b9c52bd948c3fc8707d54
Author:
pbug <pbug@delphinusdns.org>
Committer:
pbug <pbug@delphinusdns.org>
Date:
Thu Apr 21 10:28:26 2011 UTC
Message:
* change to bourne instead of bash, less reliance on bash
blob - 22d8995247a9b4910c374d54c0f2d421b50acaf4
blob + 330671cce531aff0225132f31d6c20488edd2d2a
--- configure
+++ configure
@@ -1,18 +1,12 @@
-#!/usr/bin/env bash
+#!/bin/sh
-function bsd {
+bsd() {
echo configuring for BSD
cp Makefile.bsd Makefile
}
-function netbsd {
- echo configuring for NetBSD
- cp Makefile.netbsd Makefile
-
-}
-
-function freebsd {
+freebsd() {
echo configuring for FreeBSD
case "`uname -r`" in
@@ -27,12 +21,12 @@ function freebsd {
}
-function linux {
+linux() {
echo configuring for Linux
cp Makefile.linux Makefile
}
-function darwin {
+darwin() {
echo configuring for Darwin
cp Makefile.macosx Makefile
}
@@ -49,7 +43,7 @@ FreeBSD)
freebsd
;;
NetBSD)
- netbsd;
+ bsd;
;;
DragonflyBSD)
bsd;
repomaster@centroid.eu