*** empty log message ***

This commit is contained in:
hyung-hwan 2006-01-30 16:36:16 +00:00
parent 117801d26f
commit 662876fb06
2 changed files with 121 additions and 2 deletions

115
ase/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 1.53 .
# From configure.ac Revision: 1.54 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for xpkit deb-0.1.0.
#
@ -4788,6 +4788,7 @@ fi
# Checks for structure members
if test "${ac_cv_header_sys_sysinfo_h+set}" = set; then
echo "$as_me:$LINENO: checking for sys/sysinfo.h" >&5
echo $ECHO_N "checking for sys/sysinfo.h... $ECHO_C" >&6
@ -5043,6 +5044,118 @@ fi
echo "$as_me:$LINENO: checking for struct sockaddr_in6.scope_id" >&5
echo $ECHO_N "checking for struct sockaddr_in6.scope_id... $ECHO_C" >&6
if test "${ac_cv_member_struct_sockaddr_in6_scope_id+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <netinet/in.h>
int
main ()
{
static struct sockaddr_in6 ac_aggr;
if (ac_aggr.scope_id)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_sockaddr_in6_scope_id=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <netinet/in.h>
int
main ()
{
static struct sockaddr_in6 ac_aggr;
if (sizeof ac_aggr.scope_id)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag"
|| test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_sockaddr_in6_scope_id=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_member_struct_sockaddr_in6_scope_id=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_scope_id" >&5
echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_scope_id" >&6
if test $ac_cv_member_struct_sockaddr_in6_scope_id = yes; then
cat >>confdefs.h <<\_ACEOF
#define XP_HAVE_IN6_SCOPE_ID
_ACEOF
fi
# Checks for typedefs, structures, and compiler characteristics.
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6

View File

@ -1,6 +1,6 @@
AC_PREREQ(2.53)
AC_INIT([xpkit], [deb-0.1.0])
AC_REVISION([$Revision: 1.54 $])
AC_REVISION([$Revision: 1.55 $])
AC_CONFIG_HEADER([xp/config.h])
# Checks for programs.
@ -28,6 +28,7 @@ AC_CHECK_HEADER([sys/epoll.h], [AC_DEFINE([XP_HAVE_SYS_EPOLL_H],[],[sys/epoll.h]
AC_CHECK_HEADER([sys/sysinfo.h],
[AC_DEFINE([XP_HAVE_SYS_SYSINFO_H],[],[sys/sysinfo.h])])
# Checks for structure members
AC_CHECK_HEADER([sys/sysinfo.h], [
AC_CHECK_MEMBER(struct sysinfo.mem_unit,
[AC_DEFINE([XP_HAVE_SYS_SYSINFO_MEM_UNIT],[],[sys/sysinfo.mem_unit])],
@ -35,6 +36,11 @@ AC_CHECK_HEADER([sys/sysinfo.h], [
[#include <sys/sysinfo.h>])
])
AC_CHECK_MEMBER(struct sockaddr_in6.scope_id,
[AC_DEFINE([XP_HAVE_IN6_SCOPE_ID],[],[in6.scope_id])],
[],
[#include <netinet/in.h>])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_BIGENDIAN(
[AC_DEFINE([XP_ENDIAN_BIG],[],[Big Endian])],