]> granicus.if.org Git - python/commitdiff
Add --with-dec-threads, for DEL Alpha, which requires -threads as the
authorGuido van Rossum <guido@python.org>
Wed, 22 Jan 1997 20:51:58 +0000 (20:51 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 22 Jan 1997 20:51:58 +0000 (20:51 +0000)
*final* linker argument.  This implies --with-thread.

Reimplemented --with-threads as an alias for --with-thread.

configure.in

index 34113ca2132d287450ba6183a1cb388c5e2c534a..92b189298aed825f41b3adf6eee2ed082697241b 100644 (file)
@@ -305,13 +305,26 @@ then
        fi
 fi
 
-AC_MSG_CHECKING(for --with-thread)
-# Let --with-threads be an alias for --with-thread
+AC_MSG_CHECKING(for --with-dec-threads)
+AC_SUBST(LDLAST)
+AC_ARG_WITH(dec-threads,
+[--with-dec-threads        use DEC Alpha/OSF1 thread-safe libraries],
+[AC_MSG_RESULT($withval)
+LDLAST=-threads
 if test "${with_thread+set}" != set; then
-   if test "${with_threads+set}" = set; then
-      with_thread="$with_threads";
-   fi
-fi
+   with_thread="$withval";
+fi],
+AC_MSG_RESULT(no))
+
+AC_MSG_CHECKING(for --with-threads)
+AC_ARG_WITH(threads, [--with-threads            alias for --with-thread],
+[AC_MSG_RESULT($withval)
+if test "${with_thread+set}" != set; then
+   with_thread="$withval";
+fi],
+AC_MSG_RESULT(no))
+
+AC_MSG_CHECKING(for --with-thread)
 AC_ARG_WITH(thread, [--with-thread[=DIRECTORY] make interpreter thread-safe], [
 AC_MSG_RESULT($withval)
 if test -d "$withval"