--- configure.ac.orig	2022-11-29 05:04:29.000000000 -0600
+++ configure.ac	2022-12-03 02:58:13.000000000 -0600
@@ -35,27 +35,7 @@
 fi
 
 AC_CHECK_HEADERS([sys/select.h alloca.h])
-AC_CHECK_HEADER([slang.h], [], [
-  old_CPPFLAGS=${CPPFLAGS}
-  CPPFLAGS="${CPPFLAGS} -I/opt/local/include"
-  unset ac_cv_header_slang_h
-  AC_CHECK_HEADER([slang.h])
-  if test x$ac_cv_header_slang_h = x; then
-   CPPFLAGS="${old_CPPFLAGS}"
-  else
-   LDFLAGS="${LDFLAGS} -L/opt/local/lib"
-  fi
-])
-if test x$ac_cv_header_slang_h = x; then
-  old_CPPFLAGS=${CPPFLAGS}
-  CPPFLAGS="${CPPFLAGS} -I/sw/include"
-  AC_CHECK_HEADER([slang.h])
-  if test x$ac_cv_header_slang_h = x; then
-    CPPFLAGS=${old_CPPFLAGS}
-  else
-    LDFLAGS="${LDFLAGS} -L/sw/lib"
-  fi
-fi
+AC_CHECK_HEADER([slang.h])
 AC_CHECK_HEADERS([popt.h libintl.h])
 
 AC_MSG_CHECKING([for python versions])
@@ -84,16 +64,6 @@
   # check in a few common install locations
   if test x"${ac_cv_c_tclconfig}" = x ; then
     for i in $(ls -d ${libdir} 2>/dev/null) \
-      $(ls -d /usr/lib 2>/dev/null) \
-      $(ls -d /usr/lib64 2>/dev/null) \
-      $(ls -d /usr/local/lib 2>/dev/null) \
-      $(ls -d /usr/contrib/lib 2>/dev/null) \
-      $(ls -d /usr/pkg/lib 2>/dev/null) \
-      $(ls -d /usr/local/lib/tcl8.5 2>/dev/null) \
-      $(ls -d /usr/local/lib/tcl8.4 2>/dev/null) \
-      $(ls -d /usr/lib/tcl8.5 2>/dev/null) \
-      $(ls -d /usr/lib/tcl8.4 2>/dev/null) \
-      $(ls -d /opt/local/lib 2>/dev/null) \
       ; do
       if test -f "$i/tclConfig.sh" ; then
         ac_cv_c_tclconfig=$( (cd $i; pwd) )
