Lines 1-6
Link Here
|
1 |
--- ./source3/configure.in.orig 2011-08-09 13:17:47.000000000 +0200 |
1 |
--- ./source3/configure.in.orig 2011-08-09 13:17:47.000000000 +0200 |
2 |
+++ ./source3/configure.in 2011-10-13 23:29:28.000000000 +0200 |
2 |
+++ ./source3/configure.in 2011-10-13 23:29:28.000000000 +0200 |
3 |
@@ -831,9 +831,13 @@ |
3 |
@@ -756,9 +756,9 @@ |
|
|
4 |
if test x"$ac_cv_header_md5_h" = x"yes"; then |
5 |
AC_DEFINE(HAVE_MD5_H, 1, |
6 |
[Whether md5.h is available.]) |
7 |
- AC_CHECK_LIB(md5, MD5Update, |
8 |
+ AC_CHECK_LIB(md, MD5Update, |
9 |
[ |
10 |
- LIBS="${LIBS} -lmd5" |
11 |
+ LIBS="${LIBS} -lmd" |
12 |
CRYPTO_MD5_OBJ= |
13 |
AC_DEFINE(HAVE_LIBMD5, 1, |
14 |
[Whether libmd5 conformant to rfc1321 is available.])], |
15 |
@@ -852,9 +852,13 @@ |
4 |
AC_PATH_PROG(CUPS_CONFIG, cups-config) |
16 |
AC_PATH_PROG(CUPS_CONFIG, cups-config) |
5 |
|
17 |
|
6 |
if test "x$CUPS_CONFIG" != x; then |
18 |
if test "x$CUPS_CONFIG" != x; then |
Lines 15-21
Link Here
|
15 |
AC_CHECK_HEADERS(cups/cups.h cups/language.h) |
27 |
AC_CHECK_HEADERS(cups/cups.h cups/language.h) |
16 |
|
28 |
|
17 |
if test x"$ac_cv_header_cups_cups_h" = xyes -a \ |
29 |
if test x"$ac_cv_header_cups_cups_h" = xyes -a \ |
18 |
@@ -842,7 +846,7 @@ |
30 |
@@ -863,7 +867,7 @@ |
19 |
# underlinked. With cups-config --libs we pull in unwanted and unneeded |
31 |
# underlinked. With cups-config --libs we pull in unwanted and unneeded |
20 |
# dendencies including thread libraries - use cups-config only if really |
32 |
# dendencies including thread libraries - use cups-config only if really |
21 |
# required. |
33 |
# required. |
Lines 24-30
Link Here
|
24 |
[PRINT_LIBS="$ac_save_PRINT_LIBS -lcups"], |
36 |
[PRINT_LIBS="$ac_save_PRINT_LIBS -lcups"], |
25 |
[AC_MSG_WARN([your cups library doesn't link with -lcups alone, it might be underlinked.]) ; |
37 |
[AC_MSG_WARN([your cups library doesn't link with -lcups alone, it might be underlinked.]) ; |
26 |
PRINT_LIBS="$ac_save_PRINT_LIBS `$CUPS_CONFIG --libs`"]) |
38 |
PRINT_LIBS="$ac_save_PRINT_LIBS `$CUPS_CONFIG --libs`"]) |
27 |
@@ -852,10 +856,10 @@ |
39 |
@@ -873,10 +877,10 @@ |
28 |
AC_CHECK_LIB_EXT(cups, PRINT_LIBS, httpConnectEncrypt) |
40 |
AC_CHECK_LIB_EXT(cups, PRINT_LIBS, httpConnectEncrypt) |
29 |
else |
41 |
else |
30 |
AC_MSG_WARN([cups-config around but cups-devel not installed]) |
42 |
AC_MSG_WARN([cups-config around but cups-devel not installed]) |
Lines 37-43
Link Here
|
37 |
|
49 |
|
38 |
elif test x"$enable_cups" = x"yes"; then |
50 |
elif test x"$enable_cups" = x"yes"; then |
39 |
AC_MSG_ERROR(Cups support required but cups-config not located. Make sure cups-devel related files are installed.) |
51 |
AC_MSG_ERROR(Cups support required but cups-config not located. Make sure cups-devel related files are installed.) |
40 |
@@ -1943,9 +1947,6 @@ |
52 |
@@ -1964,9 +1968,6 @@ |
41 |
AC_MSG_CHECKING([PICFLAG]) |
53 |
AC_MSG_CHECKING([PICFLAG]) |
42 |
AC_MSG_RESULT([$PICFLAG]) |
54 |
AC_MSG_RESULT([$PICFLAG]) |
43 |
|
55 |
|
Lines 47-53
Link Here
|
47 |
AC_CACHE_CHECK([whether building shared libraries actually works], |
59 |
AC_CACHE_CHECK([whether building shared libraries actually works], |
48 |
[ac_cv_shlib_works],[ |
60 |
[ac_cv_shlib_works],[ |
49 |
# try building a trivial shared library |
61 |
# try building a trivial shared library |
50 |
@@ -4601,15 +4602,51 @@ |
62 |
@@ -4624,15 +4625,51 @@ |
51 |
x"$ac_cv_header_pam_pam_modules_h" = x"no" ; then |
63 |
x"$ac_cv_header_pam_pam_modules_h" = x"no" ; then |
52 |
if test x"${try_pam}" = x"yes";then |
64 |
if test x"${try_pam}" = x"yes";then |
53 |
AC_MSG_ERROR([--with-pam=yes but pam_modules.h not found]) |
65 |
AC_MSG_ERROR([--with-pam=yes but pam_modules.h not found]) |
Lines 103-109
Link Here
|
103 |
|
115 |
|
104 |
if test x"$create_pam_modules" = x"yes"; then |
116 |
if test x"$create_pam_modules" = x"yes"; then |
105 |
AC_DEFINE(WITH_PAM_MODULES,1,[Whether to include PAM MODULES support]) |
117 |
AC_DEFINE(WITH_PAM_MODULES,1,[Whether to include PAM MODULES support]) |
106 |
@@ -4619,7 +4656,7 @@ |
118 |
@@ -4642,7 +4679,7 @@ |
107 |
AC_CHECK_HEADERS(pam/pam_ext.h pam/_pam_macros.h) |
119 |
AC_CHECK_HEADERS(pam/pam_ext.h pam/_pam_macros.h) |
108 |
AC_CHECK_FUNC_EXT(pam_vsyslog,$PAM_LIBS) |
120 |
AC_CHECK_FUNC_EXT(pam_vsyslog,$PAM_LIBS) |
109 |
else |
121 |
else |
Lines 112-118
Link Here
|
112 |
fi |
124 |
fi |
113 |
fi |
125 |
fi |
114 |
AC_MSG_CHECKING(whether to use PAM support) |
126 |
AC_MSG_CHECKING(whether to use PAM support) |
115 |
@@ -5821,9 +5858,17 @@ |
127 |
@@ -5844,9 +5881,17 @@ |
116 |
[AC_MSG_RESULT(no)]) |
128 |
[AC_MSG_RESULT(no)]) |
117 |
|
129 |
|
118 |
AC_MSG_CHECKING(for aio_suspend) |
130 |
AC_MSG_CHECKING(for aio_suspend) |
Lines 133-139
Link Here
|
133 |
[AC_MSG_RESULT(no)]) |
145 |
[AC_MSG_RESULT(no)]) |
134 |
fi |
146 |
fi |
135 |
|
147 |
|
136 |
@@ -6276,12 +6321,13 @@ |
148 |
@@ -6299,12 +6344,13 @@ |
137 |
NSSSONAMEVERSIONSUFFIX=".2" |
149 |
NSSSONAMEVERSIONSUFFIX=".2" |
138 |
WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_linux.o" |
150 |
WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_linux.o" |
139 |
;; |
151 |
;; |
Lines 148-154
Link Here
|
148 |
WINBIND_NSS="../nsswitch/nss_winbind.$SHLIBEXT" |
160 |
WINBIND_NSS="../nsswitch/nss_winbind.$SHLIBEXT" |
149 |
WINBIND_WINS_NSS="../nsswitch/nss_wins.$SHLIBEXT" |
161 |
WINBIND_WINS_NSS="../nsswitch/nss_wins.$SHLIBEXT" |
150 |
;; |
162 |
;; |
151 |
@@ -6426,10 +6474,14 @@ |
163 |
@@ -6451,10 +6497,14 @@ |
152 |
AC_MSG_RESULT(no$winbind_no_reason) |
164 |
AC_MSG_RESULT(no$winbind_no_reason) |
153 |
fi |
165 |
fi |
154 |
|
166 |
|
Lines 163-169
Link Here
|
163 |
AC_SUBST(NSSSONAMEVERSIONSUFFIX) |
175 |
AC_SUBST(NSSSONAMEVERSIONSUFFIX) |
164 |
|
176 |
|
165 |
AC_SUBST(WINBIND_KRB5_LOCATOR) |
177 |
AC_SUBST(WINBIND_KRB5_LOCATOR) |
166 |
@@ -6745,13 +6797,21 @@ |
178 |
@@ -6773,13 +6823,21 @@ |
167 |
# Start |
179 |
# Start |
168 |
AC_CHECK_FUNC(getmntent) |
180 |
AC_CHECK_FUNC(getmntent) |
169 |
|
181 |
|
Lines 186-192
Link Here
|
186 |
int main(void) |
198 |
int main(void) |
187 |
{ |
199 |
{ |
188 |
struct statfs fsd; |
200 |
struct statfs fsd; |
189 |
@@ -7050,6 +7110,16 @@ |
201 |
@@ -7079,6 +7137,16 @@ |
190 |
LIBS="$LIBS -ldmalloc" |
202 |
LIBS="$LIBS -ldmalloc" |
191 |
fi |
203 |
fi |
192 |
|
204 |
|