1# generated automatically by aclocal 1.11 -*- Autoconf -*- |
2 3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
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 |
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 |
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 |
6186# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
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. |
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]) |
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 |
6212# AM_SET_CURRENT_AUTOMAKE_VERSION 6213# ------------------------------- |
6214# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 6215# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
6216AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
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]))]) |
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 |
6277# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 |
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 |
6284# serial 9 |
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 |
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 |
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 |
6311# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
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 |
6318# serial 10 |
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=], |
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 |
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" |
6408 case $depmode in |
6409 gcc) 6410 # This depmode causes a compiler race in universal mode. 6411 test "$am__universal" = false || continue 6412 ;; |
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 ;; |
6429 none) break ;; 6430 esac |
6431 if depmode=$depmode \ |
6432 source=sub/conftest.c object=$am__obj \ |
6433 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6434 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
6435 >/dev/null 2>conftest.err && |
6436 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
6437 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6438 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
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]) |
6489AC_SUBST([AMDEPBACKSLASH])dnl 6490_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
6491]) 6492 6493# Generate code to set up dependency tracking. -*- Autoconf -*- 6494 |
6495# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
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 |
6502#serial 5 |
6503 6504# _AM_OUTPUT_DEPENDENCY_COMMANDS 6505# ------------------------------ 6506AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
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 |
6555 done |
6556} |
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 |
6587# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 6588# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
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 |
6594# serial 16 |
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], |
6611[AC_PREREQ([2.62])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 |
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 |
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 |
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) |
6662AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 6663AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
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])], |
6671 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 6672 [_AM_PROG_TAR([v7])])]) |
6673_AM_IF_OPTION([no-dependencies],, 6674[AC_PROVIDE_IFELSE([AC_PROG_CC], |
6675 [_AM_DEPENDENCIES(CC)], 6676 [define([AC_PROG_CC], 6677 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
6678AC_PROVIDE_IFELSE([AC_PROG_CXX], |
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 |
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 |
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])]) |
6701 |
6702 |
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 |
6713_am_stamp_count=1 6714for _am_header in $config_headers :; do 6715 case $_am_header in |
6716 $_am_arg | $_am_arg:* ) |
6717 break ;; 6718 * ) 6719 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6720 esac 6721done |
6722echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
6723 |
6724# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. |
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 |
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 |
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 |
6768# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. |
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 |
6774# serial 4 |
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: |
6783 @echo this is the am__doit target |
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 |
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 |
6801# Now try BSD make style include. 6802if test "$am__include" = "#"; then 6803 echo '.include "confinc"' > confmf |
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 |
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 |
6853# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 6854 |
6855# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
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 |
6862# serial 6 |
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 |
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 |
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 |
6896# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
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# --------------- |
6904# Check for `mkdir -p'. |
6905AC_DEFUN([AM_PROG_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]) |
6921 6922# Helper functions for option handling. -*- Autoconf -*- 6923 |
6924# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
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 |
6930# serial 4 |
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], |
6947[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
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 |
6955# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2006 |
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 |
6962# serial 5 |
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]) |
6973AC_CHECK_HEADERS([string.h]) 6974AC_SUBST([U])dnl 6975AC_SUBST([ANSI2KNR])dnl 6976_AM_SUBST_NOTMAKE([ANSI2KNR])dnl |
6977]) 6978 6979AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) 6980 6981# Check to make sure that the build environment is sane. -*- Autoconf -*- 6982 |
6983# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 |
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 |
6990# serial 5 |
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 |
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 ( |
7018 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
7019 if test "$[*]" = "X"; then 7020 # -L didn't work. |
7021 set X `ls -t "$srcdir/configure" conftest.file` |
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 |
7071INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
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 |
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 --- |