5 AC_DEFUN([AC_HAVE_GETCONF], [
6 AC_CHECK_PROG(ac_cv_prog_getconf,[getconf],yes)
9 AC_DEFUN([AC_GETCONF_FLAGS],[
10 if test "$ac_cv_prog_getconf" = "yes";then
11 AC_MSG_CHECKING([if we have $1])
12 FOO="`getconf $1 2>/dev/null >/dev/null`"
15 AC_MSG_RESULT([yes $FOO])
23 AC_DEFUN([AC_CHECK_LFS], [
24 if test "${ac_cv_prog_getconf-set}" = set ;then
27 AC_GETCONF_FLAGS(LFS_CFLAGS, CFLAGS)
28 AC_GETCONF_FLAGS(LFS_LDFLAGS, LDFLAGS)