X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fatlocal.in;h=60f3dbf354b8eaf1cca163f659aba53ed1903c11;hb=0ef165ecb57943e17a8ee8270df68ffb8d032e29;hp=5c0db2a788268a2f97a2a591a1d5d6803e93d66a;hpb=e6e590a73ebdf2cf8a7cdc264c45c9863617e524;p=sliver-openvswitch.git diff --git a/tests/atlocal.in b/tests/atlocal.in index 5c0db2a78..60f3dbf35 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -68,3 +68,23 @@ FreeBSD) esac export MALLOC_CONF esac + +# The name of loopback interface +case `uname` in +Linux) + LOOPBACK_INTERFACE=lo + ;; +FreeBSD|NetBSD) + LOOPBACK_INTERFACE=lo0 + ;; +esac + +# Check for MINGW platform. +case `uname` in +MINGW*) + IS_WIN32="yes" + ;; +*) + IS_WIN32="no" + ;; +esac