summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-11-20 11:12:15 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-11-20 11:12:15 +0000
commit63fd838ebe894706d8e918631f289164609aa355 (patch)
treeafd4c610f86a12a45acf96e95e9051b1d34bffaf /legacy/elementary/configure.ac
parente10b7bba940400b6aed123f908782f1a53634b7d (diff)
move store to an actual lib file - elementray.h too and check for
pthread support due to locks. (vtorri - windows way of doing this?) SVN revision: 54740
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index d04c6d97d6..b6c6e50227 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -446,7 +446,17 @@ ELM_LIBINTL_H_DEF="#undef"
446AC_CHECK_HEADER(libintl.h, [ELM_LIBINTL_H_DEF="#define"]) 446AC_CHECK_HEADER(libintl.h, [ELM_LIBINTL_H_DEF="#define"])
447AC_SUBST(ELM_LIBINTL_H_DEF) 447AC_SUBST(ELM_LIBINTL_H_DEF)
448 448
449my_libs="-lm" 449AC_CHECK_HEADER(pthread.h, [
450 AC_CHECK_LIB(pthread, pthread_mutex_lock, , [
451 AC_MSG_ERROR(pthread not found)
452 ])
453
454], [
455 AC_MSG_ERROR(pthreads headers or not found)
456 exit 1
457])
458
459my_libs="-lm -lpthread"
450AC_SUBST(my_libs) 460AC_SUBST(my_libs)
451AC_SUBST(requirement_elm) 461AC_SUBST(requirement_elm)
452 462