Commit Graph

56 Commits (638a199fa9459dac42b588ccfcf7003539f37416)

Author SHA1 Message Date
Andres Freund 6869b4f258 Add C++ support to configure. 7 years ago
Andres Freund 3de04e4ed1 Add PGAC_PROG_VARCC_VARFLAGS_OPT autoconf macro. 7 years ago
Tom Lane 2082b3745a Extend configure's __int128 test to check for a known gcc bug. 8 years ago
Tom Lane c6d21d56f1 Try harder to detect unavailability of __builtin_mul_overflow(int64). 8 years ago
Andres Freund c04d35f442 Try to detect runtime unavailability of __builtin_mul_overflow(int64). 8 years ago
Tom Lane 9220b00e57 Tighten configure's test for __builtin_constant_p(). 8 years ago
Andres Freund 85abb5b297 Make PGAC_C_BUILTIN_OP_OVERFLOW link instead of just compiling. 8 years ago
Andres Freund 4d6ad31257 Provide overflow safe integer math inline functions. 8 years ago
Tom Lane 7518049980 Prevent int128 from requiring more than MAXALIGN alignment. 8 years ago
Andres Freund 510b8cbff1 Extend & revamp pg_bswap.h infrastructure. 8 years ago
Peter Eisentraut ddce628971 Fix configure check for typeof 8 years ago
Peter Eisentraut 4cb824699e Cast result of copyObject() to correct type 8 years ago
Tom Lane bc18126a6b Add configure test to see if the C compiler has gcc-style computed gotos. 8 years ago
Peter Eisentraut 1c0cf52b39 Use return instead of exit() in configure 9 years ago
Noah Misch 4ad6f13500 Copyedit comments and documentation. 9 years ago
Robert Haas c171818b27 Add BSWAP64 macro. 10 years ago
Andres Freund 6cf72879e9 Improve configure test for the sse4.2 crc instruction. 10 years ago
Andres Freund de6fd1c898 Rely on inline functions even if that causes warnings in older compilers. 10 years ago
Heikki Linnakangas a2edb023d0 Replace obsolete autoconf macros with their modern replacements. 10 years ago
Heikki Linnakangas 936546dcbc Optimize pg_comp_crc32c_sse42 routine slightly, and also use it on x86. 10 years ago
Heikki Linnakangas 3dc2d62d04 Use Intel SSE 4.2 CRC instructions where available. 10 years ago
Andres Freund 8122e1437e Add, optional, support for 128bit integers. 10 years ago
Heikki Linnakangas 025c02420d Speed up CRC calculation using slicing-by-8 algorithm. 11 years ago
Noah Misch b779168ffe Detect PG_PRINTF_ATTRIBUTE automatically. 11 years ago
Andres Freund b64d92f1a5 Add a basic atomic ops API abstracting away platform/architecture details. 11 years ago
Tom Lane 4c8aa8b5ae Fix "quiet inline" configure test for newer clang compilers. 11 years ago
Simon Riggs fdea2530bd Compiler optimizations for page checksum code. 12 years ago
Tom Lane b853eb9718 Improve handling of ereport(ERROR) and elog(ERROR). 13 years ago
Alvaro Herrera f46baf601d Rename USE_INLINE to PG_USE_INLINE 13 years ago
Tom Lane ea473fb2de Add infrastructure for compile-time assertions about variable types. 13 years ago
Tom Lane 44404f3945 Adjust configure to use "+Olibmerrno" with HP-UX C compiler, if possible. 14 years ago
Peter Eisentraut 804a786c95 Add/fix caching on some configure checks 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Peter Eisentraut 3f11971916 Remove extra newlines at end and beginning of files, add missing newlines 15 years ago
Michael Meskes 29259531c7 Replace self written 'long long int' configure test by standard 'AC_TYPE_LONG_LONG_INT' macro call. 15 years ago
Michael Meskes 555a02f910 Added a configure test for "long long" datatypes. So far this is only used in ecpg and replaces the old test that was kind of hackish. 15 years ago
Tom Lane e08ab7c312 Support inlining various small performance-critical functions on non-GCC 16 years ago
Tom Lane 623f8a0969 Modify the recently-added probe for -Wl,--as-needed some more, because RHEL-4 17 years ago
Tom Lane 1ac1bea076 Adjust -Wl,--asneeded test to avoid using the switch if it breaks 17 years ago
Tom Lane 2dad10f467 Make another try at using -Wl,--as-needed to suppress linking of unnecessary 17 years ago
Alvaro Herrera 7861d72ea2 Modify the float4 datatype to be pass-by-val. Along the way, remove the last 17 years ago
Peter Eisentraut b120382353 Upgrade to Autoconf 2.61: 18 years ago
Bruce Momjian b5498167d7 Allow AIX to use --enable-thread-safety by passing PTHREAD_LIBS to 21 years ago
Neil Conway 857e210ea9 When using GCC, change the default CFLAGS to: 21 years ago
Tom Lane 6f295328e5 Do not let external specification of CFLAGS stop us from adding 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut 801427abc2 Unset CFLAGS before reading template. This should be more robust. 22 years ago
Peter Eisentraut 378f59904a Fix CFLAGS selection to actually work. Add test to detect whether gcc's 22 years ago
Tom Lane f690920a75 Infrastructure for upgraded error reporting mechanism. elog.c is 23 years ago
Peter Eisentraut cb1d036acb Generate pg_config.h.in by autoheader. Separate out manually editable 23 years ago