added autoconf checks on ICU internationalization libs and established first test...
[pazpar2-moved-to-github.git] / src / test_icu_I18N.c
1 /* $Id: test_icu_I18N.c,v 1.1 2007-04-27 14:31:15 marc Exp $
2    Copyright (c) 2006-2007, Index Data.
3
4 This file is part of Pazpar2.
5
6 Pazpar2 is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
10
11 Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Pazpar2; see the file LICENSE.  If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA.
20  */
21
22 #if HAVE_CONFIG_H
23 #include "cconfig.h"
24 #endif
25
26 #define USE_TIMING 0
27 #if USE_TIMING
28 #include <yaz/timing.h>
29 #endif
30
31 #include <yaz/test.h>
32
33
34
35 #ifdef HAVE_ICU
36
37
38
39 void test_icu_I18N(int argc, char **argv)
40 {
41
42   YAZ_CHECK(0 == 0);
43   //YAZ_CHECK_EQ(0, 1);
44 }
45
46 #endif    
47
48 int main(int argc, char **argv)
49 {
50
51     YAZ_CHECK_INIT(argc, argv); 
52     YAZ_CHECK_LOG();
53
54 #ifdef HAVE_ICU
55
56     test_icu_I18N(argc, argv); 
57  
58 #else
59
60     YAZ_CHECK(0 == 0);
61
62 #endif    
63    
64     YAZ_CHECK_TERM;
65 }
66
67
68
69
70 /*
71  * Local variables:
72  * c-basic-offset: 4
73  * indent-tabs-mode: nil
74  * End:
75  * vim: shiftwidth=4 tabstop=8 expandtab
76  */