mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 05:12:29 +02:00
Minor configure.ac syntax cleanup.
This commit is contained in:
parent
6d3e07f283
commit
51ec298a21
11
configure.ac
11
configure.ac
@ -4,7 +4,7 @@
|
|||||||
AC_PREREQ(2.63)
|
AC_PREREQ(2.63)
|
||||||
AC_INIT([xburst-tools], [0.1])
|
AC_INIT([xburst-tools], [0.1])
|
||||||
AC_CONFIG_AUX_DIR(m4)
|
AC_CONFIG_AUX_DIR(m4)
|
||||||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
AM_INIT_AUTOMAKE([foreign])
|
||||||
AM_CONFIG_HEADER([config.h])
|
AM_CONFIG_HEADER([config.h])
|
||||||
|
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
@ -13,12 +13,9 @@ AC_ARG_ENABLE([firmware],
|
|||||||
[AS_HELP_STRING([--disable-firmware],
|
[AS_HELP_STRING([--disable-firmware],
|
||||||
[Do not build initialization code]
|
[Do not build initialization code]
|
||||||
[(for example, because some other package contains it).])],
|
[(for example, because some other package contains it).])],
|
||||||
[
|
[AS_CASE([$enableval], [yes], [firmware=true], [no], [firmware=false],
|
||||||
case "$enableval" in
|
[AC_MSG_ERROR([bad value $enableval for --enable-firmware])])],
|
||||||
yes) firmware=true ;;
|
[firmware=true])
|
||||||
no) firmware=false ;;
|
|
||||||
*) AC_MSG_ERROR([bad value $enableval for --enable-firmware]) ;;
|
|
||||||
esac],[firmware=false])
|
|
||||||
AM_CONDITIONAL([COND_FIRMWARE], [test "$firmware" = true])
|
AM_CONDITIONAL([COND_FIRMWARE], [test "$firmware" = true])
|
||||||
|
|
||||||
AC_ARG_VAR([CROSS_COMPILE],
|
AC_ARG_VAR([CROSS_COMPILE],
|
||||||
|
Loading…
Reference in New Issue
Block a user