%build
cd ros
%{__libtoolize}
-%{__aclocal} -I m4
+%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
export CXXFLAGS="%{rpmcflags} -fno-strict-aliasing"
%endif
LDFLAGS=-lpthread %configure \
- --disable-static \
- --disable-debug \
- --enable-production \
- --enable-draw \
- --enable-wok \
- --enable-wrappers \
+ %{!?debug:--disable-debug --enable-production} \
--with-java-include="%{java_home}"/include
%{__make}