1 diff --recursive -u misc/build/postgresql-9.1.1/configure.in misc/build/postgresql-9.1.1.patched/configure.in
2 --- misc/build/postgresql-9.1.1/configure.in 2011-09-22 23:57:57.000000000 +0200
3 +++ misc/build/postgresql-9.1.1.patched/configure.in 2012-02-03 11:42:45.000000000 +0100
5 *** Not using spinlocks will cause poor performance.])
8 -if test "$with_gssapi" = yes ; then
9 - if test "$PORTNAME" != "win32"; then
10 - AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
11 - [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
13 - LIBS="$LIBS -lgssapi32"
17 if test "$with_krb5" = yes ; then
18 if test "$PORTNAME" != "win32"; then
19 - AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
20 + AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
21 [AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
22 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
23 [AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
28 +if test "$with_gssapi" = yes ; then
29 + if test "$PORTNAME" != "win32"; then
30 + AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
31 + [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
33 + LIBS="$LIBS -lgssapi32"
37 if test "$with_openssl" = yes ; then
39 if test "$PORTNAME" != "win32"; then