diff options
Diffstat (limited to 'net/freeradius2/files/patch-configure.in')
-rw-r--r-- | net/freeradius2/files/patch-configure.in | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/net/freeradius2/files/patch-configure.in b/net/freeradius2/files/patch-configure.in deleted file mode 100644 index fc088cd3352a..000000000000 --- a/net/freeradius2/files/patch-configure.in +++ /dev/null @@ -1,49 +0,0 @@ ---- ./configure.in.orig 2012-09-10 18:53:25.000000000 -0400 -+++ ./configure.in 2012-09-10 18:55:15.000000000 -0400 -@@ -158,8 +158,7 @@ - dnl use system-wide libtool, if it exists - AC_ARG_WITH(system-libtool, - [ --with-system-libtool Use the libtool installed in your system (default=use our own)], --[ AC_PATH_PROG(LIBTOOL, libtool,,$PATH:/usr/local/bin) AC_LIBTOOL_DLOPEN -- AC_PROG_LIBTOOL], -+[ AC_PATH_PROG(LIBTOOL, libtool,,$PATH:/usr/local/bin) ], - [ - LIBTOOL="`pwd`/libtool" - AC_SUBST(LIBTOOL) -@@ -502,6 +501,21 @@ - AC_DEFINE(WITH_UDPFROMTO, [], [define if you want udpfromto]) - fi - -+dnl extra argument: --with-perl -+WITH_PERL=yes -+AC_ARG_WITH(perl, -+ [ --with-perl Enable Perl support. (default=yes)], -+ [ case "$withval" in -+ yes) -+ ;; -+ *) -+ WITH_PERL=no -+ esac ] -+ ) -+if test "x$WITH_PERL" = "xno"; then -+ with_rlm_perl=no -+fi -+ - dnl ############################################################# - dnl # - dnl # 1. Checks for programs -@@ -509,10 +523,14 @@ - dnl ############################################################# - - CHECKRAD=checkrad.pl -+if test "x$WITH_PERL" = "xyes"; then - AC_PATH_PROG(PERL, perl, /usr/local/bin/perl) - if test "x$ac_cv_path_PERL" = "x"; then - AC_MSG_WARN(perl not found - Simultaneous-Use and checkrad.pl may not work) - fi -+else -+ AC_MSG_WARN(perl disabled - Simultaneous-Use and checkrad.pl may not work) -+fi - AC_PATH_PROG(SNMPGET, snmpget) - if test "x$ac_cv_path_SNMPGET" = "x"; then - AC_MSG_WARN(snmpget not found - Simultaneous-Use and checkrad.pl may not work) |