Index: ossp-pkg/rc/Makefile.in RCS File: /v/ossp/cvs/ossp-pkg/rc/Makefile.in,v rcsdiff -q -kk '-r1.16' '-r1.17' -u '/v/ossp/cvs/ossp-pkg/rc/Makefile.in,v' 2>/dev/null --- Makefile.in 2002/02/28 15:30:04 1.16 +++ Makefile.in 2002/03/26 17:11:06 1.17 @@ -1,11 +1,11 @@ ## -## rc - OSSP Run-command processor +## OSSP rc - Run-command processor +## Copyright (c) 2002 Ralf S. Engelschall ## Copyright (c) 2002 Cable & Wireless Deutschland GmbH ## Copyright (c) 2002 The OSSP Project -## Copyright (c) 2002 Ralf S. Engelschall ## ## This file is part of OSSP rc, a portable Run-command processor -## which can be found at http://www.ossp.org/pkg/rc/ +## which can be found at http://www.ossp.org/pkg/lib/rc/ ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/README RCS File: /v/ossp/cvs/ossp-pkg/rc/README,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/rc/README,v' 2>/dev/null --- README 2002/02/04 22:35:20 1.3 +++ README 2002/03/26 17:11:06 1.4 @@ -17,7 +17,7 @@ Copyright (c) 2002 Cable & Wireless Deutschland This file is part of OSSP rc, a Run-command processor which - can be found at http://www.ossp.org/pkg/rc/. + can be found at http://www.ossp.org/pkg/lib/rc/. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/aclocal.m4 RCS File: /v/ossp/cvs/ossp-pkg/rc/aclocal.m4,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/rc/aclocal.m4,v' 2>/dev/null --- aclocal.m4 2002/03/08 15:59:07 1.8 +++ aclocal.m4 2002/03/26 17:11:06 1.9 @@ -1,11 +1,11 @@ dnl ## dnl ## OSSP rc - Run-command processor +dnl ## Copyright (c) 2002 Ralf S. Engelschall dnl ## Copyright (c) 2002 Cable & Wireless Deutschland GmbH dnl ## Copyright (c) 2002 The OSSP Project -dnl ## Copyright (c) 2002 Ralf S. Engelschall dnl ## dnl ## This file is part of OSSP rc, a portable Run-command processor -dnl ## which can be found at http://www.ossp.org/pkg/rc/ +dnl ## which can be found at http://www.ossp.org/pkg/lib/rc/ dnl ## dnl ## Permission to use, copy, modify, and distribute this software for dnl ## any purpose with or without fee is hereby granted, provided that @@ -58,7 +58,6 @@ dnl ## AC_DEFUN(AC_HEADLINE,[dnl -AC_DIVERT_PUSH(NOTICE)dnl # configuration header if test ".`echo dummy [$]@ | grep help`" = .; then # bootstrapping shtool @@ -85,10 +84,21 @@ $3_HEX="`$ac_shtool version -l c -d hex $ac_srcdir/$4`" AC_SUBST($3_HEX) fi -AC_DIVERT_POP() ])dnl dnl ## +dnl ## Check whether compiler is ISO standard +dnl ## + +AC_DEFUN(EN_PROG_CC,[dnl + AC_PROG_CC + AC_PROG_CC_STDC + if test ".$ac_cv_prog_cc_stdc" = .no; then + AC_MSG_ERROR([require an ANSI/ISO C compliant compiler]) + fi +]) + +dnl ## dnl ## Check whether compiler option works dnl ## dnl ## configure.in: @@ -150,7 +160,7 @@ esac fi msg="enabled" -dnl AC_DEFINE(DEBUG) +AC_DEFINE(DEBUG, 1, [Define to 1 if you want to enable debugging]) ],[ if test ".$ac_cv_prog_gcc" = ".yes"; then case "$CFLAGS" in Index: ossp-pkg/rc/configure.in RCS File: /v/ossp/cvs/ossp-pkg/rc/configure.in,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/rc/configure.in,v' 2>/dev/null --- configure.in 2002/02/12 17:59:50 1.14 +++ configure.in 2002/03/26 17:11:06 1.15 @@ -1,11 +1,11 @@ dnl ## dnl ## OSSP rc - Run-command processor +dnl ## Copyright (c) 2002 Ralf S. Engelschall dnl ## Copyright (c) 2002 Cable & Wireless Deutschland GmbH dnl ## Copyright (c) 2002 The OSSP Project -dnl ## Copyright (c) 2002 Ralf S. Engelschall dnl ## dnl ## This file is part of OSSP rc, a portable Run-command processor -dnl ## which can be found at http://www.ossp.org/pkg/rc/ +dnl ## which can be found at http://www.ossp.org/pkg/lib/rc/ dnl ## dnl ## Permission to use, copy, modify, and distribute this software for dnl ## any purpose with or without fee is hereby granted, provided that @@ -29,16 +29,14 @@ dnl ## dnl Version requirement and information -AC_PREREQ(2.52)dnl +AC_PREREQ(2.53)dnl AC_REVISION(1.0) dnl Announce the product and version -AC_DIVERT_PUSH(NOTICE) V=`./shtool version -lc -dlong rc_version.c` -./shtool echo -e "Configuring %BOSSP rc%b, Version %B${V}%b" +./shtool echo -e "Configuring %BOSSP rc%b, version %B${V}%b" echo "Copyright (c) 2002 The OSSP Project " echo "Copyright (c) 2002 Cable & Wireless Deutschland " -AC_DIVERT_POP() dnl Process this file with autoconf AC_INIT(rc.h) @@ -57,7 +55,7 @@ dnl AC_PROG_LIBTOOL dnl Check other requirements -AC_SET_MAKE +AC_PROG_MAKE_SET AC_CHECK_DEBUGGING AC_CHECK_LIB(socket, getprotobyname) AC_CHECK_LIB(nsl, gethostbyname) @@ -68,7 +66,7 @@ dnl Check for Dmalloc library AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, - AC_DEFINE(DMALLOC)) + [AC_DEFINE(DMALLOC, 1, [Define to 1 if building with dmalloc])]) dnl Check for OSSP popt library AC_CHECK_EXTLIB([OSSP popt], Index: ossp-pkg/rc/devtool.conf RCS File: /v/ossp/cvs/ossp-pkg/rc/devtool.conf,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/rc/devtool.conf,v' 2>/dev/null --- devtool.conf 2002/02/08 18:35:03 1.9 +++ devtool.conf 2002/03/26 17:11:06 1.10 @@ -3,8 +3,8 @@ ## %autogen - @autogen shtool 1.5.4 "1.5.*" all - @autogen autoconf 2.52 "2.5.*" + @autogen shtool 1.6.0 "1.[56].*" all + @autogen autoconf 2.53 "2.5[3-9]*" echo "===> rc_ex (devtool autogen)" (cd rc_ex && ./devtool autogen) @@ -49,7 +49,11 @@ "$@" %version - ./shtool version -l c -n "OSSP rc" -p "rc_" -e rc_version.c + ./shtool version -l txt -n "OSSP rc" -e rc_version.c + shtool version -l txt -n "OSSP rc" -p "rc_" -e rc_version.c + V=`shtool version -l txt -d long rc_version.c` + sed -e "s/Version .*(.*)/Version $V/g" README.n + mv README.n README %dist make distclean >/dev/null 2>&1 Index: ossp-pkg/rc/devtool.func RCS File: /v/ossp/cvs/ossp-pkg/rc/devtool.func,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/rc/devtool.func,v' 2>/dev/null --- devtool.func 2002/02/08 18:35:03 1.5 +++ devtool.func 2002/03/26 17:11:06 1.6 @@ -32,6 +32,7 @@ autoconf_version=`devtool_require autoconf --version 4 "$1" "$2"` echo "generating (GNU Autoconf $autoconf_version): configure ac_config.h.in" autoconf + rm -rf autom4te.cache >/dev/null 2>&1 autoheader 2>&1 | grep -v "is unchanged" ;; libtool ) Index: ossp-pkg/rc/rc-sample.pod RCS File: /v/ossp/cvs/ossp-pkg/rc/rc-sample.pod,v rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/rc/rc-sample.pod,v' 2>/dev/null --- rc-sample.pod 2002/02/12 17:59:50 1.9 +++ rc-sample.pod 2002/03/26 17:11:06 1.10 @@ -1,5 +1,5 @@ ## -## rc-sample.pod -- OSSP Run-command processor samples (manual page) +## OSSP rc -- Run-command processor samples (manual page) ## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH ## Copyright (c) 2000-2002 The OSSP Project ## Copyright (c) 2000-2002 Ralf S. Engelschall Index: ossp-pkg/rc/rc.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc.c,v rcsdiff -q -kk '-r1.16' '-r1.17' -u '/v/ossp/cvs/ossp-pkg/rc/rc.c,v' 2>/dev/null --- rc.c 2002/03/01 22:48:23 1.16 +++ rc.c 2002/03/26 17:11:06 1.17 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc.h,v rcsdiff -q -kk '-r1.13' '-r1.14' -u '/v/ossp/cvs/ossp-pkg/rc/rc.h,v' 2>/dev/null --- rc.h 2002/03/01 22:48:23 1.13 +++ rc.h 2002/03/26 17:11:06 1.14 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc_config.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_config.c,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/rc/rc_config.c,v' 2>/dev/null --- rc_config.c 2002/03/01 22:48:23 1.5 +++ rc_config.c 2002/03/26 17:11:06 1.6 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc_const.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_const.h,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/rc/rc_const.h,v' 2>/dev/null --- rc_const.h 2002/02/08 18:36:40 1.2 +++ rc_const.h 2002/03/26 17:11:06 1.3 @@ -1,4 +1,4 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project ** Copyright (c) 2002 Ralf S. Engelschall Index: ossp-pkg/rc/rc_optimpl.c RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/rc_optimpl.c,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/rc/Attic/rc_optimpl.c,v' 2>/dev/null --- rc_optimpl.c 2002/03/01 22:48:23 1.3 +++ rc_optimpl.c 2002/03/26 17:11:06 1.4 @@ -1,4 +1,4 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project ** Copyright (c) 2002 Ralf S. Engelschall Index: ossp-pkg/rc/rc_option.c RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/rc_option.c,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/rc/Attic/rc_option.c,v' 2>/dev/null --- rc_option.c 2002/02/28 15:30:04 1.4 +++ rc_option.c 2002/03/26 17:11:06 1.5 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc_option.h RCS File: /v/ossp/cvs/ossp-pkg/rc/Attic/rc_option.h,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/rc/Attic/rc_option.h,v' 2>/dev/null --- rc_option.h 2002/02/08 18:36:40 1.2 +++ rc_option.h 2002/03/26 17:11:06 1.3 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc_private.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_private.h,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/rc/rc_private.h,v' 2>/dev/null --- rc_private.h 2002/03/01 22:48:23 1.6 +++ rc_private.h 2002/03/26 17:11:06 1.7 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc_test.sh RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_test.sh,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/rc/rc_test.sh,v' 2>/dev/null --- rc_test.sh 2002/02/07 15:36:26 1.5 +++ rc_test.sh 2002/03/26 17:11:06 1.6 @@ -1,11 +1,11 @@ #! /bin/sh -# rc - OSSP Run-command processor +# OSSP rc - Run-command processor +# Copyright (c) 2002 Ralf S. Engelschall # Copyright (c) 2002 Cable & Wireless Deutschland GmbH # Copyright (c) 2002 The OSSP Project -# Copyright (c) 2002 Ralf S. Engelschall # # This file is part of OSSP rc, a portable Run-command processor -# which can be found at http://www.ossp.org/pkg/rc/ +# which can be found at http://www.ossp.org/pkg/lib/rc/ # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that Index: ossp-pkg/rc/rc_util.c RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_util.c,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/rc/rc_util.c,v' 2>/dev/null --- rc_util.c 2002/02/13 19:19:28 1.2 +++ rc_util.c 2002/03/26 17:11:06 1.3 @@ -1,10 +1,10 @@ -/* rc - OSSP Run-command processor +/* OSSP rc - Run-command processor +** Copyright (c) 2002 Ralf S. Engelschall ** Copyright (c) 2002 Cable & Wireless Deutschland GmbH ** Copyright (c) 2002 The OSSP Project -** Copyright (c) 2002 Ralf S. Engelschall ** ** This file is part of OSSP rc, a portable Run-command processor -** which can be found at http://www.ossp.org/pkg/rc/ +** which can be found at http://www.ossp.org/pkg/lib/rc/ ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that