Deleted Added
full compact
aclocal.m4 (182007) aclocal.m4 (200576)
1# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1# generated automatically by aclocal 1.11 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005 Free Software Foundation, Inc.
4# 2005, 2006, 2007, 2008, 2009 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
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
14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17[m4_warning([this file was generated for autoconf 2.65.
18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
14# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
15
16# serial 47 AC_PROG_LIBTOOL
17
18
19# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
20# -----------------------------------------------------------
21# If this macro is not defined by Autoconf, define it here.

--- 6148 unchanged lines hidden (view full) ---

6170 fi
6171 done
6172done
6173])
6174SED=$lt_cv_path_SED
6175AC_MSG_RESULT([$SED])
6176])
6177
22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
23
24# serial 47 AC_PROG_LIBTOOL
25
26
27# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
28# -----------------------------------------------------------
29# If this macro is not defined by Autoconf, define it here.

--- 6148 unchanged lines hidden (view full) ---

6178 fi
6179 done
6180done
6181])
6182SED=$lt_cv_path_SED
6183AC_MSG_RESULT([$SED])
6184])
6185
6178# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
6186# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6179#
6180# This file is free software; the Free Software Foundation
6181# gives unlimited permission to copy and/or distribute it,
6182# with or without modifications, as long as this notice is preserved.
6183
6184# AM_AUTOMAKE_VERSION(VERSION)
6185# ----------------------------
6186# Automake X.Y traces this macro to ensure aclocal.m4 has been
6187# generated from the m4 files accompanying Automake X.Y.
6187#
6188# This file is free software; the Free Software Foundation
6189# gives unlimited permission to copy and/or distribute it,
6190# with or without modifications, as long as this notice is preserved.
6191
6192# AM_AUTOMAKE_VERSION(VERSION)
6193# ----------------------------
6194# Automake X.Y traces this macro to ensure aclocal.m4 has been
6195# generated from the m4 files accompanying Automake X.Y.
6188AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
6196# (This private macro should not be called outside this file.)
6197AC_DEFUN([AM_AUTOMAKE_VERSION],
6198[am__api_version='1.11'
6199dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
6200dnl require some minimum version. Point them to the right macro.
6201m4_if([$1], [1.11], [],
6202 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6203])
6189
6204
6205# _AM_AUTOCONF_VERSION(VERSION)
6206# -----------------------------
6207# aclocal traces this macro to find the Autoconf version.
6208# This is a private macro too. Using m4_define simplifies
6209# the logic in aclocal, which can simply ignore this definition.
6210m4_define([_AM_AUTOCONF_VERSION], [])
6211
6190# AM_SET_CURRENT_AUTOMAKE_VERSION
6191# -------------------------------
6212# AM_SET_CURRENT_AUTOMAKE_VERSION
6213# -------------------------------
6192# Call AM_AUTOMAKE_VERSION so it can be traced.
6193# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6214# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
6215# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
6194AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6216AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6195 [AM_AUTOMAKE_VERSION([1.9.6])])
6217[AM_AUTOMAKE_VERSION([1.11])dnl
6218m4_ifndef([AC_AUTOCONF_VERSION],
6219 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
6220_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
6196
6197# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6198
6199# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
6200#
6201# This file is free software; the Free Software Foundation
6202# gives unlimited permission to copy and/or distribute it,
6203# with or without modifications, as long as this notice is preserved.

--- 40 unchanged lines hidden (view full) ---

6244[dnl Rely on autoconf to set up CDPATH properly.
6245AC_PREREQ([2.50])dnl
6246# expand $ac_aux_dir to an absolute path
6247am_aux_dir=`cd $ac_aux_dir && pwd`
6248])
6249
6250# AM_CONDITIONAL -*- Autoconf -*-
6251
6221
6222# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6223
6224# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
6225#
6226# This file is free software; the Free Software Foundation
6227# gives unlimited permission to copy and/or distribute it,
6228# with or without modifications, as long as this notice is preserved.

--- 40 unchanged lines hidden (view full) ---

6269[dnl Rely on autoconf to set up CDPATH properly.
6270AC_PREREQ([2.50])dnl
6271# expand $ac_aux_dir to an absolute path
6272am_aux_dir=`cd $ac_aux_dir && pwd`
6273])
6274
6275# AM_CONDITIONAL -*- Autoconf -*-
6276
6252# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
6277# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
6253# Free Software Foundation, Inc.
6254#
6255# This file is free software; the Free Software Foundation
6256# gives unlimited permission to copy and/or distribute it,
6257# with or without modifications, as long as this notice is preserved.
6258
6278# Free Software Foundation, Inc.
6279#
6280# This file is free software; the Free Software Foundation
6281# gives unlimited permission to copy and/or distribute it,
6282# with or without modifications, as long as this notice is preserved.
6283
6259# serial 7
6284# serial 9
6260
6261# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6262# -------------------------------------
6263# Define a conditional.
6264AC_DEFUN([AM_CONDITIONAL],
6265[AC_PREREQ(2.52)dnl
6266 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
6267 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
6285
6286# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6287# -------------------------------------
6288# Define a conditional.
6289AC_DEFUN([AM_CONDITIONAL],
6290[AC_PREREQ(2.52)dnl
6291 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
6292 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
6268AC_SUBST([$1_TRUE])
6269AC_SUBST([$1_FALSE])
6293AC_SUBST([$1_TRUE])dnl
6294AC_SUBST([$1_FALSE])dnl
6295_AM_SUBST_NOTMAKE([$1_TRUE])dnl
6296_AM_SUBST_NOTMAKE([$1_FALSE])dnl
6297m4_define([_AM_COND_VALUE_$1], [$2])dnl
6270if $2; then
6271 $1_TRUE=
6272 $1_FALSE='#'
6273else
6274 $1_TRUE='#'
6275 $1_FALSE=
6276fi
6277AC_CONFIG_COMMANDS_PRE(
6278[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6279 AC_MSG_ERROR([[conditional "$1" was never defined.
6280Usually this means the macro was only invoked conditionally.]])
6281fi])])
6282
6298if $2; then
6299 $1_TRUE=
6300 $1_FALSE='#'
6301else
6302 $1_TRUE='#'
6303 $1_FALSE=
6304fi
6305AC_CONFIG_COMMANDS_PRE(
6306[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6307 AC_MSG_ERROR([[conditional "$1" was never defined.
6308Usually this means the macro was only invoked conditionally.]])
6309fi])])
6310
6283
6284# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6311# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
6285# Free Software Foundation, Inc.
6286#
6287# This file is free software; the Free Software Foundation
6288# gives unlimited permission to copy and/or distribute it,
6289# with or without modifications, as long as this notice is preserved.
6290
6312# Free Software Foundation, Inc.
6313#
6314# This file is free software; the Free Software Foundation
6315# gives unlimited permission to copy and/or distribute it,
6316# with or without modifications, as long as this notice is preserved.
6317
6291# serial 8
6318# serial 10
6292
6293# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6294# written in clear, in which case automake, when reading aclocal.m4,
6295# will think it sees a *use*, and therefore will trigger all it's
6296# C support machinery. Also note that it means that autoscan, seeing
6297# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
6298
6299

--- 11 unchanged lines hidden (view full) ---

6311[AC_REQUIRE([AM_SET_DEPDIR])dnl
6312AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
6313AC_REQUIRE([AM_MAKE_INCLUDE])dnl
6314AC_REQUIRE([AM_DEP_TRACK])dnl
6315
6316ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
6317 [$1], CXX, [depcc="$CXX" am_compiler_list=],
6318 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
6319
6320# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6321# written in clear, in which case automake, when reading aclocal.m4,
6322# will think it sees a *use*, and therefore will trigger all it's
6323# C support machinery. Also note that it means that autoscan, seeing
6324# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
6325
6326

--- 11 unchanged lines hidden (view full) ---

6338[AC_REQUIRE([AM_SET_DEPDIR])dnl
6339AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
6340AC_REQUIRE([AM_MAKE_INCLUDE])dnl
6341AC_REQUIRE([AM_DEP_TRACK])dnl
6342
6343ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
6344 [$1], CXX, [depcc="$CXX" am_compiler_list=],
6345 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
6346 [$1], UPC, [depcc="$UPC" am_compiler_list=],
6319 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
6320 [depcc="$$1" am_compiler_list=])
6321
6322AC_CACHE_CHECK([dependency style of $depcc],
6323 [am_cv_$1_dependencies_compiler_type],
6324[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6325 # We make a subdir and do the tests there. Otherwise we can end up
6326 # making bogus files that we don't know about and never remove. For

--- 12 unchanged lines hidden (view full) ---

6339 # the current directory while Tru64 will put them in the object
6340 # directory.
6341 mkdir sub
6342
6343 am_cv_$1_dependencies_compiler_type=none
6344 if test "$am_compiler_list" = ""; then
6345 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
6346 fi
6347 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
6348 [depcc="$$1" am_compiler_list=])
6349
6350AC_CACHE_CHECK([dependency style of $depcc],
6351 [am_cv_$1_dependencies_compiler_type],
6352[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6353 # We make a subdir and do the tests there. Otherwise we can end up
6354 # making bogus files that we don't know about and never remove. For

--- 12 unchanged lines hidden (view full) ---

6367 # the current directory while Tru64 will put them in the object
6368 # directory.
6369 mkdir sub
6370
6371 am_cv_$1_dependencies_compiler_type=none
6372 if test "$am_compiler_list" = ""; then
6373 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
6374 fi
6375 am__universal=false
6376 m4_case([$1], [CC],
6377 [case " $depcc " in #(
6378 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6379 esac],
6380 [CXX],
6381 [case " $depcc " in #(
6382 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6383 esac])
6384
6347 for depmode in $am_compiler_list; do
6348 # Setup a source with many dependencies, because some compilers
6349 # like to wrap large dependency lists on column 80 (with \), and
6350 # we should not choose a depcomp mode which is confused by this.
6351 #
6352 # We need to recreate these files for each test, as the compiler may
6353 # overwrite some of them when testing with obscure command lines.
6354 # This happens at least with the AIX C compiler.
6355 : > sub/conftest.c
6356 for i in 1 2 3 4 5 6; do
6357 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6358 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6359 # Solaris 8's {/usr,}/bin/sh.
6360 touch sub/conftst$i.h
6361 done
6362 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6363
6385 for depmode in $am_compiler_list; do
6386 # Setup a source with many dependencies, because some compilers
6387 # like to wrap large dependency lists on column 80 (with \), and
6388 # we should not choose a depcomp mode which is confused by this.
6389 #
6390 # We need to recreate these files for each test, as the compiler may
6391 # overwrite some of them when testing with obscure command lines.
6392 # This happens at least with the AIX C compiler.
6393 : > sub/conftest.c
6394 for i in 1 2 3 4 5 6; do
6395 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6396 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6397 # Solaris 8's {/usr,}/bin/sh.
6398 touch sub/conftst$i.h
6399 done
6400 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6401
6402 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6403 # mode. It turns out that the SunPro C++ compiler does not properly
6404 # handle `-M -o', and we need to detect this. Also, some Intel
6405 # versions had trouble with output in subdirs
6406 am__obj=sub/conftest.${OBJEXT-o}
6407 am__minus_obj="-o $am__obj"
6364 case $depmode in
6408 case $depmode in
6409 gcc)
6410 # This depmode causes a compiler race in universal mode.
6411 test "$am__universal" = false || continue
6412 ;;
6365 nosideeffect)
6366 # after this tag, mechanisms are not by side-effect, so they'll
6367 # only be used when explicitly requested
6368 if test "x$enable_dependency_tracking" = xyes; then
6369 continue
6370 else
6371 break
6372 fi
6373 ;;
6413 nosideeffect)
6414 # after this tag, mechanisms are not by side-effect, so they'll
6415 # only be used when explicitly requested
6416 if test "x$enable_dependency_tracking" = xyes; then
6417 continue
6418 else
6419 break
6420 fi
6421 ;;
6422 msvisualcpp | msvcmsys)
6423 # This compiler won't grok `-c -o', but also, the minuso test has
6424 # not run yet. These depmodes are late enough in the game, and
6425 # so weak that their functioning should not be impacted.
6426 am__obj=conftest.${OBJEXT-o}
6427 am__minus_obj=
6428 ;;
6374 none) break ;;
6375 esac
6429 none) break ;;
6430 esac
6376 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6377 # mode. It turns out that the SunPro C++ compiler does not properly
6378 # handle `-M -o', and we need to detect this.
6379 if depmode=$depmode \
6431 if depmode=$depmode \
6380 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6432 source=sub/conftest.c object=$am__obj \
6381 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6433 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6382 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6434 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6383 >/dev/null 2>conftest.err &&
6435 >/dev/null 2>conftest.err &&
6436 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6384 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6437 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6385 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6438 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6386 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6387 # icc doesn't choke on unknown options, it will just issue warnings
6388 # or remarks (even with -Werror). So we grep stderr for any message
6389 # that says an option was ignored or not supported.
6390 # When given -MP, icc 7.0 and 7.1 complain thusly:
6391 # icc: Command line warning: ignoring option '-M'; no argument required
6392 # The diagnosis changed in icc 8.0:
6393 # icc: Command line remark: option '-MP' not supported

--- 34 unchanged lines hidden (view full) ---

6428[AC_ARG_ENABLE(dependency-tracking,
6429[ --disable-dependency-tracking speeds up one-time build
6430 --enable-dependency-tracking do not reject slow dependency extractors])
6431if test "x$enable_dependency_tracking" != xno; then
6432 am_depcomp="$ac_aux_dir/depcomp"
6433 AMDEPBACKSLASH='\'
6434fi
6435AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6439 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6440 # icc doesn't choke on unknown options, it will just issue warnings
6441 # or remarks (even with -Werror). So we grep stderr for any message
6442 # that says an option was ignored or not supported.
6443 # When given -MP, icc 7.0 and 7.1 complain thusly:
6444 # icc: Command line warning: ignoring option '-M'; no argument required
6445 # The diagnosis changed in icc 8.0:
6446 # icc: Command line remark: option '-MP' not supported

--- 34 unchanged lines hidden (view full) ---

6481[AC_ARG_ENABLE(dependency-tracking,
6482[ --disable-dependency-tracking speeds up one-time build
6483 --enable-dependency-tracking do not reject slow dependency extractors])
6484if test "x$enable_dependency_tracking" != xno; then
6485 am_depcomp="$ac_aux_dir/depcomp"
6486 AMDEPBACKSLASH='\'
6487fi
6488AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6436AC_SUBST([AMDEPBACKSLASH])
6489AC_SUBST([AMDEPBACKSLASH])dnl
6490_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
6437])
6438
6439# Generate code to set up dependency tracking. -*- Autoconf -*-
6440
6491])
6492
6493# Generate code to set up dependency tracking. -*- Autoconf -*-
6494
6441# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6495# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
6442# Free Software Foundation, Inc.
6443#
6444# This file is free software; the Free Software Foundation
6445# gives unlimited permission to copy and/or distribute it,
6446# with or without modifications, as long as this notice is preserved.
6447
6496# Free Software Foundation, Inc.
6497#
6498# This file is free software; the Free Software Foundation
6499# gives unlimited permission to copy and/or distribute it,
6500# with or without modifications, as long as this notice is preserved.
6501
6448#serial 3
6502#serial 5
6449
6450# _AM_OUTPUT_DEPENDENCY_COMMANDS
6451# ------------------------------
6452AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
6503
6504# _AM_OUTPUT_DEPENDENCY_COMMANDS
6505# ------------------------------
6506AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
6453[for mf in $CONFIG_FILES; do
6454 # Strip MF so we end up with the name of the file.
6455 mf=`echo "$mf" | sed -e 's/:.*$//'`
6456 # Check whether this is an Automake generated Makefile or not.
6457 # We used to match only the files named `Makefile.in', but
6458 # some people rename them; so instead we look at the file content.
6459 # Grep'ing the first line is not enough: some people post-process
6460 # each Makefile.in and add a new line on top of each file to say so.
6461 # So let's grep whole file.
6462 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6463 dirpart=`AS_DIRNAME("$mf")`
6464 else
6465 continue
6466 fi
6467 # Extract the definition of DEPDIR, am__include, and am__quote
6468 # from the Makefile without running `make'.
6469 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6470 test -z "$DEPDIR" && continue
6471 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6472 test -z "am__include" && continue
6473 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6474 # When using ansi2knr, U may be empty or an underscore; expand it
6475 U=`sed -n 's/^U = //p' < "$mf"`
6476 # Find all dependency output files, they are included files with
6477 # $(DEPDIR) in their names. We invoke sed twice because it is the
6478 # simplest approach to changing $(DEPDIR) to its actual value in the
6479 # expansion.
6480 for file in `sed -n "
6481 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6482 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6483 # Make sure the directory exists.
6484 test -f "$dirpart/$file" && continue
6485 fdir=`AS_DIRNAME(["$file"])`
6486 AS_MKDIR_P([$dirpart/$fdir])
6487 # echo "creating $dirpart/$file"
6488 echo '# dummy' > "$dirpart/$file"
6507[{
6508 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6509 # are listed without --file. Let's play safe and only enable the eval
6510 # if we detect the quoting.
6511 case $CONFIG_FILES in
6512 *\'*) eval set x "$CONFIG_FILES" ;;
6513 *) set x $CONFIG_FILES ;;
6514 esac
6515 shift
6516 for mf
6517 do
6518 # Strip MF so we end up with the name of the file.
6519 mf=`echo "$mf" | sed -e 's/:.*$//'`
6520 # Check whether this is an Automake generated Makefile or not.
6521 # We used to match only the files named `Makefile.in', but
6522 # some people rename them; so instead we look at the file content.
6523 # Grep'ing the first line is not enough: some people post-process
6524 # each Makefile.in and add a new line on top of each file to say so.
6525 # Grep'ing the whole file is not good either: AIX grep has a line
6526 # limit of 2048, but all sed's we know have understand at least 4000.
6527 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6528 dirpart=`AS_DIRNAME("$mf")`
6529 else
6530 continue
6531 fi
6532 # Extract the definition of DEPDIR, am__include, and am__quote
6533 # from the Makefile without running `make'.
6534 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6535 test -z "$DEPDIR" && continue
6536 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6537 test -z "am__include" && continue
6538 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6539 # When using ansi2knr, U may be empty or an underscore; expand it
6540 U=`sed -n 's/^U = //p' < "$mf"`
6541 # Find all dependency output files, they are included files with
6542 # $(DEPDIR) in their names. We invoke sed twice because it is the
6543 # simplest approach to changing $(DEPDIR) to its actual value in the
6544 # expansion.
6545 for file in `sed -n "
6546 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6547 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6548 # Make sure the directory exists.
6549 test -f "$dirpart/$file" && continue
6550 fdir=`AS_DIRNAME(["$file"])`
6551 AS_MKDIR_P([$dirpart/$fdir])
6552 # echo "creating $dirpart/$file"
6553 echo '# dummy' > "$dirpart/$file"
6554 done
6489 done
6555 done
6490done
6556}
6491])# _AM_OUTPUT_DEPENDENCY_COMMANDS
6492
6493
6494# AM_OUTPUT_DEPENDENCY_COMMANDS
6495# -----------------------------
6496# This macro should only be invoked once -- use via AC_REQUIRE.
6497#
6498# This code is only required when automatic dependency tracking

--- 14 unchanged lines hidden (view full) ---

6513
6514# serial 8
6515
6516# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
6517AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
6518
6519# Do all the work for Automake. -*- Autoconf -*-
6520
6557])# _AM_OUTPUT_DEPENDENCY_COMMANDS
6558
6559
6560# AM_OUTPUT_DEPENDENCY_COMMANDS
6561# -----------------------------
6562# This macro should only be invoked once -- use via AC_REQUIRE.
6563#
6564# This code is only required when automatic dependency tracking

--- 14 unchanged lines hidden (view full) ---

6579
6580# serial 8
6581
6582# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
6583AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
6584
6585# Do all the work for Automake. -*- Autoconf -*-
6586
6521# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
6522# Free Software Foundation, Inc.
6587# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
6588# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
6523#
6524# This file is free software; the Free Software Foundation
6525# gives unlimited permission to copy and/or distribute it,
6526# with or without modifications, as long as this notice is preserved.
6527
6589#
6590# This file is free software; the Free Software Foundation
6591# gives unlimited permission to copy and/or distribute it,
6592# with or without modifications, as long as this notice is preserved.
6593
6528# serial 12
6594# serial 16
6529
6530# This macro actually does too much. Some checks are only needed if
6531# your package does certain things. But this isn't really a big deal.
6532
6533# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
6534# AM_INIT_AUTOMAKE([OPTIONS])
6535# -----------------------------------------------
6536# The call with PACKAGE and VERSION arguments is the old style
6537# call (pre autoconf-2.50), which is being phased out. PACKAGE
6538# and VERSION should now be passed to AC_INIT and removed from
6539# the call to AM_INIT_AUTOMAKE.
6540# We support both call styles for the transition. After
6541# the next Automake release, Autoconf can make the AC_INIT
6542# arguments mandatory, and then we can depend on a new Autoconf
6543# release and drop the old call support.
6544AC_DEFUN([AM_INIT_AUTOMAKE],
6595
6596# This macro actually does too much. Some checks are only needed if
6597# your package does certain things. But this isn't really a big deal.
6598
6599# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
6600# AM_INIT_AUTOMAKE([OPTIONS])
6601# -----------------------------------------------
6602# The call with PACKAGE and VERSION arguments is the old style
6603# call (pre autoconf-2.50), which is being phased out. PACKAGE
6604# and VERSION should now be passed to AC_INIT and removed from
6605# the call to AM_INIT_AUTOMAKE.
6606# We support both call styles for the transition. After
6607# the next Automake release, Autoconf can make the AC_INIT
6608# arguments mandatory, and then we can depend on a new Autoconf
6609# release and drop the old call support.
6610AC_DEFUN([AM_INIT_AUTOMAKE],
6545[AC_PREREQ([2.58])dnl
6611[AC_PREREQ([2.62])dnl
6546dnl Autoconf wants to disallow AM_ names. We explicitly allow
6547dnl the ones we care about.
6548m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6549AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6550AC_REQUIRE([AC_PROG_INSTALL])dnl
6612dnl Autoconf wants to disallow AM_ names. We explicitly allow
6613dnl the ones we care about.
6614m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6615AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6616AC_REQUIRE([AC_PROG_INSTALL])dnl
6551# test to see if srcdir already configured
6552if test "`cd $srcdir && pwd`" != "`pwd`" &&
6553 test -f $srcdir/config.status; then
6554 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6617if test "`cd $srcdir && pwd`" != "`pwd`"; then
6618 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6619 # is not polluted with repeated "-I."
6620 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
6621 # test to see if srcdir already configured
6622 if test -f $srcdir/config.status; then
6623 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6624 fi
6555fi
6556
6557# test whether we have cygpath
6558if test -z "$CYGPATH_W"; then
6559 if (cygpath --version) >/dev/null 2>/dev/null; then
6560 CYGPATH_W='cygpath -w'
6561 else
6562 CYGPATH_W=echo
6563 fi
6564fi
6565AC_SUBST([CYGPATH_W])
6566
6567# Define the identity of the package.
6568dnl Distinguish between old-style and new-style calls.
6569m4_ifval([$2],
6570[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
6571 AC_SUBST([PACKAGE], [$1])dnl
6572 AC_SUBST([VERSION], [$2])],
6573[_AM_SET_OPTIONS([$1])dnl
6625fi
6626
6627# test whether we have cygpath
6628if test -z "$CYGPATH_W"; then
6629 if (cygpath --version) >/dev/null 2>/dev/null; then
6630 CYGPATH_W='cygpath -w'
6631 else
6632 CYGPATH_W=echo
6633 fi
6634fi
6635AC_SUBST([CYGPATH_W])
6636
6637# Define the identity of the package.
6638dnl Distinguish between old-style and new-style calls.
6639m4_ifval([$2],
6640[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
6641 AC_SUBST([PACKAGE], [$1])dnl
6642 AC_SUBST([VERSION], [$2])],
6643[_AM_SET_OPTIONS([$1])dnl
6644dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
6645m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
6646 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
6574 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6575 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6576
6577_AM_IF_OPTION([no-define],,
6578[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6579 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
6580
6581# Some tools Automake needs.
6582AC_REQUIRE([AM_SANITY_CHECK])dnl
6583AC_REQUIRE([AC_ARG_PROGRAM])dnl
6584AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
6585AM_MISSING_PROG(AUTOCONF, autoconf)
6586AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
6587AM_MISSING_PROG(AUTOHEADER, autoheader)
6588AM_MISSING_PROG(MAKEINFO, makeinfo)
6647 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6648 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6649
6650_AM_IF_OPTION([no-define],,
6651[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6652 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
6653
6654# Some tools Automake needs.
6655AC_REQUIRE([AM_SANITY_CHECK])dnl
6656AC_REQUIRE([AC_ARG_PROGRAM])dnl
6657AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
6658AM_MISSING_PROG(AUTOCONF, autoconf)
6659AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
6660AM_MISSING_PROG(AUTOHEADER, autoheader)
6661AM_MISSING_PROG(MAKEINFO, makeinfo)
6589AM_PROG_INSTALL_SH
6590AM_PROG_INSTALL_STRIP
6662AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
6663AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
6591AC_REQUIRE([AM_PROG_MKDIR_P])dnl
6592# We need awk for the "check" target. The system "awk" is bad on
6593# some platforms.
6594AC_REQUIRE([AC_PROG_AWK])dnl
6595AC_REQUIRE([AC_PROG_MAKE_SET])dnl
6596AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6597_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
6664AC_REQUIRE([AM_PROG_MKDIR_P])dnl
6665# We need awk for the "check" target. The system "awk" is bad on
6666# some platforms.
6667AC_REQUIRE([AC_PROG_AWK])dnl
6668AC_REQUIRE([AC_PROG_MAKE_SET])dnl
6669AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6670_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
6598 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
6599 [_AM_PROG_TAR([v7])])])
6671 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
6672 [_AM_PROG_TAR([v7])])])
6600_AM_IF_OPTION([no-dependencies],,
6601[AC_PROVIDE_IFELSE([AC_PROG_CC],
6673_AM_IF_OPTION([no-dependencies],,
6674[AC_PROVIDE_IFELSE([AC_PROG_CC],
6602 [_AM_DEPENDENCIES(CC)],
6603 [define([AC_PROG_CC],
6604 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
6675 [_AM_DEPENDENCIES(CC)],
6676 [define([AC_PROG_CC],
6677 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
6605AC_PROVIDE_IFELSE([AC_PROG_CXX],
6678AC_PROVIDE_IFELSE([AC_PROG_CXX],
6606 [_AM_DEPENDENCIES(CXX)],
6607 [define([AC_PROG_CXX],
6608 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
6679 [_AM_DEPENDENCIES(CXX)],
6680 [define([AC_PROG_CXX],
6681 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
6682AC_PROVIDE_IFELSE([AC_PROG_OBJC],
6683 [_AM_DEPENDENCIES(OBJC)],
6684 [define([AC_PROG_OBJC],
6685 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
6609])
6686])
6687_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
6688dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
6689dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
6690dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
6691AC_CONFIG_COMMANDS_PRE(dnl
6692[m4_provide_if([_AM_COMPILER_EXEEXT],
6693 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
6610])
6611
6694])
6695
6696dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
6697dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
6698dnl mangled by Autoconf and run in a shell conditional statement.
6699m4_define([_AC_COMPILER_EXEEXT],
6700m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
6612
6701
6702
6613# When config.status generates a header, we must update the stamp-h file.
6614# This file resides in the same directory as the config header
6615# that is generated. The stamp files are numbered to have different names.
6616
6617# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
6618# loop where config.status creates the headers, so we can generate
6619# our stamp files there.
6620AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
6621[# Compute $1's index in $config_headers.
6703# When config.status generates a header, we must update the stamp-h file.
6704# This file resides in the same directory as the config header
6705# that is generated. The stamp files are numbered to have different names.
6706
6707# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
6708# loop where config.status creates the headers, so we can generate
6709# our stamp files there.
6710AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
6711[# Compute $1's index in $config_headers.
6712_am_arg=$1
6622_am_stamp_count=1
6623for _am_header in $config_headers :; do
6624 case $_am_header in
6713_am_stamp_count=1
6714for _am_header in $config_headers :; do
6715 case $_am_header in
6625 $1 | $1:* )
6716 $_am_arg | $_am_arg:* )
6626 break ;;
6627 * )
6628 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6629 esac
6630done
6717 break ;;
6718 * )
6719 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6720 esac
6721done
6631echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
6722echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
6632
6723
6633# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
6724# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
6634#
6635# This file is free software; the Free Software Foundation
6636# gives unlimited permission to copy and/or distribute it,
6637# with or without modifications, as long as this notice is preserved.
6638
6639# AM_PROG_INSTALL_SH
6640# ------------------
6641# Define $install_sh.
6642AC_DEFUN([AM_PROG_INSTALL_SH],
6643[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6725#
6726# This file is free software; the Free Software Foundation
6727# gives unlimited permission to copy and/or distribute it,
6728# with or without modifications, as long as this notice is preserved.
6729
6730# AM_PROG_INSTALL_SH
6731# ------------------
6732# Define $install_sh.
6733AC_DEFUN([AM_PROG_INSTALL_SH],
6734[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6644install_sh=${install_sh-"$am_aux_dir/install-sh"}
6735if test x"${install_sh}" != xset; then
6736 case $am_aux_dir in
6737 *\ * | *\ *)
6738 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
6739 *)
6740 install_sh="\${SHELL} $am_aux_dir/install-sh"
6741 esac
6742fi
6645AC_SUBST(install_sh)])
6646
6647# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
6648#
6649# This file is free software; the Free Software Foundation
6650# gives unlimited permission to copy and/or distribute it,
6651# with or without modifications, as long as this notice is preserved.
6652

--- 9 unchanged lines hidden (view full) ---

6662else
6663 am__leading_dot=_
6664fi
6665rmdir .tst 2>/dev/null
6666AC_SUBST([am__leading_dot])])
6667
6668# Check to see how 'make' treats includes. -*- Autoconf -*-
6669
6743AC_SUBST(install_sh)])
6744
6745# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
6746#
6747# This file is free software; the Free Software Foundation
6748# gives unlimited permission to copy and/or distribute it,
6749# with or without modifications, as long as this notice is preserved.
6750

--- 9 unchanged lines hidden (view full) ---

6760else
6761 am__leading_dot=_
6762fi
6763rmdir .tst 2>/dev/null
6764AC_SUBST([am__leading_dot])])
6765
6766# Check to see how 'make' treats includes. -*- Autoconf -*-
6767
6670# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
6768# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
6671#
6672# This file is free software; the Free Software Foundation
6673# gives unlimited permission to copy and/or distribute it,
6674# with or without modifications, as long as this notice is preserved.
6675
6769#
6770# This file is free software; the Free Software Foundation
6771# gives unlimited permission to copy and/or distribute it,
6772# with or without modifications, as long as this notice is preserved.
6773
6676# serial 3
6774# serial 4
6677
6678# AM_MAKE_INCLUDE()
6679# -----------------
6680# Check to see how make treats includes.
6681AC_DEFUN([AM_MAKE_INCLUDE],
6682[am_make=${MAKE-make}
6683cat > confinc << 'END'
6684am__doit:
6775
6776# AM_MAKE_INCLUDE()
6777# -----------------
6778# Check to see how make treats includes.
6779AC_DEFUN([AM_MAKE_INCLUDE],
6780[am_make=${MAKE-make}
6781cat > confinc << 'END'
6782am__doit:
6685 @echo done
6783 @echo this is the am__doit target
6686.PHONY: am__doit
6687END
6688# If we don't find an include directive, just comment out the code.
6689AC_MSG_CHECKING([for style of include used by $am_make])
6690am__include="#"
6691am__quote=
6692_am_result=none
6693# First try GNU make style include.
6694echo "include confinc" > confmf
6784.PHONY: am__doit
6785END
6786# If we don't find an include directive, just comment out the code.
6787AC_MSG_CHECKING([for style of include used by $am_make])
6788am__include="#"
6789am__quote=
6790_am_result=none
6791# First try GNU make style include.
6792echo "include confinc" > confmf
6695# We grep out `Entering directory' and `Leaving directory'
6696# messages which can occur if `w' ends up in MAKEFLAGS.
6697# In particular we don't look at `^make:' because GNU make might
6698# be invoked under some other name (usually "gmake"), in which
6699# case it prints its new name instead of `make'.
6700if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6701 am__include=include
6702 am__quote=
6703 _am_result=GNU
6704fi
6793# Ignore all kinds of additional output from `make'.
6794case `$am_make -s -f confmf 2> /dev/null` in #(
6795*the\ am__doit\ target*)
6796 am__include=include
6797 am__quote=
6798 _am_result=GNU
6799 ;;
6800esac
6705# Now try BSD make style include.
6706if test "$am__include" = "#"; then
6707 echo '.include "confinc"' > confmf
6801# Now try BSD make style include.
6802if test "$am__include" = "#"; then
6803 echo '.include "confinc"' > confmf
6708 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6709 am__include=.include
6710 am__quote="\""
6711 _am_result=BSD
6712 fi
6804 case `$am_make -s -f confmf 2> /dev/null` in #(
6805 *the\ am__doit\ target*)
6806 am__include=.include
6807 am__quote="\""
6808 _am_result=BSD
6809 ;;
6810 esac
6713fi
6714AC_SUBST([am__include])
6715AC_SUBST([am__quote])
6716AC_MSG_RESULT([$_am_result])
6717rm -f confinc confmf
6718])
6719
6811fi
6812AC_SUBST([am__include])
6813AC_SUBST([am__quote])
6814AC_MSG_RESULT([$_am_result])
6815rm -f confinc confmf
6816])
6817
6818# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
6819# Free Software Foundation, Inc.
6820#
6821# This file is free software; the Free Software Foundation
6822# gives unlimited permission to copy and/or distribute it,
6823# with or without modifications, as long as this notice is preserved.
6824
6825# serial 6
6826
6827# AM_PROG_CC_C_O
6828# --------------
6829# Like AC_PROG_CC_C_O, but changed for automake.
6830AC_DEFUN([AM_PROG_CC_C_O],
6831[AC_REQUIRE([AC_PROG_CC_C_O])dnl
6832AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6833AC_REQUIRE_AUX_FILE([compile])dnl
6834# FIXME: we rely on the cache variable name because
6835# there is no other way.
6836set dummy $CC
6837am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
6838eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6839if test "$am_t" != yes; then
6840 # Losing compiler, so override with the script.
6841 # FIXME: It is wrong to rewrite CC.
6842 # But if we don't then we get into trouble of one sort or another.
6843 # A longer-term fix would be to have automake use am__CC in this case,
6844 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6845 CC="$am_aux_dir/compile $CC"
6846fi
6847dnl Make sure AC_PROG_CC is never called again, or it will override our
6848dnl setting of CC.
6849m4_define([AC_PROG_CC],
6850 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
6851])
6852
6720# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
6721
6853# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
6854
6722# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
6855# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
6723# Free Software Foundation, Inc.
6724#
6725# This file is free software; the Free Software Foundation
6726# gives unlimited permission to copy and/or distribute it,
6727# with or without modifications, as long as this notice is preserved.
6728
6856# Free Software Foundation, Inc.
6857#
6858# This file is free software; the Free Software Foundation
6859# gives unlimited permission to copy and/or distribute it,
6860# with or without modifications, as long as this notice is preserved.
6861
6729# serial 4
6862# serial 6
6730
6731# AM_MISSING_PROG(NAME, PROGRAM)
6732# ------------------------------
6733AC_DEFUN([AM_MISSING_PROG],
6734[AC_REQUIRE([AM_MISSING_HAS_RUN])
6735$1=${$1-"${am_missing_run}$2"}
6736AC_SUBST($1)])
6737
6738
6739# AM_MISSING_HAS_RUN
6740# ------------------
6741# Define MISSING if not defined so far and test if it supports --run.
6742# If it does, set am_missing_run to use it, otherwise, to nothing.
6743AC_DEFUN([AM_MISSING_HAS_RUN],
6744[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6863
6864# AM_MISSING_PROG(NAME, PROGRAM)
6865# ------------------------------
6866AC_DEFUN([AM_MISSING_PROG],
6867[AC_REQUIRE([AM_MISSING_HAS_RUN])
6868$1=${$1-"${am_missing_run}$2"}
6869AC_SUBST($1)])
6870
6871
6872# AM_MISSING_HAS_RUN
6873# ------------------
6874# Define MISSING if not defined so far and test if it supports --run.
6875# If it does, set am_missing_run to use it, otherwise, to nothing.
6876AC_DEFUN([AM_MISSING_HAS_RUN],
6877[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6745test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
6878AC_REQUIRE_AUX_FILE([missing])dnl
6879if test x"${MISSING+set}" != xset; then
6880 case $am_aux_dir in
6881 *\ * | *\ *)
6882 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
6883 *)
6884 MISSING="\${SHELL} $am_aux_dir/missing" ;;
6885 esac
6886fi
6746# Use eval to expand $SHELL
6747if eval "$MISSING --run true"; then
6748 am_missing_run="$MISSING --run "
6749else
6750 am_missing_run=
6751 AC_MSG_WARN([`missing' script is too old or missing])
6752fi
6753])
6754
6887# Use eval to expand $SHELL
6888if eval "$MISSING --run true"; then
6889 am_missing_run="$MISSING --run "
6890else
6891 am_missing_run=
6892 AC_MSG_WARN([`missing' script is too old or missing])
6893fi
6894])
6895
6755# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
6896# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6756#
6757# This file is free software; the Free Software Foundation
6758# gives unlimited permission to copy and/or distribute it,
6759# with or without modifications, as long as this notice is preserved.
6760
6761# AM_PROG_MKDIR_P
6762# ---------------
6897#
6898# This file is free software; the Free Software Foundation
6899# gives unlimited permission to copy and/or distribute it,
6900# with or without modifications, as long as this notice is preserved.
6901
6902# AM_PROG_MKDIR_P
6903# ---------------
6763# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
6764#
6765# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
6766# created by `make install' are always world readable, even if the
6767# installer happens to have an overly restrictive umask (e.g. 077).
6768# This was a mistake. There are at least two reasons why we must not
6769# use `-m 0755':
6770# - it causes special bits like SGID to be ignored,
6771# - it may be too restrictive (some setups expect 775 directories).
6772#
6773# Do not use -m 0755 and let people choose whatever they expect by
6774# setting umask.
6775#
6776# We cannot accept any implementation of `mkdir' that recognizes `-p'.
6777# Some implementations (such as Solaris 8's) are not thread-safe: if a
6778# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
6779# concurrently, both version can detect that a/ is missing, but only
6780# one can create it and the other will error out. Consequently we
6781# restrict ourselves to GNU make (using the --version option ensures
6782# this.)
6904# Check for `mkdir -p'.
6783AC_DEFUN([AM_PROG_MKDIR_P],
6905AC_DEFUN([AM_PROG_MKDIR_P],
6784[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
6785 # We used to keeping the `.' as first argument, in order to
6786 # allow $(mkdir_p) to be used without argument. As in
6787 # $(mkdir_p) $(somedir)
6788 # where $(somedir) is conditionally defined. However this is wrong
6789 # for two reasons:
6790 # 1. if the package is installed by a user who cannot write `.'
6791 # make install will fail,
6792 # 2. the above comment should most certainly read
6793 # $(mkdir_p) $(DESTDIR)$(somedir)
6794 # so it does not work when $(somedir) is undefined and
6795 # $(DESTDIR) is not.
6796 # To support the latter case, we have to write
6797 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6798 # so the `.' trick is pointless.
6799 mkdir_p='mkdir -p --'
6800else
6801 # On NextStep and OpenStep, the `mkdir' command does not
6802 # recognize any option. It will interpret all options as
6803 # directories to create, and then abort because `.' already
6804 # exists.
6805 for d in ./-p ./--version;
6806 do
6807 test -d $d && rmdir $d
6808 done
6809 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6810 if test -f "$ac_aux_dir/mkinstalldirs"; then
6811 mkdir_p='$(mkinstalldirs)'
6812 else
6813 mkdir_p='$(install_sh) -d'
6814 fi
6815fi
6816AC_SUBST([mkdir_p])])
6906[AC_PREREQ([2.60])dnl
6907AC_REQUIRE([AC_PROG_MKDIR_P])dnl
6908dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
6909dnl while keeping a definition of mkdir_p for backward compatibility.
6910dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
6911dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
6912dnl Makefile.ins that do not define MKDIR_P, so we do our own
6913dnl adjustment using top_builddir (which is defined more often than
6914dnl MKDIR_P).
6915AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
6916case $mkdir_p in
6917 [[\\/$]]* | ?:[[\\/]]*) ;;
6918 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
6919esac
6920])
6817
6818# Helper functions for option handling. -*- Autoconf -*-
6819
6921
6922# Helper functions for option handling. -*- Autoconf -*-
6923
6820# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
6924# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
6821#
6822# This file is free software; the Free Software Foundation
6823# gives unlimited permission to copy and/or distribute it,
6824# with or without modifications, as long as this notice is preserved.
6825
6925#
6926# This file is free software; the Free Software Foundation
6927# gives unlimited permission to copy and/or distribute it,
6928# with or without modifications, as long as this notice is preserved.
6929
6826# serial 3
6930# serial 4
6827
6828# _AM_MANGLE_OPTION(NAME)
6829# -----------------------
6830AC_DEFUN([_AM_MANGLE_OPTION],
6831[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
6832
6833# _AM_SET_OPTION(NAME)
6834# ------------------------------
6835# Set option NAME. Presently that only means defining a flag for this option.
6836AC_DEFUN([_AM_SET_OPTION],
6837[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
6838
6839# _AM_SET_OPTIONS(OPTIONS)
6840# ----------------------------------
6841# OPTIONS is a space-separated list of Automake options.
6842AC_DEFUN([_AM_SET_OPTIONS],
6931
6932# _AM_MANGLE_OPTION(NAME)
6933# -----------------------
6934AC_DEFUN([_AM_MANGLE_OPTION],
6935[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
6936
6937# _AM_SET_OPTION(NAME)
6938# ------------------------------
6939# Set option NAME. Presently that only means defining a flag for this option.
6940AC_DEFUN([_AM_SET_OPTION],
6941[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
6942
6943# _AM_SET_OPTIONS(OPTIONS)
6944# ----------------------------------
6945# OPTIONS is a space-separated list of Automake options.
6946AC_DEFUN([_AM_SET_OPTIONS],
6843[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6947[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6844
6845# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
6846# -------------------------------------------
6847# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
6848AC_DEFUN([_AM_IF_OPTION],
6849[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
6850
6948
6949# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
6950# -------------------------------------------
6951# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
6952AC_DEFUN([_AM_IF_OPTION],
6953[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
6954
6851# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005
6955# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2006
6852# Free Software Foundation, Inc.
6853#
6854# This file is free software; the Free Software Foundation
6855# gives unlimited permission to copy and/or distribute it,
6856# with or without modifications, as long as this notice is preserved.
6857
6956# Free Software Foundation, Inc.
6957#
6958# This file is free software; the Free Software Foundation
6959# gives unlimited permission to copy and/or distribute it,
6960# with or without modifications, as long as this notice is preserved.
6961
6858# serial 4
6962# serial 5
6859
6860AC_DEFUN([AM_C_PROTOTYPES],
6861[AC_REQUIRE([AC_C_PROTOTYPES])
6862if test "$ac_cv_prog_cc_stdc" != no; then
6863 U= ANSI2KNR=
6864else
6865 U=_ ANSI2KNR=./ansi2knr
6866fi
6867# Ensure some checks needed by ansi2knr itself.
6868AC_REQUIRE([AC_HEADER_STDC])
6963
6964AC_DEFUN([AM_C_PROTOTYPES],
6965[AC_REQUIRE([AC_C_PROTOTYPES])
6966if test "$ac_cv_prog_cc_stdc" != no; then
6967 U= ANSI2KNR=
6968else
6969 U=_ ANSI2KNR=./ansi2knr
6970fi
6971# Ensure some checks needed by ansi2knr itself.
6972AC_REQUIRE([AC_HEADER_STDC])
6869AC_CHECK_HEADERS(string.h)
6870AC_SUBST(U)dnl
6871AC_SUBST(ANSI2KNR)dnl
6973AC_CHECK_HEADERS([string.h])
6974AC_SUBST([U])dnl
6975AC_SUBST([ANSI2KNR])dnl
6976_AM_SUBST_NOTMAKE([ANSI2KNR])dnl
6872])
6873
6874AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
6875
6876# Check to make sure that the build environment is sane. -*- Autoconf -*-
6877
6977])
6978
6979AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
6980
6981# Check to make sure that the build environment is sane. -*- Autoconf -*-
6982
6878# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
6983# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
6879# Free Software Foundation, Inc.
6880#
6881# This file is free software; the Free Software Foundation
6882# gives unlimited permission to copy and/or distribute it,
6883# with or without modifications, as long as this notice is preserved.
6884
6984# Free Software Foundation, Inc.
6985#
6986# This file is free software; the Free Software Foundation
6987# gives unlimited permission to copy and/or distribute it,
6988# with or without modifications, as long as this notice is preserved.
6989
6885# serial 4
6990# serial 5
6886
6887# AM_SANITY_CHECK
6888# ---------------
6889AC_DEFUN([AM_SANITY_CHECK],
6890[AC_MSG_CHECKING([whether build environment is sane])
6891# Just in case
6892sleep 1
6893echo timestamp > conftest.file
6991
6992# AM_SANITY_CHECK
6993# ---------------
6994AC_DEFUN([AM_SANITY_CHECK],
6995[AC_MSG_CHECKING([whether build environment is sane])
6996# Just in case
6997sleep 1
6998echo timestamp > conftest.file
6999# Reject unsafe characters in $srcdir or the absolute working directory
7000# name. Accept space and tab only in the latter.
7001am_lf='
7002'
7003case `pwd` in
7004 *[[\\\"\#\$\&\'\`$am_lf]]*)
7005 AC_MSG_ERROR([unsafe absolute working directory name]);;
7006esac
7007case $srcdir in
7008 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
7009 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
7010esac
7011
6894# Do `set' in a subshell so we don't clobber the current shell's
6895# arguments. Must try -L first in case configure is actually a
6896# symlink; some systems play weird games with the mod time of symlinks
6897# (eg FreeBSD returns the mod time of the symlink's containing
6898# directory).
6899if (
7012# Do `set' in a subshell so we don't clobber the current shell's
7013# arguments. Must try -L first in case configure is actually a
7014# symlink; some systems play weird games with the mod time of symlinks
7015# (eg FreeBSD returns the mod time of the symlink's containing
7016# directory).
7017if (
6900 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7018 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
6901 if test "$[*]" = "X"; then
6902 # -L didn't work.
7019 if test "$[*]" = "X"; then
7020 # -L didn't work.
6903 set X `ls -t $srcdir/configure conftest.file`
7021 set X `ls -t "$srcdir/configure" conftest.file`
6904 fi
6905 rm -f conftest.file
6906 if test "$[*]" != "X $srcdir/configure conftest.file" \
6907 && test "$[*]" != "X conftest.file $srcdir/configure"; then
6908
6909 # If neither matched, then we have a broken ls. This can happen
6910 # if, for instance, CONFIG_SHELL is bash and it inherits a
6911 # broken ls alias from the environment. This has actually

--- 33 unchanged lines hidden (view full) ---

6945# Installed binaries are usually stripped using `strip' when the user
6946# run `make install-strip'. However `strip' might not be the right
6947# tool to use in cross-compilation environments, therefore Automake
6948# will honor the `STRIP' environment variable to overrule this program.
6949dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
6950if test "$cross_compiling" != no; then
6951 AC_CHECK_TOOL([STRIP], [strip], :)
6952fi
7022 fi
7023 rm -f conftest.file
7024 if test "$[*]" != "X $srcdir/configure conftest.file" \
7025 && test "$[*]" != "X conftest.file $srcdir/configure"; then
7026
7027 # If neither matched, then we have a broken ls. This can happen
7028 # if, for instance, CONFIG_SHELL is bash and it inherits a
7029 # broken ls alias from the environment. This has actually

--- 33 unchanged lines hidden (view full) ---

7063# Installed binaries are usually stripped using `strip' when the user
7064# run `make install-strip'. However `strip' might not be the right
7065# tool to use in cross-compilation environments, therefore Automake
7066# will honor the `STRIP' environment variable to overrule this program.
7067dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
7068if test "$cross_compiling" != no; then
7069 AC_CHECK_TOOL([STRIP], [strip], :)
7070fi
6953INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7071INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
6954AC_SUBST([INSTALL_STRIP_PROGRAM])])
6955
7072AC_SUBST([INSTALL_STRIP_PROGRAM])])
7073
7074# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
7075#
7076# This file is free software; the Free Software Foundation
7077# gives unlimited permission to copy and/or distribute it,
7078# with or without modifications, as long as this notice is preserved.
7079
7080# serial 2
7081
7082# _AM_SUBST_NOTMAKE(VARIABLE)
7083# ---------------------------
7084# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
7085# This macro is traced by Automake.
7086AC_DEFUN([_AM_SUBST_NOTMAKE])
7087
7088# AM_SUBST_NOTMAKE(VARIABLE)
7089# ---------------------------
7090# Public sister of _AM_SUBST_NOTMAKE.
7091AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
7092
6956# Check how to create a tarball. -*- Autoconf -*-
6957
6958# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
6959#
6960# This file is free software; the Free Software Foundation
6961# gives unlimited permission to copy and/or distribute it,
6962# with or without modifications, as long as this notice is preserved.
6963

--- 92 unchanged lines hidden ---
7093# Check how to create a tarball. -*- Autoconf -*-
7094
7095# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
7096#
7097# This file is free software; the Free Software Foundation
7098# gives unlimited permission to copy and/or distribute it,
7099# with or without modifications, as long as this notice is preserved.
7100

--- 92 unchanged lines hidden ---