*** ./m4/acx_pthread.m4.ORIG Fri Oct 19 10:30:16 2012 --- ./m4/acx_pthread.m4 Fri Oct 19 10:32:11 2012 *************** *** 158,163 **** --- 158,166 ---- acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" ;; + *aix*) + acx_pthread_flags="-qthreaded" + ;; esac if test x"$acx_pthread_ok" = xno; then *** ./ltmain.sh.ORIG Fri Oct 19 10:34:21 2012 --- ./ltmain.sh Fri Oct 19 10:35:40 2012 *************** *** 5655,5661 **** continue ;; ! -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" --- 5655,5661 ---- continue ;; ! -qthreaded|-mt|-mthreads|-kthread|-Kthread|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" *************** *** 6160,6166 **** lib= found=no case $deplib in ! -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" --- 6160,6166 ---- lib= found=no case $deplib in ! -qthreaded|-mt|-mthreads|-kthread|-Kthread|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" *** ./configure.ORIG Fri Oct 19 10:35:44 2012 --- ./configure Fri Oct 19 10:36:32 2012 *************** *** 17603,17609 **** # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. ! acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: --- 17603,17609 ---- # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. ! acx_pthread_flags="-qthreaded" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: *************** *** 17638,17643 **** --- 17638,17646 ---- acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" ;; + *aix*) + acx_pthread_flags="-qthreaded" + ;; esac if test x"$acx_pthread_ok" = xno; then