diff options
author | meri <meri@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2007-05-03 09:11:50 +0000 |
---|---|---|
committer | meri <meri@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2007-05-03 09:11:50 +0000 |
commit | a91cd3d9e2a4e985c63850679e8242c6d08fed08 (patch) | |
tree | cbc7ad4e5a43fd32ca0205c990d913bad3031d37 /configure.in | |
parent | 2ab18ca1315e8fead73346a83319f6cbfe4fcc89 (diff) |
fixed automake/autoconf files to allow clean firmware compilation
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1996 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 1 insertions, 5 deletions
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,,) |