From 902d39a3a79c6efe93c8879575fdd5a759cf03de Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 13 Oct 2018 14:14:50 +0200 Subject: Trim trailing whitespace in source code files --- TSRM/build.mk | 4 ++-- TSRM/configure.ac | 4 ++-- TSRM/threads.m4 | 12 ++++++------ TSRM/tsrm.m4 | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'TSRM') diff --git a/TSRM/build.mk b/TSRM/build.mk index f98109fa06..70ef4b8cc3 100644 --- a/TSRM/build.mk +++ b/TSRM/build.mk @@ -5,7 +5,7 @@ # # Written by Sascha Schumann # -# $Id$ +# $Id$ LT_TARGETS = ltmain.sh ltconfig @@ -34,7 +34,7 @@ aclocal.m4: configure.ac acinclude.m4 aclocal $(config_h_in): configure.ac -# explicitly remove target since autoheader does not seem to work +# explicitly remove target since autoheader does not seem to work # correctly otherwise (timestamps are not updated) @rm -f $@ autoheader diff --git a/TSRM/configure.ac b/TSRM/configure.ac index 8bf35d33b0..0f6d53dc8d 100644 --- a/TSRM/configure.ac +++ b/TSRM/configure.ac @@ -12,10 +12,10 @@ AH_TOP([ ]) sinclude(tsrm.m4) - + TSRM_BASIC_CHECKS TSRM_THREADS_CHECKS - + AM_PROG_LIBTOOL if test "$enable_debug" != "yes"; then AM_SET_LIBTOOL_VARIABLE([--silent]) diff --git a/TSRM/threads.m4 b/TSRM/threads.m4 index 57b46f251a..95b51e48d8 100644 --- a/TSRM/threads.m4 +++ b/TSRM/threads.m4 @@ -1,17 +1,17 @@ dnl Copyright (c) 1999, 2000 Sascha Schumann. All rights reserved. -dnl +dnl dnl Redistribution and use in source and binary forms, with or without dnl modification, are permitted provided that the following conditions dnl are met: -dnl +dnl dnl 1. Redistributions of source code must retain the above copyright dnl notice, this list of conditions and the following disclaimer. -dnl +dnl dnl 2. Redistributions in binary form must reproduce the above copyright dnl notice, this list of conditions and the following disclaimer in dnl the documentation and/or other materials provided with the dnl distribution. -dnl +dnl dnl THIS SOFTWARE IS PROVIDED BY SASCHA SCHUMANN ``AS IS'' AND ANY dnl EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR @@ -97,7 +97,7 @@ dnl -Kthread UDK cc (UnixWare) dnl -mt WorkShop cc (Solaris) dnl -mthreads gcc (AIX) dnl -pthread gcc (Linux, FreeBSD, NetBSD, OpenBSD) -dnl -pthreads gcc (Solaris) +dnl -pthreads gcc (Solaris) dnl -qthreaded AIX cc V5 dnl -threads gcc (HP-UX) dnl @@ -117,7 +117,7 @@ else AC_CACHE_CHECK(for pthreads_cflags,ac_cv_pthreads_cflags,[ ac_cv_pthreads_cflags= if test "$pthreads_working" != "yes"; then - for flag in -kthread -pthread -pthreads -mthreads -Kthread -threads -mt -qthreaded; do + for flag in -kthread -pthread -pthreads -mthreads -Kthread -threads -mt -qthreaded; do ac_save=$CFLAGS CFLAGS="$CFLAGS $flag" PTHREADS_CHECK_COMPILE diff --git a/TSRM/tsrm.m4 b/TSRM/tsrm.m4 index 98aa2b8c91..27caf1bab9 100644 --- a/TSRM/tsrm.m4 +++ b/TSRM/tsrm.m4 @@ -1,6 +1,6 @@ m4_include([TSRM/m4/gethostbyname.m4]) -dnl TSRM_CHECK_GCC_ARG(ARG, ACTION-IF-FOUND, ACTION-IF-NOT_FOUND) +dnl TSRM_CHECK_GCC_ARG(ARG, ACTION-IF-FOUND, ACTION-IF-NOT_FOUND) AC_DEFUN([TSRM_CHECK_GCC_ARG],[ gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z-,a-z_) AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z-,a-z_), [ @@ -75,12 +75,12 @@ AC_DEFUN([TSRM_CHECK_ST],[ sinclude(threads.m4) AC_DEFUN([TSRM_CHECK_PTHREADS],[ - + PTHREADS_CHECK -if test "$beos_threads" = "1"; then +if test "$beos_threads" = "1"; then AC_DEFINE(BETHREADS, 1, Whether to use native BeOS threads) -else +else if test "$pthreads_working" != "yes"; then AC_MSG_ERROR(Your system seems to lack POSIX threads.) fi -- cgit v1.2.1