Last change
on this file since 450 was
435,
checked in by andersk, 17 years ago
|
Quick hack to support users with multiple filsys entries.
|
File size:
906 bytes
|
Rev | Line | |
---|
[1] | 1 | AC_INIT(signup-scripts-frontend.c) |
---|
| 2 | |
---|
| 3 | AC_PROG_CC |
---|
| 4 | |
---|
[38] | 5 | AC_DEFUN(REQUIRE_PATH,[ |
---|
| 6 | AC_SUBST($1_path) |
---|
| 7 | if test "[$]$1_path" = ""; then |
---|
| 8 | AC_ERROR(Cannot find $1) |
---|
| 9 | fi |
---|
| 10 | ]) |
---|
| 11 | |
---|
| 12 | AC_DEFUN(LOCATE,[ |
---|
| 13 | AC_PATH_PROG($1_path, $1) |
---|
| 14 | REQUIRE_PATH($1) |
---|
| 15 | ]) |
---|
| 16 | |
---|
[1] | 17 | dnl Needed by admof.in |
---|
| 18 | |
---|
[36] | 19 | AC_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] | 25 | REQUIRE_PATH(fs) |
---|
[36] | 26 | |
---|
| 27 | AC_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] | 33 | REQUIRE_PATH(pts) |
---|
[1] | 34 | |
---|
| 35 | dnl Needed by signup-scripts-backend.in |
---|
| 36 | |
---|
[38] | 37 | LOCATE(ls) |
---|
| 38 | LOCATE(grep) |
---|
| 39 | LOCATE(sudo) |
---|
| 40 | LOCATE(useradd) |
---|
| 41 | LOCATE(groupadd) |
---|
| 42 | LOCATE(setquota) |
---|
| 43 | LOCATE(hesinfo) |
---|
[435] | 44 | LOCATE(sort) |
---|
| 45 | LOCATE(head) |
---|
[1] | 46 | |
---|
[134] | 47 | dnl Needed by mbash.in |
---|
[1] | 48 | |
---|
[38] | 49 | LOCATE(bash) |
---|
[1] | 50 | |
---|
| 51 | AC_OUTPUT(Makefile) |
---|
| 52 | AC_OUTPUT(admof) |
---|
| 53 | AC_OUTPUT(signup-scripts-backend) |
---|
[134] | 54 | AC_OUTPUT(mbash) |
---|
Note: See
TracBrowser
for help on using the repository browser.