1 /*==============================================================================
2 # NLOPT CMake configuration file
4 # NLopt is a free/open-source library for nonlinear optimization, providing
5 # a common interface for a number of different free optimization routines
6 # available online as well as original implementations of various other
8 # WEBSITE: http://ab-initio.mit.edu/wiki/index.php/NLopt
9 # AUTHOR: Steven G. Johnson
11 # This config.cmake.h.in file was created to compile NLOPT with the CMAKE utility.
12 # Benoit Scherrer, 2010 CRL, Harvard Medical School
13 # Copyright (c) 2008-2009 Children's Hospital Boston
15 # Minor changes to the source was applied to make possible the compilation with
16 # Cmake under Linux/Win32
17 #============================================================================*/
19 /* Bugfix version number. */
20 #define BUGFIX_VERSION @NLOPT_BUGFIX_VERSION@
22 /* Define to enable extra debugging code. */
25 /* Define to 1 if you have the `BSDgettimeofday' function. */
26 #undef HAVE_BSDGETTIMEOFDAY
28 /* Define if the copysign function/macro is available. */
29 #cmakedefine HAVE_COPYSIGN
31 /* Define to 1 if you have the <dlfcn.h> header file. */
32 #cmakedefine HAVE_DLFCN_H
34 /* Define if the fpclassify() function/macro is available. */
35 #cmakedefine HAVE_FPCLASSIFY
37 /* Define to 1 if you have the <getopt.h> header file. */
38 #cmakedefine HAVE_GETOPT_H
40 /* Define to 1 if you have the `getpid' function. */
41 #cmakedefine HAVE_GETPID
43 /* Define if syscall(SYS_gettid) available. */
44 #undef HAVE_GETTID_SYSCALL
46 /* Define to 1 if you have the `gettimeofday' function. */
47 #cmakedefine HAVE_GETTIMEOFDAY
49 /* Define to 1 if you have the <inttypes.h> header file. */
50 #cmakedefine HAVE_INTTYPES_H
52 /* Define if the isinf() function/macro is available. */
53 #cmakedefine HAVE_ISINF
55 /* Define if the isnan() function/macro is available. */
56 #cmakedefine HAVE_ISNAN
58 /* Define to 1 if you have the `m' library (-lm). */
61 /* Define to 1 if you have the <memory.h> header file. */
62 #cmakedefine HAVE_MEMORY_H
64 /* Define to 1 if you have the `qsort_r' function. */
65 #cmakedefine HAVE_QSORT_R
67 /* Define to 1 if you have the <stdint.h> header file. */
68 #cmakedefine HAVE_STDINT_H
70 /* Define to 1 if you have the <stdlib.h> header file. */
71 #cmakedefine HAVE_STDLIB_H
73 /* Define to 1 if you have the <strings.h> header file. */
74 #cmakedefine HAVE_STRINGS_H
76 /* Define to 1 if you have the <string.h> header file. */
77 #cmakedefine HAVE_STRING_H
79 /* Define to 1 if you have the <sys/stat.h> header file. */
80 #cmakedefine HAVE_SYS_STAT_H
82 /* Define to 1 if you have the <sys/types.h> header file. */
83 #cmakedefine HAVE_SYS_TYPES_H
85 /* Define to 1 if you have the <sys/types.h> header file. */
86 #cmakedefine HAVE_SYS_TIME_H
88 /* Define to 1 if you have the `time' function. */
89 #cmakedefine HAVE_TIME
91 /* Define to 1 if the system has the type `uint32_t'. */
92 #cmakedefine HAVE_UINT32_T
94 /* Define to 1 if you have the <unistd.h> header file. */
95 #cmakedefine HAVE_UNISTD_H
97 /* Define to the sub-directory in which libtool stores uninstalled libraries.
101 /* Major version number. */
102 #define MAJOR_VERSION @NLOPT_MAJOR_VERSION@
104 /* Minor version number. */
105 #define MINOR_VERSION @NLOPT_MINOR_VERSION@
107 /* Name of package */
110 /* Define to the address where bug reports for this package should be sent. */
111 #undef PACKAGE_BUGREPORT
113 /* Define to the full name of this package. */
116 /* Define to the full name and version of this package. */
117 #undef PACKAGE_STRING
119 /* Define to the one symbol short name of this package. */
120 #undef PACKAGE_TARNAME
122 /* Define to the home page for this package. */
125 /* Define to the version of this package. */
126 #undef PACKAGE_VERSION
128 /* replacement for broken HUGE_VAL macro, if needed */
129 #undef REPLACEMENT_HUGE_VAL
131 /* The size of `unsigned int', as computed by sizeof. */
132 #define SIZEOF_UNSIGNED_INT @SIZEOF_UNSIGNED_INT@
134 /* The size of `unsigned long', as computed by sizeof. */
135 #define SIZEOF_UNSIGNED_LONG @SIZEOF_UNSIGNED_LONG@
137 /* Define to 1 if you have the ANSI C header files. */
140 /* Define to C thread-local keyword, or to nothing if this is not supported in
142 #define THREADLOCAL @THREADLOCAL@
144 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
145 #cmakedefine TIME_WITH_SYS_TIME
147 /* Version number of package */
150 /* Define if compiled including C++-based routines */
151 #cmakedefine NLOPT_CXX
153 /* Define if compiled including C++11-based routines */
154 #cmakedefine NLOPT_CXX11
156 /* Define to empty if `const' does not conform to ANSI C. */
159 /* Define to `__inline__' or `__inline' if that's what the C compiler
160 calls it, or to nothing if 'inline' is not supported under any name. */