3 # Copyright 2003 by Sun Microsystems, Inc. All rights reserved.
4 # Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
9 PATH
=/bin
:/usr
/bin
:$PATH; export PATH
10 trap "rm -f tmp$$[abc].[oc]" 0
16 #include <sys/types.h>
17 #include <netinet/in.h>
18 struct sockaddr_in6 xx;
22 #include <sys/types.h>
23 #include <netinet/in.h>
28 #include <sys/types.h>
29 #include <netinet/in.h>
30 struct sockaddr_in6 xx;
31 main() { xx.sin6_scope_id = 0; }
36 /* This file is automatically generated. Do Not Edit. */
43 if ${CC} -c tmp$
$a.c
> /dev
/null
2>&1
45 echo "#define HAS_INET6_STRUCTS" >> ${new}
46 if ${CC} -c tmp$
$b.c
> /dev
/null
2>&1
50 echo "#define in6_addr in_addr6" >> ${new}
52 if ${CC} -c tmp$
$c.c
> /dev
/null
2>&1
54 echo "#define HAVE_SIN6_SCOPE_ID" >> ${new}
56 echo "#undef HAVE_SIN6_SCOPE_ID" >> ${new}
59 echo "#undef HAS_INET6_STRUCTS" >> ${new}
62 echo "#endif" >> ${new}
63 if [ -f ${old} ]; then
64 if cmp -s ${new} ${old} ; then