--- ./configure_orig	2026-01-07 11:56:10.763625391 -0600
+++ ./configure	2026-01-08 04:46:52.272042526 -0600
@@ -25126,7 +25126,7 @@
 
 
 
-GSSAPI_ROOT="/usr"
+GSSAPI_ROOT="/opt/freeware"
 
 # Check whether --with-gssapi-includes was given.
 if test ${with_gssapi_includes+y}
@@ -25798,14 +25798,15 @@
       fi
       if test -n "$host_alias" && test -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
@@ -29870,7 +29871,7 @@
 fi
 
 
-LDAPLIBNAME=""
+LDAPLIBNAME="/opt/freeware/lib/libldap.a"
 
 # Check whether --with-ldap-lib was given.
 if test ${with_ldap_lib+y}
@@ -29879,7 +29880,7 @@
 fi
 
 
-LBERLIBNAME=""
+LBERLIBNAME="/opt/freeware/lib/liblber.a"
 
 # Check whether --with-lber-lib was given.
 if test ${with_lber_lib+y}
@@ -30192,7 +30193,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.  */
 
@@ -30236,7 +30237,7 @@
   printf %s "(cached) " >&6
 else $as_nop
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-l"$LDAPLIBNAME" -l$LBERLIBNAME $LIBS"
+LIBS="$LBERLIBNAME $LDAPLIBNAME $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -30272,10 +30273,10 @@
 fi
 
         if test "$ldap_lib_ok" = "yes"; then
-                    LIBS="-l$LDAPLIBNAME -l$LBERLIBNAME $LIBS"
+					LIBS="$LBERLIBNAME $LDAPLIBNAME $LIBS"
         fi
       else
-                LIBS="-l$LDAPLIBNAME $LIBS"
+				LIBS="$LDAPLIBNAME $LIBS"
       fi
     else
             as_ac_Lib=`printf "%s\n" "ac_cv_lib_"$LDAPLIBNAME"""_ldap_init" | $as_tr_sh`
@@ -30286,7 +30287,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.  */
 
@@ -30316,7 +30317,7 @@
 printf "%s\n" "$ac_res" >&6; }
 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
 then :
-  ldap_lib_ok=yes; LIBS="-l$LDAPLIBNAME $LIBS"
+  ldap_lib_ok=yes; LIBS="$LDAPLIBNAME $LIBS"
 else $as_nop
   ldap_lib_ok=no
 fi
@@ -30483,7 +30484,7 @@
   fi
 
   if test "$LBERLIBNAME"; then
-                if test "$LBERLIBNAME" != "no" && test "$ldap_lib_ok" != "yes"; then
+                if test "$LBERLIBNAME" != "no" && test "$ldap_lib_ok" = "yes"; then
       as_ac_Lib=`printf "%s\n" "ac_cv_lib_"$LBERLIBNAME"""_ber_free" | $as_tr_sh`
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
 printf %s "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
@@ -30492,7 +30493,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.  */
 
@@ -30526,7 +30527,7 @@
 #define `printf "%s\n" "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1
 _ACEOF
 
-  LIBS="-l"$LBERLIBNAME" $LIBS"
+  LIBS="$LBERLIBNAME $LIBS"
 
 else $as_nop
 
