summaryrefslogtreecommitdiff
path: root/net/isc-dhcp31-server/files/patch-configure
blob: 5aff6909accedac561ba55f148d36ffe9f4fd54c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- configure.orig	Sat Apr 20 23:44:13 2002
+++ configure	Mon Apr 28 23:02:10 2003
@@ -13,6 +13,9 @@
   elif [ x$1 = x--dirs ]; then
     dirs=$2
     shift
+  elif [ x$1 = x--subsys ]; then
+    subsys=$2
+    shift
   elif [ x$1 = x--no-links ]; then
     nolinks=YES
   elif [ x$1 = x--copts ]; then
@@ -233,7 +236,14 @@
 fi
 
 if [ x"$dirs" = x ]; then
-  dirs=". client server relay common omapip dhcpctl minires dst"
+  dirs=". common minires dst omapip dhcpctl"
+  if [ x$subsys = x ]; then
+    dirs="$dirs server omshell client relay"
+  elif [ x$subsys = xserver ]; then
+    dirs="$dirs server omshell"
+  elif [ x$subsys = xclient -o x$subsys = xrelay ]; then
+    dirs="$dirs $subsys"
+  fi
 fi
 
 for foo in $dirs; do
@@ -253,7 +263,11 @@
 
 # Make the link tree in which to actually build.
 if [ x$nolinks = x ]; then
-  make links
+  if [ x$subsys = x ]; then
+    make links
+  else
+    make links.$subsys
+  fi
 fi
 
 exit 0