Subversion Repositories public

Rev

Rev 88 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88 Rev 90
Line 1... Line 1...
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2
 
2
 
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006  Free Software Foundation, Inc.
4
# 2005  Free Software Foundation, Inc.
5
# This file is free software; the Free Software Foundation
5
# This file is free software; the Free Software Foundation
6
# gives unlimited permission to copy and/or distribute it,
6
# gives unlimited permission to copy and/or distribute it,
7
# with or without modifications, as long as this notice is preserved.
7
# with or without modifications, as long as this notice is preserved.
8
 
8
 
9
# This program is distributed in the hope that it will be useful,
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
10
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
# PARTICULAR PURPOSE.
12
# PARTICULAR PURPOSE.
13
 
13
 
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])])
-
 
18
 
-
 
19
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
14
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
20
#
15
#
21
# This file is free software; the Free Software Foundation
16
# This file is free software; the Free Software Foundation
22
# gives unlimited permission to copy and/or distribute it,
17
# gives unlimited permission to copy and/or distribute it,
23
# with or without modifications, as long as this notice is preserved.
18
# with or without modifications, as long as this notice is preserved.
24
 
19
 
25
# AM_AUTOMAKE_VERSION(VERSION)
20
# AM_AUTOMAKE_VERSION(VERSION)
26
# ----------------------------
21
# ----------------------------
27
# Automake X.Y traces this macro to ensure aclocal.m4 has been
22
# Automake X.Y traces this macro to ensure aclocal.m4 has been
28
# generated from the m4 files accompanying Automake X.Y.
23
# generated from the m4 files accompanying Automake X.Y.
29
# (This private macro should not be called outside this file.)
-
 
30
AC_DEFUN([AM_AUTOMAKE_VERSION],
24
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
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
-
 
36
])
-
 
37
 
-
 
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], [])
-
 
44
 
25
 
45
# AM_SET_CURRENT_AUTOMAKE_VERSION
26
# AM_SET_CURRENT_AUTOMAKE_VERSION
46
# -------------------------------
27
# -------------------------------
47
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
28
# Call AM_AUTOMAKE_VERSION so it can be traced.
48
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
29
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
49
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
30
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
50
[AM_AUTOMAKE_VERSION([1.10])dnl
31
	 [AM_AUTOMAKE_VERSION([1.9.6])])
51
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
-
 
52
 
32
 
53
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
33
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
54
 
34
 
55
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
35
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
56
#
36
#
Line 103... Line 83...
103
am_aux_dir=`cd $ac_aux_dir && pwd`
83
am_aux_dir=`cd $ac_aux_dir && pwd`
104
])
84
])
105
 
85
 
106
# AM_CONDITIONAL                                            -*- Autoconf -*-
86
# AM_CONDITIONAL                                            -*- Autoconf -*-
107
 
87
 
108
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
88
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
109
# Free Software Foundation, Inc.
89
# Free Software Foundation, Inc.
110
#
90
#
111
# This file is free software; the Free Software Foundation
91
# This file is free software; the Free Software Foundation
112
# gives unlimited permission to copy and/or distribute it,
92
# gives unlimited permission to copy and/or distribute it,
113
# with or without modifications, as long as this notice is preserved.
93
# with or without modifications, as long as this notice is preserved.
114
 
94
 
115
# serial 8
95
# serial 7
116
 
96
 
117
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
97
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
118
# -------------------------------------
98
# -------------------------------------
119
# Define a conditional.
99
# Define a conditional.
120
AC_DEFUN([AM_CONDITIONAL],
100
AC_DEFUN([AM_CONDITIONAL],
121
[AC_PREREQ(2.52)dnl
101
[AC_PREREQ(2.52)dnl
122
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
102
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
123
	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
103
	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
124
AC_SUBST([$1_TRUE])dnl
104
AC_SUBST([$1_TRUE])
125
AC_SUBST([$1_FALSE])dnl
105
AC_SUBST([$1_FALSE])
126
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-
 
127
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-
 
128
if $2; then
106
if $2; then
129
  $1_TRUE=
107
  $1_TRUE=
130
  $1_FALSE='#'
108
  $1_FALSE='#'
131
else
109
else
132
  $1_TRUE='#'
110
  $1_TRUE='#'
Line 136... Line 114...
136
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
114
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
137
  AC_MSG_ERROR([[conditional "$1" was never defined.
115
  AC_MSG_ERROR([[conditional "$1" was never defined.
138
Usually this means the macro was only invoked conditionally.]])
116
Usually this means the macro was only invoked conditionally.]])
139
fi])])
117
fi])])
140
 
118
 
-
 
119
 
141
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
120
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
142
# Free Software Foundation, Inc.
121
# Free Software Foundation, Inc.
143
#
122
#
144
# This file is free software; the Free Software Foundation
123
# This file is free software; the Free Software Foundation
145
# gives unlimited permission to copy and/or distribute it,
124
# gives unlimited permission to copy and/or distribute it,
146
# with or without modifications, as long as this notice is preserved.
125
# with or without modifications, as long as this notice is preserved.
147
 
126
 
148
# serial 9
127
# serial 8
149
 
128
 
150
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
129
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
151
# written in clear, in which case automake, when reading aclocal.m4,
130
# written in clear, in which case automake, when reading aclocal.m4,
152
# will think it sees a *use*, and therefore will trigger all it's
131
# will think it sees a *use*, and therefore will trigger all it's
153
# C support machinery.  Also note that it means that autoscan, seeing
132
# C support machinery.  Also note that it means that autoscan, seeing
Line 171... Line 150...
171
AC_REQUIRE([AM_DEP_TRACK])dnl
150
AC_REQUIRE([AM_DEP_TRACK])dnl
172
 
151
 
173
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
152
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
174
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
153
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
175
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
154
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
176
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
-
 
177
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
155
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
178
                   [depcc="$$1"   am_compiler_list=])
156
                   [depcc="$$1"   am_compiler_list=])
179
 
157
 
180
AC_CACHE_CHECK([dependency style of $depcc],
158
AC_CACHE_CHECK([dependency style of $depcc],
181
               [am_cv_$1_dependencies_compiler_type],
159
               [am_cv_$1_dependencies_compiler_type],
Line 237... Line 215...
237
    if depmode=$depmode \
215
    if depmode=$depmode \
238
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
216
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
239
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
217
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
240
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
218
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
241
         >/dev/null 2>conftest.err &&
219
         >/dev/null 2>conftest.err &&
242
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
-
 
243
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
220
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
244
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
221
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
245
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
222
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
246
      # icc doesn't choke on unknown options, it will just issue warnings
223
      # icc doesn't choke on unknown options, it will just issue warnings
247
      # or remarks (even with -Werror).  So we grep stderr for any message
224
      # or remarks (even with -Werror).  So we grep stderr for any message
Line 290... Line 267...
290
if test "x$enable_dependency_tracking" != xno; then
267
if test "x$enable_dependency_tracking" != xno; then
291
  am_depcomp="$ac_aux_dir/depcomp"
268
  am_depcomp="$ac_aux_dir/depcomp"
292
  AMDEPBACKSLASH='\'
269
  AMDEPBACKSLASH='\'
293
fi
270
fi
294
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
271
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
295
AC_SUBST([AMDEPBACKSLASH])dnl
272
AC_SUBST([AMDEPBACKSLASH])
296
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-
 
297
])
273
])
298
 
274
 
299
# Generate code to set up dependency tracking.              -*- Autoconf -*-
275
# Generate code to set up dependency tracking.              -*- Autoconf -*-
300
 
276
 
301
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
277
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
Line 316... Line 292...
316
  # Check whether this is an Automake generated Makefile or not.
292
  # Check whether this is an Automake generated Makefile or not.
317
  # We used to match only the files named `Makefile.in', but
293
  # We used to match only the files named `Makefile.in', but
318
  # some people rename them; so instead we look at the file content.
294
  # some people rename them; so instead we look at the file content.
319
  # Grep'ing the first line is not enough: some people post-process
295
  # Grep'ing the first line is not enough: some people post-process
320
  # each Makefile.in and add a new line on top of each file to say so.
296
  # each Makefile.in and add a new line on top of each file to say so.
321
  # Grep'ing the whole file is not good either: AIX grep has a line
297
  # So let's grep whole file.
322
  # limit of 2048, but all sed's we know have understand at least 4000.
-
 
323
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
298
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
324
    dirpart=`AS_DIRNAME("$mf")`
299
    dirpart=`AS_DIRNAME("$mf")`
325
  else
300
  else
326
    continue
301
    continue
327
  fi
302
  fi
328
  # Extract the definition of DEPDIR, am__include, and am__quote
303
  # Extract the definition of DEPDIR, am__include, and am__quote
Line 377... Line 352...
377
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
352
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
378
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
353
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
379
 
354
 
380
# Do all the work for Automake.                             -*- Autoconf -*-
355
# Do all the work for Automake.                             -*- Autoconf -*-
381
 
356
 
382
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
357
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
383
# 2005, 2006 Free Software Foundation, Inc.
358
# Free Software Foundation, Inc.
384
#
359
#
385
# This file is free software; the Free Software Foundation
360
# This file is free software; the Free Software Foundation
386
# gives unlimited permission to copy and/or distribute it,
361
# gives unlimited permission to copy and/or distribute it,
387
# with or without modifications, as long as this notice is preserved.
362
# with or without modifications, as long as this notice is preserved.
388
 
363
 
Line 401... Line 376...
401
# We support both call styles for the transition.  After
376
# We support both call styles for the transition.  After
402
# the next Automake release, Autoconf can make the AC_INIT
377
# the next Automake release, Autoconf can make the AC_INIT
403
# arguments mandatory, and then we can depend on a new Autoconf
378
# arguments mandatory, and then we can depend on a new Autoconf
404
# release and drop the old call support.
379
# release and drop the old call support.
405
AC_DEFUN([AM_INIT_AUTOMAKE],
380
AC_DEFUN([AM_INIT_AUTOMAKE],
406
[AC_PREREQ([2.60])dnl
381
[AC_PREREQ([2.58])dnl
407
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
382
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
408
dnl the ones we care about.
383
dnl the ones we care about.
409
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
384
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
410
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
385
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
411
AC_REQUIRE([AC_PROG_INSTALL])dnl
386
AC_REQUIRE([AC_PROG_INSTALL])dnl
412
if test "`cd $srcdir && pwd`" != "`pwd`"; then
387
# test to see if srcdir already configured
413
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
-
 
414
  # is not polluted with repeated "-I."
-
 
415
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
-
 
416
  # test to see if srcdir already configured
388
if test "`cd $srcdir && pwd`" != "`pwd`" &&
417
  if test -f $srcdir/config.status; then
389
   test -f $srcdir/config.status; then
418
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
390
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
419
  fi
-
 
420
fi
391
fi
421
 
392
 
422
# test whether we have cygpath
393
# test whether we have cygpath
423
if test -z "$CYGPATH_W"; then
394
if test -z "$CYGPATH_W"; then
424
  if (cygpath --version) >/dev/null 2>/dev/null; then
395
  if (cygpath --version) >/dev/null 2>/dev/null; then
Line 434... Line 405...
434
m4_ifval([$2],
405
m4_ifval([$2],
435
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
406
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
436
 AC_SUBST([PACKAGE], [$1])dnl
407
 AC_SUBST([PACKAGE], [$1])dnl
437
 AC_SUBST([VERSION], [$2])],
408
 AC_SUBST([VERSION], [$2])],
438
[_AM_SET_OPTIONS([$1])dnl
409
[_AM_SET_OPTIONS([$1])dnl
439
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-
 
440
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
-
 
441
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
-
 
442
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
410
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
443
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
411
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
444
 
412
 
445
_AM_IF_OPTION([no-define],,
413
_AM_IF_OPTION([no-define],,
446
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
414
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
Line 472... Line 440...
472
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
440
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
473
AC_PROVIDE_IFELSE([AC_PROG_CXX],
441
AC_PROVIDE_IFELSE([AC_PROG_CXX],
474
                  [_AM_DEPENDENCIES(CXX)],
442
                  [_AM_DEPENDENCIES(CXX)],
475
                  [define([AC_PROG_CXX],
443
                  [define([AC_PROG_CXX],
476
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
444
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
477
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
-
 
478
                  [_AM_DEPENDENCIES(OBJC)],
-
 
479
                  [define([AC_PROG_OBJC],
-
 
480
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
-
 
481
])
445
])
482
])
446
])
483
 
447
 
484
 
448
 
485
# When config.status generates a header, we must update the stamp-h file.
449
# When config.status generates a header, we must update the stamp-h file.
Line 511... Line 475...
511
# AM_PROG_INSTALL_SH
475
# AM_PROG_INSTALL_SH
512
# ------------------
476
# ------------------
513
# Define $install_sh.
477
# Define $install_sh.
514
AC_DEFUN([AM_PROG_INSTALL_SH],
478
AC_DEFUN([AM_PROG_INSTALL_SH],
515
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
479
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
516
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
480
install_sh=${install_sh-"$am_aux_dir/install-sh"}
517
AC_SUBST(install_sh)])
481
AC_SUBST(install_sh)])
518
 
482
 
519
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
483
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
520
#
484
#
521
# This file is free software; the Free Software Foundation
485
# This file is free software; the Free Software Foundation
Line 589... Line 553...
589
rm -f confinc confmf
553
rm -f confinc confmf
590
])
554
])
591
 
555
 
592
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
556
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
593
 
557
 
594
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
558
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
595
# Free Software Foundation, Inc.
559
# Free Software Foundation, Inc.
596
#
560
#
597
# This file is free software; the Free Software Foundation
561
# This file is free software; the Free Software Foundation
598
# gives unlimited permission to copy and/or distribute it,
562
# gives unlimited permission to copy and/or distribute it,
599
# with or without modifications, as long as this notice is preserved.
563
# with or without modifications, as long as this notice is preserved.
600
 
564
 
601
# serial 5
565
# serial 4
602
 
566
 
603
# AM_MISSING_PROG(NAME, PROGRAM)
567
# AM_MISSING_PROG(NAME, PROGRAM)
604
# ------------------------------
568
# ------------------------------
605
AC_DEFUN([AM_MISSING_PROG],
569
AC_DEFUN([AM_MISSING_PROG],
606
[AC_REQUIRE([AM_MISSING_HAS_RUN])
570
[AC_REQUIRE([AM_MISSING_HAS_RUN])
Line 612... Line 576...
612
# ------------------
576
# ------------------
613
# Define MISSING if not defined so far and test if it supports --run.
577
# Define MISSING if not defined so far and test if it supports --run.
614
# If it does, set am_missing_run to use it, otherwise, to nothing.
578
# If it does, set am_missing_run to use it, otherwise, to nothing.
615
AC_DEFUN([AM_MISSING_HAS_RUN],
579
AC_DEFUN([AM_MISSING_HAS_RUN],
616
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
580
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
617
AC_REQUIRE_AUX_FILE([missing])dnl
-
 
618
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
581
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
619
# Use eval to expand $SHELL
582
# Use eval to expand $SHELL
620
if eval "$MISSING --run true"; then
583
if eval "$MISSING --run true"; then
621
  am_missing_run="$MISSING --run "
584
  am_missing_run="$MISSING --run "
622
else
585
else
623
  am_missing_run=
586
  am_missing_run=
624
  AC_MSG_WARN([`missing' script is too old or missing])
587
  AC_MSG_WARN([`missing' script is too old or missing])
625
fi
588
fi
626
])
589
])
627
 
590
 
628
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
591
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
629
#
592
#
630
# This file is free software; the Free Software Foundation
593
# This file is free software; the Free Software Foundation
631
# gives unlimited permission to copy and/or distribute it,
594
# gives unlimited permission to copy and/or distribute it,
632
# with or without modifications, as long as this notice is preserved.
595
# with or without modifications, as long as this notice is preserved.
633
 
596
 
634
# AM_PROG_MKDIR_P
597
# AM_PROG_MKDIR_P
635
# ---------------
598
# ---------------
-
 
599
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-
 
600
#
-
 
601
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-
 
602
# created by `make install' are always world readable, even if the
-
 
603
# installer happens to have an overly restrictive umask (e.g. 077).
-
 
604
# This was a mistake.  There are at least two reasons why we must not
636
# Check for `mkdir -p'.
605
# use `-m 0755':
-
 
606
#   - it causes special bits like SGID to be ignored,
-
 
607
#   - it may be too restrictive (some setups expect 775 directories).
-
 
608
#
-
 
609
# Do not use -m 0755 and let people choose whatever they expect by
-
 
610
# setting umask.
-
 
611
#
-
 
612
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
-
 
613
# Some implementations (such as Solaris 8's) are not thread-safe: if a
-
 
614
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
-
 
615
# concurrently, both version can detect that a/ is missing, but only
-
 
616
# one can create it and the other will error out.  Consequently we
-
 
617
# restrict ourselves to GNU make (using the --version option ensures
-
 
618
# this.)
637
AC_DEFUN([AM_PROG_MKDIR_P],
619
AC_DEFUN([AM_PROG_MKDIR_P],
-
 
620
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
-
 
621
  # We used to keeping the `.' as first argument, in order to
-
 
622
  # allow $(mkdir_p) to be used without argument.  As in
-
 
623
  #   $(mkdir_p) $(somedir)
-
 
624
  # where $(somedir) is conditionally defined.  However this is wrong
638
[AC_PREREQ([2.60])dnl
625
  # for two reasons:
-
 
626
  #  1. if the package is installed by a user who cannot write `.'
639
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
627
  #     make install will fail,
640
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
628
  #  2. the above comment should most certainly read
-
 
629
  #     $(mkdir_p) $(DESTDIR)$(somedir)
641
dnl while keeping a definition of mkdir_p for backward compatibility.
630
  #     so it does not work when $(somedir) is undefined and
-
 
631
  #     $(DESTDIR) is not.
642
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
632
  #  To support the latter case, we have to write
643
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
633
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
-
 
634
  #  so the `.' trick is pointless.
-
 
635
  mkdir_p='mkdir -p --'
-
 
636
else
644
dnl Makefile.ins that do not define MKDIR_P, so we do our own
637
  # On NextStep and OpenStep, the `mkdir' command does not
645
dnl adjustment using top_builddir (which is defined more often than
638
  # recognize any option.  It will interpret all options as
-
 
639
  # directories to create, and then abort because `.' already
646
dnl MKDIR_P).
640
  # exists.
647
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
641
  for d in ./-p ./--version;
-
 
642
  do
648
case $mkdir_p in
643
    test -d $d && rmdir $d
-
 
644
  done
-
 
645
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
-
 
646
  if test -f "$ac_aux_dir/mkinstalldirs"; then
649
  [[\\/$]]* | ?:[[\\/]]*) ;;
647
    mkdir_p='$(mkinstalldirs)'
-
 
648
  else
650
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
649
    mkdir_p='$(install_sh) -d'
651
esac
650
  fi
652
])
651
fi
-
 
652
AC_SUBST([mkdir_p])])
653
 
653
 
654
# Helper functions for option handling.                     -*- Autoconf -*-
654
# Helper functions for option handling.                     -*- Autoconf -*-
655
 
655
 
656
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
656
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
657
#
657
#
Line 759... Line 759...
759
# will honor the `STRIP' environment variable to overrule this program.
759
# will honor the `STRIP' environment variable to overrule this program.
760
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
760
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
761
if test "$cross_compiling" != no; then
761
if test "$cross_compiling" != no; then
762
  AC_CHECK_TOOL([STRIP], [strip], :)
762
  AC_CHECK_TOOL([STRIP], [strip], :)
763
fi
763
fi
764
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
764
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
765
AC_SUBST([INSTALL_STRIP_PROGRAM])])
765
AC_SUBST([INSTALL_STRIP_PROGRAM])])
766
 
766
 
767
# Copyright (C) 2006  Free Software Foundation, Inc.
-
 
768
#
-
 
769
# This file is free software; the Free Software Foundation
-
 
770
# gives unlimited permission to copy and/or distribute it,
-
 
771
# with or without modifications, as long as this notice is preserved.
-
 
772
 
-
 
773
# _AM_SUBST_NOTMAKE(VARIABLE)
-
 
774
# ---------------------------
-
 
775
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
-
 
776
# This macro is traced by Automake.
-
 
777
AC_DEFUN([_AM_SUBST_NOTMAKE])
-
 
778
 
-
 
779
# Check how to create a tarball.                            -*- Autoconf -*-
767
# Check how to create a tarball.                            -*- Autoconf -*-
780
 
768
 
781
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
769
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
782
#
770
#
783
# This file is free software; the Free Software Foundation
771
# This file is free software; the Free Software Foundation