latest version v1.9 - last update 10 Apr 2010 |
00001 /* 00002 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 00003 * Lehrstuhl fuer Technische Informatik, RWTH-Aachen, Germany 00004 * 00005 * This file is part of the LTI-Computer Vision Library (LTI-Lib) 00006 * 00007 * The LTI-Lib is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public License (LGPL) 00009 * as published by the Free Software Foundation; either version 2.1 of 00010 * the License, or (at your option) any later version. 00011 * 00012 * The LTI-Lib is distributed in the hope that it will be 00013 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty 00014 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with the LTI-Lib; see the file LICENSE. If 00019 * not, write to the Free Software Foundation, Inc., 59 Temple Place - 00020 * Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 00023 00024 /*---------------------------------------------------------------- 00025 * project ....: LTI Digital Image/Signal Processing Library 00026 * file .......: ltiConfig.h 00027 * authors ....: Pablo Alvarado 00028 * organization: LTI, RWTH Aachen 00029 * creation ...: 30.03.00 00030 * revisions ..: $Id: ltiConfig.h,v 1.7 2006/02/07 18:07:43 ltilib Exp $ 00031 */ 00032 00033 /** \file ltiConfig.h Load configuration file. 00034 */ 00035 00036 #ifndef _LTI_CONFIG_H_ 00037 #define _LTI_CONFIG_H_ 00038 00039 #include "ltiMacroSymbols.h" 00040 00041 // undefine symbols that may come from other libraries 00042 #undef PACKAGE_BUGREPORT 00043 #undef PACKAGE_NAME 00044 #undef PACKAGE_STRING 00045 #undef PACKAGE_TARNAME 00046 #undef PACKAGE_VERSION 00047 00048 #ifdef _LTI_WIN32 00049 # include "ltiWinConfig.h" 00050 #else 00051 # include "config.h" 00052 #endif 00053 00054 // rename symbols to be LTI-Lib specific 00055 #define LTI_PACKAGE_BUGREPORT PACKAGE_BUGREPORT 00056 #define LTI_PACKAGE_NAME PACKAGE_NAME 00057 #define LTI_PACKAGE_STRING PACKAGE_STRING 00058 #define LTI_PACKAGE_TARNAME PACKAGE_TARNAME 00059 #define LTI_PACKAGE_VERSION PACKAGE_VERSION 00060 00061 // undefine symbols that may conflict with other libraries 00062 #undef PACKAGE_BUGREPORT 00063 #undef PACKAGE_NAME 00064 #undef PACKAGE_STRING 00065 #undef PACKAGE_TARNAME 00066 #undef PACKAGE_VERSION 00067 00068 // Symbols defined to cope with some underscored symbols 00069 00070 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) 00071 # define HAVE_ISNAN 1 00072 # define isnan _isnan 00073 #endif 00074 00075 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) 00076 # define HAVE_ISINF 1 00077 # define isinf _isinf 00078 #endif 00079 00080 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) 00081 # define HAVE_FINITE 1 00082 # define finite _finite 00083 #endif 00084 00085 // End of underscored symbols 00086 00087 #endif