Andrew Geissler | 1fe918a | 2020-05-15 14:16:47 -0500 | [diff] [blame] | 1 | Sendmail exists after the system boots. We are using postfix |
| 2 | so no need to check if it exists. |
| 3 | |
| 4 | Upstream-Status: Inappropriate [embedded specific] |
| 5 | |
| 6 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
| 7 | |
| 8 | Index: arpwatch-3.0/configure |
| 9 | =================================================================== |
| 10 | --- arpwatch-3.0.orig/configure |
| 11 | +++ arpwatch-3.0/configure |
| 12 | @@ -636,7 +636,6 @@ LBL_LIBS |
| 13 | HAVE_FREEBSD_TRUE |
| 14 | HAVE_FREEBSD_FALSE |
| 15 | PYTHON |
| 16 | -V_SENDMAIL |
| 17 | LIBOBJS |
| 18 | INSTALL_DATA |
| 19 | INSTALL_SCRIPT |
| 20 | @@ -5573,53 +5572,6 @@ fi |
| 21 | done |
| 22 | |
| 23 | |
| 24 | -# Extract the first word of "sendmail", so it can be a program name with args. |
| 25 | -set dummy sendmail; ac_word=$2 |
| 26 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 27 | -$as_echo_n "checking for $ac_word... " >&6; } |
| 28 | -if ${ac_cv_path_V_SENDMAIL+:} false; then : |
| 29 | - $as_echo_n "(cached) " >&6 |
| 30 | -else |
| 31 | - case $V_SENDMAIL in |
| 32 | - [\\/]* | ?:[\\/]*) |
| 33 | - ac_cv_path_V_SENDMAIL="$V_SENDMAIL" # Let the user override the test with a path. |
| 34 | - ;; |
| 35 | - *) |
| 36 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 37 | -as_dummy="$PATH:/usr/sbin:/usr/lib:/usr/bin:/usr/ucblib:/usr/local/etc" |
| 38 | -for as_dir in $as_dummy |
| 39 | -do |
| 40 | - IFS=$as_save_IFS |
| 41 | - test -z "$as_dir" && as_dir=. |
| 42 | - for ac_exec_ext in '' $ac_executable_extensions; do |
| 43 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 44 | - ac_cv_path_V_SENDMAIL="$as_dir/$ac_word$ac_exec_ext" |
| 45 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 46 | - break 2 |
| 47 | - fi |
| 48 | -done |
| 49 | - done |
| 50 | -IFS=$as_save_IFS |
| 51 | - |
| 52 | - ;; |
| 53 | -esac |
| 54 | -fi |
| 55 | -V_SENDMAIL=$ac_cv_path_V_SENDMAIL |
| 56 | -if test -n "$V_SENDMAIL"; then |
| 57 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $V_SENDMAIL" >&5 |
| 58 | -$as_echo "$V_SENDMAIL" >&6; } |
| 59 | -else |
| 60 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 61 | -$as_echo "no" >&6; } |
| 62 | -fi |
| 63 | - |
| 64 | - |
| 65 | - |
| 66 | -if test -z "${V_SENDMAIL}" ; then |
| 67 | - as_fn_error $? "Can't find sendmail" "$LINENO" 5 |
| 68 | -fi |
| 69 | - |
| 70 | - |
| 71 | python=${PYTHON:-python} |
| 72 | # Extract the first word of "${python}", so it can be a program name with args. |
| 73 | set dummy ${python}; ac_word=$2 |
| 74 | Index: arpwatch-3.0/configure.in |
| 75 | =================================================================== |
| 76 | --- arpwatch-3.0.orig/configure.in |
| 77 | +++ arpwatch-3.0/configure.in |
| 78 | @@ -76,13 +76,6 @@ AC_LBL_UNION_WAIT |
| 79 | AC_CHECK_LIB(resolv, res_query) |
| 80 | AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS) |
| 81 | |
| 82 | -AC_PATH_PROG(V_SENDMAIL, sendmail,, |
| 83 | - $PATH:/usr/sbin:/usr/lib:/usr/bin:/usr/ucblib:/usr/local/etc) |
| 84 | - |
| 85 | -if test -z "${V_SENDMAIL}" ; then |
| 86 | - AC_MSG_ERROR([Can't find sendmail]) |
| 87 | -fi |
| 88 | - |
| 89 | dnl AC_LBL_CHECK_TYPE(int32_t, int) |
| 90 | dnl AC_LBL_CHECK_TYPE(u_int32_t, u_int) |
| 91 | |