aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-02-06 01:01:46 +0000
committerFritz Elfert <felfert@to.com>2001-02-06 01:01:46 +0000
commita9fe8f28a4a9aaf1d9b84dbc6907849ace87f66e (patch)
tree0dd290cdf04cfd17a4ab4d0eb86bcb48137a02cb /conf
parenta8787d39b2bf1851cdea64a5e0eccc2aff7f15de (diff)
downloadplptools-a9fe8f28a4a9aaf1d9b84dbc6907849ace87f66e.tar.gz
plptools-a9fe8f28a4a9aaf1d9b84dbc6907849ace87f66e.tar.bz2
plptools-a9fe8f28a4a9aaf1d9b84dbc6907849ace87f66e.zip
- Added KDE2 PropsDialog Plugin (incomplete)
- Fixed some KDE related autoconf stuff - Added PlpDrive class for returning results from rfsv:devinfo - Added auto-watch in ppsocket and finally got rid of the nasty SIGPIPE bug. Now it's no more necessary to ignore SIGPIPE in applications. - Made constructors of rfsv16, rfsv32, rpcs16 and rpcs32 private to enforce use of the factories. - Removed error output in the factories and replaced that by error codes which can be retrieved and evaluated by an application.
Diffstat (limited to 'conf')
-rw-r--r--conf/m4/kde/KDE_CHECK_FINAL.m430
-rw-r--r--conf/m4/plptools/PLP_CHECK_COMPILERS.m44
-rw-r--r--conf/m4/plptools/PLP_SET_LIBVERSION.m49
3 files changed, 42 insertions, 1 deletions
diff --git a/conf/m4/kde/KDE_CHECK_FINAL.m4 b/conf/m4/kde/KDE_CHECK_FINAL.m4
new file mode 100644
index 0000000..0624149
--- /dev/null
+++ b/conf/m4/kde/KDE_CHECK_FINAL.m4
@@ -0,0 +1,30 @@
+AC_DEFUN(KDE_CHECK_FINAL,
+[
+ AC_ARG_ENABLE(final, [ --enable-final build size optimized apps (needs lots of memory)],
+ kde_use_final=yes, kde_use_final=no, kde_use_final=no)
+
+ if test "x$kde_use_final" = "xyes"; then
+ KDE_USE_FINAL_TRUE=""
+ KDE_USE_FINAL_FALSE="#"
+ KDE_CHECK_REPO
+ else
+ KDE_USE_FINAL_TRUE="#"
+ KDE_USE_FINAL_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_FINAL_TRUE)
+ AC_SUBST(KDE_USE_FINAL_FALSE)
+
+ AC_ARG_ENABLE(closure, [ --disable-closure don't delay template instantiation],
+ kde_use_closure=$enableval, kde_use_closure=yes)
+
+ if test "x$kde_use_closure" = "xyes"; then
+ KDE_USE_CLOSURE_TRUE=""
+ KDE_USE_CLOSURE_FALSE="#"
+# CXXFLAGS="$CXXFLAGS $REPO"
+ else
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_CLOSURE_TRUE)
+ AC_SUBST(KDE_USE_CLOSURE_FALSE)
+])
diff --git a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4
index bd61ed2..40eb216 100644
--- a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4
+++ b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4
@@ -79,11 +79,13 @@ dnl this was AC_PROG_CC. I had to include it manualy, since I had to patch it
if test "$ac_use_debug_code" = "no"; then
if test -z "$LDFLAGS" && test "$GCC" = "yes"; then
LDFLAGS="-s"
+ LIBDEBUG=""
fi
else
AC_DEFINE_UNQUOTED(DEBUG)
+ LIBDEBUG="--debug"
fi
-
+ AC_SUBST(LIB_DEBUG)
dnl this is AC_PROG_CPP. I had to include it here, since autoconf checks
dnl dependecies between AC_PROG_CPP and AC_PROG_CC (or is it automake?)
diff --git a/conf/m4/plptools/PLP_SET_LIBVERSION.m4 b/conf/m4/plptools/PLP_SET_LIBVERSION.m4
new file mode 100644
index 0000000..8c03f03
--- /dev/null
+++ b/conf/m4/plptools/PLP_SET_LIBVERSION.m4
@@ -0,0 +1,9 @@
+AC_DEFUN(PLP_SET_LIBVERSION,
+ [
+ AC_REQUIRE([AM_INIT_AUTOMAKE])
+ maj=$(echo ${VERSION} | cut -d. -f1)
+ min=$(echo ${VERSION} | cut -d. -f2)
+ LIBVERSION=${maj}:${min}:${maj}
+ AC_SUBST(LIBVERSION)
+ ]
+)