summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut2008-12-07 08:36:22 +0000
committerPeter Eisentraut2008-12-07 08:36:22 +0000
commitb2971e2048c9109a084abf08aa65ff609cce44b9 (patch)
tree5ab87d54816de8175b8f6824d3d86fe55a5cd39e /configure.in
parentff1ea2173a92dea975d399a4ca25723f83762e55 (diff)
Set up ar, dlltool, dllwrap, and windres for cross-compiling if necessary.
Plus some makefile cleanup. part of a patch from Richard Evans
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9e4c2caf2ef..eaccedfb724 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.575 2008/12/02 10:39:30 mha Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.576 2008/12/07 08:36:21 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -817,6 +817,12 @@ case $host_os in sysv5*)
esac
AC_PROG_RANLIB
PGAC_CHECK_STRIP
+AC_CHECK_TOOL(AR, ar, ar)
+if test "$PORTNAME" = "win32"; then
+ AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
+ AC_CHECK_TOOL(DLLWRAP, dllwrap, dllwrap)
+ AC_CHECK_TOOL(WINDRES, windres, windres)
+fi
AC_PATH_PROG(TAR, tar)
AC_PROG_LN_S