~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/snmp_perl.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        return;
78
78
    }
79
79
    DEBUGMSGTL(("perl", "calling perl\n"));
80
 
#ifdef HAVE_EVAL_PV
 
80
#if defined(HAVE_EVAL_PV) || defined(eval_pv)
81
81
    /* newer perl */
82
82
    eval_pv(something, TRUE);
83
83
#else
84
 
#ifdef HAVE_PERL_EVAL_PV
85
 
    /* older perl */
 
84
#if defined(HAVE_PERL_EVAL_PV_LC) || defined(perl_eval_pv)
 
85
    /* older perl? */
86
86
    perl_eval_pv(something, TRUE);
87
 
#else /* !HAVE_PERL_EVAL_PV */
 
87
#else /* HAVE_PERL_EVAL_PV_LC */
 
88
#ifdef HAVE_PERL_EVAL_PV_UC
 
89
    /* older perl? */
 
90
    Perl_eval_pv(my_perl, something, TRUE);
 
91
#else /* !HAVE_PERL_EVAL_PV_UC */
88
92
#error embedded perl broken 
89
 
#endif /* !HAVE_PERL_EVAL_PV */
 
93
#endif /* !HAVE_PERL_EVAL_PV_LC */
 
94
#endif /* !HAVE_PERL_EVAL_PV_UC */
90
95
#endif /* !HAVE_EVAL_PV */
91
96
    DEBUGMSGTL(("perl", "finished calling perl\n"));
92
97
}