Browse CVS Repository
Diff of /freewnn/FreeWnn/configure
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 19286 |
|
|
| 19287 |
|
|
| 19288 |
fi |
fi |
| 19289 |
|
echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5 |
| 19290 |
|
echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6 |
| 19291 |
|
if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then |
| 19292 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19293 |
|
else |
| 19294 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 19295 |
|
#line $LINENO "configure" |
| 19296 |
|
#include "confdefs.h" |
| 19297 |
|
|
| 19298 |
|
#include <sys/types.h> |
| 19299 |
|
#if HAVE_UTMPX_H |
| 19300 |
|
# include <utmpx.h> |
| 19301 |
|
#endif |
| 19302 |
|
#if HAVE_UTMP_H |
| 19303 |
|
# include <utmp.h> |
| 19304 |
|
#endif |
| 19305 |
|
|
| 19306 |
|
#ifdef F77_DUMMY_MAIN |
| 19307 |
|
# ifdef __cplusplus |
| 19308 |
|
extern "C" |
| 19309 |
|
# endif |
| 19310 |
|
int F77_DUMMY_MAIN() { return 1; } |
| 19311 |
|
#endif |
| 19312 |
|
int |
| 19313 |
|
main () |
| 19314 |
|
{ |
| 19315 |
|
static struct utmp ac_aggr; |
| 19316 |
|
if (ac_aggr.ut_id) |
| 19317 |
|
return 0; |
| 19318 |
|
; |
| 19319 |
|
return 0; |
| 19320 |
|
} |
| 19321 |
|
_ACEOF |
| 19322 |
|
rm -f conftest.$ac_objext |
| 19323 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 19324 |
|
(eval $ac_compile) 2>&5 |
| 19325 |
|
ac_status=$? |
| 19326 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19327 |
|
(exit $ac_status); } && |
| 19328 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 19329 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 19330 |
|
(eval $ac_try) 2>&5 |
| 19331 |
|
ac_status=$? |
| 19332 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19333 |
|
(exit $ac_status); }; }; then |
| 19334 |
|
ac_cv_member_struct_utmp_ut_id=yes |
| 19335 |
|
else |
| 19336 |
|
echo "$as_me: failed program was:" >&5 |
| 19337 |
|
cat conftest.$ac_ext >&5 |
| 19338 |
|
ac_cv_member_struct_utmp_ut_id=no |
| 19339 |
|
fi |
| 19340 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 19341 |
|
fi |
| 19342 |
|
echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5 |
| 19343 |
|
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6 |
| 19344 |
|
if test $ac_cv_member_struct_utmp_ut_id = yes; then |
| 19345 |
|
|
| 19346 |
|
cat >>confdefs.h <<_ACEOF |
| 19347 |
|
#define HAVE_STRUCT_UTMP_UT_ID 1 |
| 19348 |
|
_ACEOF |
| 19349 |
|
|
| 19350 |
|
|
| 19351 |
|
fi |
| 19352 |
|
|
| 19353 |
|
|
| 19354 |
|
|
|
|
Legend:
| Removed from v.1.39 |
|
| changed lines |
| |
Added in v.1.40 |
|
|
|