diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-01-02 12:47:09 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-01-02 12:47:09 +0000 |
| commit | 72b136d58b93ee5a6f469cbeef54cda3fbb4b070 (patch) | |
| tree | 65c15772601327da5273f234b287962f74a57c09 /configure.in | |
| parent | 67bc851abbd56ffcb8bb5ce9083485acf9560b00 (diff) | |
Fix MingW threading support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 59ee1d8c4..c0acfc50d 100644 --- a/configure.in +++ b/configure.in @@ -581,10 +581,13 @@ case $uname in GLDEMOS="" fi - if test x$have_pthread = xyes; then - AC_DEFINE(HAVE_PTHREAD) + if test "x$enable_threads" = xyes; then + if test x$have_pthread = xyes; then + AC_DEFINE(HAVE_PTHREAD) + fi + THREADS="threads.exe" - fi + fi # Don't make symlinks since Windows is not case sensitive. if test "x$with_links" != xyes; then |
