X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3010d50a0c6082963b71a8b32ed5c1ab4dc2d283..595e0e4416fd14df67c83e524ec9e97e9d0cae25:/configure.in diff --git a/configure.in b/configure.in index aa76f2176a..c9d4f2d997 100644 --- a/configure.in +++ b/configure.in @@ -3176,12 +3176,13 @@ if test "$TOOLKIT" != "MSW"; then dnl AIX calls the library libpthreads - thanks IBM! THREAD_OPTS="pthreads" ;; - *) - dnl the default is ok but if it doesn't work try without it - dnl just in case - THREAD_OPTS="$THREAD_OPTS none" esac + dnl simply linking with libpthread should make the test below work but + dnl it's far from certain that the threaded programs compiled without + dnl any special switches actually work, so try it after all the others + THREAD_OPTS="$THREAD_OPTS -lpthread none" + dnl now test for all possibilities THREADS_OK=no for flag in $THREAD_OPTS; do