mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Misc port related issues
This commit is contained in:
parent
4bd4ecf498
commit
986bfc5053
@ -8,7 +8,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.13 1997/01/24 17:59:58 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1 1997/04/01 09:26:49 scrappy Exp $
|
||||
#
|
||||
# NOTES
|
||||
# Passes any -D options on to cpp prior to generating the list
|
||||
@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: Gen_fmgrtab.sh,v 1.13 1997/01/24 17:59:58 scrappy Exp $
|
||||
* $Id: Gen_fmgrtab.sh.in,v 1.1 1997/04/01 09:26:49 scrappy Exp $
|
||||
*
|
||||
* NOTES
|
||||
* ******************************
|
||||
@ -152,7 +152,7 @@ extern void load_file(char *filename);
|
||||
|
||||
FuNkYfMgRsTuFf
|
||||
awk '{ print $2, $1; }' $RAWFILE | \
|
||||
tr '[a-z]' '[A-Z]' | \
|
||||
@TR@ '[a-z]' '[A-Z]' | \
|
||||
sed -e 's/^/#define F_/' >> $HFILE
|
||||
cat >> $HFILE <<FuNkYfMgRsTuFf
|
||||
|
||||
@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.13 1997/01/24 17:59:58 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1 1997/04/01 09:26:49 scrappy Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
358
src/configure
vendored
358
src/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(backend/access/common/heaptuple.c)
|
||||
AC_CANONICAL_HOST
|
||||
TR="tr"
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
case "$host_cpu" in
|
||||
@ -17,7 +18,8 @@ nextstep*) PORTNAME='nextstep';;
|
||||
ultrix*) PORTNAME='ultrix4';;
|
||||
irix*) PORTNAME='irix5';;
|
||||
hpux*) PORTNAME='hpux';;
|
||||
osf*) PORTNAME='alpha';;
|
||||
osf*) PORTNAME='alpha'
|
||||
TR="trbsd";;
|
||||
sysv4.2*)
|
||||
case "$host_vendor" in
|
||||
univel) PORTNAME='univel';;
|
||||
@ -36,6 +38,7 @@ nextstep*) PORTNAME='nextstep';;
|
||||
esac
|
||||
AC_LINK_FILES(port/${PORTNAME}.h, include/os.h)
|
||||
AC_SUBST(PORTNAME)
|
||||
AC_SUBST(TR)
|
||||
AC_SUBST(LDFLAGS)
|
||||
AC_SUBST(CPPFLAGS)
|
||||
|
||||
@ -177,4 +180,4 @@ AC_SUBST(STRERROR)
|
||||
AC_CHECK_FUNC(cbrt, AC_DEFINE(HAVE_CBRT), AC_CHECK_LIB(m, cbrt, AC_DEFINE(HAVE_CBRT)))
|
||||
AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT), AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT)))
|
||||
|
||||
AC_OUTPUT(GNUmakefile Makefile.global backend/port/Makefile bin/psql/Makefile bin/pg_dump/Makefile)
|
||||
AC_OUTPUT(GNUmakefile Makefile.global backend/port/Makefile bin/psql/Makefile bin/pg_dump/Makefile backend/utils/Gen_fmgrtab.sh)
|
||||
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
# define JMP_BUF
|
||||
# define USE_POSIX_TIME
|
||||
# define USE_POSIX_SIGNAL
|
||||
# define USE_POSIX_SIGNALS
|
||||
# if !defined(PPC)
|
||||
# define NEED_I386_TAS_ASM
|
||||
# define HAS_TEST_AND_SET
|
||||
|
Loading…
Reference in New Issue
Block a user