From a9fe8f28a4a9aaf1d9b84dbc6907849ace87f66e Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Tue, 6 Feb 2001 01:01:46 +0000 Subject: - 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. --- conf/m4/kde/KDE_CHECK_FINAL.m4 | 30 ++++++++++++++++++++++++++++++ conf/m4/plptools/PLP_CHECK_COMPILERS.m4 | 4 +++- conf/m4/plptools/PLP_SET_LIBVERSION.m4 | 9 +++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 conf/m4/kde/KDE_CHECK_FINAL.m4 create mode 100644 conf/m4/plptools/PLP_SET_LIBVERSION.m4 (limited to 'conf') 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) + ] +) -- cgit v1.2.3