summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-08-13 12:02:12 +0200
committerWerner Koch <wk@gnupg.org>2010-08-13 12:02:12 +0200
commit4a230275f88b1f3dcd2479ad226ac644b1339adf (patch)
treee4c2cf9db376a018d4a17a6ce69bc55febf0e4e9 /autogen.sh
parentFix last change (diff)
downloadgnupg2-4a230275f88b1f3dcd2479ad226ac644b1339adf.tar.xz
gnupg2-4a230275f88b1f3dcd2479ad226ac644b1339adf.zip
Fixed LDAP access on CE
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 30c2b1adc..bdc5bfe95 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -40,6 +40,8 @@ MSGMERGE=${GETTEXT_PREFIX}${MSGMERGE:-msgmerge}${GETTEXT_SUFFIX}
DIE=no
FORCE=
+tmp=`dirname $0`
+tsdir=`cd "$tmp"; pwd`
if test x"$1" = x"--force"; then
FORCE=" --force"
shift
@@ -89,8 +91,6 @@ esac
# ***** W32 build script *******
# Used to cross-compile for Windows.
if [ "$myhost" = "w32" ]; then
- tmp=`dirname $0`
- tsdir=`cd "$tmp"; pwd`
shift
if [ ! -f $tsdir/scripts/config.guess ]; then
echo "$tsdir/scripts/config.guess not found" >&2
@@ -140,7 +140,7 @@ if [ "$myhost" = "w32" ]; then
fi
fi
- ./configure --enable-maintainer-mode --prefix=${w32root} \
+ $tsdir/configure --enable-maintainer-mode --prefix=${w32root} \
--host=${host} --build=${build} \
--with-gpg-error-prefix=${w32root} \
--with-ksba-prefix=${w32root} \
@@ -159,8 +159,6 @@ fi
# ***** AMD64 cross build script *******
# Used to cross-compile for AMD64 (for testing)
if [ "$myhost" = "amd64" ]; then
- tmp=`dirname $0`
- tsdir=`cd "$tmp"; pwd`
shift
if [ ! -f $tsdir/scripts/config.guess ]; then
echo "$tsdir/scripts/config.guess not found" >&2