git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build for OpenSSL 3.0.0 . Bug 2810
[exim.git]
/
src
/
src
/
exinext.src
diff --git
a/src/src/exinext.src
b/src/src/exinext.src
index 47f9de5178ef6ccf41e2caf60a3aaea0c6d4ece1..91380186747240b0c31d0bfa6a5e992970c68216 100644
(file)
--- a/
src/src/exinext.src
+++ b/
src/src/exinext.src
@@
-1,7
+1,6
@@
#! /bin/sh
#! /bin/sh
-# $Cambridge: exim/src/src/exinext.src,v 1.2 2005/12/22 11:47:24 ph10 Exp $
-# Copyright (c)
1996-2004 University of Cambridge.
+# Copyright (c)
University of Cambridge, 1995 - 2007
# See the file NOTICE for conditions of use and distribution.
# Except when they appear in comments, the following placeholders in this
# See the file NOTICE for conditions of use and distribution.
# Except when they appear in comments, the following placeholders in this
@@
-26,16
+25,23
@@
config=
eximmacdef=
exim_path=
eximmacdef=
exim_path=
-if expr $1 : '\-' >/dev/null ; then
- while expr $1 : '\-' >/dev/null ; do
+if test "x$1" = x--version
+then
+ echo "`basename $0`: $0"
+ echo "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION"
+ exit 0
+fi
+
+if expr -- $1 : '\-' >/dev/null ; then
+ while expr -- $1 : '\-' >/dev/null ; do
if [ "$1" = "-C" ]; then
config=$2
shift
shift
if [ "$1" = "-C" ]; then
config=$2
shift
shift
- elif expr $1 : '\-D' >/dev/null ; then
+ elif expr
--
$1 : '\-D' >/dev/null ; then
eximmacdef="$eximmacdef $1"
eximmacdef="$eximmacdef $1"
- if expr $1 : '\-DEXIM_PATH=' >/dev/null ; then
- exim_path=`expr $1 : '\-DEXIM_PATH=\(.*\)'`
+ if expr
--
$1 : '\-DEXIM_PATH=' >/dev/null ; then
+ exim_path=`expr
--
$1 : '\-DEXIM_PATH=\(.*\)'`
fi
shift
else
fi
shift
else
@@
-65,9
+71,9
@@
if [ "$config" = "" ]; then
# suffixed file in each case.
set `awk -F: '{ for (i = 1; i <= NF; i++) print $i }' <<End
# suffixed file in each case.
set `awk -F: '{ for (i = 1; i <= NF; i++) print $i }' <<End
-
CONFIGURE_FILE
-
End
-
`
+CONFIGURE_FILE
+End
+`
while [ "$config" = "" -a $# -gt 0 ] ; do
if [ -f "$1$hostsuffix" ] ; then
config="$1$hostsuffix"
while [ "$config" = "" -a $# -gt 0 ] ; do
if [ -f "$1$hostsuffix" ] ; then
config="$1$hostsuffix"
@@
-116,6
+122,9
@@
fi
perl - $exim_path "$eximmacdef" $argone $spool_directory $qualify_domain $config <<'End'
perl - $exim_path "$eximmacdef" $argone $spool_directory $qualify_domain $config <<'End'
+ # We don't import anything, but guard against future changes which do
+ BEGIN { pop @INC if $INC[-1] eq '.' };
+
# Name the arguments
$exim = $ARGV[0];
# Name the arguments
$exim = $ARGV[0];