summaryrefslogtreecommitdiff
path: root/include/apu_want.hnw
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.hnw
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.hnw')
-rw-r--r--include/apu_want.hnw52
1 files changed, 52 insertions, 0 deletions
diff --git a/include/apu_want.hnw b/include/apu_want.hnw
new file mode 100644
index 000000000..afdc9f74c
--- /dev/null
+++ b/include/apu_want.hnw
@@ -0,0 +1,52 @@
+/* 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
+/* win32 note.. you will need to change this for db1 */
+#include <db.h>
+#endif
+
+#undef APU_WANT_DB
+#endif
+
+/* --------------------------------------------------------------------- */