]> git.pld-linux.org Git - packages/akode.git/blame - kde-common-PLD.patch
- accept new autoconf
[packages/akode.git] / kde-common-PLD.patch
CommitLineData
251e5330
AM
1diff -urN kdelibs-3.5.3.or/admin/acinclude.m4.in kdelibs-3.5.3/admin/acinclude.m4.in
2--- kdelibs-3.5.3.or/admin/acinclude.m4.in 2006-05-23 13:02:06.000000000 +0000
3+++ kdelibs-3.5.3/admin/acinclude.m4.in 2006-07-01 14:55:49.345359250 +0000
34f22e5d 4@@ -428,7 +428,7 @@
3083e66b 5 if test "$1" = "default"; then
6
7 if test -z "$kde_htmldir"; then
8- kde_htmldir='\${datadir}/doc/HTML'
9+ kde_htmldir='/usr/share/doc/kde/HTML'
10 fi
11 if test -z "$kde_appsdir"; then
12 kde_appsdir='\${datadir}/applnk'
251e5330 13@@ -2977,41 +2977,6 @@
7c50ea40
AM
14
15 AC_DEFUN([KDE_CHECK_FOR_BAD_COMPILER],
16 [
17- AC_MSG_CHECKING([whether $CC is blacklisted])
18-
19- dnl In theory we have tu run this test against $CC and $CXX
20- dnl in C and in C++ mode, because its perfectly legal for
21- dnl the user to mix compiler versions, since C has a defined
22- dnl ABI.
23- dnl
24- dnl For now, we assume the user is not on crack.
25-
26- AC_TRY_COMPILE([
27-#ifdef __GNUC__
28-#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
29-choke me
30-#endif
31-#endif
32-], ,
33- kde_bad_compiler=no,
34- kde_bad_compiler=yes
35-)
36-
37- AC_MSG_RESULT($kde_bad_compiler)
38-
39-if test "$kde_bad_compiler" = "yes"; then
40- AC_MSG_ERROR([
41-
42-This particular compiler version is blacklisted because it
43-is known to miscompile KDE. Please use a newer version, or
44-if that is not yet available, choose an older version.
45-
46-Please do not report a bug or bother us reporting this
47-configure error. We know about it, and we introduced
48-it by intention to avoid untraceable bugs or crashes in KDE.
49-
50-])
51-fi
52
53 ])
54
251e5330 55@@ -3153,8 +3118,6 @@
7c50ea40
AM
56
57 AC_PROG_CXX
58
59- KDE_CHECK_FOR_BAD_COMPILER
60-
61 if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
62 if test "$kde_use_debug_code" != "no"; then
63 if test "$CXX" = "KCC"; then
251e5330 64@@ -4579,9 +4542,9 @@
34f22e5d 65 LIBPYTHON=-lpython$version
66 fi
67
68-AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir)
69+AC_FIND_FILE(python$version/copy.pyc, "/usr/share" , python_moddir)
70 python_moddir=$python_moddir/python$version
71-if test ! -r $python_moddir/copy.py; then
72+if test ! -r $python_moddir/copy.pyc; then
73 python_moddir=no
74 fi
75
251e5330 76@@ -4728,32 +4691,11 @@
3083e66b 77 [
78 AC_MSG_CHECKING([for utmp file])
79
80- AC_CACHE_VAL(kde_cv_utmp_file,
81- [
82- kde_cv_utmp_file=no
7c50ea40
AM
83+ AC_CACHE_VAL(kde_cv_utmp_file, [kde_cv_utmp_file=/var/run/utmpx])
84
3083e66b 85- for ac_file in \
86- \
87- /var/run/utmp \
88- /var/adm/utmp \
89- /etc/utmp \
90- ; \
91- do
92- if test -r "$ac_file"; then
93- kde_cv_utmp_file=$ac_file
94- break
95- fi
96- done
97- ])
7c50ea40 98-
3083e66b 99- if test "$kde_cv_utmp_file" != "no"; then
100- AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries])
101- $1
102- AC_MSG_RESULT($kde_cv_utmp_file)
103- else
104- $2
105- AC_MSG_RESULT([non found])
106- fi
107+ AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries])
108+ $1
109+ AC_MSG_RESULT(We are using $kde_cv_utmp_file in PLD instead.)
110 ])
111
112
251e5330 113@@ -5536,7 +5478,7 @@
3083e66b 114 kde_qtdir="$with_qt_dir"
115 fi
116
117-AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR)
118+AC_FIND_FILE(qsql.html, [ /usr/share/doc/qt-doc/html ], QTDOCDIR)
119 AC_MSG_RESULT($QTDOCDIR)
120
121 AC_SUBST(QTDOCDIR)
251e5330
AM
122diff -urN kdelibs-3.5.3.or/admin/cvs.sh kdelibs-3.5.3/admin/cvs.sh
123--- kdelibs-3.5.3.or/admin/cvs.sh 2006-05-23 13:02:06.000000000 +0000
124+++ kdelibs-3.5.3/admin/cvs.sh 2006-07-01 14:57:24.295293250 +0000
125@@ -32,7 +32,7 @@
126 required_autoconf_version="2.53 or newer"
127 AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
128 case $AUTOCONF_VERSION in
129- Autoconf*2.5* | autoconf*2.5* ) : ;;
130+ Autoconf*2.5* | autoconf*2.5* | Autoconf*2.6* | autoconf*2.6* ) : ;;
131 "" )
132 echo "*** AUTOCONF NOT FOUND!."
133 echo "*** KDE requires autoconf $required_autoconf_version"
134@@ -47,7 +47,7 @@
135
136 AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
137 case $AUTOHEADER_VERSION in
138- Autoconf*2.5* | autoheader*2.5* ) : ;;
139+ Autoconf*2.5* | autoheader*2.5* | Autoconf*2.6* | autoheader*2.6* ) : ;;
140 "" )
141 echo "*** AUTOHEADER NOT FOUND!."
142 echo "*** KDE requires autoheader $required_autoconf_version"
This page took 0.040021 seconds and 4 git commands to generate.