Skip to content
Snippets Groups Projects
Commit 583c2168 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed bug in pw_gecos detection.

Rev: src/modules/system/configure.in:1.25
parent 7b74098d
No related branches found
No related tags found
No related merge requests found
# $Id: configure.in,v 1.24 1998/05/31 14:06:50 grubba Exp $ # $Id: configure.in,v 1.25 1998/06/25 13:01:39 grubba Exp $
AC_INIT(system.c) AC_INIT(system.c)
AC_CONFIG_HEADER(system_machine.h) AC_CONFIG_HEADER(system_machine.h)
...@@ -136,7 +136,7 @@ AC_TRY_COMPILE([ ...@@ -136,7 +136,7 @@ AC_TRY_COMPILE([
#endif /* HAVE_SHADOW_H */ #endif /* HAVE_SHADOW_H */
], [ ], [
struct passwd ent; struct passwd ent;
ent->pw_gecos = "FOO"; ent.pw_gecos = "FOO";
], pike_cv_struct_has_pw_gecos=yes, pike_cv_struct_has_pw_gecos=no) ], pike_cv_struct_has_pw_gecos=yes, pike_cv_struct_has_pw_gecos=no)
]) ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment