From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 10 14:20:15 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB3A916A4D1 for ; Wed, 10 Mar 2004 14:20:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F24B43D39 for ; Wed, 10 Mar 2004 14:20:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2AMKFbv064381 for ; Wed, 10 Mar 2004 14:20:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2AMKF8o064380; Wed, 10 Mar 2004 14:20:15 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 10 Mar 2004 14:20:15 -0800 (PST) Resent-Message-Id: <200403102220.i2AMKF8o064380@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergey Matveychuk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60EBF16A4CE for ; Wed, 10 Mar 2004 14:17:31 -0800 (PST) Received: from mail.ciam.ru (main.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25DD243D3F for ; Wed, 10 Mar 2004 14:17:28 -0800 (PST) (envelope-from sem@ciam.ru) Received: from ppp138-200.dialup.mtu-net.ru ([62.118.138.200] helo=Current.sem-home.ciam.ru) by mail.ciam.ru with esmtp (Exim 4.x) id 1B1C0m-000Ifv-Tr for FreeBSD-gnats-submit@freebsd.org; Thu, 11 Mar 2004 01:17:13 +0300 Received: from root by Current.sem-home.ciam.ru with local (Exim 4.30; FreeBSD) id 1B1C0E-0001Ff-Gm for FreeBSD-gnats-submit@freebsd.org; Thu, 11 Mar 2004 01:16:38 +0300 Message-Id: Date: Thu, 11 Mar 2004 01:16:38 +0300 From: Sergey Matveychuk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/64072: **SPAM** [PATCH] databases/hk_classes: update to 0.6.2, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 22:20:15 -0000 >Number: 64072 >Category: ports >Synopsis: [PATCH] databases/hk_classes: update to 0.6.2, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Mar 10 14:20:15 PST 2004 >Closed-Date: >Last-Modified: >Originator: Sergey Matveychuk >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD Current.sem-home.ciam.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Fri Feb 27 03:58:52 MSK 2004 >Description: - Update to 0.6.2 - Remove useless "" - Change space with tab to make portlint happier - Utilize OPTIONS - Add ODBC driver and fix configure script for right action on user's wishes - Take maintainership Added file(s): - files/patch-hk_classes::hk_actionquery.cpp - files/patch-hk_classes::hk_datasource.cpp Removed file(s): - files/patch-Makefile.in - files/patch-hk_drivermanager.cpp Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- hk_classes-0.6.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/Makefile /usr/ports/databases/hk_classes/Makefile --- /usr/ports/databases/hk_classes.orig/Makefile Wed Mar 10 05:07:20 2004 +++ /usr/ports/databases/hk_classes/Makefile Thu Mar 11 01:05:49 2004 @@ -5,46 +5,63 @@ # $FreeBSD: ports/databases/hk_classes/Makefile,v 1.4 2003/11/04 18:33:12 arved Exp $ PORTNAME= hk_classes -PORTVERSION= 0.6.1 -PORTREVISION= 2 +PORTVERSION= 0.6.2 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hk-classes -MAINTAINER= ports@FreeBSD.org -COMMENT= "C++ Library for rapid development of database applications" +MAINTAINER= sem@ciam.ru +COMMENT= C++ Library for rapid development of database applications LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv -.if !defined(WITHOUT_MYSQL) || defined(WITH_MYSQL) +USE_PYTHON= yes +CONFIGURE_ENV+= LIBPYTHON="-l${PYTHON_VERSION} ${PTHREAD_LIBS}" +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +LDCONFIG_DIRS+= ${PREFIX}/lib/hk_classes/ + +OPTIONS= MYSQL "Build MySQL driver" on \ + POSTGRESQL "Build PostrgreSQL driver" off \ + ODBC "Build unixODBC driver" off + +.include + +.if defined(WITH_MYSQL) USE_MYSQL= yes -CONFIGURE_ARGS+= -with-mysql-dir=${LOCALBASE} \ - --with-mysql-incdir=${LOCALBASE}/include/mysql +CONFIGURE_ARGS+= --with-mysql-dir=${LOCALBASE} \ + --with-mysql-incdir=${LOCALBASE}/include/mysql \ + --with-mysql-libdir=${LOCALBASE}/lib/mysql CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql" PLIST_SUB+= MYSQL="" .else +CONFIGURE_ARGS+= --without-mysql PLIST_SUB+= MYSQL="@comment " .endif .if defined(WITH_POSTGRESQL) POSTGRESQL_PORT?= databases/postgresql7 -LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} +LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} CONFIGURE_ARGS+= --with-postgres-incdir=${LOCALBASE}/include/ \ --with-postgres-libdir=${LOCALBASE}/lib CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib" PLIST_SUB+= POSTGRESQL="" .else +CONFIGURE_ARGS+= --without-postgres PLIST_SUB+= POSTGRESQL="@comment " .endif -USE_PYTHON= yes -CONFIGURE_ENV+= LIBPYTHON="-l${PYTHON_VERSION} ${PTHREAD_LIBS}" -CONFIGURE_TARGET= -CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes -USE_LIBTOOL= yes -LDCONFIG_DIRS+= %%PREFIX%%/lib/hk_classes/ +.if defined(WITH_ODBC) +LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC +CONFIGURE_ARGS+= --with-odbc-incdir=${LOCALBASE}/include/\ + --with-odbc-libdir=${LOCALBASE}/lib +PLIST_SUB+= ODBC="" +.else +CONFIGURE_ARGS+= --without-odbc +PLIST_SUB+= ODBC="@comment " +.endif -.include +.include diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/distinfo /usr/ports/databases/hk_classes/distinfo --- /usr/ports/databases/hk_classes.orig/distinfo Wed Mar 10 05:07:20 2004 +++ /usr/ports/databases/hk_classes/distinfo Wed Mar 10 05:22:04 2004 @@ -1,2 +1,2 @@ -MD5 (hk_classes-0.6.1.tar.gz) = e376aaf0e8f266a4b7aa00b16349ae73 -SIZE (hk_classes-0.6.1.tar.gz) = 572958 +MD5 (hk_classes-0.6.2.tar.gz) = 2f5fb56ecf05018c080de9bdd7914892 +SIZE (hk_classes-0.6.2.tar.gz) = 578222 diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/files/patch-Makefile.in /usr/ports/databases/hk_classes/files/patch-Makefile.in --- /usr/ports/databases/hk_classes.orig/files/patch-Makefile.in Wed Mar 10 05:07:20 2004 +++ /usr/ports/databases/hk_classes/files/patch-Makefile.in Thu Jan 1 03:00:00 1970 @@ -1,16 +0,0 @@ ---- Makefile.in.orig Fri Oct 31 12:42:20 2003 -+++ Makefile.in Fri Oct 31 12:42:44 2003 -@@ -562,11 +562,11 @@ - - - install-data-hook: -- echo ; echo ; echo "**********************************************"; echo ; \ -+ @echo ; echo ; echo "**********************************************"; echo ; \ - if @NODRIVER@ ;then echo "W A R N I N G !!!!" ; \ - echo "No database driver installed! It makes no sense to run " ; echo "hk_classes without a database driver."; echo "Make sure that you have one of the following SQL databases." ; echo ; echo "Existing drivers are: @POSSIBLE_DRIVERS@" ; echo ; echo "Then re-configure and re-make this package." ;\ - echo;echo "If you are sure the database is installed, but you still see this message,"; echo "check your installation. Probably you haven't installed your distribution's ";echo "development package for this database. For Mysql it is called ";echo "mysql-devel (the exact name is distribution specific)";\ -- else echo "The following drivers are installed:"; echo "@DRIVERSDIR@" ;fi;echo; if test "x@HKPYTHONDIR@" == "xpython" ; then echo "Python support is installed" ; else echo "No Python support";fi;echo ; echo "I wish you much fun";echo ; echo "Horst Knorr "; echo; echo "**********************************************"; echo ; -+ else echo "The following drivers are installed:"; echo "@DRIVERSDIR@" ;fi;echo; if test x@HKPYTHONDIR@ = xpython ; then echo "Python support is installed" ; else echo "No Python support";fi;echo ; echo "I wish you much fun";echo ; echo "Horst Knorr "; echo; echo "**********************************************"; echo ; - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/files/patch-configure /usr/ports/databases/hk_classes/files/patch-configure --- /usr/ports/databases/hk_classes.orig/files/patch-configure Wed Mar 10 05:07:20 2004 +++ /usr/ports/databases/hk_classes/files/patch-configure Thu Mar 11 00:21:31 2004 @@ -1,1432 +1,50 @@ ---- configure.orig Tue Nov 4 19:13:40 2003 -+++ configure Tue Nov 4 19:15:08 2003 -@@ -8783,10 +8783,10 @@ +--- configure.orig Sat Nov 15 19:04:37 2003 ++++ configure Thu Mar 11 00:21:00 2004 +@@ -7855,7 +7855,7 @@ + + + # This can be used to rebuild libtool when needed +-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh" + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -8541,9 +8541,8 @@ + NODRIVER=true + POSSIBLE_DRIVERS="MYSQL,ODBC, POSTGRESQL" + +-cat >>confdefs.h <<_ACEOF +-#define HKCLASSES "$HK_CLASSESDIR" +-_ACEOF ++echo -n "#define HKCLASSES " >>confdefs.h ++echo \"$prefix/lib/hk_classes\" >>confdefs.h + + echo "$as_me:$LINENO: result: OK" >&5 + echo "${ECHO_T}OK" >&6 +@@ -15667,7 +15666,7 @@ + + echo "$as_me:$LINENO: result: $mysql_lib" >&5 + echo "${ECHO_T}$mysql_lib" >&6 +-if test $mysql_lib = yes ; then ++if test $mysql_lib = yes -a "x$with_mysql" != "xno"; then + NODRIVER=false + DRIVERSDIR="$DRIVERSDIR hk_mysqlclasses" + +@@ -15807,7 +15806,7 @@ + + echo "$as_me:$LINENO: result: $postgres_lib" >&5 + echo "${ECHO_T}$postgres_lib" >&6 +-if test $postgres_lib = yes ; then ++if test $postgres_lib = yes -a "x$with_postgres" != "xno"; then + NODRIVER=false + DRIVERSDIR="$DRIVERSDIR hk_postgresclasses" + +@@ -15966,7 +15965,7 @@ + + echo "$as_me:$LINENO: result: $odbc_lib" >&5 + echo "${ECHO_T}$odbc_lib" >&6 +-if test x$odbc_lib = xyes ; then ++if test x$odbc_lib = xyes -a "x$with_odbc" != "xno"; then + NODRIVER=false + DRIVERSDIR="$DRIVERSDIR hk_odbcclasses" - - --if test -z ""2.2""; then -+if test -z ""2.3""; then - version="1.5" - else -- version=""2.2"" -+ version=""2.3"" - fi - - echo "$as_me:$LINENO: checking for Python$version" >&5 -@@ -8911,10 +8911,10 @@ - - - --if test -z ""2.1""; then -+if test -z ""2.2""; then - version="1.5" - else -- version=""2.1"" -+ version=""2.2"" - fi - - echo "$as_me:$LINENO: checking for Python$version" >&5 -@@ -9039,10 +9039,10 @@ - - - --if test -z ""2.0""; then -+if test -z ""2.1""; then - version="1.5" - else -- version=""2.0"" -+ version=""2.1"" - fi - - echo "$as_me:$LINENO: checking for Python$version" >&5 -@@ -9167,10 +9167,10 @@ - - - --if test -z ""; then -+if test -z ""2.0""; then - version="1.5" - else -- version="" -+ version=""2.0"" - fi - - echo "$as_me:$LINENO: checking for Python$version" >&5 -@@ -9291,6 +9291,134 @@ - test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB="" - test "x$PYTHONINC" = "x-Ino" && PYTHONINC="" - -+ -+ -+ -+ -+if test -z ""; then -+ version="1.5" -+else -+ version="" -+fi -+ -+echo "$as_me:$LINENO: checking for Python$version" >&5 -+echo $ECHO_N "checking for Python$version... $ECHO_C" >&6 -+ -+python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes" -+ -+python_incdir=NO -+for i in $python_incdirs; -+do -+ for j in Python.h; -+ do -+ echo "configure: 9314: $i/$j" >&5 -+ if test -r "$i/$j"; then -+ echo "taking that" >&5 -+ python_incdir=$i -+ break 2 -+ fi -+ done -+done -+ -+if test ! -r $python_incdir/Python.h; then -+ -+python_incdir=NO -+for i in $python_incdirs; -+do -+ for j in python$version/Python.h; -+ do -+ echo "configure: 9330: $i/$j" >&5 -+ if test -r "$i/$j"; then -+ echo "taking that" >&5 -+ python_incdir=$i -+ break 2 -+ fi -+ done -+done -+ -+ python_incdir=$python_incdir/python$version -+ if test ! -r $python_incdir/Python.h; then -+ python_incdir=no -+ fi -+fi -+ -+PYTHONINC=-I$python_incdir -+ -+python_libdirs="$ac_python_dir/lib /usr/lib /usr/local /usr/lib $kde_extra_libs" -+ -+python_libdir=NO -+for i in $python_libdirs; -+do -+ for j in libpython$version.a; -+ do -+ echo "configure: 9354: $i/$j" >&5 -+ if test -r "$i/$j"; then -+ echo "taking that" >&5 -+ python_libdir=$i -+ break 2 -+ fi -+ done -+done -+ -+if test ! -r $python_libdir/libpython$version.a; then -+ -+python_libdir=NO -+for i in $python_libdirs; -+do -+ for j in python$version/config/libpython$version.a; -+ do -+ echo "configure: 9370: $i/$j" >&5 -+ if test -r "$i/$j"; then -+ echo "taking that" >&5 -+ python_libdir=$i -+ break 2 -+ fi -+ done -+done -+ -+ python_libdir=$python_libdir/python$version/config -+ if test ! -r $python_libdir/libpython$version.a; then -+ python_libdir=no -+ fi -+fi -+ -+PYTHONLIB=-L$python_libdir -+kde_orig_LIBPYTHON=$LIBPYTHON -+if test -z "$LIBPYTHON"; then -+ LIBPYTHON=-lpython$version -+fi -+ -+python_libdirs="$ac_python_dir/lib /usr/lib /usr/local /usr/lib $kde_extra_libs" -+ -+python_moddir=NO -+for i in $python_libdirs; -+do -+ for j in python$version/copy.py; -+ do -+ echo "configure: 9398: $i/$j" >&5 -+ if test -r "$i/$j"; then -+ echo "taking that" >&5 -+ python_moddir=$i -+ break 2 -+ fi -+ done -+done -+ -+python_moddir=$python_moddir/python$version -+if test ! -r $python_moddir/copy.py; then -+ python_moddir=no -+fi -+ -+PYTHONMODDIR=$python_moddir -+ -+echo "$as_me:$LINENO: result: header $python_incdir library $python_libdir modules $python_moddir" >&5 -+echo "${ECHO_T}header $python_incdir library $python_libdir modules $python_moddir" >&6 -+ -+if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then -+ LIBPYTHON=$kde_orig_LIBPYTHON -+ test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB="" -+ test "x$PYTHONINC" = "x-Ino" && PYTHONINC="" -+ - else - kde_python_link_found=no - -@@ -11762,6 +11890,1242 @@ - - fi - -+ -+ -+else -+ kde_python_link_found=no -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "normal" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on " >&5 -+echo $ECHO_N "checking if Python depends on ... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_normal+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_normal=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_normal=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_normal" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "normal" = normal; then -+ LIBPYTHON="$LIBPYTHON " -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "m" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on -lm" >&5 -+echo $ECHO_N "checking if Python depends on -lm... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_m+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON -lm $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_m=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_m=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_m" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "m" = normal; then -+ LIBPYTHON="$LIBPYTHON -lm" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "pthread" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_pthread+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_pthread=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_pthread=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_pthread" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "pthread" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "tcl" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on -ltcl" >&5 -+echo $ECHO_N "checking if Python depends on -ltcl... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_tcl+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON -ltcl $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_tcl=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_tcl=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_tcl" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "tcl" = normal; then -+ LIBPYTHON="$LIBPYTHON -ltcl" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "db2" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on -ldb2" >&5 -+echo $ECHO_N "checking if Python depends on -ldb2... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_db2+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON -ldb2 $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_db2=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_db2=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_db2" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "db2" = normal; then -+ LIBPYTHON="$LIBPYTHON -ldb2" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "m_and_thread" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD -lm" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD -lm... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_m_and_thread+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD -lm $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_m_and_thread=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_m_and_thread=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_m_and_thread" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "m_and_thread" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD -lm" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "m_and_thread_and_util" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD -lm -lutil" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD -lm -lutil... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_m_and_thread_and_util+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD -lm -lutil $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_m_and_thread_and_util=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_m_and_thread_and_util=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_m_and_thread_and_util" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "m_and_thread_and_util" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD -lm -lutil" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "m_and_thread_and_db3" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD -lm -ldb-3 -lutil" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD -lm -ldb-3 -lutil... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_m_and_thread_and_db3+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD -lm -ldb-3 -lutil $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_m_and_thread_and_db3=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_m_and_thread_and_db3=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_m_and_thread_and_db3" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "m_and_thread_and_db3" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD -lm -ldb-3 -lutil" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "pthread_and_db3" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD -ldb-3" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD -ldb-3... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_pthread_and_db3+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD -ldb-3 $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_pthread_and_db3=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_pthread_and_db3=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_pthread_and_db3" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "pthread_and_db3" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD -ldb-3" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "m_and_thread_and_db" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD -lm -ldb -ltermcap -lutil" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD -lm -ldb -ltermcap -lutil... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_m_and_thread_and_db+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD -lm -ldb -ltermcap -lutil $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_m_and_thread_and_db=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_m_and_thread_and_db=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_m_and_thread_and_db" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "m_and_thread_and_db" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD -lm -ldb -ltermcap -lutil" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "pthread_and_dl" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_pthread_and_dl+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_pthread_and_dl=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_pthread_and_dl=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_pthread_and_dl" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "pthread_and_dl" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+if test "$kde_python_link_found" = no; then -+ -+if test "m_and_thread_and_db_special" = normal; then -+ echo "$as_me:$LINENO: checking if a Python application links" >&5 -+echo $ECHO_N "checking if a Python application links... $ECHO_C" >&6 -+else -+ echo "$as_me:$LINENO: checking if Python depends on $LIBPTHREAD -lm -ldb -lutil" >&5 -+echo $ECHO_N "checking if Python depends on $LIBPTHREAD -lm -ldb -lutil... $ECHO_C" >&6 -+fi -+ -+if test "${kde_cv_try_link_python_m_and_thread_and_db_special+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+kde_save_cflags="$CFLAGS" -+CFLAGS="$CFLAGS $PYTHONINC" -+kde_save_libs="$LIBS" -+LIBS="$LIBS $LIBPYTHON $LIBPTHREAD -lm -ldb -lutil $LIBDL $LIBSOCKET" -+kde_save_ldflags="$LDFLAGS" -+LDFLAGS="$LDFLAGS $PYTHONLIB" -+ -+cat >conftest.$ac_ext <<_ACEOF -+#line $LINENO "configure" -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include -+ -+int -+main () -+{ -+ -+ PySys_SetArgv(1, 0); -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest$ac_exeext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ kde_cv_try_link_python_m_and_thread_and_db_special=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+kde_cv_try_link_python_m_and_thread_and_db_special=no -+ -+fi -+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -+CFLAGS="$kde_save_cflags" -+LIBS="$kde_save_libs" -+LDFLAGS="$kde_save_ldflags" -+ -+fi -+ -+ -+if test "$kde_cv_try_link_python_m_and_thread_and_db_special" = "yes"; then -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ kde_python_link_found=yes -+ if test ! "m_and_thread_and_db_special" = normal; then -+ LIBPYTHON="$LIBPYTHON $LIBPTHREAD -lm -ldb -lutil" -+ fi -+ -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ { { echo "$as_me:$LINENO: error: it seems, Python depends on another library. -+ Pleae set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this -+ and contact the authors to let them know about this problem" >&5 -+echo "$as_me: error: it seems, Python depends on another library. -+ Pleae set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this -+ and contact the authors to let them know about this problem" >&2;} -+ { (exit 1); exit 1; }; } -+ -+fi -+ac_ext=cc -+ac_cpp='$CXXCPP $CPPFLAGS' -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -+ -+ -+fi -+ -+ -+ -+ LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET" -+ -+ -+ -+ -+HKPYTHONDIR="python" -+ -+cat >>confdefs.h <<\_ACEOF -+#define HAVE_PYTHON 1 -+_ACEOF -+ -+fi - - - else diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/files/patch-hk_classes::hk_actionquery.cpp /usr/ports/databases/hk_classes/files/patch-hk_classes::hk_actionquery.cpp --- /usr/ports/databases/hk_classes.orig/files/patch-hk_classes::hk_actionquery.cpp Thu Jan 1 03:00:00 1970 +++ /usr/ports/databases/hk_classes/files/patch-hk_classes::hk_actionquery.cpp Wed Mar 10 22:57:21 2004 @@ -0,0 +1,11 @@ +--- hk_classes/hk_actionquery.cpp.orig Wed Mar 10 22:55:49 2004 ++++ hk_classes/hk_actionquery.cpp Wed Mar 10 22:56:40 2004 +@@ -12,6 +12,8 @@ + #include "hk_actionquery.h" + #include "hk_database.h" + ++#include ++ + class hk_actionqueryprivate + { + public: diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/files/patch-hk_classes::hk_datasource.cpp /usr/ports/databases/hk_classes/files/patch-hk_classes::hk_datasource.cpp --- /usr/ports/databases/hk_classes.orig/files/patch-hk_classes::hk_datasource.cpp Thu Jan 1 03:00:00 1970 +++ /usr/ports/databases/hk_classes/files/patch-hk_classes::hk_datasource.cpp Wed Mar 10 22:58:46 2004 @@ -0,0 +1,11 @@ +--- hk_classes/hk_datasource.cpp.orig Wed Mar 10 22:57:45 2004 ++++ hk_classes/hk_datasource.cpp Wed Mar 10 22:58:01 2004 +@@ -19,7 +19,7 @@ + #include + #include + #include +- ++#include + + class hk_datasourceprivate + { diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/files/patch-hk_drivermanager.cpp /usr/ports/databases/hk_classes/files/patch-hk_drivermanager.cpp --- /usr/ports/databases/hk_classes.orig/files/patch-hk_drivermanager.cpp Wed Mar 10 05:07:20 2004 +++ /usr/ports/databases/hk_classes/files/patch-hk_drivermanager.cpp Thu Jan 1 03:00:00 1970 @@ -1,11 +0,0 @@ ---- hk_classes/hk_drivermanager.cpp.orig Fri Oct 31 12:14:16 2003 -+++ hk_classes/hk_drivermanager.cpp Fri Oct 31 12:14:25 2003 -@@ -141,7 +141,7 @@ - { - if (interactive) - { -- char* e=dlerror(); -+ const char* e=dlerror(); - hk_string error=hk_translate("Unknown reason"); - if (e) error=e; - hk_string w=hk_translate("Database driver '%DRIVER%' could not be loaded.\nReason: ")+error; diff -ruN --exclude=CVS /usr/ports/databases/hk_classes.orig/pkg-plist /usr/ports/databases/hk_classes/pkg-plist --- /usr/ports/databases/hk_classes.orig/pkg-plist Wed Mar 10 05:07:20 2004 +++ /usr/ports/databases/hk_classes/pkg-plist Wed Mar 10 21:00:18 2004 @@ -40,6 +40,9 @@ %%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.so.3 %%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.so %%MYSQL%%lib/hk_classes/drivers/libhk_mysqldriver.la +%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.la +%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.so +%%ODBC%%lib/hk_classes/drivers/libhk_odbcdriver.so.0 %%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.so.0 %%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.so %%POSTGRESQL%%lib/hk_classes/drivers/libhk_postgresdriver.la --- hk_classes-0.6.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: