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. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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