X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=configure.ac;h=1496054679191cd8d90c166cb69dd85ece5ce43e;hp=41560d1aa237383177c14987965e5b55fe3c9090;hb=dadebc9010718645789009a0fddbc6447b07f1da;hpb=86c9d34380b0074dab1ba89a569a94280d6999c4 diff --git a/configure.ac b/configure.ac index 41560d1..1496054 100644 --- a/configure.ac +++ b/configure.ac @@ -242,7 +242,11 @@ AC_ARG_ENABLE( [], [enable_busybox=no] ) -#AM_CONDITIONAL([ENABLE_BUSYBOX], [test "x$enable_busybox" = "xyes"]) +AM_CONDITIONAL([ENABLE_BUSYBOX], [test "x$enable_busybox" = "xyes"]) +AS_IF([test "x$enable_busybox" = "xyes"], + [AC_DEFINE(WITH_BUSYBOX, 1, [Busybox environment enabled])], + [] +) AC_ARG_ENABLE( [mtd],