changeset 937:2d9d50ec94e2

don't use "struct timespec" from <pthreads.h> in package guile
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 03 May 2010 11:55:19 +0200
parents c77bf2dc2445
children 795dbc19e055
files src/guile.mk
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/guile.mk	Sun May 02 17:59:19 2010 +0200
+++ b/src/guile.mk	Mon May 03 11:55:19 2010 +0200
@@ -20,11 +20,15 @@
 endef
 
 define $(PKG)_BUILD
+    # The setting "scm_cv_struct_timespec=no" ensures that Guile
+    # won't try to use the "struct timespec" from <pthreads.h>,
+    # which would fail because we tell Guile not to use Pthreads.
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \
         --disable-shared \
         --without-threads \
+        scm_cv_struct_timespec=no \
         LIBS='-lunistring -lintl -liconv'
     $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA=
     $(MAKE) -C '$(1)' -j 1 install schemelib_DATA=