From b2971e2048c9109a084abf08aa65ff609cce44b9 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 7 Dec 2008 08:36:22 +0000 Subject: Set up ar, dlltool, dllwrap, and windres for cross-compiling if necessary. Plus some makefile cleanup. part of a patch from Richard Evans --- configure.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.in') 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 -- cgit v1.2.3