CVS log for mandoc/Attic/config.h.post

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.12, Sat Aug 16 19:00:01 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +0 -0 lines
FILE REMOVED

Improve build system and autodetection.
* Make ./configure standalone, that's what people expect.
* Let people write a ./configure.local from scratch, not edit existing files.
* Autodetect wchar, sqlite3, and manpath and act accordingly.
* Autodetect the need for -L/usr/local/lib and -lutil.
* Get rid of config.h.p{re,ost}, let ./configure only write what's needed.
* Let ./configure write a Makefile.local snippet, that's quite flexible.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 5 12:50:52 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_1
Changes since 1.10: +3 -0 lines
Diff to previous 1.10 (colored) to selected 1.2 (colored)

Since old SQLite versions do not have sqlite3_errstr(),
provide a dummy fallback implementation.
Do not bother to decode the error, SQLite error codes
are not useful enough for that to be worthwhile.
Note that using sqlite3_errmsg(db) would be a bad idea:
On malloc() failure, db is NULL, which would cause a segfault.
Issue noticed by kristaps@.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 4 23:44:29 2014 UTC (9 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.9: +0 -3 lines
Diff to previous 1.9 (colored) to selected 1.2 (colored)

remove strnlen(3) compat, we no longer use it

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 23 23:29:10 2014 UTC (9 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.8: +3 -0 lines
Diff to previous 1.8 (colored) to selected 1.2 (colored)

prototype for reallocarray()

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 4 13:40:01 2014 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +10 -9 lines
Diff to previous 1.7 (colored) to selected 1.2 (colored)

Even though strnlen(3) is required by POSIX 2008,
Matthias Scheler reports than Solaris 10 lacks it.
While here, sort the declarations in config.h
and move the headers to the top.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 31 23:03:47 2013 UTC (10 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +6 -0 lines
Diff to previous 1.6 (colored) to selected 1.2 (colored)

Provide strcasestr(3) and strsep(3) for Solaris 10 compat;
reported missing by Matthias Scheler <tron at NetBSD> via wiz@.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 8 10:47:17 2012 UTC (11 years, 9 months ago) by kristaps
Branch: MAIN
Branch point for: VERSION_1_12
Changes since 1.5: +0 -14 lines
Diff to previous 1.5 (colored) to selected 1.2 (colored)

Remove lint from Makefile.
Disable some parts of the build (man.cgi, etc.) while sqlite3 is being
merged in nice and slow.
Remove the bit swapping stuff in config.h.post.
Remove apropos_db (replaced by mansearch).

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 24 06:23:14 2012 UTC (12 years ago) by joerg
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored) to selected 1.2 (colored)

FreeBSD, NetBSD and DragonFly use the same names as Linux.
Add dummy entry for OpenBSD and XXX entry for the rest.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 13 11:26:12 2011 UTC (12 years, 3 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_1
Changes since 1.3: +3 -0 lines
Diff to previous 1.3 (colored) to selected 1.2 (colored)

Compatibility support fgetln() on Linux.  This uses the BSD-licensed
implementation from NetBSD tnftpd, Christos Zoulas (copyright message
retained in the compat_fgetln.c file).  Patch verified by schwarze@.  He
notes that you'll need -pthread for -static binaries (due to libdb), so
I've noted that -static should really only be used for BSD UNIX.

While here, add some forgotten goop to the Makefile, building and
cleaning extra manpages.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 2 00:21:56 2011 UTC (12 years, 3 months ago) by kristaps
Branch: MAIN
Changes since 1.2: +10 -0 lines
Diff to previous 1.2 (colored)

This is a little gross: Linux and Apple need lots some cajoling to work
with byte-swapping.  Tested on Mac.  Any Linux machines somebody can
test on?  Anybody?

While here, note the correct byte-size in mandocdb(8) and also note
field widths and endianness.  The btree is now endian-neutral.

Revision 1.2 / (download) - annotate - [selected], Sun Jul 24 18:15:14 2011 UTC (12 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_0, VERSION_1_11_7, VERSION_1_11_6, VERSION_1_11_5
Changes since 1.1: +4 -0 lines
Diff to previous 1.1 (colored)

Scary-looking but otherwise harmless changes allow me to build for Windows.
That is to say, with mingw32.  This amounts to the following:

 (1) break compat.c into compat_strlcpy.c and compat_strlcat.c
 (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c
 (3) add test-strptime.c for HAVE_STRPTIME
 (4) add ifdef bits here and there, where necessary
 (5) remove some harmless unportable stuff (u_char, localtime_r)

I've added the appropriate mdocml.zip target to the Makefile, too.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 1 17:14:27 2010 UTC (14 years, 2 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_25, VERSION_1_9_24, VERSION_1_9_23, VERSION_1_9_22, VERSION_1_9_21, VERSION_1_9_20, VERSION_1_9_19, VERSION_1_9_18, VERSION_1_9_17, VERSION_1_9_16, VERSION_1_9_15-pre2, VERSION_1_9_15, VERSION_1_11_4, VERSION_1_11_3, VERSION_1_11_2, VERSION_1_11_1, VERSION_1_10_9, VERSION_1_10_8, VERSION_1_10_7, VERSION_1_10_6, VERSION_1_10_5_PREPDF, VERSION_1_10_5, VERSION_1_10_4, VERSION_1_10_3, VERSION_1_10_2, VERSION_1_10_10, VERSION_1_10_1
Diff to selected 1.2 (colored)

Big check-in of compatibility layer.  This should work on most major architectures. Thanks to Joerg Sonnenberger.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb