X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3711412e38576634a4d050ecd362f3f341ac5b4f..7ff26ec2aef57714dcab523f8e8d4f2535d6fcfe:/configure.in diff --git a/configure.in b/configure.in index df2cc997d8..3046126bef 100644 --- a/configure.in +++ b/configure.in @@ -2184,7 +2184,6 @@ AC_CACHE_CHECK([for pw_gecos in struct passwd], wx_cv_struct_pw_gecos, ], [ wx_cv_struct_pw_gecos=yes - AC_DEFINE(HAVE_PW_GECOS) ], [ wx_cv_struct_pw_gecos=no @@ -2193,6 +2192,10 @@ AC_CACHE_CHECK([for pw_gecos in struct passwd], wx_cv_struct_pw_gecos, ] ) +if test "$wx_cv_struct_pw_gecos" = "yes"; then + AC_DEFINE(HAVE_PW_GECOS) +fi + dnl --------------------------------------------------------------------------- dnl Checks for compiler characteristics dnl ---------------------------------------------------------------------------