| 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) | 
|---|
| [485] | 46 | LOCATE(ldapadd) | 
|---|
| [1] | 47 |  | 
|---|
| [134] | 48 | dnl Needed by mbash.in | 
|---|
| [1] | 49 |  | 
|---|
| [38] | 50 | LOCATE(bash) | 
|---|
| [1] | 51 |  | 
|---|
 | 52 | AC_OUTPUT(Makefile) | 
|---|
 | 53 | AC_OUTPUT(admof) | 
|---|
 | 54 | AC_OUTPUT(signup-scripts-backend) | 
|---|
| [134] | 55 | AC_OUTPUT(mbash) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.