Run autoreconf (re-generate configure) by default

epel9
Benjamin A. Beasley 2 months ago
parent 2435517fd3
commit 400913edce

@ -1,3 +1,5 @@
%bcond autoreconf 1
Name: libIDL Name: libIDL
Summary: Library for parsing IDL (Interface Definition Language) Summary: Library for parsing IDL (Interface Definition Language)
Version: 0.8.14 Version: 0.8.14
@ -74,6 +76,13 @@ Patch: libIDL-0.8.14-old-libIDL-config-script.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
%if %{with autoreconf}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%endif
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: flex BuildRequires: flex
BuildRequires: bison BuildRequires: bison
@ -117,7 +126,12 @@ This page contains info pages and HTML and PDF documentation for libIDL.
%build %build
%if %{with autoreconf}
autoreconf --force --install --verbose
%endif
%configure --disable-static %configure --disable-static
# We re-generate the info page, and also build PDF and HTML docs from the # We re-generate the info page, and also build PDF and HTML docs from the
# texinfo source. # texinfo source.
rm libIDL2.info rm libIDL2.info

Loading…
Cancel
Save