Commit 986bfc50 authored by Marc G. Fournier's avatar Marc G. Fournier

Misc port related issues

parent 4bd4ecf4
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# #
# #
# IDENTIFICATION # 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 # NOTES
# Passes any -D options on to cpp prior to generating the list # Passes any -D options on to cpp prior to generating the list
...@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf ...@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
* *
* Copyright (c) 1994, Regents of the University of California * 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 * NOTES
* ****************************** * ******************************
...@@ -152,7 +152,7 @@ extern void load_file(char *filename); ...@@ -152,7 +152,7 @@ extern void load_file(char *filename);
FuNkYfMgRsTuFf FuNkYfMgRsTuFf
awk '{ print $2, $1; }' $RAWFILE | \ awk '{ print $2, $1; }' $RAWFILE | \
tr '[a-z]' '[A-Z]' | \ @TR@ '[a-z]' '[A-Z]' | \
sed -e 's/^/#define F_/' >> $HFILE sed -e 's/^/#define F_/' >> $HFILE
cat >> $HFILE <<FuNkYfMgRsTuFf cat >> $HFILE <<FuNkYfMgRsTuFf
...@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF ...@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
......
This diff is collapsed.
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(backend/access/common/heaptuple.c) AC_INIT(backend/access/common/heaptuple.c)
AC_CANONICAL_HOST AC_CANONICAL_HOST
TR="tr"
case "$host_os" in case "$host_os" in
solaris*) solaris*)
case "$host_cpu" in case "$host_cpu" in
...@@ -17,7 +18,8 @@ nextstep*) PORTNAME='nextstep';; ...@@ -17,7 +18,8 @@ nextstep*) PORTNAME='nextstep';;
ultrix*) PORTNAME='ultrix4';; ultrix*) PORTNAME='ultrix4';;
irix*) PORTNAME='irix5';; irix*) PORTNAME='irix5';;
hpux*) PORTNAME='hpux';; hpux*) PORTNAME='hpux';;
osf*) PORTNAME='alpha';; osf*) PORTNAME='alpha'
TR="trbsd";;
sysv4.2*) sysv4.2*)
case "$host_vendor" in case "$host_vendor" in
univel) PORTNAME='univel';; univel) PORTNAME='univel';;
...@@ -36,6 +38,7 @@ nextstep*) PORTNAME='nextstep';; ...@@ -36,6 +38,7 @@ nextstep*) PORTNAME='nextstep';;
esac esac
AC_LINK_FILES(port/${PORTNAME}.h, include/os.h) AC_LINK_FILES(port/${PORTNAME}.h, include/os.h)
AC_SUBST(PORTNAME) AC_SUBST(PORTNAME)
AC_SUBST(TR)
AC_SUBST(LDFLAGS) AC_SUBST(LDFLAGS)
AC_SUBST(CPPFLAGS) AC_SUBST(CPPFLAGS)
...@@ -177,4 +180,4 @@ AC_SUBST(STRERROR) ...@@ -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(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_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 @@ ...@@ -6,7 +6,7 @@
*/ */
# define JMP_BUF # define JMP_BUF
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNAL # define USE_POSIX_SIGNALS
# if !defined(PPC) # if !defined(PPC)
# define NEED_I386_TAS_ASM # define NEED_I386_TAS_ASM
# define HAS_TEST_AND_SET # define HAS_TEST_AND_SET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment