1
# generated automatically by aclocal 1.7a -*- Autoconf -*-
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4
# Free Software Foundation, Inc.
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006 Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
15
# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
17
# This program is free software; you can redistribute it and/or modify
18
# it under the terms of the GNU General Public License as published by
19
# the Free Software Foundation; either version 2, or (at your option)
22
# This program is distributed in the hope that it will be useful,
23
# but WITHOUT ANY WARRANTY; without even the implied warranty of
24
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
# GNU General Public License for more details.
27
# You should have received a copy of the GNU General Public License
28
# along with this program; if not, write to the Free Software
29
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
[m4_fatal([this file was generated for autoconf 2.61.
16
You have another version of autoconf. If you want to use that,
17
you should regenerate the build system entirely.], [63])])
19
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
21
# This file is free software; the Free Software Foundation
22
# gives unlimited permission to copy and/or distribute it,
23
# with or without modifications, as long as this notice is preserved.
31
25
# AM_AUTOMAKE_VERSION(VERSION)
32
26
# ----------------------------
33
27
# Automake X.Y traces this macro to ensure aclocal.m4 has been
34
28
# generated from the m4 files accompanying Automake X.Y.
35
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7a"])
29
# (This private macro should not be called outside this file.)
30
AC_DEFUN([AM_AUTOMAKE_VERSION],
31
[am__api_version='1.10'
32
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
33
dnl require some minimum version. Point them to the right macro.
34
m4_if([$1], [1.10], [],
35
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38
# _AM_AUTOCONF_VERSION(VERSION)
39
# -----------------------------
40
# aclocal traces this macro to find the Autoconf version.
41
# This is a private macro too. Using m4_define simplifies
42
# the logic in aclocal, which can simply ignore this definition.
43
m4_define([_AM_AUTOCONF_VERSION], [])
37
45
# AM_SET_CURRENT_AUTOMAKE_VERSION
38
46
# -------------------------------
39
# Call AM_AUTOMAKE_VERSION so it can be traced.
47
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
40
48
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
41
49
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
42
[AM_AUTOMAKE_VERSION([1.7a])])
46
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
48
# This program is free software; you can redistribute it and/or modify
49
# it under the terms of the GNU General Public License as published by
50
# the Free Software Foundation; either version 2, or (at your option)
53
# This program is distributed in the hope that it will be useful,
54
# but WITHOUT ANY WARRANTY; without even the implied warranty of
55
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56
# GNU General Public License for more details.
58
# You should have received a copy of the GNU General Public License
59
# along with this program; if not, write to the Free Software
60
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
50
[AM_AUTOMAKE_VERSION([1.10])dnl
51
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
53
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
55
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
57
# This file is free software; the Free Software Foundation
58
# gives unlimited permission to copy and/or distribute it,
59
# with or without modifications, as long as this notice is preserved.
63
61
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
64
62
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
105
103
am_aux_dir=`cd $ac_aux_dir && pwd`
108
# Do all the work for Automake. -*- Autoconf -*-
110
# This macro actually does too much some checks are only needed if
106
# Do all the work for Automake. -*- Autoconf -*-
108
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
109
# 2005, 2006 Free Software Foundation, Inc.
111
# This file is free software; the Free Software Foundation
112
# gives unlimited permission to copy and/or distribute it,
113
# with or without modifications, as long as this notice is preserved.
117
# This macro actually does too much. Some checks are only needed if
111
118
# your package does certain things. But this isn't really a big deal.
113
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
114
# Free Software Foundation, Inc.
116
# This program is free software; you can redistribute it and/or modify
117
# it under the terms of the GNU General Public License as published by
118
# the Free Software Foundation; either version 2, or (at your option)
121
# This program is distributed in the hope that it will be useful,
122
# but WITHOUT ANY WARRANTY; without even the implied warranty of
123
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
124
# GNU General Public License for more details.
126
# You should have received a copy of the GNU General Public License
127
# along with this program; if not, write to the Free Software
128
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
133
120
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
134
121
# AM_INIT_AUTOMAKE([OPTIONS])
135
122
# -----------------------------------------------
142
129
# arguments mandatory, and then we can depend on a new Autoconf
143
130
# release and drop the old call support.
144
131
AC_DEFUN([AM_INIT_AUTOMAKE],
145
[AC_PREREQ([2.58])dnl
132
[AC_PREREQ([2.60])dnl
146
133
dnl Autoconf wants to disallow AM_ names. We explicitly allow
147
134
dnl the ones we care about.
148
135
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
149
136
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
150
137
AC_REQUIRE([AC_PROG_INSTALL])dnl
151
# test to see if srcdir already configured
152
if test "`cd $srcdir && pwd`" != "`pwd`" &&
153
test -f $srcdir/config.status; then
154
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
138
if test "`cd $srcdir && pwd`" != "`pwd`"; then
139
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
140
# is not polluted with repeated "-I."
141
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
142
# test to see if srcdir already configured
143
if test -f $srcdir/config.status; then
144
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
157
148
# test whether we have cygpath
186
180
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
187
181
AM_MISSING_PROG(AUTOHEADER, autoheader)
188
182
AM_MISSING_PROG(MAKEINFO, makeinfo)
189
AM_MISSING_PROG(AMTAR, tar)
190
183
AM_PROG_INSTALL_SH
191
184
AM_PROG_INSTALL_STRIP
185
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
192
186
# We need awk for the "check" target. The system "awk" is bad on
193
187
# some platforms.
194
188
AC_REQUIRE([AC_PROG_AWK])dnl
195
189
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
196
190
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
191
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
192
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
193
[_AM_PROG_TAR([v7])])])
198
194
_AM_IF_OPTION([no-dependencies],,
199
195
[AC_PROVIDE_IFELSE([AC_PROG_CC],
200
196
[_AM_DEPENDENCIES(CC)],
229
229
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
231
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
233
# This file is free software; the Free Software Foundation
234
# gives unlimited permission to copy and/or distribute it,
235
# with or without modifications, as long as this notice is preserved.
231
237
# AM_PROG_INSTALL_SH
232
238
# ------------------
233
239
# Define $install_sh.
235
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
237
# This program is free software; you can redistribute it and/or modify
238
# it under the terms of the GNU General Public License as published by
239
# the Free Software Foundation; either version 2, or (at your option)
242
# This program is distributed in the hope that it will be useful,
243
# but WITHOUT ANY WARRANTY; without even the implied warranty of
244
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
245
# GNU General Public License for more details.
247
# You should have received a copy of the GNU General Public License
248
# along with this program; if not, write to the Free Software
249
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
252
240
AC_DEFUN([AM_PROG_INSTALL_SH],
253
241
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
254
install_sh=${install_sh-"$am_aux_dir/install-sh"}
242
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
255
243
AC_SUBST(install_sh)])
258
# Copyright (C) 2003 Free Software Foundation, Inc.
260
# This program is free software; you can redistribute it and/or modify
261
# it under the terms of the GNU General Public License as published by
262
# the Free Software Foundation; either version 2, or (at your option)
265
# This program is distributed in the hope that it will be useful,
266
# but WITHOUT ANY WARRANTY; without even the implied warranty of
267
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
268
# GNU General Public License for more details.
270
# You should have received a copy of the GNU General Public License
271
# along with this program; if not, write to the Free Software
272
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
245
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
247
# This file is free software; the Free Software Foundation
248
# gives unlimited permission to copy and/or distribute it,
249
# with or without modifications, as long as this notice is preserved.
277
253
# Check whether the underlying file-system supports filenames
278
254
# with a leading dot. For instance MS-DOS doesn't.
287
263
rmdir .tst 2>/dev/null
288
264
AC_SUBST([am__leading_dot])])
291
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
292
# Free Software Foundation, Inc.
294
# This program is free software; you can redistribute it and/or modify
295
# it under the terms of the GNU General Public License as published by
296
# the Free Software Foundation; either version 2, or (at your option)
299
# This program is distributed in the hope that it will be useful,
300
# but WITHOUT ANY WARRANTY; without even the implied warranty of
301
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
302
# GNU General Public License for more details.
304
# You should have received a copy of the GNU General Public License
305
# along with this program; if not, write to the Free Software
306
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
266
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
267
# 2006 Free Software Foundation, Inc.
269
# This file is free software; the Free Software Foundation
270
# gives unlimited permission to copy and/or distribute it,
271
# with or without modifications, as long as this notice is preserved.
311
275
# AM_PATH_LISPDIR
312
276
# ---------------
313
277
AC_DEFUN([AM_PATH_LISPDIR],
314
[AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
278
[AC_PREREQ([2.60])dnl
279
# If set to t, that means we are running in a shell under Emacs.
280
# If you have an Emacs named "t", then use the full path.
281
test x"$EMACS" = xt && EMACS=
282
AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
315
283
AC_ARG_VAR([EMACS], [the Emacs editor command])
316
284
AC_ARG_VAR([EMACSLOADPATH], [the Emacs library search path])
317
285
AC_ARG_WITH([lispdir],
318
[ --with-lispdir Override the default lisp directory ],
286
[ --with-lispdir override the default lisp directory],
319
287
[ lispdir="$withval"
320
288
AC_MSG_CHECKING([where .elc files should go])
321
289
AC_MSG_RESULT([$lispdir])],
323
# If set to t, that means we are running in a shell under Emacs.
324
# If you have an Emacs named "t", then use the full path.
325
test x"$EMACS" = xt && EMACS=
326
291
AC_CACHE_CHECK([where .elc files should go], [am_cv_lispdir], [
327
292
if test $EMACS != "no"; then
328
293
if test x${lispdir+set} != xset; then
350
315
AU_DEFUN([ud_PATH_LISPDIR], [AM_PATH_LISPDIR])
355
# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
357
# This program is free software; you can redistribute it and/or modify
358
# it under the terms of the GNU General Public License as published by
359
# the Free Software Foundation; either version 2, or (at your option)
362
# This program is distributed in the hope that it will be useful,
363
# but WITHOUT ANY WARRANTY; without even the implied warranty of
364
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
365
# GNU General Public License for more details.
367
# You should have received a copy of the GNU General Public License
368
# along with this program; if not, write to the Free Software
369
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
317
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
319
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
320
# Free Software Foundation, Inc.
322
# This file is free software; the Free Software Foundation
323
# gives unlimited permission to copy and/or distribute it,
324
# with or without modifications, as long as this notice is preserved.
374
328
# AM_MISSING_PROG(NAME, PROGRAM)
375
329
# ------------------------------
398
# Helper functions for option handling. -*- Autoconf -*-
400
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
402
# This program is free software; you can redistribute it and/or modify
403
# it under the terms of the GNU General Public License as published by
404
# the Free Software Foundation; either version 2, or (at your option)
407
# This program is distributed in the hope that it will be useful,
408
# but WITHOUT ANY WARRANTY; without even the implied warranty of
409
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
410
# GNU General Public License for more details.
412
# You should have received a copy of the GNU General Public License
413
# along with this program; if not, write to the Free Software
414
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
353
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
355
# This file is free software; the Free Software Foundation
356
# gives unlimited permission to copy and/or distribute it,
357
# with or without modifications, as long as this notice is preserved.
361
# Check for `mkdir -p'.
362
AC_DEFUN([AM_PROG_MKDIR_P],
363
[AC_PREREQ([2.60])dnl
364
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
365
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
366
dnl while keeping a definition of mkdir_p for backward compatibility.
367
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
368
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
369
dnl Makefile.ins that do not define MKDIR_P, so we do our own
370
dnl adjustment using top_builddir (which is defined more often than
372
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
374
[[\\/$]]* | ?:[[\\/]]*) ;;
375
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
379
# Helper functions for option handling. -*- Autoconf -*-
381
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
383
# This file is free software; the Free Software Foundation
384
# gives unlimited permission to copy and/or distribute it,
385
# with or without modifications, as long as this notice is preserved.
419
389
# _AM_MANGLE_OPTION(NAME)
420
390
# -----------------------
439
409
AC_DEFUN([_AM_IF_OPTION],
440
410
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
443
# Check to make sure that the build environment is sane.
446
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
448
# This program is free software; you can redistribute it and/or modify
449
# it under the terms of the GNU General Public License as published by
450
# the Free Software Foundation; either version 2, or (at your option)
453
# This program is distributed in the hope that it will be useful,
454
# but WITHOUT ANY WARRANTY; without even the implied warranty of
455
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
456
# GNU General Public License for more details.
458
# You should have received a copy of the GNU General Public License
459
# along with this program; if not, write to the Free Software
460
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
412
# Check to make sure that the build environment is sane. -*- Autoconf -*-
414
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
415
# Free Software Foundation, Inc.
417
# This file is free software; the Free Software Foundation
418
# gives unlimited permission to copy and/or distribute it,
419
# with or without modifications, as long as this notice is preserved.
465
423
# AM_SANITY_CHECK
466
424
# ---------------
504
462
AC_MSG_RESULT(yes)])
464
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
466
# This file is free software; the Free Software Foundation
467
# gives unlimited permission to copy and/or distribute it,
468
# with or without modifications, as long as this notice is preserved.
506
470
# AM_PROG_INSTALL_STRIP
508
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
510
# This program is free software; you can redistribute it and/or modify
511
# it under the terms of the GNU General Public License as published by
512
# the Free Software Foundation; either version 2, or (at your option)
515
# This program is distributed in the hope that it will be useful,
516
# but WITHOUT ANY WARRANTY; without even the implied warranty of
517
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
518
# GNU General Public License for more details.
520
# You should have received a copy of the GNU General Public License
521
# along with this program; if not, write to the Free Software
522
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
471
# ---------------------
525
472
# One issue with vendor `install' (even GNU) is that you can't
526
473
# specify the program used to strip binaries. This is especially
527
474
# annoying in cross-compiling environments, where the build's strip
539
486
if test "$cross_compiling" != no; then
540
487
AC_CHECK_TOOL([STRIP], [strip], :)
542
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
489
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
543
490
AC_SUBST([INSTALL_STRIP_PROGRAM])])
545
m4_include([config/m4.m4])
492
# Copyright (C) 2006 Free Software Foundation, Inc.
494
# This file is free software; the Free Software Foundation
495
# gives unlimited permission to copy and/or distribute it,
496
# with or without modifications, as long as this notice is preserved.
498
# _AM_SUBST_NOTMAKE(VARIABLE)
499
# ---------------------------
500
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
501
# This macro is traced by Automake.
502
AC_DEFUN([_AM_SUBST_NOTMAKE])
504
# Check how to create a tarball. -*- Autoconf -*-
506
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
508
# This file is free software; the Free Software Foundation
509
# gives unlimited permission to copy and/or distribute it,
510
# with or without modifications, as long as this notice is preserved.
514
# _AM_PROG_TAR(FORMAT)
515
# --------------------
516
# Check how to create a tarball in format FORMAT.
517
# FORMAT should be one of `v7', `ustar', or `pax'.
519
# Substitute a variable $(am__tar) that is a command
520
# writing to stdout a FORMAT-tarball containing the directory
522
# tardir=directory && $(am__tar) > result.tar
524
# Substitute a variable $(am__untar) that extract such
525
# a tarball read from stdin.
526
# $(am__untar) < result.tar
527
AC_DEFUN([_AM_PROG_TAR],
528
[# Always define AMTAR for backward compatibility.
529
AM_MISSING_PROG([AMTAR], [tar])
531
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
532
[m4_case([$1], [ustar],, [pax],,
533
[m4_fatal([Unknown tar format])])
534
AC_MSG_CHECKING([how to create a $1 tar archive])
535
# Loop over all known methods to create a tar archive until one works.
536
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
537
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
538
# Do not fold the above two line into one, because Tru64 sh and
539
# Solaris sh will not grok spaces in the rhs of `-'.
540
for _am_tool in $_am_tools
544
for _am_tar in tar gnutar gtar;
546
AM_RUN_LOG([$_am_tar --version]) && break
548
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
549
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
550
am__untar="$_am_tar -xf -"
553
# Must skip GNU tar: if it does not support --format= it doesn't create
554
# ustar tarball either.
555
(tar --version) >/dev/null 2>&1 && continue
556
am__tar='tar chf - "$$tardir"'
557
am__tar_='tar chf - "$tardir"'
561
am__tar='pax -L -x $1 -w "$$tardir"'
562
am__tar_='pax -L -x $1 -w "$tardir"'
566
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
567
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
568
am__untar='cpio -i -H $1 -d'
577
# If the value was cached, stop now. We just wanted to have am__tar
579
test -n "${am_cv_prog_tar_$1}" && break
581
# tar/untar a dummy directory, and stop if the command works
584
echo GrepMe > conftest.dir/file
585
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
587
if test -s conftest.tar; then
588
AM_RUN_LOG([$am__untar <conftest.tar])
589
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
594
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
595
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
597
AC_SUBST([am__untar])
600
m4_include([m4/m4.m4])