summaryrefslogtreecommitdiff
path: root/include/apu_want.h.in
diff options
context:
space:
mode:
authorPaul Querna <pquerna@apache.org>2009-03-24 10:32:34 +0000
committerPaul Querna <pquerna@apache.org>2009-03-24 10:32:34 +0000
commitdfd4f72bed0d7ac95c8ee1a27a6aa652bd766e52 (patch)
tree69804a4de7433f4755bd62c647dee518c48c673a /include/apu_want.h.in
parent97a7d58c22e482e25154e5e46c7dd91d6222a947 (diff)
downloadapr-dfd4f72bed0d7ac95c8ee1a27a6aa652bd766e52.tar.gz
Merge APR-Util trunk into APR.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@757704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apu_want.h.in')
-rw-r--r--include/apu_want.h.in51
1 files changed, 51 insertions, 0 deletions
diff --git a/include/apu_want.h.in b/include/apu_want.h.in
new file mode 100644
index 000000000..a296e5c5c
--- /dev/null
+++ b/include/apu_want.h.in
@@ -0,0 +1,51 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "apu.h" /* configuration data */
+
+/**
+ * @file apu_want.h
+ * @brief APR Standard Headers Support
+ *
+ * <PRE>
+ * Features:
+ *
+ * APU_WANT_DB: <@apu_db_header@>
+ *
+ * Typical usage:
+ *
+ * #define APU_WANT_DB
+ * #include "apu_want.h"
+ *
+ * The appropriate headers will be included.
+ *
+ * Note: it is safe to use this in a header (it won't interfere with other
+ * headers' or source files' use of apu_want.h)
+ * </PRE>
+ */
+
+/* --------------------------------------------------------------------- */
+
+#ifdef APU_WANT_DB
+
+#if APU_HAVE_DB
+#include <@apu_db_header@>
+#endif
+
+#undef APU_WANT_DB
+#endif
+
+/* --------------------------------------------------------------------- */