comparison include/urweb/config.h.in @ 1739:c414850f206f

Add support for -boot flag, which allows in-tree execution of Ur/Web The boot flag rewrites most hardcoded paths to point to the build directory, and also forces static compilation. This is convenient for developing Ur/Web, or if you cannot 'sudo make install' Ur/Web. The following changes were made: * Header files were moved to include/urweb instead of include; this lets FFI users point their C_INCLUDE_PATH at this directory at write <urweb/urweb.h>. For internal Ur/Web executables, we simply pass -I$PATH/include/urweb as normal. * Differentiate between LIB and SRCLIB; SRCLIB is Ur and JavaScript source files, while LIB is compiled products from libtool. For in-tree compilation these live in different places. * No longer reference Config for paths; instead use Settings; these settings can be changed dynamically by Compiler.enableBoot () (TODO: add a disableBoot function.) * config.h is now generated directly in include/urweb/config.h, for consistency's sake (especially since it gets installed along with the rest of the headers!) * All of the autotools build products got updated. * The linkStatic field in protocols now only contains the name of the build product, and not the absolute path. Future users have to be careful not to reference the Settings files to early, lest they get an old version (this was the source of two bugs during development of this patch.)
author Edward Z. Yang <ezyang@mit.edu>
date Wed, 02 May 2012 17:17:57 -0400
parents
children d2ec62c5ad81
comparison
equal deleted inserted replaced
1738:1a35e75b6967 1739:c414850f206f
1 /* config.h.in. Generated from configure.ac by autoheader. */
2
3 /* Define to 1 if you have the <dlfcn.h> header file. */
4 #undef HAVE_DLFCN_H
5
6 /* Define to 1 if you have the <inttypes.h> header file. */
7 #undef HAVE_INTTYPES_H
8
9 /* Define to 1 if you have the <memory.h> header file. */
10 #undef HAVE_MEMORY_H
11
12 /* Define to 1 if you have the <mysql/mysql.h> header file. */
13 #undef HAVE_MYSQL_MYSQL_H
14
15 /* Define to 1 if you have the <postgresql/libpq-fe.h> header file. */
16 #undef HAVE_POSTGRESQL_LIBPQ_FE_H
17
18 /* Define if you have POSIX threads libraries and header files. */
19 #undef HAVE_PTHREAD
20
21 /* Have PTHREAD_PRIO_INHERIT. */
22 #undef HAVE_PTHREAD_PRIO_INHERIT
23
24 /* Define to 1 if you have the <stdint.h> header file. */
25 #undef HAVE_STDINT_H
26
27 /* Define to 1 if you have the <stdlib.h> header file. */
28 #undef HAVE_STDLIB_H
29
30 /* Define to 1 if you have the <strings.h> header file. */
31 #undef HAVE_STRINGS_H
32
33 /* Define to 1 if you have the <string.h> header file. */
34 #undef HAVE_STRING_H
35
36 /* Define to 1 if you have the <sys/stat.h> header file. */
37 #undef HAVE_SYS_STAT_H
38
39 /* Define to 1 if you have the <sys/types.h> header file. */
40 #undef HAVE_SYS_TYPES_H
41
42 /* Define to 1 if you have the <unistd.h> header file. */
43 #undef HAVE_UNISTD_H
44
45 /* Define to the sub-directory in which libtool stores uninstalled libraries.
46 */
47 #undef LT_OBJDIR
48
49 /* Define to the address where bug reports for this package should be sent. */
50 #undef PACKAGE_BUGREPORT
51
52 /* Define to the full name of this package. */
53 #undef PACKAGE_NAME
54
55 /* Define to the full name and version of this package. */
56 #undef PACKAGE_STRING
57
58 /* Define to the one symbol short name of this package. */
59 #undef PACKAGE_TARNAME
60
61 /* Define to the home page for this package. */
62 #undef PACKAGE_URL
63
64 /* Define to the version of this package. */
65 #undef PACKAGE_VERSION
66
67 /* Define to necessary symbol if this constant uses a non-standard name on
68 your system. */
69 #undef PTHREAD_CREATE_JOINABLE
70
71 /* Define to 1 if you have the ANSI C header files. */
72 #undef STDC_HEADERS
73
74 /* Enable extensions on AIX 3, Interix. */
75 #ifndef _ALL_SOURCE
76 # undef _ALL_SOURCE
77 #endif
78 /* Enable GNU extensions on systems that have them. */
79 #ifndef _GNU_SOURCE
80 # undef _GNU_SOURCE
81 #endif
82 /* Enable threading extensions on Solaris. */
83 #ifndef _POSIX_PTHREAD_SEMANTICS
84 # undef _POSIX_PTHREAD_SEMANTICS
85 #endif
86 /* Enable extensions on HP NonStop. */
87 #ifndef _TANDEM_SOURCE
88 # undef _TANDEM_SOURCE
89 #endif
90 /* Enable general extensions on Solaris. */
91 #ifndef __EXTENSIONS__
92 # undef __EXTENSIONS__
93 #endif
94
95
96 /* Define to 1 if on MINIX. */
97 #undef _MINIX
98
99 /* Define to 2 if the system does not provide POSIX.1 features except with
100 this defined. */
101 #undef _POSIX_1_SOURCE
102
103 /* Define to 1 if you need to in order for `stat' and other things to work. */
104 #undef _POSIX_SOURCE