]>
Commit | Line | Data |
---|---|---|
0a879f44 | 1 | --- configure.in.old Thu Oct 18 01:46:50 2001 |
2 | +++ configure.in Thu Oct 18 01:51:48 2001 | |
3 | @@ -137,7 +137,8 @@ | |
4 | AC_DEFINE(SPOOLDIR, "/usr/spool/cron") | |
5 | AC_MSG_RESULT(/usr/spool/cron) | |
6 | else | |
7 | - AC_ERROR(Cannot determine value for spool directory) | |
8 | + sp= | |
9 | + AC_MSG_RESULT(None. Assuming not needed) | |
10 | fi | |
11 | ||
12 | AC_MSG_CHECKING(jobdir) | |
13 | @@ -148,6 +149,9 @@ | |
14 | AC_MSG_ERROR(Need JOBDIR.) | |
15 | ;; | |
16 | yes) | |
17 | + if test -z "$sp" ; then | |
18 | + AC_ERROR(Cannot determine value for spool directory) | |
19 | + fi | |
20 | AC_DEFINE_UNQUOTED(ATJOB_DIR, "$sp/atjobs") | |
21 | AC_MSG_RESULT($ATJOB_DIR) | |
22 | ATJBD="$sp/atjobs" | |
23 | @@ -158,6 +162,9 @@ | |
24 | ATJBD="$withval" | |
25 | ;; | |
26 | esac ], | |
27 | + if test -z "$sp" ; then | |
28 | + AC_ERROR(Cannot determine value for spool directory) | |
29 | + fi | |
30 | AC_DEFINE_UNQUOTED(ATJOB_DIR, "$sp/atjobs") | |
31 | AC_MSG_RESULT($sp/atjobs) | |
32 | ATJBD="$sp/atjobs" | |
33 | @@ -172,6 +179,9 @@ | |
34 | AC_MSG_ERROR(Need ATSPOOL.) | |
35 | ;; | |
36 | yes) | |
37 | + if test -z "$sp" ; then | |
38 | + AC_ERROR(Cannot determine value for spool directory) | |
39 | + fi | |
40 | AC_DEFINE_UNQUOTED(ATSPOOL_DIR, "$sp/atspool") | |
41 | AC_MSG_RESULT($sp/atspool) | |
42 | ATSPD=$sp/atspool | |
43 | @@ -182,6 +192,9 @@ | |
44 | ATSPD=$withval | |
45 | ;; | |
46 | esac ], | |
47 | + if test -z "$sp" ; then | |
48 | + AC_ERROR(Cannot determine value for spool directory) | |
49 | + fi | |
50 | AC_DEFINE_UNQUOTED(ATSPOOL_DIR, "$sp/atspool") | |
51 | AC_MSG_RESULT($sp/atspool) | |
52 | ATSPD=$sp/atspool |