Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From c6304a3e4b8441ff0a6464c0f1f6c5229092fa32 Mon Sep 17 00:00:00 2001 |
| 2 | From: Niels Baggesen <nba@users.sourceforge.net> |
| 3 | Date: Wed, 24 May 2017 16:40:03 +0800 |
| 4 | Subject: [PATCH 1/4] configure: fix check for --enable-perl-cc-checks |
| 5 | |
| 6 | This patch comes from git://git.code.sf.net/p/net-snmp/code, |
| 7 | the commit is 8f431d410b803603dc809d82e0893509615d9a11. |
| 8 | |
| 9 | Upstream-Status: Backport |
| 10 | |
| 11 | Signed-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 | |
| 16 | diff --git a/configure.d/config_project_perl_python b/configure.d/config_project_perl_python |
| 17 | index 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 | -- |
| 30 | 1.9.1 |
| 31 | |