summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2011-11-01 00:27:35 +0000
committerThomas Habets <thomas@habets.se>2011-11-01 00:27:35 +0000
commitb7e8a786654c4ca1e6dc37f7b002ab71b07e46e3 (patch)
tree75f050f4daef96f00138c3e524f3b3abadade06a /configure
parenta03413aa161cace9733a0a3c3c98420c761484ee (diff)
downloadarping-b7e8a786654c4ca1e6dc37f7b002ab71b07e46e3.tar.gz
Updated autogenerated files
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure48
1 files changed, 34 insertions, 14 deletions
diff --git a/configure b/configure
index 3436cfd..129e90c 100755
--- a/configure
+++ b/configure
@@ -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));