summaryrefslogtreecommitdiff
path: root/src/template
Commit message (Collapse)AuthorAgeFilesLines
* Remove cvs keywords from all files.Magnus Hagander2010-09-209-9/+9
|
* Remove extra newlines at end and beginning of files, add missing newlinesPeter Eisentraut2010-08-193-6/+2
| | | | at end of files.
* Don't try to force use of -no-cpp-precomp on OS X. It's been five yearsTom Lane2010-08-021-5/+1
| | | | | | | since Apple shipped a compiler that needed this switch, and there's increasing interest in using other compilers that won't accept the switch at all. Better to let anybody who still needs the switch inject it via CPPFLAGS. Per gripe from Neil Conway.
* Split the LDFLAGS make variable into two parts: LDFLAGS is now used forTom Lane2010-07-052-8/+6
| | | | | | | | | | | | | linking both executables and shared libraries, and we add on LDFLAGS_EX when linking executables or LDFLAGS_SL when linking shared libraries. This provides a significantly cleaner way of dealing with link-time switches than the former behavior. Also, make sure that the various platform-specific %.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that before. (I did not add these variables for the platforms that invoke $(LD) directly, however. It's not clear if we can do that safely, since for the most part we assume these variables use CC command-line syntax.) Per gripe from Aaron Swenson and subsequent investigation.
* Tweak configure to attempt to add -qnoansialias to CFLAGS whenever runningTom Lane2009-02-111-0/+3
| | | | | | on AIX with a non-gcc compiler. The previous coding would do this only if CC was exactly "xlc"; which is a bad idea, as demonstrated by trouble report from Mihai Criveti.
* Move forgotten comment closer to where it matters.Peter Eisentraut2008-10-291-2/+0
|
* Support for Sun Studio compiler on LinuxPeter Eisentraut2008-10-292-9/+32
| | | | | | | This basically takes some build system code that was previously labeled "Solaris" and ties it to the compiler rather than the operating system. Author: Julius Stroffek <Julius.Stroffek@Sun.COM>
* Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2Tom Lane2007-09-261-3/+13
| | | | | | and up), per Chris Marcellino. This avoids consuming O(N^2) file descriptors to support N backends. Tests suggest it's about a wash for small installations, but large ones would have a problem.
* If we're gonna provide an --enable-profiling configure option, surelyTom Lane2007-09-211-1/+4
| | | | it ought to know that you need -DLINUX_PROFILE on Linux.
* With the native compiler on Unixware, disable optimization ifNeil Conway2007-07-161-2/+6
| | | | | --enable-debug is used, to avoid complaints about debugging and optimization being mutually exclusive. Patch from Stefan Kaltenbrunner.
* Make --with-ldap build on Unixware, per Olivier Prenant.Tom Lane2006-12-141-0/+3
|
* Remove Windows port^W^Wobsolete template file.Peter Eisentraut2006-12-141-0/+0
|
* Allow augmenting CPPFLAGS from the configure command line. This generallyPeter Eisentraut2006-12-122-4/+4
| | | | works, but some platform templates overwrote it without asking.
* Remove extra 'else' in solaris compiler code.Bruce Momjian2006-04-281-1/+1
|
* Rewrite Solaris compiler tas() assembly routines, merge i386 and x86_64Bruce Momjian2006-04-271-22/+14
| | | | | | assembler files, renamed as solaris_x86.s. Theo Schlossnagle
* Add CVS tag lines to files that were lacking them.Bruce Momjian2006-03-119-0/+18
|
* Update tested AIX memset platforms.Bruce Momjian2006-02-031-2/+3
|
* Allow MEMSET_LOOP_LIMIT to be set on a per-platform basis, and turn offBruce Momjian2006-02-031-0/+4
| | | | | | | MemSet on AIX by setting MEMSET_LOOP_LIMIT to zero. Add optimization to skip MemSet tests in MEMSET_LOOP_LIMIT == 0 case and just call memset() directly.
* Remove BEOS port.Bruce Momjian2006-01-051-0/+0
|
* Remove QNX port.Bruce Momjian2006-01-051-1/+0
|
* Remove unnecessary assignment, per Tom.Bruce Momjian2006-01-021-1/+0
|
* Add support for Solaris x86_64 using Sun's compiler.Bruce Momjian2005-12-301-2/+9
| | | | Pierre Girard
* SUNOS4_CC -> SUNOS_CC.Bruce Momjian2005-07-301-1/+1
|
* It appears we need -DSUNOS4_CC for both solaris and sunos4 templates.Tom Lane2005-07-291-1/+1
| | | | Per report from Andrew Clark.
* Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.netTom Lane2004-12-291-0/+7
|
* Mention why unixware doesn't handle threading in 8.0.Bruce Momjian2004-12-191-0/+11
|
* Don't bother adding to cflags/cppflags, just set them because configureBruce Momjian2004-12-028-11/+14
| | | | handles that, and make solaris debug use no optimization.
* Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.Bruce Momjian2004-11-278-11/+11
|
* Miscellaneous Cygwin build fixes from Reini Urban.Tom Lane2004-11-171-2/+3
|
* Allow win32/cygwin link against the first matching library symbol ratherBruce Momjian2004-11-082-0/+9
| | | | than erroring out. This is the Unix behavior.
* Fix TAS assembly stuff for Solaris/386. (I'm not in a position toTom Lane2004-09-241-3/+14
| | | | actually test this, but it couldn't be broken any worse than it was...)
* Rename irix5 port to irix.Bruce Momjian2004-05-191-0/+0
|
* Remove extra 'then'.Bruce Momjian2004-05-141-1/+0
|
* No need for gcc thread stuff anymore, only cc.Bruce Momjian2004-05-131-3/+2
|
* Remove warning about Unixware.Bruce Momjian2004-05-131-3/+0
|
* Unconditionally define:Bruce Momjian2004-04-265-15/+0
| | | | | | | | | | -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS for all ports. It can't hurt if they are not supported, but it makes our job easier for porting. Should fix Darwin compile and other platforms without mucking with the thread detection code.
* Fix typo on thread lib name.Bruce Momjian2004-04-251-1/+1
|
* Add new auto-detection of thread flags.Bruce Momjian2004-04-238-52/+8
| | | | | | | Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
* Add NetBSD thread compile flags.Bruce Momjian2004-04-201-0/+4
|
* Update Darwin thread compile flags, and OS version info.Bruce Momjian2004-04-071-0/+3
|
* Update darwin OS version.Bruce Momjian2004-04-071-1/+1
|
* Update Darwin as thread-safe.Bruce Momjian2004-04-071-0/+7
|
* Add -D_REENTRANT for Solaris threading.Bruce Momjian2004-03-261-1/+1
|
* Update gcc solaris flags.Bruce Momjian2004-03-251-5/+4
|
* Disasble threads on unixware until other platforms report a problem.Bruce Momjian2004-03-221-1/+3
|
* Add mention of "-D_POSIX_PTHREAD_SEMANTICS" enabling 5-arg getpwuid_r().Bruce Momjian2004-03-221-0/+1
|
* Add Unixware thread support from Larry Rosenman.Bruce Momjian2004-03-181-0/+7
|
* Update Solaris thread flags, per Jim SeymourBruce Momjian2004-03-141-3/+3
|
* Mark linux as thread-enabled with new 7.5 tests.Bruce Momjian2004-03-141-0/+7
|
* Check and set thread-safe functions separately, rather than as a singleBruce Momjian2004-02-117-13/+10
| | | | | | | | | | variable. Remove thread locking for non-thread-safe functions, instead throw a compile error. Platforms will have to re-run tools/thread to record their thread safety.