________________________________________________________________________
r435341 | aacid | 2005_07_16 18:22:49 |0200 (Sat, 16 Jul 2005) | 2 lines

Avoid using automake conditionals

________________________________________________________________________
Index: configure.in.in
===================================================================
--- configure.in.in	(revision 435340)
+++ configure.in.in	(working copy)
@@ -120,4 +120,7 @@
 )
 
 KDE_CHECK_COMPILER_FLAG([fno-regmove], SUPPORTS_NOREGMOVE=true, SUPPORTS_NOREGMOVE=false)
-AM_CONDITIONAL(CXX_SUPPORTS_NOREGMOVE, test "x$SUPPORTS_NOREGMOVE" = xtrue)
+if test "x$SUPPORTS_NOREGMOVE" = xtrue; then
+	NOREGMOVE="-fno-regmove"
+fi
+AC_SUBST(NOREGMOVE)
Index: xpdf/xpdf/Makefile.am
===================================================================
--- xpdf/xpdf/Makefile.am	(revision 435340)
+++ xpdf/xpdf/Makefile.am	(working copy)
@@ -13,9 +13,7 @@
 
 noinst_LTLIBRARIES = libxpdf.la
 
-if CXX_SUPPORTS_NOREGMOVE
-  # This fixes crash in Bug 109015 which i assume is a compiler bug
-  # as adding some correctly placed printf in SplashOutputDev::convertPath() makes this 
-  # option unneeded
-  KDE_CXXFLAGS=-fno-regmove
-endif
+# This fixes crash in Bug 109015 which i assume is a compiler bug
+# as adding some correctly placed printf in SplashOutputDev::convertPath() makes this 
+# option unneeded
+KDE_CXXFLAGS=$(NOREGMOVE)