patch-configure_ac 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. --- openvpn-2.3.2.orig/configure.ac 2013-05-31 14:00:25.000000000 +0200
  2. +++ openvpn-2.3.2/configure.ac 2014-02-15 14:45:30.000000000 +0100
  3. @@ -353,19 +353,13 @@ AC_PROG_MAKE_SET
  4. AC_ARG_VAR([IFCONFIG], [full path to ipconfig utility])
  5. AC_ARG_VAR([ROUTE], [full path to route utility])
  6. -AC_ARG_VAR([IPROUTE], [full path to ip utility])
  7. AC_ARG_VAR([NETSTAT], [path to netstat utility]) # tests
  8. AC_ARG_VAR([MAN2HTML], [path to man2html utility])
  9. AC_ARG_VAR([GIT], [path to git utility])
  10. -AC_PATH_PROGS([IFCONFIG], [ifconfig],, [$PATH:/usr/local/sbin:/usr/sbin:/sbin])
  11. -AC_PATH_PROGS([ROUTE], [route],, [$PATH:/usr/local/sbin:/usr/sbin:/sbin])
  12. -AC_PATH_PROGS([IPROUTE], [ip],, [$PATH:/usr/local/sbin:/usr/sbin:/sbin])
  13. AC_CHECK_PROGS([NETSTAT], [netstat], [netstat], [$PATH:/usr/local/sbin:/usr/sbin:/sbin:/etc]) # tests
  14. AC_CHECK_PROGS([MAN2HTML], [man2html])
  15. AC_CHECK_PROGS([GIT], [git]) # optional
  16. -AC_DEFINE_UNQUOTED([IFCONFIG_PATH], ["$IFCONFIG"], [Path to ifconfig tool])
  17. -AC_DEFINE_UNQUOTED([IPROUTE_PATH], ["$IPROUTE"], [Path to iproute tool])
  18. -AC_DEFINE_UNQUOTED([ROUTE_PATH], ["$ROUTE"], [Path to route tool])
  19. +AC_DEFINE_UNQUOTED([IPROUTE_PATH], ["/sbin"], [Path to iproute tool])
  20. #
  21. # Libtool
  22. @@ -982,7 +976,6 @@ else
  23. fi
  24. if test "${enable_iproute2}" = "yes"; then
  25. - test -z "${IPROUTE}" && AC_MSG_ERROR([ip utility is required but missing])
  26. AC_DEFINE([ENABLE_IPROUTE], [1], [enable iproute2 support])
  27. else
  28. if test "${WIN32}" != "yes"; then