summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Add strlcpy() functionH. Peter Anvin2009-08-101-0/+2
| | | | | | | Add strlcpy() function and implementation, and use configure to detect if strlcpy() is natively available on the system. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* autoconf: detect the broken bool in OpenWatcom 1.8H. Peter Anvin2009-03-011-0/+1
| | | | | | | OpenWatcom 1.8 has a C99 mode, which implements _Bool and <stdbool.h>. Unfortunately the implementation is broken, and doesn't let _Bool be implicitly converted to integer (as required by the C99 spec). Detect this case in autoconf.
* doc: for ps to pdf conversion, use "acrodist", "ps2pdf" or "pstopdf"H. Peter Anvin2008-06-191-3/+5
| | | | | | | | For PostScript to PDF conversion, use whichever of "acrodist", "ps2pdf", or "pstopdf" which we can find on the system. I haven't tried either acrodist or pstopdf myself, only going my the documentation, but prefer acrodist since it is claimed to produce smaller output files than ps2pdf.
* Fix typo: s/most/least/H. Peter Anvin2008-06-101-1/+1
| | | | Littleendian = least signficant byte first
* Make it possible to use "inline" and "restrict"H. Peter Anvin2008-06-101-0/+2
| | | | | Put the appropriate machinery in place to be able to use the "inline" and "restrict" keywords with appropriate semantics.
* Use autoconf to detect WORDS_LITTLEENDIANH. Peter Anvin2008-06-081-5/+10
| | | | | | Use autoconf to detect littleendian word order, and use WORDS_LITTLEENDIAN instead of X86_MEMORY when we don't require unaligned memory accesses to be permitted.
* Better handling of platforms which hide "extended" functionalityH. Peter Anvin2007-10-261-0/+9
| | | | | | | | Some platforms apparently feel -std=c99, which defines __STRICT_ANSI__, should also hide a bunch of function prototypes. This rather sucks. At least try to deal with it. MinGW and DJGPP both have this problem, in particular.
* Cleaner solution for MinGW handling of __STRICT_ANSI__H. Peter Anvin2007-10-181-3/+0
| | | | If MinGW is detected, undefine __STRICT_ANSI__ in compiler.h instead.
* configure: Undefine __STRICT_ANSI__ for mingw's benefitH. Peter Anvin2007-10-181-0/+3
| | | | | | mingw makes a bunch of prototypes unavailable if __STRICT_ANSI__ is defined. However, they are still detected by configure, which causes us pain.
* autoconf: drop AC_USE_SYSTEM_EXTENSIONS to support autoconf 2.59H. Peter Anvin2007-10-131-3/+5
| | | | | | AC_USE_SYSTEM_EXTENSIONS requires autoconf 2.61, which is still a little too new, apparently. Unless we have a specific reason to include it, don't.
* Use the compiler-provided booleans if available, otherwise emulateH. Peter Anvin2007-10-101-0/+3
| | | | | | | Both C and C++ have "bool", "true" and "false" in lower case; C requires <stdbool.h> for this, in C++ it is an inherent type built into the compiler. Use those instead of the old macros; emulate with a simple typedef enum if unavailable.
* configure.in: looks like we need autoconf 2.61 :(H. Peter Anvin2007-10-101-2/+2
| | | | | AC_USE_SYSTEM_EXTENSIONS is really, *really* useful, but apparently requires autoconf 2.61...
* Use autoconf to request feature macrosH. Peter Anvin2007-10-031-2/+4
|
* Portability fixesH. Peter Anvin2007-10-021-0/+7
| | | | | | | | | Concentrate compiler dependencies to compiler.h; make sure compiler.h is included first in every .c file (since some prototypes may depend on the presence of feature request macros.) Actually use the conditional inclusion of various functions (totally broken in previous releases.)
* configure.in: AC_SUBST_FILE should have been AC_SUBSTH. Peter Anvin2007-09-281-1/+1
| | | | | AC_SUBST_FILE happened to work in autoconf 2.59, but is broken in autoconf 2.61.
* Add substitutes for snprintf() and vsnprintf()H. Peter Anvin2007-09-281-4/+5
| | | | | | To deal with fools^Wpeople trying to keep really old systems alive, create a proper framework for substitution functions, and make it possible to deal with the lack of snprintf/vsnprintf in particular.
* Cleaner way to handle MSVC's _snprintf() underscore damageH. Peter Anvin2007-09-171-16/+10
| | | | | Some versions of MSVC have snprintf() and vsnprintf() only with a leading underscore. Handle that a bit more cleanly.
* Remove $Id$ tags (useless with git)H. Peter Anvin2007-09-121-1/+0
| | | | Remove CVS $Id$ tags, since git doesn't use them.
* Detect missing <inttypes.h> and include ersatz version if missingH. Peter Anvin2007-06-211-7/+3
|
* Cleaner way to add gcc optionsH. Peter Anvin2007-04-151-6/+5
| | | | | | We can actually test for the options being accepted, rather than try to test for gcc; this handles differences between gcc versions as well as compilers with a similar command line set.
* When compiling with gcc, compile with -W -Wall for maximum warnings.H. Peter Anvin2007-04-131-1/+1
|
* Remove obsolete types; add <inttypes.h> where needed; header fixesH. Peter Anvin2007-04-121-0/+3
| | | | | | | | | | | - Remove obsolete types like "uint32"; use "uint32_t" consistently. - Make sure we include <inttypes.h> where needed. - Header file guards should be FOO_H or SUBDIR_FOO_H; _FOO_H infringes on the C implementation's namespace and should only be used when writing libc! - Change a few "int8_t" back to "char" where appropriate. There are a lot more places where that should be done, though. - Clean up the check for getuid/getgid in rdoff/rdlar.h.
* added checks for vsnprintf and snprintf (ISO C99) and changed gccEd Beroset2004-12-151-1/+11
| | | | compile flag from -ansi to -std=c99
* Make sure autoheader has actually been run by conditionalizingH. Peter Anvin2003-09-081-1/+1
| | | | the running of configure on the existence of config.h.in.
* Enable the use of a config.h file and autoheader. At this point we don'tH. Peter Anvin2003-09-011-0/+1
| | | | | | | | | | | | actually *use* the resulting configuration file, but it keeps autoconf from creating an insanely long compiler command line, which can cause problems all by itself. Eventually we can do: #ifdef HAVE_CONFIG_H #include "config.h" #endif ... to get the same information.
* Check in the rest of the Cygwin support patch...H. Peter Anvin2002-05-191-4/+7
|
* Fix so that the configure.in works with autoconf 2.5x; make sureH. Peter Anvin2002-05-191-1/+1
| | | | "make cleaner" cleans up all that it needs to clean up
* Handle separate source and object directories correctly.H. Peter Anvin2002-05-041-0/+1
|
* NASM 0.98nasm-0.98fork-0.98bfH. Peter Anvin2002-04-301-1/+1
|
* NASM 0.98p7nasm-0.98p7H. Peter Anvin2002-04-301-1/+1
|
* NASM 0.98p6nasm-0.98p6H. Peter Anvin2002-04-301-0/+4
|
* NASM 0.97nasm-0.97fork-0.98-jH. Peter Anvin2002-04-301-0/+110