Bug 2287 - use of AC_TRY_RUN is unnecessary for HAVE_GETTIMEOFDAY_TZ
Summary: use of AC_TRY_RUN is unnecessary for HAVE_GETTIMEOFDAY_TZ
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.10
Hardware: All Linux
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 22:33 UTC by Kevin Turner
Modified: 2007-05-12 23:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Turner 2005-01-29 22:33:40 UTC
The test for samba_cv_HAVE_GETTIMEOFDAY_TZ uses AC_TRY_RUN, but AC_TRY_LINK (or
the new spelling, AC_LINK_IFELSE) would be sufficient and more friendly to
cross-compilers.

Jon Masters made a patch for this (and something else) at 
http://lists.samba.org/archive/samba-technical/2004-October/037724.html
Comment 1 James Peach 2007-05-12 23:38:46 UTC
Fixed in rev 22821.