(clean): clean universal binary intermediate steps, too
[arla.git] / cf / check-lfs.m4
blob79fecc6d93437c967d44b7059301d40700d65e4f
1 dnl
2 dnl $Id$
3 dnl
5 AC_DEFUN([AC_HAVE_GETCONF], [
6 AC_CHECK_PROG(ac_cv_prog_getconf,[getconf],yes)
7 ])
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`"
13 if test $? = 0 ;then
14 $2="[$]$2 $FOO"
15 AC_MSG_RESULT([yes $FOO])
16 else
17 AC_MSG_RESULT(no)
23 AC_DEFUN([AC_CHECK_LFS], [
24 if test "${ac_cv_prog_getconf-set}" = set ;then
25 AC_HAVE_GETCONF
27 AC_GETCONF_FLAGS(LFS_CFLAGS, CFLAGS)
28 AC_GETCONF_FLAGS(LFS_LDFLAGS, LDFLAGS)