From 3e7e7b6879b02e8341232ba67d7cbf8c90c79ff1 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 25 Nov 2009 20:19:36 +0000 Subject: [PATCH] --srcdir fix (FSBUILD-211) git-svn-id: http://svn.openzap.org/svn/openzap/trunk@905 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/configure.gnu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/openzap/configure.gnu b/libs/openzap/configure.gnu index 5785ffc0e7..002d5eab53 100644 --- a/libs/openzap/configure.gnu +++ b/libs/openzap/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-pic