1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

o New port - ksqlshell is a simple environment for managing

data (MySQL, PostgreSQL) for KDE.
This commit is contained in:
Michael Landin 2005-09-19 16:30:31 +00:00
parent cc5f446d07
commit 8eb3546fcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143167
6 changed files with 706 additions and 0 deletions

View File

@ -75,6 +75,7 @@
SUBDIR += kbibtex
SUBDIR += kinterbasdb
SUBDIR += knoda
SUBDIR += ksqlshell
SUBDIR += libdbi
SUBDIR += libdbi-drivers
SUBDIR += libgda

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: ksqlshell
# Date created: Wed Aug 12 11:38:46 CEST 2005
# Whom: Michael L. Hostbaek <mich@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ksqlshell
PORTVERSION= 0.2
CATEGORIES= databases kde
MASTER_SITES= http://www.ksqlshell.de/
MAINTAINER= mich@FreeBSD.org
COMMENT= MySQL and PostgreSQL client for KDE
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_MYSQL= yes
USE_PGSQL= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (ksqlshell-0.2.tar.gz) = 111566f66c1a1fac5f0d9910be8e3eb2
SIZE (ksqlshell-0.2.tar.gz) = 2055574

View File

@ -0,0 +1,580 @@
$FreeBSD$
--- configure.orig
+++ configure
@@ -20428,16 +20428,39 @@
-echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
-if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
+ LIBPTHREAD=""
+
+ if test -n "$PTHREAD_LIBS"; then
+ if test "x$PTHREAD_LIBS" = "x-pthread" ; then
+ LIBPTHREAD="PTHREAD"
+ else
+ PTHREAD_LIBS_save="$PTHREAD_LIBS"
+ PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
+ echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
+echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
+echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
+echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6
+if eval "test \"\${$as_ac_Lib+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-l$PTHREAD_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
@@ -20446,12 +20469,6 @@
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pthread_create ();
-#ifdef F77_DUMMY_MAIN
-# ifdef __cplusplus
- extern "C"
-# endif
- int F77_DUMMY_MAIN() { return 1; }
-#endif
int
main ()
{
@@ -20462,237 +20479,193 @@
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest$ac_exeext'
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (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); }; } &&
+ { 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
- ac_cv_lib_pthread_pthread_create=yes
+ eval "$as_ac_Lib=yes"
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
-ac_cv_lib_pthread_pthread_create=no
+sed 's/^/| /' conftest.$ac_ext >&5
+
+eval "$as_ac_Lib=no"
fi
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
-echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
-if test $ac_cv_lib_pthread_pthread_create = yes; then
- LIBPTHREAD="-lpthread"
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+ LIBPTHREAD="$PTHREAD_LIBS_save"
fi
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+ PTHREAD_LIBS="$PTHREAD_LIBS_save"
+ fi
+ fi
-
- # Check whether --enable-kernel-threads or --disable-kernel-threads was given.
-if test "${enable_kernel_threads+set}" = set; then
- enableval="$enable_kernel_threads"
- kde_use_kernthreads=$enableval
-else
- kde_use_kernthreads=no
-fi;
-
- if test "$kde_use_kernthreads" = "yes"; then
- ac_save_CXXFLAGS="$CXXFLAGS"
- ac_save_CFLAGS="$CFLAGS"
- CXXFLAGS="-I/usr/local/include/pthread/linuxthreads $CXXFLAGS"
- CFLAGS="-I/usr/local/include/pthread/linuxthreads $CFLAGS"
-
-for ac_header in pthread/linuxthreads/pthread.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
- echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
+ if test -z "$LIBPTHREAD"; then
+ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
- # Is the header compilable?
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
-$ac_includes_default
-#include <$ac_header>
+/* confdefs.h. */
_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char pthread_create ();
+int
+main ()
+{
+pthread_create ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest.$ac_objext'
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
{ (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
- ac_header_compiler=yes
-else
- echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
-ac_header_compiler=no
-fi
-rm -f conftest.$ac_objext conftest.$ac_ext
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6
-
-# Is the header present?
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
-cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
-#include <$ac_header>
-_ACEOF
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
+ (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=$?
- egrep -v '^ *\+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null; then
- if test -s conftest.err; then
- ac_cpp_err=$ac_c_preproc_warn_flag
- else
- ac_cpp_err=
- fi
-else
- ac_cpp_err=yes
-fi
-if test -z "$ac_cpp_err"; then
- ac_header_preproc=yes
+ (exit $ac_status); }; }; then
+ ac_cv_lib_pthread_pthread_create=yes
else
echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_header_preproc=no
-fi
-rm -f conftest.err conftest.$ac_ext
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6
+sed 's/^/| /' conftest.$ac_ext >&5
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc in
- yes:no )
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- no:yes )
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
-esac
-echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- eval "$as_ac_Header=$ac_header_preproc"
+ac_cv_lib_pthread_pthread_create=no
fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
-
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
+echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
+echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
+if test $ac_cv_lib_pthread_pthread_create = yes; then
+ LIBPTHREAD="-lpthread"
fi
-done
-
- CXXFLAGS="$ac_save_CXXFLAGS"
- CFLAGS="$ac_save_CFLAGS"
- if test "$ac_cv_header_pthread_linuxthreads_pthread_h" = "no"; then
- kde_use_kernthreads=no
- else
- echo "$as_me:$LINENO: checking for pthread_join in -llthread" >&5
-echo $ECHO_N "checking for pthread_join in -llthread... $ECHO_C" >&6
-if test "${ac_cv_lib_lthread_pthread_join+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-llthread $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
+ fi
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char pthread_join ();
-#ifdef F77_DUMMY_MAIN
-# ifdef __cplusplus
- extern "C"
-# endif
- int F77_DUMMY_MAIN() { return 1; }
-#endif
+ if test -z "$LIBPTHREAD" ; then
+ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS -lpthread"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <pthread.h>
int
main ()
{
-pthread_join ();
+(void)pthread_create(0,0,0,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
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest$ac_exeext'
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (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); }; } &&
+ { 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
- ac_cv_lib_lthread_pthread_join=yes
+
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ LIBPTHREAD="-lpthread"
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
-ac_cv_lib_lthread_pthread_join=no
-fi
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_lthread_pthread_join" >&5
-echo "${ECHO_T}$ac_cv_lib_lthread_pthread_join" >&6
-if test $ac_cv_lib_lthread_pthread_join = yes; then
- LIBPTHREAD="-llthread -llgcc_r"
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
- if test "x$LIBPTHREAD" = "x"; then
- kde_use_kernthreads=no
- else
- USE_THREADS="-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads"
- fi
- fi
- else
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$kde_safe_libs
+ fi
+
+ if test "x$LIBPTHREAD" = "xPTHREAD" ; then
+ LIBPTHREAD=""
+ fi
+
+
+
+
USE_THREADS=""
if test -z "$LIBPTHREAD"; then
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
-kde_cache=`echo pthread | sed 'y% .=/+-%____p_%'`
+kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -20711,15 +20684,12 @@
save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -pthread"
cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
-#ifdef F77_DUMMY_MAIN
-# ifdef __cplusplus
- extern "C"
-# endif
- int F77_DUMMY_MAIN() { return 1; }
-#endif
int
main ()
{
@@ -20730,11 +20700,21 @@
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest$ac_exeext'
+ { ac_try='test -z "$ac_cxx_werror_flag"
+ || test ! -s conftest.err'
+ { (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); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
@@ -20743,9 +20723,11 @@
eval "kde_cv_prog_cxx_$kde_cache=yes"
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
fi
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$save_CXXFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -20760,7 +20742,7 @@
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
:
- USE_THREADS="-pthread"
+ USE_THREADS="-D_THREAD_SAFE -pthread"
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
@@ -20769,14 +20751,15 @@
fi
fi
- fi
+
+
case $host_os in
solaris*)
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
-kde_cache=`echo mt | sed 'y% .=/+-%____p_%'`
+kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -20795,15 +20778,12 @@
save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -mt"
cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
-#ifdef F77_DUMMY_MAIN
-# ifdef __cplusplus
- extern "C"
-# endif
- int F77_DUMMY_MAIN() { return 1; }
-#endif
int
main ()
{
@@ -20814,11 +20794,21 @@
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
+ (eval $ac_link) 2>conftest.er1
ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest$ac_exeext'
+ { ac_try='test -z "$ac_cxx_werror_flag"
+ || test ! -s conftest.err'
+ { (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); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
@@ -20827,9 +20817,11 @@
eval "kde_cv_prog_cxx_$kde_cache=yes"
else
echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
fi
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
CXXFLAGS="$save_CXXFLAGS"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -20855,7 +20847,7 @@
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
;;
freebsd*)
- CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
;;
aix*)
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"

View File

@ -0,0 +1,3 @@
Simple environment for managing data (MySQL, PostgreSQL)
WWW: http://www.ksqlshell.de

View File

@ -0,0 +1,93 @@
bin/ksqlshell
share/applnk/Applications/ksqlshell.desktop
share/apps/ksqlshell/icons/hicolor/16x16/actions/database.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/del_database.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/del_table.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/error.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/record.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/table.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/transp_record.png
share/apps/ksqlshell/icons/hicolor/16x16/actions/undoaction.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/addfield.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/changefield.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/database.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/del_database.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/del_tab.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/del_table.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/delfield.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/insert.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/nextrows.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/plug.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/select.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/select_all.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/showcolumns.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/table.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/transponse.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/undoaction.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/unplug.png
share/apps/ksqlshell/icons/hicolor/32x32/actions/update.png
share/apps/ksqlshell/ksqlshellui.rc
share/doc/HTML/de/ksqlshell/anzeigen_1.png
share/doc/HTML/de/ksqlshell/anzeigen_2.png
share/doc/HTML/de/ksqlshell/anzeigen_3.png
share/doc/HTML/de/ksqlshell/anzeigen_4.png
share/doc/HTML/de/ksqlshell/anzeigen_dialog.png
share/doc/HTML/de/ksqlshell/anzeigen_menu.png
share/doc/HTML/de/ksqlshell/ausgabe_anzeigen.png
share/doc/HTML/de/ksqlshell/ausgabe_befehl.png
share/doc/HTML/de/ksqlshell/ausgabe_befehlsliste.png
share/doc/HTML/de/ksqlshell/ausgabe_beg_doc.png
share/doc/HTML/de/ksqlshell/ausgabe_fehler.png
share/doc/HTML/de/ksqlshell/ausgabe_felder.png
share/doc/HTML/de/ksqlshell/befehl_ausfuehren_1.png
share/doc/HTML/de/ksqlshell/befehl_ausfuehren_2.png
share/doc/HTML/de/ksqlshell/befehl_eingabe_dlg.png
share/doc/HTML/de/ksqlshell/befehl_sichern_1.png
share/doc/HTML/de/ksqlshell/befehl_sichern_2.png
share/doc/HTML/de/ksqlshell/befehlsliste.png
share/doc/HTML/de/ksqlshell/befehlsliste_1.png
share/doc/HTML/de/ksqlshell/befehlsliste_2.png
share/doc/HTML/de/ksqlshell/befehlsliste_3.png
share/doc/HTML/de/ksqlshell/einfuegen_menu.png
share/doc/HTML/de/ksqlshell/eingabe_dialog.png
share/doc/HTML/de/ksqlshell/eingabe_doc.png
share/doc/HTML/de/ksqlshell/eingabe_fehler.png
share/doc/HTML/de/ksqlshell/einstellungen.png
share/doc/HTML/de/ksqlshell/index.docbook
share/doc/HTML/de/ksqlshell/ksqlshell_beg_doc.png
share/doc/HTML/de/ksqlshell/my_tab_dialog.png
share/doc/HTML/de/ksqlshell/navigation_doc.png
share/doc/HTML/de/ksqlshell/neue_db_doc.png
share/doc/HTML/de/ksqlshell/neue_tabelle_menu_doc.png
share/doc/HTML/de/ksqlshell/neue_verbindung_doc.png
share/doc/HTML/de/ksqlshell/neue_verbindung_menu_doc.png
share/doc/HTML/de/ksqlshell/pg_tab_dialog_doc.png
share/doc/HTML/en/ksqlshell/common
share/doc/HTML/en/ksqlshell/index.cache.bz2
share/doc/HTML/en/ksqlshell/index.docbook
share/icons/hicolor/32x32/apps/ksqlshell.png
share/icons/locolor/16x16/apps/ksqlshell.png
share/locale/de/LC_MESSAGES/ksqlshell.mo
@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor/16x16 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
@unexec rmdir %D/share/hicolor 2>/dev/null || true
@unexec rmdir %D/share/icons 2>/dev/null || true
@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
@dirrm share/doc/HTML/en/ksqlshell
@dirrm share/doc/HTML/de/ksqlshell
@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
@unexec rmdir %D/share/doc/HTML/de 2>/dev/null || true
@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
@dirrm share/apps/ksqlshell/icons/hicolor/32x32/actions
@dirrm share/apps/ksqlshell/icons/hicolor/32x32
@dirrm share/apps/ksqlshell/icons/hicolor/16x16/actions
@dirrm share/apps/ksqlshell/icons/hicolor/16x16
@dirrm share/apps/ksqlshell/icons/hicolor
@dirrm share/apps/ksqlshell/icons
@dirrm share/apps/ksqlshell
@unexec rmdir %D/share/apps 2>/dev/null || true
@unexec rmdir %D/share/applnk/Applications 2>/dev/null || true
@unexec rmdir %D/share/applnk 2>/dev/null || true