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 |
48 fi |
49 |
49 |
|
50 SIMULATOR=No |
50 AC_ARG_ENABLE(simulator, [ --enable-simulator Compile simulator code], [ simulator=$enableval ], [ simulator=no ]) |
51 AC_ARG_ENABLE(simulator, [ --enable-simulator Compile simulator code], [ simulator=$enableval ], [ simulator=no ]) |
51 if test "$simulator" = "yes"; then |
52 if test "$simulator" = "yes"; then |
52 AC_DEFINE(USE_SIMULATOR) |
53 AC_DEFINE(USE_SIMULATOR) |
|
54 SIMULATOR=Yes |
53 fi |
55 fi |
54 |
56 |
55 AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ]) |
57 AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ]) |
56 if test "$debugging" = "yes"; then |
58 if test "$debugging" = "yes"; then |
57 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
59 CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -Winline" |
96 Configuration summary : |
98 Configuration summary : |
97 |
99 |
98 Version : ............ ${VERSION} |
100 Version : ............ ${VERSION} |
99 Main directory : ..... ${prefix} |
101 Main directory : ..... ${prefix} |
100 WiringPi : ........... ${WIRINGPI} |
102 WiringPi : ........... ${WIRINGPI} |
|
103 Simulator : .......... ${SIMULATOR} |
101 |
104 |
102 Now type 'make' and 'sudo make install' |
105 Now type 'make' and 'sudo make install' |
103 ]) |
106 ]) |
104 |
107 |