Obsolete golang-120
[oi-userland.git] / components / library / gnome-vfs / patches / gnome-vfs-09-krb5-config-no-gssapi.patch
blob4a6215e3a24ee4cae991829a66d7c65352a724c2
1 --- gnome-vfs-2.17.2/configure.in.orig 2007-01-11 11:28:54.973624000 +0000
2 +++ gnome-vfs-2.17.2/configure.in 2007-01-11 11:30:09.608263000 +0000
3 @@ -443,8 +443,12 @@
4 AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin)
6 if test "x$KRB5_CONFIG" != "xnone"; then
7 - GSSAPI_LIBS="`${KRB5_CONFIG} --libs gssapi`"
8 - GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`"
9 + case $host in
10 + *solaris*) GSSAPI_LIBS="-lkrb5"
11 + GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags`" ;;
12 + *) GSSAPI_LIBS="`${KRB5_CONFIG} --libs gssapi`"
13 + GSSAPI_CFLAGS="`${KRB5_CONFIG} --cflags gssapi`" ;;
14 + esac
16 saved_CPPFLAGS="$CPPFLAGS"
17 saved_LIBS="$LIBS"