Autoconf: Tidy up resolver retrans retry test
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sat, 22 May 2010 08:40:05 +0000 (09:40 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 23 May 2010 14:24:58 +0000 (07:24 -0700)
commit3313e7499642c39b0be1574102b8cdf6bfa565b5
tree3073ee5eac9e56f90f333c53379ff496e30e2050
parentffb6cbfc1ee41ac83a27c094d82bd1c68ef4861c
Autoconf: Tidy up resolver retrans retry test

There's no need for the retrans retry test to be a TRY_RUN test,
TRY_COMPILE will pick up the existence of the '_res' structure and
its elements.

Also, clean up the use of the cache variable to set the result. In
the old implementation a true test result would print '1', not 'yes',
a false result would result in bad output in the config.log, and a
cross compiling output would give
  #define HAVE_RES_RETRANSRETRY no
which will give unexpected results with #ifdef tests.

Change-Id: If78c1b01ee89242c67f87238ca502ce43718c6a2
Reviewed-on: http://gerrit.openafs.org/2014
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/cf/ressearch.m4