summaryrefslogtreecommitdiffstats
path: root/macros.cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'macros.cygwin')
-rw-r--r--macros.cygwin18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros.cygwin b/macros.cygwin
index 85aedd6..b77b46d 100644
--- a/macros.cygwin
+++ b/macros.cygwin
@@ -36,6 +36,24 @@
%global __debug_install_post %%{cygwin_debug_install_post} \
%{nil}
+%cygwin_autoreconf \
+ if [ -x %{_bindir}/cygwin-libtoolize ]; then \
+ LIBTOOLIZE=%{_bindir}/cygwin-libtoolize; export LIBTOOLIZE; \
+ ACLOCAL_FLAGS="-I %{_datadir}/cygwin-libtool/m4"; \
+ fi; \
+ if [ -d %{cygwin32_datadir}/aclocal ]; then \
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I %{cygwin32_datadir}/aclocal"; \
+ fi; \
+ if [ -d %{cygwin64_datadir}/aclocal ]; then \
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I %{cygwin64_datadir}/aclocal"; \
+ fi; \
+ ACLOCAL="%{_bindir}/aclocal $ACLOCAL_FLAGS"; export ACLOCAL;
+ if [ -x %{cygwin32_bindir}/autopoint ]; then \
+ eval gettext_`grep '^version=' %{cygwin32_bindir}/autopoint`; \
+ AUTOPOINT="%{cygwin32_bindir}/autopoint -V $gettext_version" ; export AUTOPOINT; \
+ fi; \
+ autoreconf -fiv
+
%cygwin_configure \
run_cygwin_configure() \
{ \