summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-02-21 23:33:14 +0000
committermiod <miod@openbsd.org>2002-02-21 23:33:14 +0000
commit150c1ad3a42c0a80b0b6b2aff41c0581ee4755d6 (patch)
tree095b7122357333ad90364abeb9d046b81f28fd06
parentnewlines at eof (diff)
downloadwireguard-openbsd-150c1ad3a42c0a80b0b6b2aff41c0581ee4755d6.tar.xz
wireguard-openbsd-150c1ad3a42c0a80b0b6b2aff41c0581ee4755d6.zip
Invoke helper scripts with relative path; this got borked in rev 1.13.
-rw-r--r--usr.sbin/httpd/src/Configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/httpd/src/Configure b/usr.sbin/httpd/src/Configure
index dd999f63f77..a372c264f6c 100644
--- a/usr.sbin/httpd/src/Configure
+++ b/usr.sbin/httpd/src/Configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: Configure,v 1.15 2002/02/12 07:56:49 beck Exp $
+# $OpenBSD: Configure,v 1.16 2002/02/21 23:33:14 miod Exp $
## ====================================================================
## The Apache Software License, Version 1.1
##
@@ -1635,8 +1635,8 @@ case "$PLAT" in
LIBS="-lsocket $LIBS"
fi
# Auto-detect presence of libdl for dynamic loading
- if ${SHELL} /helpers/TestCompile lib dl; then
- if ${SHELL} /helpers/TestCompile func dlopen; then
+ if ${SHELL} ./helpers/TestCompile lib dl; then
+ if ${SHELL} ./helpers/TestCompile func dlopen; then
LIBS="$LIBS -ldl"
TLIB='-ldl'
fi
@@ -1650,7 +1650,7 @@ case "$PLAT" in
CFLAGS="$CFLAGS -DNEED_UNION_SEMUN"
fi
# Test for the presence of the _rini_struct typedef:
- if TCADDINCL='#include <pwd.h>' ${SHELL} /helpers/TestCompile sizeof _rini_struct; then
+ if TCADDINCL='#include <pwd.h>' ${SHELL} ./helpers/TestCompile sizeof _rini_struct; then
CFLAGS="$CFLAGS -DHAVE_RINI_STRUCT"
fi
# Test whether initgroups() must be emulated: