[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with kdenetwork build for unstable



On Thu, Dec 05, 2002 at 09:40:56AM +0100, Martin Schulze wrote:
> I have problems fixing kdenetwork for unstable.  With gcc 3
> get/setenv aren't detected through C but through C++ which doesn't
> work.  That's a bug in automake.  It should be fixed with a patch
> in the following source:
> 
> http://master.debian.org/~joey/NMU/kdenetwork_2.2.2-14.21.diff.gz
> http://master.debian.org/~joey/NMU/kdenetwork_2.2.2-14.21.dsc
> http://ftp.debian.org/debian/pool/main/k/kdenetwork/kdenetwork_2.2.2.orig.tar.gz
> 
> but that doesn't compile.  Ray told me that the first line of configure.in.in
> needs to be AC_INIT(1) but that also doesn't get us far.

Uhh, admin/Makefile.common is checking for '#MIN_CONFIG' in the first two
lines to include there admin/configure.in.min.

regards,
guillem
diff -Naur kdenetwork-2.2.2/admin/configure.in.min kdenetwork-2.2.2-patched/admin/configure.in.min
--- kdenetwork-2.2.2/admin/configure.in.min	2001-11-16 06:54:21.000000000 +0100
+++ kdenetwork-2.2.2-patched/admin/configure.in.min	2002-12-07 21:23:33.000000000 +0100
@@ -22,6 +22,7 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
+AC_PREREQ(2.50)
 AC_INIT(acinclude.m4) dnl a source file from your sub dir
 
 dnl This is so we can use kde-common
diff -Naur kdenetwork-2.2.2/configure.in.in kdenetwork-2.2.2-patched/configure.in.in
--- kdenetwork-2.2.2/configure.in.in	2002-12-07 20:57:57.000000000 +0100
+++ kdenetwork-2.2.2-patched/configure.in.in	2002-12-07 21:22:40.000000000 +0100
@@ -1,10 +1,8 @@
-AC_PREREQ(2.50)
-
 #MIN_CONFIG
 dnl Image readers/writers
 KDE_CHECK_KIMGIO
 
-AC_LANG_CPLUSPLUS
+AC_LANG(C++)
 dnl Checks for header files.
 AC_CHECK_HEADERS(linux/tcp.h linux/if_ppp.h)
 AC_CHECK_HEADERS(net/errno.h net/if_ppp.h)

Reply to: