Package: dx / 1:4.4.4-15

10-autoreconf-fix.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Daniel Kobras <[email protected]>
Subject: Call macro AC_PROG_CXX before setting language C   to avoid a
 circular dependency error when running aclocal/autoreconf.

diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' dx~/configure.ac dx/configure.ac
--- dx~/configure.ac	2008-02-16 16:59:53.000000000  0100
    dx/configure.ac	2010-03-25 14:00:33.000000000  0100
@@ -218,6  218,14 @@
 dnl End of command line options configuration
 
 dnl Start DX configuration
 
 dnl AC_PROG_CXX must precede AC_LANG([C  ]) to avoid a circular dependency
 dnl error (cf. http://www.mail-archive.com/[email protected]/msg01650.html)
 AC_PROG_CXX
 if test -n "$CXXCPP" ; then
     ac_cv_prog_CXXCPP=$CXXCPP
 fi
 
 AC_LANG([C  ])
 AC_CHECK_HEADERS(stdlib.h)
 AC_LANG([C])
@@ -276,11  284,6 @@
 
 dnl Checks for programs.
 dnl AC_PROG_RANLIB
-AC_PROG_CXX
-if test -n "$CXXCPP" ; then
-    ac_cv_prog_CXXCPP=$CXXCPP
-fi
-
 AC_PROG_CXXCPP
 AC_PROG_CC
 AC_PROG_CPP