1 // Copyright (c) 2016  GeometryFactory SARL (France).
2 // All rights reserved.
3 //
4 // This file is part of CGAL (www.cgal.org)
5 //
6 // $URL: https://github.com/CGAL/cgal/blob/v5.3/Installation/include/CGAL/license/Segment_Delaunay_graph_Linf_2.h $
7 // $Id: Segment_Delaunay_graph_Linf_2.h 52164b1 2019-10-19T15:34:59+02:00 Sébastien Loriot
8 // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
9 //
10 // Author(s) : Andreas Fabri
11 //
12 // Warning: this file is generated, see include/CGAL/licence/README.md
13 
14 #ifndef CGAL_LICENSE_SEGMENT_DELAUNAY_GRAPH_LINF_2_H
15 #define CGAL_LICENSE_SEGMENT_DELAUNAY_GRAPH_LINF_2_H
16 
17 #include <CGAL/config.h>
18 #include <CGAL/license.h>
19 
20 #ifdef CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE
21 
22 #  if CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
23 
24 #    if defined(CGAL_LICENSE_WARNING)
25 
26        CGAL_pragma_warning("Your commercial license for CGAL does not cover "
27                            "this release of the L Infinity Segment Delaunay Graphs package.")
28 #    endif
29 
30 #    ifdef CGAL_LICENSE_ERROR
31 #      error "Your commercial license for CGAL does not cover this release \
32               of the L Infinity Segment Delaunay Graphs package. \
33               You get this error, as you defined CGAL_LICENSE_ERROR."
34 #    endif // CGAL_LICENSE_ERROR
35 
36 #  endif // CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
37 
38 #else // no CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE
39 
40 #  if defined(CGAL_LICENSE_WARNING)
41      CGAL_pragma_warning("\nThe macro CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE is not defined."
42                           "\nYou use the CGAL L Infinity Segment Delaunay Graphs package under "
43                           "the terms of the GPLv3+.")
44 #  endif // CGAL_LICENSE_WARNING
45 
46 #  ifdef CGAL_LICENSE_ERROR
47 #    error "The macro CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE is not defined.\
48             You use the CGAL L Infinity Segment Delaunay Graphs package under the terms of \
49             the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR."
50 #  endif // CGAL_LICENSE_ERROR
51 
52 #endif // no CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_COMMERCIAL_LICENSE
53 
54 #endif // CGAL_LICENSE_SEGMENT_DELAUNAY_GRAPH_LINF_2_H
55