projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
d4c5a22
)
pandora-build v0.76 - synced with drizzle
author
Monty Taylor
<mordred@inaugust.com>
Wed, 2 Dec 2009 04:52:25 +0000
(20:52 -0800)
committer
Monty Taylor
<mordred@inaugust.com>
Wed, 2 Dec 2009 04:52:25 +0000
(20:52 -0800)
m4/pandora_canonical.m4
patch
|
blob
|
history
diff --git
a/m4/pandora_canonical.m4
b/m4/pandora_canonical.m4
index 1a0f15ffd7a939ce118bfff88a62b2f9ed7b0f5f..f4d1634a82ad33be3d36224994e3395ae23d59a2 100644
(file)
--- a/
m4/pandora_canonical.m4
+++ b/
m4/pandora_canonical.m4
@@
-4,7
+4,7
@@
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl Which version of the canonical setup we're using
dnl with or without modifications, as long as this notice is preserved.
dnl Which version of the canonical setup we're using
-AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.7
5
])
+AC_DEFUN([PANDORA_CANONICAL_VERSION],[0.7
6
])
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
dnl Force dependency tracking on for Sun Studio builds
AC_DEFUN([PANDORA_FORCE_DEPEND_TRACKING],[
dnl Force dependency tracking on for Sun Studio builds
@@
-24,6
+24,7
@@
AC_DEFUN([PANDORA_CANONICAL_TARGET],[
m4_define([PCT_IGNORE_SHARED_PTR],[no])
m4_define([PCT_FORCE_GCC42],[no])
m4_define([PCT_SRC_IN_SRC],[no])
m4_define([PCT_IGNORE_SHARED_PTR],[no])
m4_define([PCT_FORCE_GCC42],[no])
m4_define([PCT_SRC_IN_SRC],[no])
+ m4_define([PCT_USE_VISIBILITY],[yes])
m4_foreach([pct_arg],[$*],[
m4_case(pct_arg,
[use-gnulib], [
m4_foreach([pct_arg],[$*],[
m4_case(pct_arg,
[use-gnulib], [
@@
-42,6
+43,10
@@
AC_DEFUN([PANDORA_CANONICAL_TARGET],[
m4_undefine([PCT_FORCE_GCC42])
m4_define([PCT_FORCE_GCC42],[yes])
],
m4_undefine([PCT_FORCE_GCC42])
m4_define([PCT_FORCE_GCC42],[yes])
],
+ [skip-visibility], [
+ m4_undefine([PCT_USE_VISIBILITY])
+ m4_define([PCT_USE_VISIBILITY],[no])
+ ],
[src-in-src], [
m4_undefine([PCT_SRC_IN_SRC])
m4_define([PCT_SRC_IN_SRC],[yes])
[src-in-src], [
m4_undefine([PCT_SRC_IN_SRC])
m4_define([PCT_SRC_IN_SRC],[yes])
@@
-185,11
+190,13
@@
AC_DEFUN([PANDORA_CANONICAL_TARGET],[
PANDORA_HAVE_GCC_ATOMICS
PANDORA_HAVE_GCC_ATOMICS
- dnl We need to inject error into the cflags to test if visibility works or not
- save_CFLAGS="${CFLAGS}"
- CFLAGS="${CFLAGS} -Werror"
- gl_VISIBILITY
- CFLAGS="${save_CFLAGS}"
+ m4_if(PCT_USE_VISIBILITY,[yes],[
+ dnl We need to inject error into the cflags to test if visibility works or not
+ save_CFLAGS="${CFLAGS}"
+ CFLAGS="${CFLAGS} -Werror"
+ gl_VISIBILITY
+ CFLAGS="${save_CFLAGS}"
+ ])
PANDORA_HEADER_ASSERT
PANDORA_HEADER_ASSERT