babl r193 - in trunk: . babl
- From: schumaml svn gnome org
- To: svn-commits-list gnome org
- Subject: babl r193 - in trunk: . babl
- Date: Sat, 6 Jan 2007 14:21:15 +0000 (GMT)
Author: schumaml
Date: 2007-01-06 14:21:14 +0000 (Sat, 06 Jan 2007)
New Revision: 193
ViewCVS link: http://svn.gnome.org/viewcvs/babl?rev=193&view=rev
Added:
trunk/babl/gettimeofday.c
Modified:
trunk/ChangeLog
trunk/babl/Makefile.am
trunk/babl/babl-conversion.c
trunk/babl/babl-extension.c
trunk/babl/babl-internal.h
trunk/babl/babl-model.c
trunk/configure.ac
Log:
2007-01-06 Michael Schumacher <schumaml cvs gnome org>
This change makes babl buildable on Windows.
* configure.ac: Add a check for function dlopen and disabled
static libs by default. Check for gettimeofday by using
AC_REPLACE_FUNCS.
* babl/babl-internal.h: Add definitions for srandom and radnom to
srand and rand for the windows platform.
* babl/babl-conversion.c
* babl-model.c: Include babl-internal.h after math.h
* babl/babl-extension.c: Use #ifdef HAVE_DLOPEN to hide dl* if it
is not available.
* babl/Makefile.am: Removed win32_libs and added @LTLIBOBJS@ to
LIBADD to get the replacement for gettimeofday linked in if
needed.
* babl/gettimeofday.c: New file to provide a replacement for
gettimeofday, only used on Windows yet.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]