summaryrefslogtreecommitdiff
path: root/src/template/unixware
Commit message (Collapse)AuthorAgeFilesLines
* Remove "sco" and "unixware" ports.Tom Lane2016-10-111-41/+0
| | | | | | | | | | | SCO OpenServer and SCO UnixWare are more or less dead platforms. We have never had a buildfarm member testing the "sco" port, and the last "unixware" member was last heard from in 2012, so it's fair to doubt that the code even compiles anymore on either one. Remove both ports. We can always undo this if someone shows up with an interest in maintaining and testing these platforms. Discussion: <17177.1476136994@sss.pgh.pa.us>
* 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
|
* 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-021-2/+2
| | | | handles that, and make solaris debug use no optimization.
* Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.Bruce Momjian2004-11-271-2/+2
|
* 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-261-3/+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.
* Add new auto-detection of thread flags.Bruce Momjian2004-04-231-9/+3
| | | | | | | 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.
* Disasble threads on unixware until other platforms report a problem.Bruce Momjian2004-03-221-1/+3
|
* Add Unixware thread support from Larry Rosenman.Bruce Momjian2004-03-181-0/+7
|
* Check and set thread-safe functions separately, rather than as a singleBruce Momjian2004-02-111-2/+1
| | | | | | | | | | 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.
* Add -O to really trigger compiler bug.Peter Eisentraut2003-11-051-1/+1
|
* Add detection of compiler bug.Peter Eisentraut2003-11-051-4/+20
|
* Fix CFLAGS selection to actually work. Add test to detect whether gcc'sPeter Eisentraut2003-10-251-1/+1
| | | | option -fno-strict-aliasing is available.
* Make template CFLAGS handling consistent.Bruce Momjian2003-10-091-1/+1
|
* This centralizes the optimization defaults into configure.in, ratherBruce Momjian2003-10-091-1/+0
| | | | | | | than having CFLAGS= in the template files. It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless the template overrides it.
* Finalize configuration of thread_test program.Bruce Momjian2003-09-271-1/+1
|
* Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian2003-09-271-3/+3
| | | | and improve tests.
* Attempt threading in this order:Bruce Momjian2003-09-131-1/+1
| | | | | | | | | * use non-*_r function names if they are all thread-safe * (NEED_REENTRANT_FUNCS=no) * use *_r functions if they exist (configure test) * do our own locking and copying of non-threadsafe functions New to this patch is the last option.
* Mark unixware as verified.Bruce Momjian2003-09-031-1/+1
|
* Add Unixware as verified.Bruce Momjian2003-09-031-1/+1
|
* Mark Unixware as not requiring *_r functions.Bruce Momjian2003-09-031-1/+1
|
* Fix unixware template --- had spaces around equals.Bruce Momjian2003-08-301-1/+1
|
* Fix unixware thread test.Bruce Momjian2003-08-251-1/+1
|
* Add quotes to += of unixware threads define.Bruce Momjian2003-08-241-1/+1
|
* Make NEED_REENTRANT_FUNC_NAMES _require_ *_r functions, and add tests toBruce Momjian2003-08-161-1/+1
| | | | configure to report if they are not found.
* Adjustment for unixware threading.Bruce Momjian2003-08-141-1/+3
|
* Mark unixware as having threaded support.Bruce Momjian2003-08-141-0/+4
|
* Adjust for compiler options for compiler bug.Bruce Momjian2003-08-131-1/+4
| | | | Larry Rosenman
* Remove leftovers from subproject removals. Fixes for Python and KerberosPeter Eisentraut2002-09-041-1/+0
| | | | configuration.
* Move CXX platform-specific stuff into template files.Bruce Momjian2002-07-071-0/+1
|
* Makeover for Unixware 7.1.1Peter Eisentraut2000-10-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile: Add more standard targets. Improve shell redirection in GNU make detection. * src/backend/access/transam/rmgr.c: Fix incorrect(?) C. * src/backend/libpq/pqcomm.c (StreamConnection): Work around accept() bug. * src/include/port/unixware.h: ...with help from here. * src/backend/nodes/print.c (plannode_type): Remove some "break"s after "return"s. * src/backend/tcop/dest.c (DestToFunction): ditto. * src/backend/nodes/readfuncs.c: Add proper prototypes. * src/backend/utils/adt/numutils.c (pg_atoi): Cope specially with strtol() setting EINVAL. This saves us from creating an extra set of regression test output for the affected systems. * src/include/storage/s_lock.h (tas): Correct prototype. * src/interfaces/libpq/fe-connect.c (parseServiceInfo): Don't use variable as dimension in array definition. * src/makefiles/Makefile.unixware: Add support for GCC. * src/template/unixware: same here * src/test/regress/expected/abstime-solaris-1947.out: Adjust whitespace. * src/test/regress/expected/horology-solaris-1947.out: Part of this file was evidently missing. * src/test/regress/pg_regress.sh: Fix shell. mkdir -p returns non-zero if the directory exists. * src/test/regress/resultmap: Add entries for Unixware.
* Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template toPeter Eisentraut2000-10-211-3/+0
| | | | | | | | | Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
* Remove CC and CXX.Bruce Momjian2000-10-211-2/+0
|
* Per my ongoing discussion with PeterE, here is the patch I applied toBruce Momjian2000-10-211-1/+3
| | | | | | src/template/unixware: Larry Rosenman
* Rename templates to match names in makefiles/Makefile.* and include/port.Peter Eisentraut2000-07-151-7/+6
| | | | | Read templates after compiler is detected. Convert all templates to real shell scripts. Rename bsd->openbsd, alpha->osf.
* Gen_fmgrtab.sh is strange: it is a platform dependent way (because it usesPeter Eisentraut2000-06-071-2/+0
| | | | | | | | | | | | | | | | | | | | | CPP) to create platform independent files. Unfortunately, that means that every config.status (or configure) run invariably causes a relink of the postmaster and also that we can't put these files in the distribution (usefully). So we make it a little smarter: when the output files already exist and it notices that it would recreate them in identical form, it doesn't touch them. In order to avoid re-running the make rule all the time we update a timestamp file instead. Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that is detected at configure time, not necessarily named `awk' and have it check for exit statuses a little better. In other news... Remove USE_LOCALE from the templates, it was set to `no' everywhere anyway. Also remove YACC and YFLAGS from the templates, configure is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules that need this flag should explicitly invoke it. YFLAGS should be a user variable. Update the makefiles to that effect.
* Here are some additional patches needed to get the UnixWare 7 C++Bruce Momjian1998-09-131-1/+1
| | | | | | | | | | | | | | compiler to attempt to compile libpq++. The patches address the following problems: 1. In my first pass at changing the libpq++ makefile, I forgot to include the PORTNAME in the Makefile.in file. 2. The UnixWare 7 C++ compiler did not like the '-K alloca' option in CXXFLAGS. Billy G. Allie
* Here are additional patches for the UnixWare 7 port.Bruce Momjian1998-08-221-2/+3
| | | | | | | | | | | | | | | | | | | Summary of changes: In pqcomm.h, use the SUN_LEN macro if it is defined to calculate the size of the sockaddr_un structure. In unixware.h, drop the use of the UNIXWARE macro. Everything can be handled with the USE_UNIVEL_CC and DISABLE_COMPLEX_MACRO macros. In s_lock.h, remove the reference to the UNIXWARE macro (see above). In the unixware template, add the YFLAGS:-d line. In various makefile templates, add (or cleanup) unixware and univel port specific information. -- Billy G. Allie
* My mailer munged the intro text in my last post. Here is the textBruce Momjian1998-07-191-0/+8
in a more readable form. -- I am submitting the following patches to the June 6, 1998 snapshot of PostgreSQL. These patches implement a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port (UnixWare 2.x). The patched files, and the reason for the patch are: File Reason for the patch --------------- --------------------------------------------------------------- src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h src/include/port/unixware.h src/makefiles/Makefile.unixware src/template/unixware Created for the UNIXWARE port. src/include/port/univel.h Modifed this file to work with the changes made to s_lock.[ch]. src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h Moved the UNIXWARE (and Univel) tas() function from s_lock.c to s_lock.h. The UnixWare compiler asm construct is treated as a macro and needs to be in the s_lock.h file. I also reworked the tas() function to correct some errors in the code. src/include/version.h.in The use of the ## operator with quoted strings in the VERSION macro caused problems with the UnixWare C compiler. I removed the ## operators since they were not needed in this case. The macro expands into a sequence of quoted strings that will be concatenated by any ANSI C compiler. src/config.guess This script was modified to recognize SCO UnixWare 7. src/configure src/configure.in The configure script was modified to recognize SCO UnixWare 7. Billy G. Allie