librep r2941 - in trunk: . src
- From: chrisb svn gnome org
- To: svn-commits-list gnome org
- Subject: librep r2941 - in trunk: . src
- Date: Fri, 29 Aug 2008 14:13:59 +0000 (UTC)
Author: chrisb
Date: Fri Aug 29 14:13:59 2008
New Revision: 2941
URL: http://svn.gnome.org/viewvc/librep?rev=2941&view=rev
Log:
replace the inclusion of config.h with a ifdef doing what we want
fixup configure.in
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/src/rep_subrs.h
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Fri Aug 29 14:13:59 2008
@@ -628,10 +628,6 @@
dnl Build all files. Makes sure rules.mk is rebuild each time
AC_OUTPUT(${output_files}, [rm -f rules.mk])
-gmpversion=`ls /usr/lib/libgmp.so.?.?* | sed -e 's/.*so.//g'`
-gdbmversion=`ls /usr/lib/libgdbm.so.?.?* | sed -e 's/.*so.//g'`
-readlineversion=`ls /lib/libreadline.so.?.?* | sed -e 's/.*so.//g'`
-ffiversion=`ls /usr/lib/libffi.so.?.?* | sed -e 's/.*so.//g'`
ccversion=`$CC --version | grep gcc | gawk '{ print $4 }'`
echo "
@@ -647,18 +643,18 @@
echo " cc-version: $ccversion"
fi
-if [[ $with_gmp == yes ]]; then
- echo " libgmp: $gmpversion"
+if [[ $with_gmp != no ]]; then
+ echo " libgmp: yes"
fi
-echo " libgdbm: $gdbmversion"
+echo " libgdbm: yes"
-if [[ $with_readline == yes ]]; then
- echo " readline: $readlineversion"
+if [[ $with_readline != no ]]; then
+ echo " readline: yes"
fi
-if [[ $with_ffi == yes ]]; then
- echo " libffi: $ffiversion"
+if [[ $with_ffi != no ]]; then
+ echo " libffi: yes"
fi
echo "
Modified: trunk/src/rep_subrs.h
==============================================================================
--- trunk/src/rep_subrs.h (original)
+++ trunk/src/rep_subrs.h Fri Aug 29 14:13:59 2008
@@ -23,6 +23,10 @@
#include <stdarg.h>
+#ifndef inline
+#define inline
+#endif
+
/* from continuations.c */
extern int rep_thread_lock;
extern rep_bool rep_pending_thread_yield;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]