--- ./configure.orig 2026-09-04 04:21:28.733542587 -0500 +++ ./configure 2026-09-04 04:28:05.956870637 -0500 @@ -25986,7 +25986,7 @@ -GSSAPI_ROOT="/usr" +GSSAPI_ROOT="/opt/freeware" # Check whether --with-gssapi-includes was given. if test ${with_gssapi_includes+y} @@ -27111,14 +27111,14 @@ 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 @@ -32352,7 +32352,7 @@ fi -LDAPLIBNAME="" +LDAPLIBNAME="/opt/freeware/lib/libldap.a" # Check whether --with-ldap-lib was given. if test ${with_ldap_lib+y} @@ -32361,7 +32361,7 @@ fi -LBERLIBNAME="" +LBERLIBNAME="/opt/freeware/lib/liblber.a" # Check whether --with-lber-lib was given. if test ${with_lber_lib+y} @@ -32679,7 +32679,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. */ @@ -32723,7 +32723,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. */ @@ -32759,10 +32759,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` @@ -32773,7 +32773,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. */ @@ -32803,7 +32803,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 @@ -32969,7 +32969,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; } @@ -32978,7 +32978,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. */ @@ -33012,7 +33012,7 @@ #define `printf "%s\n" "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1 _ACEOF - LIBS="-l"$LBERLIBNAME" $LIBS" + LIBS="$LBERLIBNAME $LIBS" else $as_nop