configure.ac

changeset 259
b7c967359771
parent 250
a21865cb1ef4
child 262
d0014ccec615
equal deleted inserted replaced
258:e02393b29733 259:b7c967359771
6 AC_SUBST(SUBDIRS) 6 AC_SUBST(SUBDIRS)
7 7
8 dnl General settings 8 dnl General settings
9 dnl After changeing the version number, run autoconf! 9 dnl After changeing the version number, run autoconf!
10 PACKAGE="mbsePi-apps" 10 PACKAGE="mbsePi-apps"
11 VERSION="0.2.0" 11 VERSION="0.2.1"
12 COPYRIGHT="Copyright (C) 2014 Michiel Broek, All Rights Reserved" 12 COPYRIGHT="Copyright (C) 2014 Michiel Broek, All Rights Reserved"
13 CYEARS="2014" 13 CYEARS="2014"
14 AC_SUBST(PACKAGE) 14 AC_SUBST(PACKAGE)
15 AC_SUBST(VERSION) 15 AC_SUBST(VERSION)
16 AC_SUBST(COPYRIGHT) 16 AC_SUBST(COPYRIGHT)
43 # Additional commandline switches 43 # Additional commandline switches
44 # 44 #
45 AC_ARG_ENABLE(experiment, [ --enable-experiment Compile experimental code], [ experiment=$enableval ], [ experiment=no ]) 45 AC_ARG_ENABLE(experiment, [ --enable-experiment Compile experimental code], [ experiment=$enableval ], [ experiment=no ])
46 if test "$experiment" = "yes"; then 46 if test "$experiment" = "yes"; then
47 AC_DEFINE(USE_EXPERIMENT) 47 AC_DEFINE(USE_EXPERIMENT)
48 fi
49
50 AC_ARG_ENABLE(simulator, [ --enable-simulator Compile simulator code], [ simulator=$enableval ], [ simulator=no ])
51 if test "$simulator" = "yes"; then
52 AC_DEFINE(USE_SIMULATOR)
48 fi 53 fi
49 54
50 AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ]) 55 AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
51 if test "$debugging" = "yes"; then 56 if test "$debugging" = "yes"; then
52 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" 57 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline"

mercurial