apu_want.h revision 251886
168349Sobrien/* $FreeBSD: head/usr.bin/svn/lib/libapr_util/apu_want.h 251886 2013-06-18 02:53:45Z peter $ */
268349Sobrien
3226048Sobrien/* Licensed to the Apache Software Foundation (ASF) under one or more
468349Sobrien * contributor license agreements.  See the NOTICE file distributed with
568349Sobrien * this work for additional information regarding copyright ownership.
668349Sobrien * The ASF licenses this file to You under the Apache License, Version 2.0
768349Sobrien * (the "License"); you may not use this file except in compliance with
868349Sobrien * the License.  You may obtain a copy of the License at
968349Sobrien *
1068349Sobrien *     http://www.apache.org/licenses/LICENSE-2.0
1168349Sobrien *
1268349Sobrien * Unless required by applicable law or agreed to in writing, software
1368349Sobrien * distributed under the License is distributed on an "AS IS" BASIS,
1468349Sobrien * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1568349Sobrien * See the License for the specific language governing permissions and
1668349Sobrien * limitations under the License.
1768349Sobrien */
1868349Sobrien
1968349Sobrien#include "apu.h"        /* configuration data */
2068349Sobrien
2168349Sobrien/**
2268349Sobrien * @file apu_want.h
2368349Sobrien * @brief APR Standard Headers Support
2468349Sobrien *
2568349Sobrien * <PRE>
2668349Sobrien * Features:
2768349Sobrien *
2868349Sobrien *   APU_WANT_DB:       <db.h>
2968349Sobrien *
3068349Sobrien * Typical usage:
3168349Sobrien *
3268349Sobrien *   #define APU_WANT_DB
3368349Sobrien *   #include "apu_want.h"
3468349Sobrien *
3568349Sobrien * The appropriate headers will be included.
3668349Sobrien *
3768349Sobrien * Note: it is safe to use this in a header (it won't interfere with other
3868349Sobrien *       headers' or source files' use of apu_want.h)
3968349Sobrien * </PRE>
4068349Sobrien */
4168349Sobrien
4268349Sobrien/* --------------------------------------------------------------------- */
4368349Sobrien
4468349Sobrien#ifdef APU_WANT_DB
4568349Sobrien
4668349Sobrien#if APU_HAVE_DB
4768349Sobrien#include <db.h>
4868349Sobrien#endif
4968349Sobrien
5068349Sobrien#undef APU_WANT_DB
5168349Sobrien#endif
5268349Sobrien
5368349Sobrien/* --------------------------------------------------------------------- */
5468349Sobrien