]> code.citadel.org Git - citadel.git/blob - webcit/aclocal.m4
Replaced 'gradientanim.gif' with a more attractive circular throbber.
[citadel.git] / webcit / aclocal.m4
1 # generated automatically by aclocal 1.9.2 -*- Autoconf -*-
2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4 # Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 # AM_AUX_DIR_EXPAND
15
16 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
17
18 # This program is free software; you can redistribute it and/or modify
19 # it under the terms of the GNU General Public License as published by
20 # the Free Software Foundation; either version 2, or (at your option)
21 # any later version.
22
23 # This program is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 # GNU General Public License for more details.
27
28 # You should have received a copy of the GNU General Public License
29 # along with this program; if not, write to the Free Software
30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
31 # 02111-1307, USA.
32
33 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
34 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
35 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
36 #
37 # Of course, Automake must honor this variable whenever it calls a
38 # tool from the auxiliary directory.  The problem is that $srcdir (and
39 # therefore $ac_aux_dir as well) can be either absolute or relative,
40 # depending on how configure is run.  This is pretty annoying, since
41 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
42 # source directory, any form will work fine, but in subdirectories a
43 # relative path needs to be adjusted first.
44 #
45 # $ac_aux_dir/missing
46 #    fails when called from a subdirectory if $ac_aux_dir is relative
47 # $top_srcdir/$ac_aux_dir/missing
48 #    fails if $ac_aux_dir is absolute,
49 #    fails when called from a subdirectory in a VPATH build with
50 #          a relative $ac_aux_dir
51 #
52 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
53 # are both prefixed by $srcdir.  In an in-source build this is usually
54 # harmless because $srcdir is `.', but things will broke when you
55 # start a VPATH build or use an absolute $srcdir.
56 #
57 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
58 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
59 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
60 # and then we would define $MISSING as
61 #   MISSING="\${SHELL} $am_aux_dir/missing"
62 # This will work as long as MISSING is not called from configure, because
63 # unfortunately $(top_srcdir) has no meaning in configure.
64 # However there are other variables, like CC, which are often used in
65 # configure, and could therefore not use this "fixed" $ac_aux_dir.
66 #
67 # Another solution, used here, is to always expand $ac_aux_dir to an
68 # absolute PATH.  The drawback is that using absolute paths prevent a
69 # configured tree to be moved without reconfiguration.
70
71 AC_DEFUN([AM_AUX_DIR_EXPAND],
72 [dnl Rely on autoconf to set up CDPATH properly.
73 AC_PREREQ([2.50])dnl
74 # expand $ac_aux_dir to an absolute path
75 am_aux_dir=`cd $ac_aux_dir && pwd`
76 ])
77
78 #  -*- Autoconf -*-
79
80
81 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
82
83 # This program is free software; you can redistribute it and/or modify
84 # it under the terms of the GNU General Public License as published by
85 # the Free Software Foundation; either version 2, or (at your option)
86 # any later version.
87
88 # This program is distributed in the hope that it will be useful,
89 # but WITHOUT ANY WARRANTY; without even the implied warranty of
90 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
91 # GNU General Public License for more details.
92
93 # You should have received a copy of the GNU General Public License
94 # along with this program; if not, write to the Free Software
95 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
96 # 02111-1307, USA.
97
98 # serial 3
99
100 # AM_MISSING_PROG(NAME, PROGRAM)
101 # ------------------------------
102 AC_DEFUN([AM_MISSING_PROG],
103 [AC_REQUIRE([AM_MISSING_HAS_RUN])
104 $1=${$1-"${am_missing_run}$2"}
105 AC_SUBST($1)])
106
107
108 # AM_MISSING_HAS_RUN
109 # ------------------
110 # Define MISSING if not defined so far and test if it supports --run.
111 # If it does, set am_missing_run to use it, otherwise, to nothing.
112 AC_DEFUN([AM_MISSING_HAS_RUN],
113 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
114 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
115 # Use eval to expand $SHELL
116 if eval "$MISSING --run true"; then
117   am_missing_run="$MISSING --run "
118 else
119   am_missing_run=
120   AC_MSG_WARN([`missing' script is too old or missing])
121 fi
122 ])
123
124 m4_include([acinclude.m4])