configure.in
changeset 3696 47d923feedb0
parent 3681 be6fe5f0b1db
child 4426 1bceff8f008f
     1.1 --- a/configure.in	Sun Jan 24 20:21:51 2010 +0000
     1.2 +++ b/configure.in	Sun Jan 24 20:47:20 2010 +0000
     1.3 @@ -1694,33 +1694,6 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 -dnl See if we can use GNU pth library for threads
     1.8 -CheckPTH()
     1.9 -{
    1.10 -    dnl Check for pth support
    1.11 -    AC_ARG_ENABLE(pth,
    1.12 -AC_HELP_STRING([--enable-pth], [use GNU pth library for multi-threading [[default=yes]]]),
    1.13 -                  , enable_pth=yes)
    1.14 -    if test x$enable_threads = xyes -a x$enable_pth = xyes; then
    1.15 -        AC_PATH_PROG(PTH_CONFIG, pth-config, no)
    1.16 -        if test "$PTH_CONFIG" = "no"; then
    1.17 -            use_pth=no
    1.18 -        else
    1.19 -            use_pth=yes
    1.20 -        fi
    1.21 -        AC_MSG_CHECKING(pth)
    1.22 -        AC_MSG_RESULT($use_pth)
    1.23 -        if test "x$use_pth" = xyes; then
    1.24 -            AC_DEFINE(SDL_THREAD_PTH)
    1.25 -            SOURCES="$SOURCES $srcdir/src/thread/pth/*.c"
    1.26 -            SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syssem.c"
    1.27 -            SDL_CFLAGS="$SDL_CFLAGS `$PTH_CONFIG --cflags`"
    1.28 -            SDL_LIBS="$SDL_LIBS `$PTH_CONFIG --libs --all`"
    1.29 -            have_threads=yes
    1.30 -        fi
    1.31 -    fi
    1.32 -}
    1.33 -
    1.34  dnl See what type of thread model to use on Linux and Solaris
    1.35  CheckPTHREAD()
    1.36  {
    1.37 @@ -1892,8 +1865,6 @@
    1.38              SOURCES="$SOURCES $srcdir/src/thread/pthread/SDL_syscond.c"
    1.39  
    1.40              have_threads=yes
    1.41 -        else
    1.42 -            CheckPTH
    1.43          fi
    1.44      fi
    1.45  }