diff options
author | Thomas Habets <thomas@habets.se> | 2011-11-01 00:27:35 +0000 |
---|---|---|
committer | Thomas Habets <thomas@habets.se> | 2011-11-01 00:27:35 +0000 |
commit | b7e8a786654c4ca1e6dc37f7b002ab71b07e46e3 (patch) | |
tree | 75f050f4daef96f00138c3e524f3b3abadade06a /configure | |
parent | a03413aa161cace9733a0a3c3c98420c761484ee (diff) | |
download | arping-b7e8a786654c4ca1e6dc37f7b002ab71b07e46e3.tar.gz |
Updated autogenerated files
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 48 |
1 files changed, 34 insertions, 14 deletions
@@ -5979,7 +5979,9 @@ _ACEOF -for ac_func in gettimeofday memset select strchr strdup strerror strstr + +for ac_func in gettimeofday memset select strchr strdup strerror strstr \ +getifaddrs do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -6073,32 +6075,49 @@ fi done -case "$target_os" in - *linux*) - case " $LIBOBJS " in +if test x$ac_cv_func_getifaddrs = xyes; then + case " $LIBOBJS " in + *" findif_getifaddrs.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS findif_getifaddrs.$ac_objext" + ;; +esac + +else + case "$target_os" in + *linux*) + case " $LIBOBJS " in *" findif_linux.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS findif_linux.$ac_objext" ;; esac - ;; - *freebsd*|*openbsd*|*solaris*|*darwin*) - case " $LIBOBJS " in - *" findif_bsd.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS findif_bsd.$ac_objext" + ;; + *freebsd*|*openbsd*|*darwin*) + case " $LIBOBJS " in + *" findif_sysctl.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS findif_sysctl.$ac_objext" + ;; +esac + + ;; + *solaris*) + case " $LIBOBJS " in + *" findif_bsdroute.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS findif_bsdroute.$ac_objext" ;; esac - ;; - *) - case " $LIBOBJS " in + ;; + *) + case " $LIBOBJS " in *" findif_other.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS findif_other.$ac_objext" ;; esac - ;; -esac + ;; + esac +fi @@ -6124,6 +6143,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <time.h> +#include <sys/time.h> int main() { struct timespec ts; exit(!!clock_gettime(CLOCK_MONOTONIC, &ts)); |