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/12/07 16:55:48 $ 00023 * $Revision: 1.1 $ 00024 * $Name: uves-5_0_0 $ 00025 * $Log: uves_mflat_combine.c,v $ 00026 * Revision 1.1 2010/12/07 16:55:48 amodigli 00027 * added to CVS 00028 * 00029 * 00030 */ 00031 00032 #ifdef HAVE_CONFIG_H 00033 # include <config.h> 00034 #endif 00035 00036 /*----------------------------------------------------------------------------*/ 00040 /*----------------------------------------------------------------------------*/ 00041 00042 #include <uves.h> 00043 #include <uves_utils.h> 00044 00045 int cpl_plugin_get_info(cpl_pluginlist *list) 00046 { 00047 if (UVES_BINARY_VERSION != uves_get_version_binary()) 00048 { 00049 cpl_msg_error(__func__, 00050 "I am uves_mflat_combine version %d, but I am linking " 00051 "against UVES library version %d. " 00052 "This will not work. " 00053 "Please remove all previous installations " 00054 "of the " PACKAGE_NAME " and try again.", 00055 UVES_BINARY_VERSION, uves_get_version_binary()); 00056 return 1; 00057 } 00058 return uves_mflat_combine_get_info(list); 00059 }