But broken drun under a configure option.

This commit is contained in:
Dave Davenport 2016-08-29 08:46:21 +02:00
parent 58eaa81520
commit a90ff48032
2 changed files with 7 additions and 2 deletions

View file

@ -52,6 +52,11 @@ AC_ARG_ENABLE(gcov,
AC_ARG_ENABLE(asan,
[ --enable-asan asan],
[AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"])
AC_ARG_ENABLE(broken-drun,
[ --enable-broken-drun drun],
[AM_CFLAGS="${AM_CFLAGS} -DBROKEN_DRUN"])
dnl ---------------------------------------------------------------------
dnl Disable window mode
dnl ---------------------------------------------------------------------

View file

@ -368,12 +368,12 @@ static int add_mode ( const char * token )
modi[num_modi] = &run_mode;
num_modi++;
}
/*
#ifdef BROKEN_DRUN
else if ( strcasecmp ( token, "drun" ) == 0 ) {
modi[num_modi] = &drun_mode;
num_modi++;
}
*/
#endif
// combi dialog
else if ( strcasecmp ( token, "combi" ) == 0 ) {
modi[num_modi] = &combi_mode;