Commit c0ef1acf authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

IPv6 structure check always failed on OSF1 because #include

line had leading whitespace
parent 08d93839
#! /bin/sh
# From configure.in Revision: 1.69
# From configure.in Revision: 1.71
......@@ -127,7 +127,7 @@ ac_help="$ac_help
ac_help="$ac_help
--disable-libtool-lock avoid locking (might break parallel builds)"
ac_help="$ac_help
--enable-ipv6 use IPv6 [default: autodetect]"
--enable-ipv6 use IPv6 [default=autodetect]"
ac_help="$ac_help
--with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
......@@ -2657,16 +2657,16 @@ fi
case "$enable_ipv6" in
yes|'')
yes|''|autodetect)
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
echo "configure:2663: checking for IPv6 structures" >&5
cat > conftest.$ac_ext <<EOF
#line 2665 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main() {
struct sockaddr_in6 sin6; return (0);
; return 0; }
......
......@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.70 $)
AC_REVISION($Revision: 1.71 $)
AC_PREREQ(2.13)
......@@ -361,9 +361,9 @@ case "$enable_ipv6" in
yes|''|autodetect)
AC_MSG_CHECKING(for IPv6 structures)
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>],
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>],
[struct sockaddr_in6 sin6; return (0);],
[AC_MSG_RESULT(yes)
found_ipv6=yes],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment