libmemcached_config.h should not be installed
authorTrond Norbye <trond.norbye@sun.com>
Wed, 1 Oct 2008 08:58:13 +0000 (10:58 +0200)
committerTrond Norbye <trond.norbye@sun.com>
Wed, 1 Oct 2008 08:58:13 +0000 (10:58 +0200)
libmemcached/Makefile.am
libmemcached/memcached.h

index 595a3c89486ad0f185ddc086f3a65196a3858c44..fc272120f2bdb986d478997297216e81451fa143 100644 (file)
@@ -27,7 +27,6 @@ noinst_HEADERS = libmemcached_probes.h \
 
 pkginclude_HEADERS= memcached.h \
                    memcached.hh \
-                   libmemcached_config.h \
                    memcached_constants.h \
                    memcached_get.h \
                    memcached_result.h \
index a7565e1c7903859532048c9facb4379c841fac50..3b549ebceb1974c9ff69ab000bb28c35efb2d4f1 100644 (file)
@@ -15,7 +15,9 @@
 #include <sys/types.h>
 #include <netinet/in.h>
 
+#ifdef MEMCACHED_INTERNAL
 #include <libmemcached/libmemcached_config.h>
+#endif
 #include <libmemcached/memcached_constants.h>
 #include <libmemcached/memcached_types.h>
 #include <libmemcached/memcached_watchpoint.h>