mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Learning a little more about autoconf each day...
Fix inclusion of 'tas.s' for various ports
This commit is contained in:
parent
d6b5d8506d
commit
b17bf38ccc
450
src/configure
vendored
450
src/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -6,15 +6,8 @@ AC_CANONICAL_HOST
|
|||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
solaris*)
|
solaris*)
|
||||||
case "$host_cpu" in
|
case "$host_cpu" in
|
||||||
sparc) os=sparc_solaris
|
sparc) os=sparc_solaris need_tas=yes ;;
|
||||||
AC_LINK_FILES(backend/port/tas/sparc_solaris.s, backend/port/tas.s)
|
i386) os=i386_solaris need_tas=yes ;;
|
||||||
TAS=tas.o
|
|
||||||
AC_SUBST(TAS) ;;
|
|
||||||
i386)
|
|
||||||
os=i386_solaris
|
|
||||||
AC_LINK_FILES(backend/port/tas/i386_solaris.s, backend/port/tas.s)
|
|
||||||
TAS=tas.o
|
|
||||||
AC_SUBST(TAS) ;;
|
|
||||||
esac ;;
|
esac ;;
|
||||||
sunos*) os=sunos4 ;;
|
sunos*) os=sunos4 ;;
|
||||||
aux*) os=aux ;;
|
aux*) os=aux ;;
|
||||||
@ -26,10 +19,7 @@ case "$host_os" in
|
|||||||
nextstep*) os=nextstep;;
|
nextstep*) os=nextstep;;
|
||||||
ultrix*) os=ultrix4;;
|
ultrix*) os=ultrix4;;
|
||||||
irix*) os=irix5;;
|
irix*) os=irix5;;
|
||||||
hpux*) os=hpux
|
hpux*) os=hpux need_tas=yes ;;
|
||||||
AC_LINK_FILES(backend/port/tas/hpux.s, backend/port/tas.s)
|
|
||||||
TAS=tas.o
|
|
||||||
AC_SUBST(TAS) ;;
|
|
||||||
osf*) os=alpha;;
|
osf*) os=alpha;;
|
||||||
sco*) os=sco;;
|
sco*) os=sco;;
|
||||||
machten*) os=machten;;
|
machten*) os=machten;;
|
||||||
@ -52,6 +42,12 @@ nextstep*) os=nextstep;;
|
|||||||
exit;;
|
exit;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if test $need_tas = "yes"
|
||||||
|
then
|
||||||
|
AC_LINK_FILES(backend/port/tas/${os}.s, backend/port/${os}.s)
|
||||||
|
TAS=tas.o
|
||||||
|
AC_SUBST(TAS)
|
||||||
|
fi
|
||||||
PORTNAME=${os}
|
PORTNAME=${os}
|
||||||
AC_LINK_FILES(backend/port/dynloader/${os}.c, backend/port/dynloader.c)
|
AC_LINK_FILES(backend/port/dynloader/${os}.c, backend/port/dynloader.c)
|
||||||
AC_LINK_FILES(backend/port/dynloader/${os}.h, include/dynloader.h)
|
AC_LINK_FILES(backend/port/dynloader/${os}.h, include/dynloader.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user