blob: b87e9eec26ccefd4517cf85d7c1e623c3673610b [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From c6304a3e4b8441ff0a6464c0f1f6c5229092fa32 Mon Sep 17 00:00:00 2001
2From: Niels Baggesen <nba@users.sourceforge.net>
3Date: Wed, 24 May 2017 16:40:03 +0800
4Subject: [PATCH 1/4] configure: fix check for --enable-perl-cc-checks
5
6This patch comes from git://git.code.sf.net/p/net-snmp/code,
7the commit is 8f431d410b803603dc809d82e0893509615d9a11.
8
9Upstream-Status: Backport
10
11Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
12---
13 configure.d/config_project_perl_python | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/configure.d/config_project_perl_python b/configure.d/config_project_perl_python
17index 23f8c7e..475c843 100644
18--- a/configure.d/config_project_perl_python
19+++ b/configure.d/config_project_perl_python
20@@ -84,7 +84,7 @@ if test "x$install_perl" != "xno" ; then
21
22 # What compiler was used to build the perl binary?
23 #
24- if test "xenable_perl_cc_checks" != "xno" ; then
25+ if test "x$enable_perl_cc_checks" != "xno" ; then
26 AC_MSG_CHECKING([for Perl cc])
27 changequote(, )
28 PERLCC=`$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
29--
301.9.1
31