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