From 2324c180b20c05d17084ecdfc291438f39317d31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 3 Mar 2007 14:51:22 +0000 Subject: [PATCH] - configure args cosmetics Changed files: libreoffice.spec -> 1.709 --- libreoffice.spec | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index 8a41dfb..8a39191 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -2128,9 +2128,7 @@ CONFOPTS="\ --with-system-x11-extensions-headers \ --with-system-odbc-headers \ --with-system-stdlibs \ -%if %{with system_db} - --with-system-db \ -%endif + %{?with_system_db:--with-system-db} \ --with-system-curl \ --with-system-freetype \ --with-system-nas \ @@ -2141,19 +2139,12 @@ CONFOPTS="\ --with-system-boost \ --with-system-icu \ --with-system-libwpd \ -%if %{with system_mdbtools} - --with-system-mdbtools \ -%endif + %{?with_system_mdbtools:--with-system-mdbtools} \ --with-system-neon \ --with-system-portaudio \ --with-system-sndfile \ -%if %{with system_xt} - --with-system-xt \ - --with-xt-jar=%{_javadir}/classes/ \ -%endif -%if %{with system_beanshell} - --with-system-beanshell \ -%endif + %{?with_system_xt:--with-system-xt --with-xt-jar=%{_javadir}/classes} \ + %{?with_system_beanshell:--with-system-beanshell} \ --with-system-xmlsec \ %if %{with mozilla} --with-system-mozilla \ @@ -2167,11 +2158,7 @@ CONFOPTS="\ --with-about-bitmaps="\$SRCDIR/openabout_pld.png" \ --with-distro="${DISTRO}" \ --enable-gtk \ -%if %{with kde} - --enable-kde \ -%else - --disable-kde \ -%endif + --%{!?with_kde:dis}%{?with_kde:en}able-kde \ --without-binsuffix \ --with-installed-ooo-dirname=%{name} \ --with-lang=%{?with_i18n:ALL} \ -- 2.44.0