blob: 158469c1589c059f0b2c69dc9858fe7db29b7212 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
--- contrib/autoconf/configure.ac.orig Fri Jun 20 11:42:09 2003
+++ contrib/autoconf/configure.ac Wed Jul 2 13:20:49 2003
@@ -56,6 +56,20 @@
sys_urlroot=/usr/share/gforge/www/
sys_ldap_admin_dn="admin,$LDAP_BASE_DN"
;;
+ FreeBSD)
+ AC_MSG_RESULT([Using FreeBSD specific defaults])
+
+ homedir_prefix=${HOME_DIR}/users
+ groupdir_prefix=${HOME_DIR}/groups
+
+ sys_upload_dir=/tmp/
+
+ TOP_DIR=${WWWROOT}
+ CGIBIN_DIR=${WWWROOT}/cgi-bin
+
+ sys_urlroot=${WWWROOT}/www/
+ sys_ldap_admin_dn="admin,$LDAP_BASE_DN"
+ ;;
NONE|none)
# use defaults
@@ -399,39 +413,6 @@
fi
AC_MSG_RESULT([Session key (using "ps aux | $HASHING_PROG$POST_PROC")... $sys_session_key])
])
-
-
-#############################################################################
-# check to see if the values given are okay.
-#############################################################################
-
-AC_MSG_CHECKING([whether sys_upload_dir directory exists])
-if test -d "$sys_upload_dir"
-then
- AC_MSG_RESULT([Yes.])
- if `echo $sys_upload_dir | grep -- "${sys_urlroot}" > /dev/null `
- then
- AC_MSG_ERROR([sys_upload_dir must not be under Document Root ($sys_urlroot).])
- fi
-else
- AC_MSG_ERROR([No.])
-fi
-
-AC_MSG_CHECKING([whether "$sys_lang" is supported])
-if test -f "$TOP_DIR/www/include/languages/$sys_lang.tab"
-then
- AC_MSG_RESULT([Yes.])
-else
- AC_MSG_ERROR([No.])
-fi
-
-AC_MSG_CHECKING([whether the theme "$sys_theme" exists])
-if test -d "$TOP_DIR/www/themes/$sys_theme"
-then
- AC_MSG_RESULT([Yes.])
-else
- AC_MSG_ERROR([$sys_theme theme does not exist.])
-fi
#############################################################################
|