summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-21 22:36:14 +0000
committerPeter Eisentraut2000-10-21 22:36:14 +0000
commitf8ff1ee5aab125fc1e5e130e6055a0e6586ce440 (patch)
treeb8ccedfa296d6a8acbb7277e7c0347dbdfac6b66 /configure.in
parent0968601b1baaceb8e9d6b437e8e740b4c9ff34c5 (diff)
Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to
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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 8134ec8b7b3..20122583e25 100644
--- a/configure.in
+++ b/configure.in
@@ -115,16 +115,15 @@ AC_LINK_FILES([src/makefiles/Makefile.${template}], [src/Makefile.port])
# Pick right test-and-set (TAS) code. Most platforms have inline
# assembler code in src/include/storage/s_lock.h, so we just use
# a dummy file here.
-tas_file=dummy.s
-need_tas=no
case $host in
*-*-hpux*) need_tas=yes; tas_file=hpux.s ;;
sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
i?86-*-solaris) need_tas=yes; tas_file=solaris_i386.s ;;
+ *) need_tas=no; tas_file=dummy.s ;;
esac
+AC_LINK_FILES([src/backend/port/tas/${tas_file}], [src/backend/port/tas.s])
if test "$need_tas" = yes ; then
- AC_LINK_FILES([src/backend/port/tas/${tas_file}], [src/backend/port/tas.s])
TAS=tas.o
fi
AC_SUBST(TAS)
@@ -249,12 +248,7 @@ AC_PROG_CC_WORKS
AC_EXEEXT
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
-
AC_SUBST(GCC)
-AC_SUBST(AROPT)
-AC_SUBST(SHARED_LIB)
-AC_SUBST(DLSUFFIX)
-AC_SUBST(DL_LIB)
# Create compiler version string
if test x"$GCC" = x"yes" ; then