2017-03-15 20:28 GMT+05:00 Gert Doering <g...@greenie.muc.de>:
> Hi,
>
> On Wed, Mar 15, 2017 at 08:15:08PM +0500, ???????? ?????????????? wrote:
> > I'm playing with AppVeyor, and I figured out that I have no idea why does
> > "ifconfig" is checked during build process:
> >
> > [ilia@localhost openvpn]$ grep ifconfig configure.ac
> > AC_PATH_PROGS([IFCONFIG], [ifconfig],,
> > [$PATH:/usr/local/sbin:/usr/sbin:/sbin])
> > AC_DEFINE_UNQUOTED([IFCONFIG_PATH], ["$IFCONFIG"], [Path to ifconfig
> tool])
> > test -z "${IFCONFIG}" && AC_MSG_ERROR([ifconfig utility is
> required
> > but missing])
> > [ilia@localhost openvpn]$
> >
> >
> > well, it makes sense that it might be required for running openvpn. but
> why
> > to check it during build ?
>
> To find the path that we're going to call the binary with. We do not
> rely on $PATH resolution at runtime.
>
well, what if I will not change current (i.e. default behaviour), but
instead I will add a possibility to specify ifconfig explicitly ?
>
> gert
> --
> USENET is *not* the non-clickable part of WWW!
> //
> www.muc.de/~gert/ <http://www.muc.de/%7Egert/>
> Gert Doering - Munich, Germany
> g...@greenie.muc.de
> fax: +49-89-35655025 g...@net.informatik.tu-
> muenchen.de
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel