projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Partial encapsulation of memcached_st->hosts
[m6w6/libmemcached]
/
m4
/
pandora_drizzle_build.m4
diff --git
a/m4/pandora_drizzle_build.m4
b/m4/pandora_drizzle_build.m4
index 35f27161ff0709a1de68b1d9ea9ae35e81d50664..fa132ccaab7aec11e163299cad75f6392eb71a10 100644
(file)
--- a/
m4/pandora_drizzle_build.m4
+++ b/
m4/pandora_drizzle_build.m4
@@
-75,11
+75,23
@@
AC_DEFUN([PANDORA_DRIZZLE_BUILD],[
#ifndef __CONFIG_H__
#define __CONFIG_H__
#ifndef __CONFIG_H__
#define __CONFIG_H__
+#include "config/top.h"
+])
+ mkdir -p config
+ cat > config/top.h.stamp <<EOF_CONFIG_TOP
+
#if defined(i386) && !defined(__i386__)
#define __i386__
#endif
#if defined(i386) && !defined(__i386__)
#define __i386__
#endif
- ])
+#if defined(_FILE_OFFSET_BITS)
+# undef _FILE_OFFSET_BITS
+#endif
+EOF_CONFIG_TOP
+ diff config/top.h.stamp config/top.h >/dev/null 2>&1 || mv config/top.h.stamp config/top.h
+ rm -f config/top.h.stamp
+
+
AH_BOTTOM([
#if defined(__cplusplus)
# include CSTDINT_H
AH_BOTTOM([
#if defined(__cplusplus)
# include CSTDINT_H