From a91cd3d9e2a4e985c63850679e8242c6d08fed08 Mon Sep 17 00:00:00 2001 From: meri Date: Thu, 3 May 2007 09:11:50 +0000 Subject: fixed automake/autoconf files to allow clean firmware compilation git-svn-id: https://svn.gnumonks.org/trunk/librfid@1996 e0336214-984f-0b4b-a45f-81c69e1f0ede --- configure.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 13993df..8f42d49 100644 --- a/configure.in +++ b/configure.in @@ -52,17 +52,13 @@ AC_ARG_WITH(firmware, [ --with-firmware=PATH Compile for running inside firmware], [FIRMWARE_PATH="$withval"], [FIRMWARE_PATH=""]) AC_SUBST(FIRMWARE_PATH) +AM_CONDITIONAL(ENABLE_FIRMWARE, test "$FIRMWARE_PATH" != "") AC_ARG_ENABLE(static, [ --enable-static Don't use dynamic allocations at all], [ENABLE_STATIC=1], [ENABLE_STATIC=0]) AM_CONDITIONAL(ENABLE_STATIC, test "$ENABLE_STATIC" == "1") -AC_ARG_ENABLE(firmware, - [ --enable-firmware Don't use dynamic allocations at all], - [ENABLE_FIRMWARE=1], [ENABLE_FIRMWARE=0]) -AM_CONDITIONAL(ENABLE_FIRMWARE, test "$ENABLE_FIRMWARE" == "1") - AC_ARG_WITH() AC_CHECK_LIB(usb, usb_close,,) -- cgit v1.2.3