Changeset 38 for server/common
- Timestamp:
- Nov 29, 2006, 3:00:10 AM (18 years ago)
- Location:
- server/common/oursrc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/lockeradm/configure.in
r36 r38 2 2 3 3 AC_PROG_CC 4 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 ]) 4 16 5 17 dnl Needed by admof.in … … 11 23 fi 12 24 ]) 13 AC_SUBST(fs_path) 14 if test "$fs_path" = ""; then 15 AC_ERROR(Cannot find fs) 16 fi 25 REQUIRE_PATH(fs) 17 26 18 27 AC_ARG_WITH(pts, … … 22 31 fi 23 32 ]) 24 AC_SUBST(pts_path) 25 if test "$pts_path" = ""; then 26 AC_ERROR(Cannot find pts) 27 fi 33 REQUIRE_PATH(pts) 28 34 29 35 dnl Needed by signup-scripts-backend.in 30 36 31 AC_PATH_PROG(ls_path, ls) 32 AC_SUBST(ls_path) 33 if test "$ls_path" = ""; then 34 AC_ERROR(Cannot find ls) 35 fi 36 AC_PATH_PROG(grep_path, grep) 37 AC_SUBST(grep_path) 38 if test "$grep_path" = ""; then 39 AC_ERROR(Cannot find grep) 40 fi 41 42 AC_PATH_PROG(sudo_path, sudo) 43 AC_SUBST(sudo_path) 44 if test "$sudo_path" = ""; then 45 AC_ERROR(Cannot find sudo) 46 fi 47 AC_PATH_PROG(useradd_path, useradd) 48 AC_SUBST(useradd_path) 49 if test "$useradd_path" = ""; then 50 AC_ERROR(Cannot find useradd) 51 fi 52 AC_PATH_PROG(groupadd_path, groupadd) 53 AC_SUBST(groupadd_path) 54 if test "$groupadd_path" = ""; then 55 AC_ERROR(Cannot find groupadd) 56 fi 57 58 AC_PATH_PROG(setquota_path, setquota) 59 AC_SUBST(setquota_path) 60 if test "$setquota_path" = ""; then 61 AC_ERROR(Cannot find setquota) 62 fi 63 64 AC_PATH_PROG(hesinfo_path, hesinfo) 65 AC_SUBST(hesinfo_path) 66 if test "$hesinfo_path" = ""; then 67 AC_ERROR(Cannot find hesinfo) 68 fi 37 LOCATE(ls) 38 LOCATE(grep) 39 LOCATE(sudo) 40 LOCATE(useradd) 41 LOCATE(groupadd) 42 LOCATE(setquota) 43 LOCATE(hesinfo) 69 44 70 45 dnl Needed by modbash.in 71 46 72 AC_PATH_PROG(bash_path, bash) 73 AC_SUBST(bash_path) 74 if test "$bash_path" = ""; then 75 AC_ERROR(Cannot find bash) 76 fi 47 LOCATE(bash) 77 48 78 49 AC_OUTPUT(Makefile) -
server/common/oursrc/tokensys/configure.in
r36 r38 1 1 AC_INIT() 2 3 AC_DEFUN(REQUIRE_PATH,[ 4 AC_SUBST($1_path) 5 if test "[$]$1_path" = ""; then 6 AC_ERROR(Cannot find $1) 7 fi 8 ]) 2 9 3 10 AC_ARG_WITH(kinit, … … 7 14 fi 8 15 ]) 9 AC_SUBST(kinit_path) 10 if test "$kinit_path" = ""; then 11 AC_ERROR(Cannot find kinit) 12 fi 16 REQUIRE_PATH(kinit) 13 17 14 18 AC_ARG_WITH(aklog, … … 18 22 fi 19 23 ]) 20 AC_SUBST(aklog_path) 21 if test "$aklog_path" = ""; then 22 AC_ERROR(Cannot find aklog) 23 fi 24 REQUIRE_PATH(aklog) 24 25 25 26 AC_OUTPUT(Makefile)
Note: See TracChangeset
for help on using the changeset viewer.