summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* * configure: reduced post-configure advice to just pointKaz Kylheku2011-10-161-9/+6
| | | | | | to the INSTALL guide. * INSTALL: New file.
* * configure: POSIX Portability. Use = instead of ==Kaz Kylheku2011-10-151-2/+2
| | | | in test expressions. This was revealed by ubuntu's dash.
* Version 039txr-039Kaz Kylheku2011-10-101-1/+1
|
* Ported to Cygwin.Kaz Kylheku2011-10-091-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TODO: there should be some type safety with the new wli macro so that if it is forgotten, there will be a diagnostic. * configure (lit_align): New configuration variable and configuration test. Generates LIT_ALIGN in config.h. Fixed the integer-holds-pointer test for the different output from the nm program on Cygwin. The arrays become common symbols marked C which do not show an offset attribute, only size: one less column. * filter.c (to_html_table, from_html_table): wrap wide string literals with the wli macro. This must be done from now on for all literals and initializes of arrays that are going to be directly converted to type tagged val-s. * lib.h (wli): New macro. (auto_str, static_str, litptr, lit_noex): Handle wide literals on platforms where they are aligned to only two bytes, such that we don't have two bits in the pointer. We can still add our 11 bit type tag, but then when recovering the pointer to the data, we have may have to fix up the pointer. * parser.l: Another portability issue here. Flex generates a scanner which has #include <unistd.h> in the middle, after the source file's own #includes which can introduce macros. On Cygwin, there is some hygiene problem whereby our "noreturn" macro causes the <unistd.h> header to generate bad syntax and fail to compile. Stupid Cygwin and even stupider flex! The workaround is to include <unistd.h> at the top in the flex source. * stream.c (string_out_put_char): This is one more place where the string literal handling hack spreads. * txr.c (version): Wrap string in wli.
* * configure: Fixed indentation.Kaz Kylheku2011-10-091-20/+20
|
* * LICENSE, Makefile, configure, filter.c, filter.h, gc.c, gc.h, hash.c,Kaz Kylheku2011-10-041-1/+1
| | | | | | hash.h, lib.c, lib.h, match.c, match.h, parser.h, parser.l, parser.y, regex.c, regex.h, stream.c, stream.h, txr.1, txr.c, txr.h, unwind.c, unwind.h, utf8.c, utf8.h: Updated e-mail address.
* Version 038Kaz Kylheku2011-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New eof directive. Fixes in skip directive to work very well with eof. Consecutive variable matching semantics improved; concept of double variable match introduced for unbound variable followed by regex variable. Directives collect and coll have keyword arguments for more control over their behavior. Paralle directives (all, some, none, ...) are available in horizontal mode. New choose directive for selecting one of numerous alternatives GC bugfix in new filtering code. The code has an issue compling with GNU C++ instead of C, which is something that is supported by this project. Not a release-blocking issue. Not easy to fix without restructuring some code. * txr.c (version): Bumped. * txr.1: Bumped version and set date. * configure (txr_ver): Bumped.
* Version 037.Kaz Kylheku2011-09-261-1/+1
|
* * LICENSE, Makefile, configure, gc.c, gc.h, hash.c, hash.h, lib.c,Kaz Kylheku2011-09-231-1/+1
| | | | | | lib.h, match.c, match.h, parser.h, parser.l, parser.y, regex.c, regex.h, stream.c, stream.h, txr.1, txr.c, txr.h, unwind.c, unwind.h, utf8.c, utf8.h: Updated copyright year.
* Version 036.txr-036Kaz Kylheku2011-09-221-1/+1
|
* Version 035.Kaz Kylheku2010-10-051-1/+1
|
* Bump copyrights to 2010.Kaz Kylheku2010-10-051-1/+1
|
* Version 034.txr-034Kaz Kylheku2010-02-281-1/+1
|
* Version 033.Kaz Kylheku2010-01-261-1/+1
|
* Version 032.Kaz Kylheku2010-01-251-1/+1
|
* Version 031.txr-031Kaz Kylheku2010-01-251-1/+1
|
* Version 030.txr-030Kaz Kylheku2010-01-191-1/+1
|
* Version 029.Kaz Kylheku2010-01-181-1/+1
|
* Version 028.Kaz Kylheku2010-01-161-1/+1
|
* Version 027.txr-027Kaz Kylheku2009-12-031-1/+1
|
* Code cleanup. All private functions static. Private stuffKaz Kylheku2009-11-281-1/+1
| | | | in regex module not exposed in header. Etc.
* * configure: Workaround in banner code for coreutils printf %.*s bug.Kaz Kylheku2009-11-281-1/+1
|
* Switching to DESTDIR convention for install.Kaz Kylheku2009-11-271-8/+9
| | | | | Make install step does some things more correctly now, without relying on the install program.
* Version 026.txr-026Kaz Kylheku2009-11-261-1/+1
|
* Add comments to generated files.Kaz Kylheku2009-11-261-1/+15
|
* Expand yacc command without quotes.Kaz Kylheku2009-11-261-1/+1
|
* Check for user's specified yacc program.Kaz Kylheku2009-11-261-0/+4
|
* Not all systems have a yacc alias for the yacc program.Kaz Kylheku2009-11-261-7/+68
| | | | | txr is known to work with two yacc implementations: GNU Bison and Berkeley yacc. Let's add some auto-detection for yacc.
* Clean up properly.Kaz Kylheku2009-11-251-2/+2
|
* First stab at Valgrind integration. First goal: eliminate falseKaz Kylheku2009-11-251-7/+45
| | | | positives when gc is accessing uninitialized parts of the stack.
* Version 025Kaz Kylheku2009-11-241-1/+1
|
* Auto-detect what specifiers to use for inline functions.Kaz Kylheku2009-11-241-10/+58
| | | | | Allow compiler command to be set independently of full path for easier compiler switching.
* * configure (platform_flags, remove_flags): New config variables.Kaz Kylheku2009-11-231-0/+15
| | | | * Makefile (CFLAGS): Take into account new flags.
* * configure: Don't rely on higher precision arithmetic from the buildKaz Kylheku2009-11-231-3/+3
| | | | | | machine's shell. POSIX requires shell arithmetic to be only signed long. We can't compute the INT_PTR_MAX constant in the shell, but rather generate a constant C expression to compute it.
* Reporting of compile errors during configuration for easierKaz Kylheku2009-11-231-13/+22
| | | | configure debugging.
* * configure: Bugfix in parsing configuration variablesKaz Kylheku2009-11-231-4/+4
| | | | | | | | which contain the = character. * Makefile (conftest.o): Pass full CFLAGS to configuration test builds. If some flags don't work with the compiler, this should be caught.
* * configure (cross): Print out value of $cross in --help.Kaz Kylheku2009-11-231-1/+1
| | | | | | | * depend.txr: Add "config.h" to list of headers that are not prefixed with $(top_srcdir). * dep.mk: Regenerated.
* Improving portability. It is no longer assumed that pointersKaz Kylheku2009-11-231-12/+142
| | | | | | | | can be converted to a type long and vice versa. The configure script tries to detect the appropriate type to use. Also, some run-time checking is performed in the streams module to detect which conversions specifier strings to use for printing numbers.
* Get rid of macros in favor of safer inline functions.Kaz Kylheku2009-11-191-0/+7
| | | | | The recent auto_str("byte str") error could have been caught at compile time.
* More removal of C99 wide character I/O, and tightening upKaz Kylheku2009-11-171-1/+1
| | | | of standard conformance.
* Version 021 preparation.txr-021Kaz Kylheku2009-11-151-8/+8
| | | | Bumped version numbers, and cleaned up trailing whitespace from some files.
* configure (cc): Compute variable properly.Kaz Kylheku2009-11-141-1/+1
|
* Don't lie to the user; make install doesn't work withoutKaz Kylheku2009-11-041-2/+14
| | | | permissions to the installation directories.
* Got "make tests" working in separate build directory,Kaz Kylheku2009-11-041-4/+0
| | | | with .out files going to local tests/ tree.
* Got "make install" working.Kaz Kylheku2009-11-041-3/+24
|
* Got build to work in separate build directory.Kaz Kylheku2009-11-041-0/+4
|
* Build configuration via configure script, with cross compiling support.Kaz Kylheku2009-11-041-0/+443
(Tested by cross-compiling txr on an x86 GNU/Linux system to run on a MIPS-based GNU/Linux system).