]> git.michaelhowe.org Git - packages/o/openafs.git/commit
autoconf: add test for typedef'd structs
authorChristof Hanke <christof.hanke@rzg.mpg.de>
Wed, 25 May 2011 20:16:59 +0000 (22:16 +0200)
committerDerrick Brashear <shadow@dementia.org>
Thu, 26 May 2011 18:21:01 +0000 (11:21 -0700)
commit061eb50e3d5b5cce37245a4314aad079ef96ca80
treeb9b009d4aa4298b91a68c427fe32ecead0b11a4e
parent0adfb78e70d6afb3eb55ca0c73017a35023f279f
autoconf: add test for typedef'd structs

AC_CHECK_LINUX_STRUCT does not work for structs which are typedef'd.
The gcc will complain with "error: storage size of ‘_test’ isn’t known"
and fail the test.
Thus the new test-macro AC_CHECK_LINUX_TYPED_STRUCT.

Reviewed-on: http://gerrit.openafs.org/4718
Reviewed-by: Christof Hanke <christof.hanke@rzg.mpg.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit baf7656f666e0d47047c545561345e7803b8a141)

Change-Id: I7feca884d7796ccd3a490d6b81e745c644d9c8f1
Reviewed-on: http://gerrit.openafs.org/4725
Reviewed-by: Christof Hanke <christof.hanke@rzg.mpg.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cf/linux-test1.m4