diff --git a/config.h.in b/config.h.in
index 947c64836fa2b86b4ebe5a5a918b84254ac30c0a..2d40afd9686ef1be998b0a6e4e514e1cb44cd5d7 100644
--- a/config.h.in
+++ b/config.h.in
@@ -503,12 +503,6 @@
 /* Version number of package */
 #undef VERSION
 
-/* Have definition of lsd_fatal_error() */
-#undef WITH_LSD_FATAL_ERROR_FUNC
-
-/* Have definition of lsd_nomem_error() */
-#undef WITH_LSD_NOMEM_ERROR_FUNC
-
 /* Define if you have pthreads. */
 #undef WITH_PTHREADS
 
diff --git a/configure b/configure
index 7b61f1892399a15044e95ab611f7a5c2be1f7fab..b08487c768daf7ab233569db2290d18503e4b803 100755
--- a/configure
+++ b/configure
@@ -22581,13 +22581,6 @@ fi
 LIBS="$savedLIBS"
 
 
-$as_echo "#define WITH_LSD_FATAL_ERROR_FUNC 1" >>confdefs.h
-
-
-$as_echo "#define WITH_LSD_NOMEM_ERROR_FUNC 1" >>confdefs.h
-
-
-
 
   _x_ac_blcr_dirs="/usr /usr/local /opt/freeware /opt/blcr"
   _x_ac_blcr_libs="lib64 lib"
diff --git a/configure.ac b/configure.ac
index 5c773c3b3818f1e276d6241e33984fb81d283380..93ca78948b5eb64d43db7cbfe1ebc54d361c5f98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -382,10 +382,6 @@ AC_CHECK_LIB(util, openpty, [UTIL_LIBS="-lutil"], [])
 AC_SUBST(UTIL_LIBS)
 LIBS="$savedLIBS"
 
-dnl Add LSD-Tools defines:
-AC_DEFINE(WITH_LSD_FATAL_ERROR_FUNC, 1, [Have definition of lsd_fatal_error()])
-AC_DEFINE(WITH_LSD_NOMEM_ERROR_FUNC, 1, [Have definition of lsd_nomem_error()])
-
 dnl
 dnl Check for compilation of SLURM with BLCR support:
 dnl