aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-02-26 20:04:04 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-03-02 08:59:14 -0800
commit7db4ce39e4d2c541c8aea8f172dee974469a98a6 (patch)
tree9ebdd662083af32a81fb5512be2944bf735e953f
parentc688a4d80b8283dc35e032d24086205c01a0b2c9 (diff)
downloadpaludis-7db4ce39e4d2c541c8aea8f172dee974469a98a6.tar.gz
paludis-7db4ce39e4d2c541c8aea8f172dee974469a98a6.tar.xz
disambiguate declaration
paludis is a namespace as well as a type. This raises a warning when compiled with clang due to the ambiguity. Disambiguate via namespace qualification of the type.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 36a23fa..7b79345 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1548,7 +1548,7 @@ AC_DEFUN([ENVIRONMENT_GROUP_IF], [
enable_$1_environment=
if echo $environments | tr ' ' '\n' | grep '^$1$' >/dev/null ; then
enable_$1_environment=yes
- AC_DEFINE_UNQUOTED([ENVIRONMENT_GROUP_IF_$1], [$1], [The $1 environment])
+ AC_DEFINE_UNQUOTED([ENVIRONMENT_GROUP_IF_$1], [environment_groups::$1], [The $1 environment])
AC_DEFINE_UNQUOTED(ENABLE_[]m4_translit($1, [a-z], [A-Z])_ENVIRONMENT, [1], [Enable $1 environment])
else
AC_DEFINE_UNQUOTED([ENVIRONMENT_GROUP_IF_$1], [], [Do not have the $1 environment])