X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/76ea0716a2491ac7b963aaf503c81a737e966e54..778bfade4c53a763fbd2aecaa7435ffb2e430f7b:/src/scripts/Configure-Makefile?ds=sidebyside diff --git a/src/scripts/Configure-Makefile b/src/scripts/Configure-Makefile index 41cc88b18..35bb2c32f 100755 --- a/src/scripts/Configure-Makefile +++ b/src/scripts/Configure-Makefile @@ -1,5 +1,5 @@ #! /bin/sh -# $Cambridge: exim/src/scripts/Configure-Makefile,v 1.2 2005/09/19 14:42:31 ph10 Exp $ +# $Cambridge: exim/src/scripts/Configure-Makefile,v 1.3 2009/11/20 21:22:20 nm4 Exp $ # Shell script to build Makefile in a build directory. It must be called # from inside the directory. It does its own checking of when to rebuild; it @@ -129,6 +129,12 @@ if [ "${EXIM_PERL}" != "" ] ; then exit 1 fi + EXTUTILS_EMBED_NOT_INSTALLED=`$PERL_COMMAND -MExtUtils::Embed -e ";" 2>&1` + if [ "${EXTUTILS_EMBED_NOT_INSTALLED}" != "" ] ; then + echo "Please install ExtUtils::Embed for $PERL_COMMAND" + exit 1; + fi + mv $mft $mftt echo "PERL_CC=`$PERL_COMMAND -MConfig -e 'print $Config{cc}'`" >>$mft echo "PERL_CCOPTS=`$PERL_COMMAND -MExtUtils::Embed -e ccopts`" >>$mft