00001 /* * 00002 * This file is part of the ESO UVES Pipeline * 00003 * Copyright (C) 2004,2005 European Southern Observatory * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the Free Software * 00017 * Foundation, 51 Franklin St, Fifth Floor, Boston MA 02110-1301 USA * 00018 */ 00019 00020 /* 00021 * $Author: amodigli $ 00022 * $Date: 2010/04/08 07:58:34 $ 00023 * $Revision: 1.7 $ 00024 * $Name: uves-5_0_0 $ 00025 */ 00026 00027 #ifdef HAVE_CONFIG_H 00028 # include <config.h> 00029 #endif 00030 00031 /*----------------------------------------------------------------------------*/ 00035 /*----------------------------------------------------------------------------*/ 00036 00037 #include <uves.h> 00038 #include <uves_utils.h> 00039 00040 int cpl_plugin_get_info(cpl_pluginlist *list) 00041 { 00042 if (UVES_BINARY_VERSION != uves_get_version_binary()) 00043 { 00044 cpl_msg_error(__func__, 00045 "I am uves_tflat version %d, but I am linking " 00046 "against UVES library version %d. " 00047 "This will not work. " 00048 "Please remove all previous installations " 00049 "of the " PACKAGE_NAME " and try again.", 00050 UVES_BINARY_VERSION, uves_get_version_binary()); 00051 return 1; 00052 } 00053 return uves_tflat_get_info(list); 00054 }