Add nslu2 flag for slug-specific code

This commit is contained in:
Ron Pedde 2004-10-25 04:49:47 +00:00
parent b77068393d
commit 040421a5e3
1 changed files with 11 additions and 5 deletions

View File

@ -22,9 +22,15 @@ LDFLAGS="${LDFLAGS} -lz"
AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit)
AC_ARG_ENABLE(debug,Enable debugging features,CPPFLAGS="${CPPFLAGS} -Wall")
AC_ARG_ENABLE(debug-memory,Enable mem leak debugging,CPPFLAGS="${CPPFLAGS} -DDEBUG_MEMORY")
AC_ARG_ENABLE(efence,Enable electric fence,LDFLAGS="${LDFLAGS} -lefence")
AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
CPPFLAGS="${CPPFLAGS} -Wall")
AC_ARG_ENABLE(debug-memory,[ --enable-debug-memory Enable mem leak debugging],
CPPFLAGS="${CPPFLAGS} -DDEBUG_MEMORY")
AC_ARG_ENABLE(efence,[ --enable-efence Enable electric fence],
LDFLAGS="${LDFLAGS} -lefence")
AC_ARG_ENABLE(nslu2,[ --enable-nslu2 Build for NSLU2/uNSLUng],
CFLAGS="${CFLAGS} -DNSLU2")
AC_ARG_ENABLE(new-howl,[ --enable-new-howl Use howl 0.9.2 or later],
[ case "${enableval}" in
yes) rend_howl=true; LDFLAGS="${LDFLAGS} -lhowl";