source: server/common/oursrc/accountadm/configure.in @ 123

Last change on this file since 123 was 38, checked in by jbarnold, 18 years ago
improved package autoconf macros
File size: 884 bytes
Line 
1AC_INIT(signup-scripts-frontend.c)
2
3AC_PROG_CC
4
5AC_DEFUN(REQUIRE_PATH,[
6AC_SUBST($1_path)
7if test "[$]$1_path" = ""; then
8        AC_ERROR(Cannot find $1)
9fi
10])
11
12AC_DEFUN(LOCATE,[
13AC_PATH_PROG($1_path, $1)
14REQUIRE_PATH($1)
15])
16
17dnl Needed by admof.in
18
19AC_ARG_WITH(fs,
20[  --with-fs[=PATH]          fs is located at PATH],[
21  if test "$withval" != "no" -a "$withval" != "yes"; then
22    fs_path="$withval"
23  fi
24])
25REQUIRE_PATH(fs)
26
27AC_ARG_WITH(pts,
28[  --with-pts[=PATH]         pts is located at PATH],[
29  if test "$withval" != "no" -a "$withval" != "yes"; then
30    pts_path="$withval"
31  fi
32])
33REQUIRE_PATH(pts)
34
35dnl Needed by signup-scripts-backend.in
36
37LOCATE(ls)
38LOCATE(grep)
39LOCATE(sudo)
40LOCATE(useradd)
41LOCATE(groupadd)
42LOCATE(setquota)
43LOCATE(hesinfo)
44
45dnl Needed by modbash.in
46
47LOCATE(bash)
48
49AC_OUTPUT(Makefile)
50AC_OUTPUT(admof)
51AC_OUTPUT(signup-scripts-backend)
52AC_OUTPUT(modbash)
Note: See TracBrowser for help on using the repository browser.