"Fossies" - the Fresh Open Source Software Archive 
Member "timbersee-0.8.3/aclocal.m4" (20 Mar 2005, 5218 Bytes) of package /linux/privat/old/timbersee-0.8.3.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 dnl aclocal.m4 generated automatically by aclocal 1.4-p6
2
3 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
7
8 dnl This program is distributed in the hope that it will be useful,
9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 dnl PARTICULAR PURPOSE.
12
13 dnl AC_CHECK_PERL_MODULE(MODULE)
14 dnl Test for existance of a perl module
15 AC_DEFUN(AC_CHECK_PERL_MODULE, [
16 AC_MSG_CHECKING(for $1 in perl libraries)
17 if AC_TRY_COMMAND($PERL -e "use $1;") > /dev/null 2>&1; then
18 echo $ac_t "found"
19 else
20 echo $ac_t "not found"
21 AC_MSG_ERROR([This perl module is required. Try 'perl -MCPAN -e \"insta
22 ll $1\"'])
23 fi
24 ])
25
26
27 # Do all the work for Automake. This macro actually does too much --
28 # some checks are only needed if your package does certain things.
29 # But this isn't really a big deal.
30
31 # serial 1
32
33 dnl Usage:
34 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
35
36 AC_DEFUN([AM_INIT_AUTOMAKE],
37 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
38 AC_REQUIRE([AC_PROG_INSTALL])
39 PACKAGE=[$1]
40 AC_SUBST(PACKAGE)
41 VERSION=[$2]
42 AC_SUBST(VERSION)
43 dnl test to see if srcdir already configured
44 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
45 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
46 fi
47 ifelse([$3],,
48 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
49 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
50 AC_REQUIRE([AM_SANITY_CHECK])
51 AC_REQUIRE([AC_ARG_PROGRAM])
52 dnl FIXME This is truly gross.
53 missing_dir=`cd $ac_aux_dir && pwd`
54 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
55 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
56 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
57 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
58 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
59 AC_REQUIRE([AC_PROG_MAKE_SET])])
60
61 # Copyright 2002 Free Software Foundation, Inc.
62
63 # This program is free software; you can redistribute it and/or modify
64 # it under the terms of the GNU General Public License as published by
65 # the Free Software Foundation; either version 2, or (at your option)
66 # any later version.
67
68 # This program is distributed in the hope that it will be useful,
69 # but WITHOUT ANY WARRANTY; without even the implied warranty of
70 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71 # GNU General Public License for more details.
72
73 # You should have received a copy of the GNU General Public License
74 # along with this program; if not, write to the Free Software
75 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
76
77 # AM_AUTOMAKE_VERSION(VERSION)
78 # ----------------------------
79 # Automake X.Y traces this macro to ensure aclocal.m4 has been
80 # generated from the m4 files accompanying Automake X.Y.
81 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
82
83 # AM_SET_CURRENT_AUTOMAKE_VERSION
84 # -------------------------------
85 # Call AM_AUTOMAKE_VERSION so it can be traced.
86 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
87 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
88 [AM_AUTOMAKE_VERSION([1.4-p6])])
89
90 #
91 # Check to make sure that the build environment is sane.
92 #
93
94 AC_DEFUN([AM_SANITY_CHECK],
95 [AC_MSG_CHECKING([whether build environment is sane])
96 # Just in case
97 sleep 1
98 echo timestamp > conftestfile
99 # Do `set' in a subshell so we don't clobber the current shell's
100 # arguments. Must try -L first in case configure is actually a
101 # symlink; some systems play weird games with the mod time of symlinks
102 # (eg FreeBSD returns the mod time of the symlink's containing
103 # directory).
104 if (
105 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
106 if test "[$]*" = "X"; then
107 # -L didn't work.
108 set X `ls -t $srcdir/configure conftestfile`
109 fi
110 if test "[$]*" != "X $srcdir/configure conftestfile" \
111 && test "[$]*" != "X conftestfile $srcdir/configure"; then
112
113 # If neither matched, then we have a broken ls. This can happen
114 # if, for instance, CONFIG_SHELL is bash and it inherits a
115 # broken ls alias from the environment. This has actually
116 # happened. Such a system could not be considered "sane".
117 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
118 alias in your environment])
119 fi
120
121 test "[$]2" = conftestfile
122 )
123 then
124 # Ok.
125 :
126 else
127 AC_MSG_ERROR([newly created file is older than distributed files!
128 Check your system clock])
129 fi
130 rm -f conftest*
131 AC_MSG_RESULT(yes)])
132
133 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
134 dnl The program must properly implement --version.
135 AC_DEFUN([AM_MISSING_PROG],
136 [AC_MSG_CHECKING(for working $2)
137 # Run test in a subshell; some versions of sh will print an error if
138 # an executable is not found, even if stderr is redirected.
139 # Redirect stdin to placate older versions of autoconf. Sigh.
140 if ($2 --version) < /dev/null > /dev/null 2>&1; then
141 $1=$2
142 AC_MSG_RESULT(found)
143 else
144 $1="$3/missing $2"
145 AC_MSG_RESULT(missing)
146 fi
147 AC_SUBST($1)])
148