Commit ef325f0c authored by Andrew Tridgell's avatar Andrew Tridgell

neater getconf test

parent 3d8810c9
......@@ -10,10 +10,10 @@ AC_CANONICAL_SYSTEM
AC_VALIDATE_CACHE_SYSTEM_TYPE
# look for getconf early as this affects just about everything
AC_CHECK_PROG(HAVE_GETCONF, getconf, 1, 0)
if test $HAVE_GETCONF = 1; then
CFLAGS=$CFLAGS" "`getconf LFS_CFLAGS`
LDFLAGS=$LDFLAGS" "`getconf LFS_LDFLAGS`
AC_CHECK_PROG(HAVE_GETCONF, getconf, "yes", "no")
if test $HAVE_GETCONF = "yes"; then
CFLAGS=$CFLAGS" "`getconf LFS_CFLAGS 2> /dev/null`
LDFLAGS=$LDFLAGS" "`getconf LFS_LDFLAGS 2> /dev/null`
fi
dnl Checks for programs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment