samba: fix uclibc builds (struct timespec) in 3.0.20
authorJohn Bowler <jbowler@nslu2-linux.org>
Mon, 24 Oct 2005 23:57:28 +0000 (23:57 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 24 Oct 2005 23:57:28 +0000 (23:57 +0000)
  - configure.in has an AC_TRY_COMPILE check for the existence of
  - struct timespec which fails on uclibc even though struct timespec is
  - defined, this causes the build to fail.  Fix by supplying a cached
  - 'yes' value in all cases.

packages/samba/samba_3.0.20.bb

index 3cc8be1..498fd6e 100644 (file)
@@ -23,6 +23,7 @@ CONFFILES_${PN} = "${sysconfdir}/samba/smb.conf"
 # in the samba config by --with-foodir=dirfoo - even if the --with is not
 # specified!  Fix that here.  Set the privatedir to /etc/samba/private.
 EXTRA_OECONF += "\
+       samba_cv_struct_timespec=yes \
        --with-configdir=${sysconfdir}/samba \
        --with-privatedir=${sysconfdir}/samba/private \
        --with-lockdir=${localstatedir}/lock \