(USE_THREADS, GUILE_ISELECT): Define always. We define them with
[bpt/guile.git] / configure.in
index 4b3d145..b1bde03 100644 (file)
@@ -140,6 +140,11 @@ AC_DEFINE(DEBUG_EXTENSIONS, 1,
 AC_DEFINE(READER_EXTENSIONS, 1,
   [Define if you want support for debugging Scheme programs.])
 
+dnl These two used to be optional, too, but now they are always
+dnl defined.
+AC_DEFINE(USE_THREADS, 1, [Deprecated, always defined.])
+AC_DEFINE(GUILE_ISELECT, 1, [Deprecated, always defined.])
+
 AC_ARG_ENABLE(elisp,
   [  --disable-elisp         omit Emacs Lisp support],,
   enable_elisp=yes)
@@ -669,16 +674,6 @@ case "${with_threads}" in
    ;;
 esac
 
-## We always provide the thread API now and thus, USE_THREADS is
-## always defined and threads.o is always included.
-
-AC_DEFINE(USE_THREADS, 1, [Define if providing the thread API.])
-AC_LIBOBJ([threads])
-
-## Also, we always provide scm_internal_select.
-
-AC_DEFINE(GUILE_ISELECT, 1, [Define to implement scm_internal_select.])
-
 case "${THREAD_PACKAGE}" in
   "QT" )
     AC_DEFINE(USE_COOP_THREADS, 1,