Commit Graph

61 Commits

Author SHA1 Message Date
Vincent Torri 4889dc71d2 Eina: remove threads options from configure
remove --disable-posix-threads and --disable-win32-threads
from configure options, and detect automatically the threading
support.



SVN revision: 71517
2012-05-29 21:57:48 +00:00
Vincent Torri a40ca4ab97 Eina: Fix cases where dlopen is wrongly checked because of autoconf cache values
SVN revision: 69909
2012-04-03 16:28:40 +00:00
Vincent Torri b65e51b550 update date
SVN revision: 69890
2012-04-03 08:03:47 +00:00
Vincent Torri 44e546c333 better m4 macro
SVN revision: 69613
2012-03-25 16:39:51 +00:00
Vincent Torri f00cf44117 Eina: fix shm_open() check (can be in libc or librt) + various autotools cleaning
This works in linux and windows, and should fix shm_detection on BSD (including Mac)

BSD, Mac and solaris users : please check that it compiles and shm_open is detected


SVN revision: 69608
2012-03-25 11:12:32 +00:00
Vincent Torri b2e1adaaa6 Eina: put m4 files in their own subdir
Warning: you must relaunch autogen.sh for these changes to
be taken into account


SVN revision: 67420
2012-01-21 08:02:54 +00:00
Vincent Torri ac14342f6e Eina: big mistake in efl_attribute.m4. My bad
SVN revision: 63934
2011-10-09 19:27:08 +00:00
Vincent Torri 86ce0f6be9 use another m4 macro for __atribute__
SVN revision: 63651
2011-09-29 06:07:40 +00:00
Rafael Antognolli 0213972e5b eina: add autotools rules to building and installing examples.
SVN revision: 60150
2011-06-09 18:53:38 +00:00
Cedric BAIL 691da73b84 eina: add back threads on/off support.
NOTE: only use it if you know what you are doing !


SVN revision: 59123
2011-05-02 13:40:28 +00:00
Cedric BAIL e6b5488d1d * eina: also update ldflags instead of cflags.
SVN revision: 55555
2010-12-14 16:20:48 +00:00
Cedric BAIL c7f47e4660 * eina: define PATH_MAX when needed.
SVN revision: 55232
2010-12-03 23:04:26 +00:00
Cedric BAIL 9fa5bbcc82 * eina: fix pthread library and flags typos.
Patch by Fabien Romano <fabien@openbsd.org>.


SVN revision: 54753
2010-11-20 22:14:57 +00:00
Cedric BAIL f9b8578ea6 * eina: add assert to ease tracking down efl misuse with threads.
SVN revision: 53360
2010-10-13 15:35:56 +00:00
Cedric BAIL e3a887235d * eina: remove configure option for rwlock as it is not used anymore.
SVN revision: 51220
2010-08-16 15:36:17 +00:00
Mike Blumenkrantz 76a70bdd48 split out spinlock detection to separate macro for readability, add rwlock detection macro
***no functional changes***


SVN revision: 50910
2010-08-08 19:20:07 +00:00
Mike Blumenkrantz d87ed6ac22 when all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE UNIVERSE!
SVN revision: 50550
2010-07-27 20:17:25 +00:00
Vincent Torri c97a897584 use Win32 native mutex on Windows. To use it, pass the following option
to configure:

--enable-win32-threads

By default, pthreads are used


SVN revision: 50220
2010-07-13 13:51:00 +00:00
Vincent Torri 440fb47e30 fix pthread support with mingw
SVN revision: 49250
2010-05-28 18:57:19 +00:00
Vincent Torri 9abb2c1357 * link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available


SVN revision: 48537
2010-05-02 05:19:00 +00:00
Vincent Torri 240395f366 Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.



SVN revision: 48524
2010-05-01 20:37:56 +00:00
Carsten Haitzler 36bd7d71e0 amd64 - apparently fbsd is still living back in that past where 64bit was amd
only... :)



SVN revision: 48272
2010-04-24 14:05:05 +00:00
Vincent Torri 91d2b4b2e9 typo
SVN revision: 46945
2010-03-07 12:13:30 +00:00
Vincent Torri 9d1529b09d when pthread is found, don't abort if spin lock is not found but not reqested
Patch by Albin Tonnerre


SVN revision: 46940
2010-03-07 12:04:46 +00:00
Vincent Torri 43908b1905 abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46654
2010-02-28 17:27:23 +00:00
Vincent Torri 3c8d96125a use C (and not C++) pthread library on Windows
SVN revision: 46431
2010-02-24 15:43:32 +00:00
Vincent Torri b87e1d6fae * -fno-strict-aliasing is checked at linked time (to make sure
that it is disabled for suncc)
 * add old evas data types in tests. Tell me if you encounter problems
   with them


SVN revision: 46136
2010-02-13 12:32:22 +00:00
Vincent Torri 4b5ea14fbb formatting
SVN revision: 46109
2010-02-12 07:32:11 +00:00
Sebastian Dransfeld e699b67248 Only test built mempools
SVN revision: 46096
2010-02-11 21:21:22 +00:00
Vincent Torri 64f1c415e2 update efl_fnmatch m4 macro
SVN revision: 45851
2010-02-03 20:46:32 +00:00
Vincent Torri 88d43e8435 use efl_fnmatch macro
SVN revision: 45847
2010-02-03 20:13:56 +00:00
Vincent Torri bc31ff5423 fix mingw flags
SVN revision: 45668
2010-01-28 17:13:07 +00:00
Vincent Torri 4405fdfed1 * make chained mempool static by default
* disable other by default

if you experience an problem, please report in that thread



SVN revision: 45593
2010-01-26 15:30:40 +00:00
Vincent Torri 987757058f add mempool namespace in configure help
SVN revision: 45582
2010-01-26 11:22:48 +00:00
Vincent Torri c3c03b9c5b * more portable shell tests
* better m4 code


SVN revision: 45540
2010-01-24 23:04:24 +00:00
Vincent Torri 5dbf60bd8f use m4 macro ti check compiler flag
patch by Lutin (who also wrote the m4 macro, i forgot that
in the previous commit)


SVN revision: 45518
2010-01-24 11:13:23 +00:00
Vincent Torri ebed5f4dab * better m4 coding
* improve pthread detection and add spinlock detection


SVN revision: 44717
2009-12-25 11:29:08 +00:00
Vincent Torri 797833357f stupid AC_CHECK_PROG
SVN revision: 43800
2009-11-19 09:02:25 +00:00
Vincent Torri d3135f8f27 minor fix
SVN revision: 43797
2009-11-19 08:29:22 +00:00
Vincent Torri c3c217c20f add pthread support on Windows
SVN revision: 43435
2009-11-03 16:53:21 +00:00
Vincent Torri 5213fca489 rewrite a bit that m4 macro
SVN revision: 41881
2009-08-20 08:31:26 +00:00
Vincent Torri 07d7e5ce66 * remove the mention of the static link check in configure ouput
* add a (ecologic) warning at the end of configure if a module is
   statically linked to eina


SVN revision: 41226
2009-06-30 16:18:41 +00:00
Vincent Torri 390f94bcfd update m4 macros (mainly formatting)
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Vincent Torri b38a118162 * use a m4 macro for checking benchmark libraries and
check the libraries only if benchmarking is enabled
 * add extra dist files to be able to configure eina
   with autogen.sh and also add .spec files


SVN revision: 41203
2009-06-26 07:20:15 +00:00
Vincent Torri 3ecc808ae2 remove documentation on how to build eina with static mempools
SVN revision: 41161
2009-06-22 17:38:56 +00:00
Vincent Torri 8909bb6b69 * All memory pools can be enabled / disabled
* Allow to pass 'static' to configure memory pools
 * Add fixed_bitmap in the possible statically linked memory pools

For example:

./configure --enable-chained-pool=static --disable-fixed-bitmap


SVN revision: 41119
2009-06-20 06:42:32 +00:00
Vincent Torri 983479952f update efl_doxygen.m4
SVN revision: 40650
2009-05-15 08:11:51 +00:00
Cedric BAIL 55cfc46ee2 * eina/m4/efl_pthread.m4,
* eina/src/modules/mp/chained_pool/Makefile.am,
	* eina/src/modules/mp/chained_pool/eina_chained_mempool.c: Now chained mempool are thread safe.



SVN revision: 39058
2009-02-17 14:18:14 +00:00
Vincent Torri 4fc823bdc9 * fix logic in efl_doxygen.m4
* allow aclocal to check for modifications of the m4 macros in m4/


SVN revision: 38892
2009-02-01 20:21:56 +00:00
Vincent Torri ca0cbdbec7 update ac_attribute.m4
SVN revision: 38579
2009-01-14 08:36:16 +00:00