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 to 1 if you have the <dlfcn.h> header file. */
\r
31 /* Define to 1 if you have the <getopt.h> header file. */
\r
32 #undef HAVE_GETOPT_H
\r
34 /* Define to 1 if you have the `getpid' function. */
\r
37 /* Define if syscall(SYS_gettid) available. */
\r
38 #undef HAVE_GETTID_SYSCALL
\r
40 /* Define to 1 if you have the `gettimeofday' function. */
\r
41 #cmakedefine HAVE_GETTIMEOFDAY
\r
43 /* Define if the copysign function/macro is available. */
\r
44 #cmakedefine HAVE_COPYSIGN
\r
46 /* Define to 1 if you have the <inttypes.h> header file. */
\r
47 #cmakedefine HAVE_INTTYPES_H
\r
49 /* Define if the isinf() function/macro is available. */
\r
50 #cmakedefine HAVE_ISINF
\r
52 /* Define if the isnan() function/macro is available. */
\r
53 #cmakedefine HAVE_ISNAN
\r
55 /* Define to 1 if you have the `m' library (-lm). */
\r
58 /* Define to 1 if you have the <memory.h> header file. */
\r
59 #cmakedefine HAVE_MEMORY_H
\r
61 /* Define to 1 if you have the `qsort_r' function. */
\r
62 #cmakedefine HAVE_QSORT_R
\r
64 /* Define to 1 if you have the <stdint.h> header file. */
\r
65 #cmakedefine HAVE_STDINT_H
\r
67 /* Define to 1 if you have the <stdlib.h> header file. */
\r
68 #cmakedefine HAVE_STDLIB_H
\r
70 /* Define to 1 if you have the <strings.h> header file. */
\r
71 #cmakedefine HAVE_STRINGS_H
\r
73 /* Define to 1 if you have the <string.h> header file. */
\r
74 #cmakedefine HAVE_STRING_H
\r
76 /* Define to 1 if you have the <sys/stat.h> header file. */
\r
77 #cmakedefine HAVE_SYS_STAT_H
\r
79 /* Define to 1 if you have the <sys/types.h> header file. */
\r
80 #cmakedefine HAVE_SYS_TYPES_H
\r
82 /* Define to 1 if you have the `time' function. */
\r
83 #cmakedefine HAVE_TIME
\r
85 /* Define to 1 if the system has the type `uint32_t'. */
\r
86 #cmakedefine HAVE_UINT32_T
\r
88 /* Define to 1 if you have the <unistd.h> header file. */
\r
89 #cmakedefine HAVE_UNISTD_H
\r
91 /* Define to the sub-directory in which libtool stores uninstalled libraries.
\r
95 /* Major version number. */
\r
96 #define MAJOR_VERSION @NLOPT_MAJOR_VERSION@
\r
98 /* Minor version number. */
\r
99 #define MINOR_VERSION @NLOPT_MINOR_VERSION@
\r
101 /* Name of package */
\r
104 /* Define to the address where bug reports for this package should be sent. */
\r
105 #undef PACKAGE_BUGREPORT
\r
107 /* Define to the full name of this package. */
\r
108 #undef PACKAGE_NAME
\r
110 /* Define to the full name and version of this package. */
\r
111 #undef PACKAGE_STRING
\r
113 /* Define to the one symbol short name of this package. */
\r
114 #undef PACKAGE_TARNAME
\r
116 /* Define to the home page for this package. */
\r
119 /* Define to the version of this package. */
\r
120 #undef PACKAGE_VERSION
\r
122 /* replacement for broken HUGE_VAL macro, if needed */
\r
123 #undef REPLACEMENT_HUGE_VAL
\r
125 /* The size of `unsigned int', as computed by sizeof. */
\r
126 #define SIZEOF_UNSIGNED_INT @SIZEOF_UNSIGNED_INT@
\r
128 /* The size of `unsigned long', as computed by sizeof. */
\r
129 #undef SIZEOF_UNSIGNED_LONG
\r
131 /* Define to 1 if you have the ANSI C header files. */
\r
132 #undef STDC_HEADERS
\r
134 /* Define to C thread-local keyword, or to nothing if this is not supported in
\r
136 #define THREADLOCAL
\r
138 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
\r
139 #undef TIME_WITH_SYS_TIME
\r
141 /* Version number of package */
\r
144 /* Define if compiled including C++-based routines */
\r
147 /* Define if we have the non-free Nocedal LBFGS code */
\r
148 #undef WITH_NOCEDAL
\r
150 /* Define to empty if `const' does not conform to ANSI C. */
\r
153 /* Define to `__inline__' or `__inline' if that's what the C compiler
\r
154 calls it, or to nothing if 'inline' is not supported under any name. */
\r
155 #ifndef __cplusplus
\r