* ecore: Fix header check position according to Vincent Torri recommandation.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Aug 2009 11:50:07 +0000 (11:50 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 3 Aug 2009 11:50:07 +0000 (11:50 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@41568 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 1a1bb4e..e04a999 100644 (file)
@@ -197,13 +197,6 @@ requirements_ecore_x=""
 requirements_ecore_win32=""
 requirements_ecore_wince=""
 
-# basic pthread support
-AC_CHECK_HEADER(pthread.h,
-  [
-     AC_DEFINE(BUILD_PTHREAD, 1, [Build thread worker])
-  ]
-)
-
 ### Additional options to configure
 
 # abstract sockets (ecore_con.c)
@@ -671,6 +664,13 @@ fi
 
 AC_SUBST(quartz_ldflags)
 
+# basic pthread support
+AC_CHECK_HEADER(pthread.h,
+  [
+     AC_DEFINE(BUILD_PTHREAD, 1, [Build thread worker])
+  ]
+)
+
 ### Checks for types
 AC_CHECK_SIZEOF(int, 4)
 AC_CHECK_SIZEOF(long, 4)