| Last change
                  on this file since 243 was
                  134,
                  checked in by jbarnold, 19 years ago | 
        
          | renamed modbash to mbash at Joe's request
forcing signup uid and gid to be 102 as required by selinux system | 
        | File size:
            880 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) | 
|---|
| [1] | 44 |  | 
|---|
| [134] | 45 | dnl Needed by mbash.in | 
|---|
| [1] | 46 |  | 
|---|
| [38] | 47 | LOCATE(bash) | 
|---|
| [1] | 48 |  | 
|---|
|  | 49 | AC_OUTPUT(Makefile) | 
|---|
|  | 50 | AC_OUTPUT(admof) | 
|---|
|  | 51 | AC_OUTPUT(signup-scripts-backend) | 
|---|
| [134] | 52 | AC_OUTPUT(mbash) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.