CVR-Lib last update 20 Sep 2009

cvrConfig.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 1998-2004
00003  * Lehrstuhl fuer Technische Informatik, RWTH-Aachen, Germany
00004  *
00005  *
00006  * This file is part of the Computer Vision and Robotics Library (CVR-Lib)
00007  *
00008  * The CVR-Lib is free software; you can redistribute it and/or
00009  * modify it under the terms of the BSD License.
00010  *
00011  * All rights reserved.
00012  *
00013  * Redistribution and use in source and binary forms, with or without
00014  * modification, are permitted provided that the following conditions are met:
00015  *
00016  * 1. Redistributions of source code must retain the above copyright notice,
00017  *    this list of conditions and the following disclaimer.
00018  *
00019  * 2. Redistributions in binary form must reproduce the above copyright notice,
00020  *    this list of conditions and the following disclaimer in the documentation
00021  *    and/or other materials provided with the distribution.
00022  *
00023  * 3. Neither the name of the authors nor the names of its contributors may be
00024  *    used to endorse or promote products derived from this software without
00025  *    specific prior written permission.
00026  *
00027  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00028  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00029  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00030  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00031  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00032  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00033  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00034  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00035  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00036  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00037  * POSSIBILITY OF SUCH DAMAGE.
00038  */
00039 
00040 
00041 /**
00042  * \file   cvrConfig.h
00043  *         Wrapper file which includes the configuration files required for
00044  *         each specific OS or compiler.
00045  * \author Pablo Alvarado
00046  * \date   30.03.2000
00047  *
00048  * $Id: cvrConfig.h,v 1.4 2005/01/03 16:09:41 alvarado Exp $
00049  */
00050 
00051 #ifndef _CVR_CONFIG_H_
00052 #define _CVR_CONFIG_H_
00053 
00054 #include "cvrMacroSymbols.h"
00055 
00056 // undefine symbols that may come from other libraries
00057 #undef PACKAGE_BUGREPORT
00058 #undef PACKAGE_NAME
00059 #undef PACKAGE_STRING
00060 #undef PACKAGE_TARNAME
00061 #undef PACKAGE_VERSION
00062 
00063 #ifdef _CVR_MSC_VER
00064 #  include "cvrWinConfig.h"
00065 #else
00066 #  include "config.h"
00067 #endif
00068 
00069 // rename symbols to be CVR-Libspecific
00070 #define CVR_PACKAGE_BUGREPORT PACKAGE_BUGREPORT
00071 #define CVR_PACKAGE_NAME PACKAGE_NAME
00072 #define CVR_PACKAGE_STRING PACKAGE_STRING
00073 #define CVR_PACKAGE_TARNAME PACKAGE_TARNAME
00074 #define CVR_PACKAGE_VERSION PACKAGE_VERSION
00075 
00076 // undefine symbols that may conflict with other libraries
00077 #undef PACKAGE_BUGREPORT
00078 #undef PACKAGE_NAME
00079 #undef PACKAGE_STRING
00080 #undef PACKAGE_TARNAME
00081 #undef PACKAGE_VERSION
00082 
00083 // Symbols defined to cope with some underscored symbols
00084 
00085 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
00086 # define HAVE_ISNAN 1
00087 # define isnan _isnan
00088 #endif
00089 
00090 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
00091 # define HAVE_ISINF 1
00092 # define isinf _isinf
00093 #endif
00094 
00095 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
00096 # define HAVE_FINITE 1
00097 # define finite _finite
00098 #endif
00099 
00100 // End of underscored symbols
00101 
00102 #endif
00103 

Generated on Sun Sep 20 22:07:59 2009 for CVR-Lib by Doxygen 1.5.8