correct some AC_LANG_SOURCE/AC_LANG_PROGRAM snafu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14166 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -7,7 +7,7 @@ dnl AC_HAVE_STRUCT_FIELD(struct, field, headers)
|
||||
AC_DEFUN([AC_HAVE_STRUCT_FIELD], [
|
||||
define(cache_val, translit(ac_cv_type_$1_$2, [A-Z ], [a-z_]))
|
||||
AC_CACHE_CHECK([for $2 in $1], cache_val,[
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[$3]],[[$1 x; x.$2]])],
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$3]],[[$1 x; x.$2]])],
|
||||
[cache_val=yes],
|
||||
[cache_val=no])])
|
||||
if test "$cache_val" = yes; then
|
||||
|
Reference in New Issue
Block a user