curl-krb5flags.patch 1011 B

1234567891011121314151617181920
  1. --- curl-7.37.1/configure.ac.orig 2014-07-19 10:27:07.972697344 +0200
  2. +++ curl-7.37.1/configure.ac 2014-07-19 10:28:38.279360218 +0200
  3. @@ -1195,7 +1195,7 @@
  4. if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
  5. GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
  6. elif test -f "$GSSAPI_ROOT/bin/krb5-config"; then
  7. - GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
  8. + GSSAPI_INCS=`CFLAGS= $GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
  9. elif test -f "$KRB5CONFIG"; then
  10. GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
  11. elif test "$GSSAPI_ROOT" != "yes"; then
  12. @@ -1285,7 +1285,7 @@
  13. elif test -f "$KRB5CONFIG"; then
  14. dnl krb5-config doesn't have --libs-only-L or similar, put everything
  15. dnl into LIBS
  16. - gss_libs=`$KRB5CONFIG --libs gssapi`
  17. + gss_libs=`CFLAGS= $KRB5CONFIG --libs gssapi`
  18. LIBS="$gss_libs $LIBS"
  19. else
  20. case $host in