Redirect xasprintf to grub_xvasprintf rather than having #ifdef's

for vasprintf presence.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-10 20:57:32 +02:00
parent 30b03dc22e
commit 0f7e980b29
4 changed files with 9 additions and 45 deletions

View file

@ -355,7 +355,7 @@ else
fi
# Check for functions and headers.
AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getextmntent)
AC_CHECK_FUNCS(posix_memalign memalign getextmntent)
AC_CHECK_HEADERS(sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h limits.h)
AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[$ac_includes_default