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
RevLine 
[1]1AC_INIT(signup-scripts-frontend.c)
2
3AC_PROG_CC
4
5dnl Needed by admof.in
6
[36]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])
[1]13AC_SUBST(fs_path)
[36]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])
[1]24AC_SUBST(pts_path)
[36]25if test "$pts_path" = ""; then
26        AC_ERROR(Cannot find pts)
27fi
[1]28
29dnl Needed by signup-scripts-backend.in
30
31AC_PATH_PROG(ls_path, ls)
32AC_SUBST(ls_path)
[36]33if test "$ls_path" = ""; then
34        AC_ERROR(Cannot find ls)
35fi
[1]36AC_PATH_PROG(grep_path, grep)
37AC_SUBST(grep_path)
[36]38if test "$grep_path" = ""; then
39        AC_ERROR(Cannot find grep)
40fi
[1]41
[11]42AC_PATH_PROG(sudo_path, sudo)
43AC_SUBST(sudo_path)
[36]44if test "$sudo_path" = ""; then
45        AC_ERROR(Cannot find sudo)
46fi
[1]47AC_PATH_PROG(useradd_path, useradd)
48AC_SUBST(useradd_path)
[36]49if test "$useradd_path" = ""; then
50        AC_ERROR(Cannot find useradd)
51fi
[1]52AC_PATH_PROG(groupadd_path, groupadd)
53AC_SUBST(groupadd_path)
[36]54if test "$groupadd_path" = ""; then
55        AC_ERROR(Cannot find groupadd)
56fi
57
[1]58AC_PATH_PROG(setquota_path, setquota)
59AC_SUBST(setquota_path)
[36]60if test "$setquota_path" = ""; then
61        AC_ERROR(Cannot find setquota)
62fi
[1]63
64AC_PATH_PROG(hesinfo_path, hesinfo)
65AC_SUBST(hesinfo_path)
[36]66if test "$hesinfo_path" = ""; then
67        AC_ERROR(Cannot find hesinfo)
68fi
[1]69
[11]70dnl Needed by modbash.in
[1]71
72AC_PATH_PROG(bash_path, bash)
[36]73AC_SUBST(bash_path)
74if test "$bash_path" = ""; then
75        AC_ERROR(Cannot find bash)
76fi
[1]77
78AC_OUTPUT(Makefile)
79AC_OUTPUT(admof)
80AC_OUTPUT(signup-scripts-backend)
[11]81AC_OUTPUT(modbash)
Note: See TracBrowser for help on using the repository browser.