]> granicus.if.org Git - curl/commitdiff
Dan Fandrich fixed some GSS detection flaws
authorDaniel Stenberg <daniel@haxx.se>
Wed, 3 Mar 2004 09:16:36 +0000 (09:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 3 Mar 2004 09:16:36 +0000 (09:16 +0000)
configure.ac

index a746aa5d140fcdf524595bc0f3c42d6a97b4010e..3d9a8d9c9cabfb66d6e8244474eea742bb85284b 100644 (file)
@@ -617,7 +617,7 @@ if test x"$want_gss" = xyes; then
      if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
         GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
      else
-        GSSAPI_INCS=="-I$GSSAPI_ROOT/include"
+        GSSAPI_INCS="-I$GSSAPI_ROOT/include"
      fi
   fi
   CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
@@ -627,7 +627,7 @@ if test x"$want_gss" = xyes; then
         gss_ldflags=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
        LDFLAGS="$LDFLAGS $gss_ldflags"
      else
-        LDFLAGS="$LDFLAGS $GSSAPI_ROOT/lib -lgssapi"
+        LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib -lgssapi"
      fi
   else
      LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"