head 1.11; access; symbols SHTOOL_2_0_8:1.11 SHTOOL_2_0_7:1.10 SHTOOL_2_0_6:1.9 SHTOOL_2_0_5:1.9 SHTOOL_2_0_4:1.9 SHTOOL_2_0_3:1.8 SHTOOL_2_0_2:1.8 SHTOOL_2_0_1:1.7 SHTOOL_2_0_0:1.6 SHTOOL_2_0b3:1.6 SHTOOL_2_0b2:1.6 SHTOOL_2_0b1:1.6 SHTOOL_1_6:1.4.0.2 SHTOOL_1_6_2:1.4 SHTOOL_1_6_1:1.4 SHTOOL_1_6_0:1.4 SHTOOL_1_5:1.3.0.2 SHTOOL_1_5_4:1.3 SHTOOL_1_5_3:1.2 SHTOOL_1_5_2:1.2 SHTOOL_1_5_1:1.2 SHTOOL_1_5_0:1.2 SHTOOL_1_4_9:1.1 SHTOOL_1_4_8:1.1 SHTOOL_1_4_7:1.1 SHTOOL_1_4_6:1.1 SHTOOL_1_4_5:1.1; locks; strict; comment @# @; 1.11 date 2008.04.02.20.13.44; author rse; state Exp; branches; next 1.10; commitid eB5Wirx8MdMyDzXs; 1.10 date 2007.05.19.19.09.39; author rse; state Exp; branches; next 1.9; commitid OPUF1UBbllBTwzis; 1.9 date 2006.02.04.09.43.26; author rse; state Exp; branches; next 1.8; commitid oWk7BmnyAitJtfkr; 1.8 date 2005.06.15.08.14.36; author rse; state Exp; branches; next 1.7; 1.7 date 2004.07.19.07.41.34; author rse; state Exp; branches; next 1.6; 1.6 date 2004.01.01.16.54.20; author rse; state Exp; branches; next 1.5; 1.5 date 2003.02.11.13.00.50; author rse; state Exp; branches; next 1.4; 1.4 date 2001.12.31.15.06.04; author rse; state Exp; branches; next 1.3; 1.3 date 2001.06.14.14.24.16; author rse; state Exp; branches; next 1.2; 1.2 date 2000.06.18.11.27.10; author rse; state Exp; branches; next 1.1; 1.1 date 99.07.27.16.21.51; author rse; state Exp; branches; next ; desc @@ 1.11 log @adjust copyright for year 2008 @ text @## ## shtool.m4 -- GNU shtool Autoconf macros ## Copyright (c) 1999-2008 Ralf S. Engelschall ## ## This file is part of shtool and free software; you can redistribute ## it and/or modify it under the terms of the GNU General Public ## License as published by the Free Software Foundation; either version ## 2 of the License, or (at your option) any later version. ## ## This file is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, ## USA, or contact Ralf S. Engelschall . ## ## ## the standard macro for finding GNU shtool: ## AC_PROG_SHTOOL ## AC_DEFUN([AC_PROG_SHTOOL],[dnl AC_PREREQ(2.13)dnl AC_MSG_CHECKING([for GNU shtool]) AC_CACHE_VAL(ac_cv_shtool,[dnl # canonicalize and split path string ac_paths="`echo .:$ac_aux_dir:$PATH |\ sed -e 's%/*:%:%g' -e 's%/*$%%' \ -e 's/^:/.:/' -e 's/::/:.:/g' -e 's/:$/:./' \ -e 's/:/ /g'`" # iterate over $PATH but prefer CWD ac_cv_shtool="" for ac_path in $ac_paths; do if test -f "$ac_path/shtool" && test ! -d "$ac_path/shtool"; then ac_cv_shtool="$ac_path/shtool" break fi done # check for existance if test ".$ac_cv_shtool" = .; then AC_MSG_ERROR([no shtool found in .:$PATH]) fi # check deeper ac_rc=`($ac_cv_shtool --version) /dev/null | grep 'GNU shtool'` if test ".$ac_rc" = .; then ac_cv_shtool="${CONFIG_SHELL-/bin/sh} $ac_cv_shtool" ac_rc=`($ac_cv_shtool --version) /dev/null | grep 'GNU shtool'` if test ".$ac_rc" = .; then AC_MSG_ERROR([$ac_cv_shtool seems not to be GNU shtool]) fi fi ])dnl AC_MSG_RESULT([$ac_cv_shtool]) SHTOOL="$ac_cv_shtool" AC_SUBST(SHTOOL) ]) @ 1.10 log @Adjust copyright for year 2007. @ text @d3 1 a3 1 ## Copyright (c) 1999-2007 Ralf S. Engelschall @ 1.9 log @Adjust copyright for year 2006 @ text @d3 1 a3 1 ## Copyright (c) 1999-2006 Ralf S. Engelschall @ 1.8 log @Adjust copyright for year 2005 @ text @d3 1 a3 1 ## Copyright (c) 1999-2005 Ralf S. Engelschall @ 1.7 log @- Added M4 language output to "shtool version". - Fixed AC_PROG_SHTOOL definition in shtool.m4. Submitted by: James Rowe @ text @d3 1 a3 1 ## Copyright (c) 1999-2004 Ralf S. Engelschall @ 1.6 log @Bump copyright year for 2004 @ text @d25 1 a25 1 AC_DEFUN(AC_PROG_SHTOOL,[dnl @ 1.5 log @Bump year in copyright messages to cover new year 2003. @ text @d3 1 a3 1 ## Copyright (c) 1999-2003 Ralf S. Engelschall @ 1.4 log @bump copyright years @ text @d3 1 a3 1 ## Copyright (c) 1999-2002 Ralf S. Engelschall @ 1.3 log @*** empty log message *** @ text @d3 1 @ 1.2 log @*** empty log message *** @ text @d41 1 a41 1 # check for existance @ 1.1 log @*** empty log message *** @ text @d25 1 a25 1 AC_PREREQ(2.12)dnl d29 1 a29 1 ac_paths="`echo $PATH |\ d35 1 a35 1 for ac_path in . $ac_paths; do d51 1 a51 1 AC_MSG_ERROR([$ac_cv_shtool seems not GNU shtool]) @