--- configure.orig	2025-06-03 04:01:10.280577280 -0500
+++ configure	2025-06-03 05:18:56.789383346 -0500
@@ -2,7 +2,7 @@
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.71 for curl -.
 #
-# Report bugs to <a suitable curl mailing list: https://curl.se/mail/>.
+# Report bugs to <a suitable curl mailinr list: https://curl.se/mail/>.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -24129,7 +24129,7 @@
 fi
 
 
-LDAPLIBNAME=""
+LDAPLIBNAME="/opt/freeware/lib/libldap.a"
 
 # Check whether --with-ldap-lib was given.
 if test ${with_ldap_lib+y}
@@ -24138,7 +24138,7 @@
 fi
 
 
-LBERLIBNAME=""
+LBERLIBNAME="/opt/freeware/lib/liblber.a"
 
 # Check whether --with-lber-lib was given.
 if test ${with_lber_lib+y}
@@ -24412,7 +24412,7 @@
   printf %s "(cached) " >&6
 else $as_nop
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-l"$LDAPLIBNAME"  $LIBS"
+LIBS="$LDAPLIBNAME $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -24446,7 +24446,7 @@
 #define `printf "%s\n" "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1
 _ACEOF
 
-  LIBS="-l"$LDAPLIBNAME" $LIBS"
+  LIBS="$LDAPLIBNAME $LIBS"
 
 else $as_nop
 
@@ -24606,7 +24606,7 @@
   printf %s "(cached) " >&6
 else $as_nop
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-l"$LBERLIBNAME"  $LIBS"
+LIBS="$LBERLIBNAME  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -24640,7 +24640,7 @@
 #define `printf "%s\n" "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1
 _ACEOF
 
-  LIBS="-l"$LBERLIBNAME" $LIBS"
+  LIBS="$LBERLIBNAME  $LIBS"
 
 else $as_nop
 
@@ -24928,7 +24928,7 @@
 
 
 
-GSSAPI_ROOT="/usr"
+GSSAPI_ROOT="/opt/freeware"
 
 # Check whether --with-gssapi-includes was given.
 if test ${with_gssapi_includes+y}
@@ -25670,14 +25670,14 @@
       fi
       if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
                         gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
-        LIBS="$gss_libs $LIBS"
+	 LIBS="/opt/freeware/lib/libgssapi_krb5.a /opt/freeware/lib/libkrb5.a /opt/freeware/lib/libk5crypto.a /opt/freeware/lib/libcom_err.a $LIBS"
       elif test "$PKGCONFIG" != "no"; then
         gss_libs=`$PKGCONFIG --libs mit-krb5-gssapi`
-        LIBS="$gss_libs $LIBS"
+	 LIBS="/opt/freeware/lib/libgssapi_krb5.a /opt/freeware/lib/libkrb5.a /opt/freeware/lib/libk5crypto.a /opt/freeware/lib/libcom_err.a $LIBS"
         link_pkgconfig=1
       elif test -f "$KRB5CONFIG"; then
                         gss_libs=`$KRB5CONFIG --libs gssapi`
-        LIBS="$gss_libs $LIBS"
+	 LIBS="/opt/freeware/lib/libgssapi_krb5.a /opt/freeware/lib/libkrb5.a /opt/freeware/lib/libk5crypto.a /opt/freeware/lib/libcom_err.a $LIBS"
         link_pkgconfig=1
       else
         case $host in
