提交 b17bf38c 编写于 作者: M Marc G. Fournier

Learning a little more about autoconf each day...

Fix inclusion of 'tas.s' for various ports
上级 d6b5d850
此差异已折叠。
...@@ -6,15 +6,8 @@ AC_CANONICAL_HOST ...@@ -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 ...@@ -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;; ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册