Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 444532 | Differences between
and this patch

Collapse All | Expand All

(-)src/conf.h.in.old (+3 lines)
Lines 773-775 Link Here
773
773
774
/* Define to rpl_vsnprintf if the replacement function should be used. */
774
/* Define to rpl_vsnprintf if the replacement function should be used. */
775
#undef vsnprintf
775
#undef vsnprintf
776
777
/* Define to the path for running ifconfig -a */
778
#undef IFCONFIG_RUN
(-)src/unix.c.old (-1 / +1 lines)
Lines 900-906 Link Here
900
900
901
    default:
901
    default:
902
902
903
        if ((pp = cf_popen("/sbin/ifconfig -a", "r")) == NULL)
903
        if ((pp = cf_popen(IFCONFIG_RUN, "r")) == NULL)
904
        {
904
        {
905
            CfOut(cf_verbose, "", "Could not find interface info\n");
905
            CfOut(cf_verbose, "", "Could not find interface info\n");
906
            return;
906
            return;
(-)configure.ac.old (+10 lines)
Lines 882-887 Link Here
882
882
883
883
884
dnl ######################################################################
884
dnl ######################################################################
885
dnl Find the path to ifconfig
886
dnl ######################################################################
887
888
AC_PATH_PROG(IFCONFIG_PATH,ifconfig)
889
if test x"$IFCONFIG_PATH" = x"" ; then
890
  AC_MSG_ERROR([Cannot found the ifconfig binary.])
891
fi
892
AC_DEFINE_UNQUOTED(IFCONFIG_RUN, "$IFCONFIG_PATH -a", [the path to run ifconfig -a])
893
894
dnl ######################################################################
885
dnl Summarize
895
dnl Summarize
886
dnl ######################################################################
896
dnl ######################################################################
887
897

Return to bug 444532