update ooo310-m15
[ooovba.git] / applied_patches / 0227-layout-default-enable-config_office.diff
blob36828a20d65183757f4412a06d9b1257b8618acd
1 diff --git a/configure.in b/configure.in
2 index 39f9cbe..c6bf26f 100644
3 --- configure.in.old
4 +++ configure.in
5 @@ -228,7 +228,7 @@ AC_ARG_ENABLE(static-gtk,
6 (enables -Bstatic linker flag for gtk libraries)
7 ],,)
8 AC_ARG_ENABLE(layout,
9 -[ --enable-layout Enable the compilation and use of layout dialogs
10 +[ --disable-layout Disable the compilation and use of layout dialogs
11 ],,)
12 AC_ARG_ENABLE(build-mozilla,
13 [ --disable-build-mozilla Use this option if you do not want to build the
14 @@ -6338,7 +6338,7 @@ fi
15 AC_SUBST(ENABLE_STATIC_GTK)
17 AC_MSG_CHECKING([whether to use layout dialogs])
18 -if test -n "$enable_layout" && test "$enable_layout" != "no"; then
19 +if test -z "$enable_layout" || test "$enable_layout" != "no"; then
20 ENABLE_LAYOUT="TRUE"
21 AC_MSG_RESULT([yes])
22 else