source: server/common/oursrc/lockeradm/configure.in @ 36

Last change on this file since 36 was 36, checked in by jbarnold, 17 years ago
Improved package dependency tracking
File size: 1.7 KB
Line 
1AC_INIT(signup-scripts-frontend.c)
2
3AC_PROG_CC
4
5dnl Needed by admof.in
6
7AC_ARG_WITH(fs,
8[  --with-fs[=PATH]          fs is located at PATH],[
9  if test "$withval" != "no" -a "$withval" != "yes"; then
10    fs_path="$withval"
11  fi
12])
13AC_SUBST(fs_path)
14if test "$fs_path" = ""; then
15        AC_ERROR(Cannot find fs)
16fi
17
18AC_ARG_WITH(pts,
19[  --with-pts[=PATH]         pts is located at PATH],[
20  if test "$withval" != "no" -a "$withval" != "yes"; then
21    pts_path="$withval"
22  fi
23])
24AC_SUBST(pts_path)
25if test "$pts_path" = ""; then
26        AC_ERROR(Cannot find pts)
27fi
28
29dnl Needed by signup-scripts-backend.in
30
31AC_PATH_PROG(ls_path, ls)
32AC_SUBST(ls_path)
33if test "$ls_path" = ""; then
34        AC_ERROR(Cannot find ls)
35fi
36AC_PATH_PROG(grep_path, grep)
37AC_SUBST(grep_path)
38if test "$grep_path" = ""; then
39        AC_ERROR(Cannot find grep)
40fi
41
42AC_PATH_PROG(sudo_path, sudo)
43AC_SUBST(sudo_path)
44if test "$sudo_path" = ""; then
45        AC_ERROR(Cannot find sudo)
46fi
47AC_PATH_PROG(useradd_path, useradd)
48AC_SUBST(useradd_path)
49if test "$useradd_path" = ""; then
50        AC_ERROR(Cannot find useradd)
51fi
52AC_PATH_PROG(groupadd_path, groupadd)
53AC_SUBST(groupadd_path)
54if test "$groupadd_path" = ""; then
55        AC_ERROR(Cannot find groupadd)
56fi
57
58AC_PATH_PROG(setquota_path, setquota)
59AC_SUBST(setquota_path)
60if test "$setquota_path" = ""; then
61        AC_ERROR(Cannot find setquota)
62fi
63
64AC_PATH_PROG(hesinfo_path, hesinfo)
65AC_SUBST(hesinfo_path)
66if test "$hesinfo_path" = ""; then
67        AC_ERROR(Cannot find hesinfo)
68fi
69
70dnl Needed by modbash.in
71
72AC_PATH_PROG(bash_path, bash)
73AC_SUBST(bash_path)
74if test "$bash_path" = ""; then
75        AC_ERROR(Cannot find bash)
76fi
77
78AC_OUTPUT(Makefile)
79AC_OUTPUT(admof)
80AC_OUTPUT(signup-scripts-backend)
81AC_OUTPUT(modbash)
Note: See TracBrowser for help on using the repository browser.