version 1.30, 2007/10/17 04:26:04 |
version 1.31, 2007/10/25 16:08:12 |
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
|
case "$OS" in |
|
freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil" |
|
;; |
|
esac |
|
|
fi |
fi |
|
|
done |
done |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#if TIME_WITH_SYS_TIME |
#if TIME_WITH_SYS_TIME |
# include <sys/time.h> |
# include <sys/time.h> |
# include <time.h> |
|
#else |
|
# include <sys/time.h> |
|
#endif |
#endif |
|
#include <time.h> |
|
|
typedef struct timespec ac__type_new_; |
typedef struct timespec ac__type_new_; |
int |
int |
|
|
|
|
fi |
fi |
|
|
|
{ echo "$as_me:$LINENO: checking for struct in6_addr" >&5 |
|
echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } |
|
if test "${ac_cv_type_struct_in6_addr+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 <sys/types.h> |
|
#include <netinet/in.h> |
|
|
|
typedef struct in6_addr ac__type_new_; |
|
int |
|
main () |
|
{ |
|
if ((ac__type_new_ *) 0) |
|
return 0; |
|
if (sizeof (ac__type_new_)) |
|
return 0; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (ac_try="$ac_compile" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest.$ac_objext; then |
|
ac_cv_type_struct_in6_addr=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_type_struct_in6_addr=no |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5 |
|
echo "${ECHO_T}$ac_cv_type_struct_in6_addr" >&6; } |
|
if test $ac_cv_type_struct_in6_addr = yes; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STRUCT_IN6_ADDR 1 |
|
_ACEOF |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_IN6_ADDR 1 |
|
_ACEOF |
|
|
|
fi |
|
|
{ echo "$as_me:$LINENO: checking for size_t" >&5 |
{ echo "$as_me:$LINENO: checking for size_t" >&5 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
if test "${sudo_cv_type_size_t+set}" = set; then |
if test "${sudo_cv_type_size_t+set}" = set; then |
|
|
LIBS="$_LIBS" |
LIBS="$_LIBS" |
fi |
fi |
|
|
if test ${with_logincap-'no'} = "yes"; then |
|
case "$OS" in |
|
freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil" |
|
;; |
|
esac |
|
fi |
|
|
|
if test ${with_AFS-'no'} = "yes"; then |
if test ${with_AFS-'no'} = "yes"; then |
|
|
# looks like the "standard" place for AFS libs is /usr/afsws/lib |
# looks like the "standard" place for AFS libs is /usr/afsws/lib |
|
|
;; |
;; |
esac |
esac |
fi |
fi |
|
|
|
|
|
|
|
|
|
|