annotate 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
rev   line source
ezyang@1739 1 /* config.h.in. Generated from configure.ac by autoheader. */
ezyang@1739 2
ezyang@1739 3 /* Define to 1 if you have the <dlfcn.h> header file. */
ezyang@1739 4 #undef HAVE_DLFCN_H
ezyang@1739 5
ezyang@1739 6 /* Define to 1 if you have the <inttypes.h> header file. */
ezyang@1739 7 #undef HAVE_INTTYPES_H
ezyang@1739 8
ezyang@1739 9 /* Define to 1 if you have the <memory.h> header file. */
ezyang@1739 10 #undef HAVE_MEMORY_H
ezyang@1739 11
ezyang@1739 12 /* Define to 1 if you have the <mysql/mysql.h> header file. */
ezyang@1739 13 #undef HAVE_MYSQL_MYSQL_H
ezyang@1739 14
ezyang@1739 15 /* Define to 1 if you have the <postgresql/libpq-fe.h> header file. */
ezyang@1739 16 #undef HAVE_POSTGRESQL_LIBPQ_FE_H
ezyang@1739 17
ezyang@1739 18 /* Define if you have POSIX threads libraries and header files. */
ezyang@1739 19 #undef HAVE_PTHREAD
ezyang@1739 20
ezyang@1739 21 /* Have PTHREAD_PRIO_INHERIT. */
ezyang@1739 22 #undef HAVE_PTHREAD_PRIO_INHERIT
ezyang@1739 23
ezyang@1739 24 /* Define to 1 if you have the <stdint.h> header file. */
ezyang@1739 25 #undef HAVE_STDINT_H
ezyang@1739 26
ezyang@1739 27 /* Define to 1 if you have the <stdlib.h> header file. */
ezyang@1739 28 #undef HAVE_STDLIB_H
ezyang@1739 29
ezyang@1739 30 /* Define to 1 if you have the <strings.h> header file. */
ezyang@1739 31 #undef HAVE_STRINGS_H
ezyang@1739 32
ezyang@1739 33 /* Define to 1 if you have the <string.h> header file. */
ezyang@1739 34 #undef HAVE_STRING_H
ezyang@1739 35
ezyang@1739 36 /* Define to 1 if you have the <sys/stat.h> header file. */
ezyang@1739 37 #undef HAVE_SYS_STAT_H
ezyang@1739 38
ezyang@1739 39 /* Define to 1 if you have the <sys/types.h> header file. */
ezyang@1739 40 #undef HAVE_SYS_TYPES_H
ezyang@1739 41
ezyang@1739 42 /* Define to 1 if you have the <unistd.h> header file. */
ezyang@1739 43 #undef HAVE_UNISTD_H
ezyang@1739 44
ezyang@1739 45 /* Define to the sub-directory in which libtool stores uninstalled libraries.
ezyang@1739 46 */
ezyang@1739 47 #undef LT_OBJDIR
ezyang@1739 48
ezyang@1739 49 /* Define to the address where bug reports for this package should be sent. */
ezyang@1739 50 #undef PACKAGE_BUGREPORT
ezyang@1739 51
ezyang@1739 52 /* Define to the full name of this package. */
ezyang@1739 53 #undef PACKAGE_NAME
ezyang@1739 54
ezyang@1739 55 /* Define to the full name and version of this package. */
ezyang@1739 56 #undef PACKAGE_STRING
ezyang@1739 57
ezyang@1739 58 /* Define to the one symbol short name of this package. */
ezyang@1739 59 #undef PACKAGE_TARNAME
ezyang@1739 60
ezyang@1739 61 /* Define to the home page for this package. */
ezyang@1739 62 #undef PACKAGE_URL
ezyang@1739 63
ezyang@1739 64 /* Define to the version of this package. */
ezyang@1739 65 #undef PACKAGE_VERSION
ezyang@1739 66
ezyang@1739 67 /* Define to necessary symbol if this constant uses a non-standard name on
ezyang@1739 68 your system. */
ezyang@1739 69 #undef PTHREAD_CREATE_JOINABLE
ezyang@1739 70
ezyang@1739 71 /* Define to 1 if you have the ANSI C header files. */
ezyang@1739 72 #undef STDC_HEADERS
ezyang@1739 73
ezyang@1739 74 /* Enable extensions on AIX 3, Interix. */
ezyang@1739 75 #ifndef _ALL_SOURCE
ezyang@1739 76 # undef _ALL_SOURCE
ezyang@1739 77 #endif
ezyang@1739 78 /* Enable GNU extensions on systems that have them. */
ezyang@1739 79 #ifndef _GNU_SOURCE
ezyang@1739 80 # undef _GNU_SOURCE
ezyang@1739 81 #endif
ezyang@1739 82 /* Enable threading extensions on Solaris. */
ezyang@1739 83 #ifndef _POSIX_PTHREAD_SEMANTICS
ezyang@1739 84 # undef _POSIX_PTHREAD_SEMANTICS
ezyang@1739 85 #endif
ezyang@1739 86 /* Enable extensions on HP NonStop. */
ezyang@1739 87 #ifndef _TANDEM_SOURCE
ezyang@1739 88 # undef _TANDEM_SOURCE
ezyang@1739 89 #endif
ezyang@1739 90 /* Enable general extensions on Solaris. */
ezyang@1739 91 #ifndef __EXTENSIONS__
ezyang@1739 92 # undef __EXTENSIONS__
ezyang@1739 93 #endif
ezyang@1739 94
ezyang@1739 95
ezyang@1739 96 /* Define to 1 if on MINIX. */
ezyang@1739 97 #undef _MINIX
ezyang@1739 98
ezyang@1739 99 /* Define to 2 if the system does not provide POSIX.1 features except with
ezyang@1739 100 this defined. */
ezyang@1739 101 #undef _POSIX_1_SOURCE
ezyang@1739 102
ezyang@1739 103 /* Define to 1 if you need to in order for `stat' and other things to work. */
ezyang@1739 104 #undef _POSIX_SOURCE