Mercurial > pidgin.yaz
comparison configure.in @ 1877:a333eccaae93
[gaim-migrate @ 1887]
svalente's patch for configure.in
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 22 May 2001 08:35:02 +0000 |
parents | bf2434d36e54 |
children | 835fcc223341 |
comparison
equal
deleted
inserted
replaced
1876:8ebd3b0ff325 | 1877:a333eccaae93 |
---|---|
211 AC_CHECK_FUNCS(snprintf connect) | 211 AC_CHECK_FUNCS(snprintf connect) |
212 AC_CHECK_LIB(nsl, gethostent) | 212 AC_CHECK_LIB(nsl, gethostent) |
213 | 213 |
214 dnl checks for zephyr | 214 dnl checks for zephyr |
215 AC_DEFINE(ZEPHYR_INT32, long) | 215 AC_DEFINE(ZEPHYR_INT32, long) |
216 if test "x$kerberos" != "xno" ; then | 216 AC_SUBST(KRB4_CFLAGS) |
217 if test "x$kerberos" != "xyes" ; then | 217 AC_SUBST(KRB4_LDFLAGS) |
218 CFLAGS="$CFLAGS -I${kerberos}/include" | 218 AC_SUBST(KRB4_LIBS) |
219 if test "$kerberos" != "no" ; then | |
220 if test "$kerberos" != "yes" ; then | |
221 KRB4_CFLAGS="-I${kerberos}/include" | |
219 if test -d "$kerberos/include/kerberosIV" ; then | 222 if test -d "$kerberos/include/kerberosIV" ; then |
220 CFLAGS="$CFLAGS -I${kerberos}/include/kerberosIV" | 223 KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV" |
221 fi | 224 fi |
222 LDFLAGS="$LDFLAGS -L${kerberos}/lib" | 225 KRB4_LDFLAGS="-L${kerberos}/lib" |
223 elif test -d /usr/local/include/kerberosIV ; then | 226 elif test -d /usr/local/include/kerberosIV ; then |
224 CFLAGS="$CFLAGS -I/usr/local/include/kerberosIV" | 227 KRB4_CFLAGS="-I/usr/local/include/kerberosIV" |
225 elif test -d /usr/include/kerberosIV ; then | 228 elif test -d /usr/include/kerberosIV ; then |
226 CFLAGS="$CFLAGS -I/usr/include/kerberosIV" | 229 KRB4_CFLAGS="-I/usr/include/kerberosIV" |
227 fi | 230 fi |
228 AC_DEFINE(ZEPHYR_USES_KERBEROS) | 231 AC_DEFINE(ZEPHYR_USES_KERBEROS) |
232 | |
233 orig_LDFLAGS="$LDFLAGS" | |
234 LDFLAGS="$LDFLAGS $KRB4_LDFLAGS" | |
229 AC_CHECK_LIB(krb4, krb_rd_req, | 235 AC_CHECK_LIB(krb4, krb_rd_req, |
230 [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto"], | 236 [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"], |
231 [AC_CHECK_LIB(krb, krb_rd_req, | 237 [AC_CHECK_LIB(krb, krb_rd_req, |
232 [KRB4_LIBS="-lkrb -ldes"], | 238 [KRB4_LIBS="-lkrb -ldes"], |
233 [AC_ERROR(Kerberos 4 libraries not found)], | 239 [AC_ERROR(Kerberos 4 libraries not found)], |
234 -ldes)], | 240 -ldes)], |
235 -ldes425 -lkrb5 -lcrypto) | 241 -ldes425 -lkrb5 -lk5crypto -lcom_err) |
242 orig_LIBS="$LIBS" | |
236 LIBS="$LIBS $KRB4_LIBS" | 243 LIBS="$LIBS $KRB4_LIBS" |
237 AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) | 244 AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) |
245 AC_CHECK_FUNCS(krb_get_err_text krb_log) | |
246 LIBS="$orig_LIBS" | |
247 LDFLAGS="$orig_LDFLAGS" | |
238 fi | 248 fi |
239 AC_CHECK_FUNCS(gethostid krb_get_err_text krb_log lrand48) | 249 AC_CHECK_FUNCS(gethostid lrand48) |
240 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) | 250 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) |
241 AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) | 251 AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) |
242 AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) | 252 AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) |
243 AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h) | 253 AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h) |
244 AC_CHECK_HEADERS(termios.h) | 254 AC_CHECK_HEADERS(termios.h) |