mingw*)
;;
solaris*)
- _efl_thread_cflags="-mt"
- _efl_thread_libs="-mt"
+ _efl_threads_cflags="-mt"
+ _efl_threads_libs="-mt"
;;
*)
- _efl_thread_cflags="-pthread"
- _efl_thread_libs="-pthread"
+ _efl_threads_cflags="-pthread"
+ _efl_threads_libs="-pthread"
;;
esac
EFL_PTHREAD_CFLAGS=""
EFL_PTHREAD_LIBS=""
if test "x${_efl_have_posix_threads}" = "xyes" ; then
- EFL_PTHREAD_CFLAGS=${_efl_thread_cflags}
- EFL_PTHREAD_LIBS=${_efl_thread_libs}
+ EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
+ EFL_PTHREAD_LIBS=${_efl_threads_libs}
fi
AC_SUBST(EFL_PTHREAD_CFLAGS)
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = @EIO_CFLAGS@ \
+@EFL_PTHREAD_CFLAGS@ \
@EFL_EIO_BUILD@
lib_LTLIBRARIES = libeio.la
endif
endif
-libeio_la_LIBADD = @EIO_LIBS@
+libeio_la_LIBADD = @EIO_LIBS@ @EFL_PTHREAD_LIBS@
libeio_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
EXTRA_DIST = eio_private.h