diff --git a/configure.in b/configure.in index c3673063..54240758 100644 --- a/configure.in +++ b/configure.in @@ -22,10 +22,16 @@ 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(new-howl,[ --enable-new-howl Use howl 0.9.2 or later], +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"; CPPFLAGS="${CPPFLAGS} -DWITH_HOWL";; @@ -33,7 +39,7 @@ AC_ARG_ENABLE(new-howl,[ --enable-new-howl Use howl 0.9.2 or later], *) AC_MSG_ERROR(bad value ${enableval} for --enable-howl);; esac ],[rend_howl=false]) -AC_ARG_ENABLE(howl,[ --enable-howl Use the howl mDNS library], +AC_ARG_ENABLE(howl,[ --enable-howl Use the howl mDNS library], [ case "${enableval}" in yes) rend_howl=true; LDFLAGS="${LDFLAGS} -lrendezvous -lcorby -lsalt"; CPPFLAGS="${CPPFLAGS} -DWITH_HOWL";;