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

Last change on this file since 56 was 38, checked in by jbarnold, 17 years ago
improved package autoconf macros
File size: 884 bytes
RevLine 
[1]1AC_INIT(signup-scripts-frontend.c)
2
3AC_PROG_CC
4
[38]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
[1]17dnl Needed by admof.in
18
[36]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])
[38]25REQUIRE_PATH(fs)
[36]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])
[38]33REQUIRE_PATH(pts)
[1]34
35dnl Needed by signup-scripts-backend.in
36
[38]37LOCATE(ls)
38LOCATE(grep)
39LOCATE(sudo)
40LOCATE(useradd)
41LOCATE(groupadd)
42LOCATE(setquota)
43LOCATE(hesinfo)
[1]44
[11]45dnl Needed by modbash.in
[1]46
[38]47LOCATE(bash)
[1]48
49AC_OUTPUT(Makefile)
50AC_OUTPUT(admof)
51AC_OUTPUT(signup-scripts-backend)
[11]52AC_OUTPUT(modbash)
Note: See TracBrowser for help on using the repository browser.