Changeset 44f44617 for aclocal.m4
- Timestamp:
- Jul 5, 2017, 4:29:43 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 8c97ee7, b72d4ed
- Parents:
- 307a732
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
r307a732 r44f44617 1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 5 # Inc. 1 # generated automatically by aclocal 1.15 -*- Autoconf -*- 2 3 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 4 6 5 # This file is free software; the Free Software Foundation 7 6 # gives unlimited permission to copy and/or distribute it, … … 13 12 # PARTICULAR PURPOSE. 14 13 14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) 15 15 m4_ifndef([AC_AUTOCONF_VERSION], 16 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.6 8],,18 [m4_warning([this file was generated for autoconf 2.6 8.17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, 18 [m4_warning([this file was generated for autoconf 2.69. 19 19 You have another version of autoconf. It may work, but is not guaranteed to. 20 20 If you have problems, you may need to regenerate the build system entirely. 21 To do so, use the procedure documented by the package, typically `autoreconf'.])]) 22 23 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software 24 # Foundation, Inc. 25 # 26 # This file is free software; the Free Software Foundation 27 # gives unlimited permission to copy and/or distribute it, 28 # with or without modifications, as long as this notice is preserved. 29 30 # serial 1 21 To do so, use the procedure documented by the package, typically 'autoreconf'.])]) 22 23 # Copyright (C) 2002-2014 Free Software Foundation, Inc. 24 # 25 # This file is free software; the Free Software Foundation 26 # gives unlimited permission to copy and/or distribute it, 27 # with or without modifications, as long as this notice is preserved. 31 28 32 29 # AM_AUTOMAKE_VERSION(VERSION) … … 36 33 # (This private macro should not be called outside this file.) 37 34 AC_DEFUN([AM_AUTOMAKE_VERSION], 38 [am__api_version='1.1 1'35 [am__api_version='1.15' 39 36 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 40 37 dnl require some minimum version. Point them to the right macro. 41 m4_if([$1], [1.1 1.3], [],38 m4_if([$1], [1.15], [], 42 39 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 43 40 ]) … … 55 52 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 56 53 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 57 [AM_AUTOMAKE_VERSION([1.1 1.3])dnl54 [AM_AUTOMAKE_VERSION([1.15])dnl 58 55 m4_ifndef([AC_AUTOCONF_VERSION], 59 56 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl … … 62 59 # Figure out how to run the assembler. -*- Autoconf -*- 63 60 64 # Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 65 # 66 # This file is free software; the Free Software Foundation 67 # gives unlimited permission to copy and/or distribute it, 68 # with or without modifications, as long as this notice is preserved. 69 70 # serial 5 61 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 62 # 63 # This file is free software; the Free Software Foundation 64 # gives unlimited permission to copy and/or distribute it, 65 # with or without modifications, as long as this notice is preserved. 71 66 72 67 # AM_PROG_AS … … 84 79 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 85 80 86 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 87 # 88 # This file is free software; the Free Software Foundation 89 # gives unlimited permission to copy and/or distribute it, 90 # with or without modifications, as long as this notice is preserved. 91 92 # serial 1 81 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 82 # 83 # This file is free software; the Free Software Foundation 84 # gives unlimited permission to copy and/or distribute it, 85 # with or without modifications, as long as this notice is preserved. 93 86 94 87 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 95 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to96 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.88 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to 89 # '$srcdir', '$srcdir/..', or '$srcdir/../..'. 97 90 # 98 91 # Of course, Automake must honor this variable whenever it calls a … … 113 106 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 114 107 # are both prefixed by $srcdir. In an in-source build this is usually 115 # harmless because $srcdir is `.', but things will broke when you108 # harmless because $srcdir is '.', but things will broke when you 116 109 # start a VPATH build or use an absolute $srcdir. 117 110 # … … 131 124 132 125 AC_DEFUN([AM_AUX_DIR_EXPAND], 133 [dnl Rely on autoconf to set up CDPATH properly. 134 AC_PREREQ([2.50])dnl 135 # expand $ac_aux_dir to an absolute path 136 am_aux_dir=`cd $ac_aux_dir && pwd` 126 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 127 # Expand $ac_aux_dir to an absolute path. 128 am_aux_dir=`cd "$ac_aux_dir" && pwd` 137 129 ]) 138 130 139 131 # AM_COND_IF -*- Autoconf -*- 140 132 141 # Copyright (C) 2008, 2010 Free Software Foundation, Inc. 142 # 143 # This file is free software; the Free Software Foundation 144 # gives unlimited permission to copy and/or distribute it, 145 # with or without modifications, as long as this notice is preserved. 146 147 # serial 3 133 # Copyright (C) 2008-2014 Free Software Foundation, Inc. 134 # 135 # This file is free software; the Free Software Foundation 136 # gives unlimited permission to copy and/or distribute it, 137 # with or without modifications, as long as this notice is preserved. 148 138 149 139 # _AM_COND_IF … … 155 145 m4_define([_AM_COND_ELSE]) 156 146 m4_define([_AM_COND_ENDIF]) 157 158 147 159 148 # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE]) … … 179 168 # AM_CONDITIONAL -*- Autoconf -*- 180 169 181 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 182 # Free Software Foundation, Inc. 183 # 184 # This file is free software; the Free Software Foundation 185 # gives unlimited permission to copy and/or distribute it, 186 # with or without modifications, as long as this notice is preserved. 187 188 # serial 9 170 # Copyright (C) 1997-2014 Free Software Foundation, Inc. 171 # 172 # This file is free software; the Free Software Foundation 173 # gives unlimited permission to copy and/or distribute it, 174 # with or without modifications, as long as this notice is preserved. 189 175 190 176 # AM_CONDITIONAL(NAME, SHELL-CONDITION) … … 192 178 # Define a conditional. 193 179 AC_DEFUN([AM_CONDITIONAL], 194 [AC_PREREQ( 2.52)dnl195 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],196 180 [AC_PREREQ([2.52])dnl 181 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 182 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 197 183 AC_SUBST([$1_TRUE])dnl 198 184 AC_SUBST([$1_FALSE])dnl … … 213 199 fi])]) 214 200 215 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 216 # 2010, 2011 Free Software Foundation, Inc. 217 # 218 # This file is free software; the Free Software Foundation 219 # gives unlimited permission to copy and/or distribute it, 220 # with or without modifications, as long as this notice is preserved. 221 222 # serial 12 223 224 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 201 # Copyright (C) 1999-2014 Free Software Foundation, Inc. 202 # 203 # This file is free software; the Free Software Foundation 204 # gives unlimited permission to copy and/or distribute it, 205 # with or without modifications, as long as this notice is preserved. 206 207 208 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be 225 209 # written in clear, in which case automake, when reading aclocal.m4, 226 210 # will think it sees a *use*, and therefore will trigger all it's … … 232 216 # ---------------------- 233 217 # See how the compiler implements dependency checking. 234 # NAME is "CC", "CXX", " GCJ", or "OBJC".218 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". 235 219 # We try a few techniques and use that to set a single cache variable. 236 220 # … … 245 229 AC_REQUIRE([AM_DEP_TRACK])dnl 246 230 247 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 248 [$1], CXX, [depcc="$CXX" am_compiler_list=], 249 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 250 [$1], UPC, [depcc="$UPC" am_compiler_list=], 251 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 252 [depcc="$$1" am_compiler_list=]) 231 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], 232 [$1], [CXX], [depcc="$CXX" am_compiler_list=], 233 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 234 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], 235 [$1], [UPC], [depcc="$UPC" am_compiler_list=], 236 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 237 [depcc="$$1" am_compiler_list=]) 253 238 254 239 AC_CACHE_CHECK([dependency style of $depcc], … … 258 243 # making bogus files that we don't know about and never remove. For 259 244 # instance it was reported that on HP-UX the gcc test will end up 260 # making a dummy file named `D' -- because `-MD' means `put the output261 # in D '.245 # making a dummy file named 'D' -- because '-MD' means "put the output 246 # in D". 262 247 rm -rf conftest.dir 263 248 mkdir conftest.dir … … 299 284 for i in 1 2 3 4 5 6; do 300 285 echo '#include "conftst'$i'.h"' >> sub/conftest.c 301 # Using `: > sub/conftst$i.h'creates only sub/conftst1.h with302 # Solaris 8's {/usr,}/bin/sh.303 touchsub/conftst$i.h286 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 287 # Solaris 10 /bin/sh. 288 echo '/* dummy */' > sub/conftst$i.h 304 289 done 305 290 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 306 291 307 # We check with `-c' and `-o' for the sake of the "dashmstdout"292 # We check with '-c' and '-o' for the sake of the "dashmstdout" 308 293 # mode. It turns out that the SunPro C++ compiler does not properly 309 # handle `-M -o', and we need to detect this. Also, some Intel310 # versions had trouble with output in subdirs 294 # handle '-M -o', and we need to detect this. Also, some Intel 295 # versions had trouble with output in subdirs. 311 296 am__obj=sub/conftest.${OBJEXT-o} 312 297 am__minus_obj="-o $am__obj" … … 317 302 ;; 318 303 nosideeffect) 319 # after this tag, mechanisms are not by side-effect, so they'll320 # only be used when explicitly requested 304 # After this tag, mechanisms are not by side-effect, so they'll 305 # only be used when explicitly requested. 321 306 if test "x$enable_dependency_tracking" = xyes; then 322 307 continue … … 326 311 ;; 327 312 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 328 # This compiler won't grok `-c -o', but also, the minuso test has313 # This compiler won't grok '-c -o', but also, the minuso test has 329 314 # not run yet. These depmodes are late enough in the game, and 330 315 # so weak that their functioning should not be impacted. … … 374 359 # ------------- 375 360 # Choose a directory name for dependency files. 376 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 361 # This macro is AC_REQUIREd in _AM_DEPENDENCIES. 377 362 AC_DEFUN([AM_SET_DEPDIR], 378 363 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl … … 384 369 # ------------ 385 370 AC_DEFUN([AM_DEP_TRACK], 386 [AC_ARG_ENABLE(dependency-tracking, 387 [ --disable-dependency-tracking speeds up one-time build 388 --enable-dependency-tracking do not reject slow dependency extractors]) 371 [AC_ARG_ENABLE([dependency-tracking], [dnl 372 AS_HELP_STRING( 373 [--enable-dependency-tracking], 374 [do not reject slow dependency extractors]) 375 AS_HELP_STRING( 376 [--disable-dependency-tracking], 377 [speeds up one-time build])]) 389 378 if test "x$enable_dependency_tracking" != xno; then 390 379 am_depcomp="$ac_aux_dir/depcomp" … … 401 390 # Generate code to set up dependency tracking. -*- Autoconf -*- 402 391 403 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 404 # Free Software Foundation, Inc. 405 # 406 # This file is free software; the Free Software Foundation 407 # gives unlimited permission to copy and/or distribute it, 408 # with or without modifications, as long as this notice is preserved. 409 410 #serial 5 392 # Copyright (C) 1999-2014 Free Software Foundation, Inc. 393 # 394 # This file is free software; the Free Software Foundation 395 # gives unlimited permission to copy and/or distribute it, 396 # with or without modifications, as long as this notice is preserved. 397 411 398 412 399 # _AM_OUTPUT_DEPENDENCY_COMMANDS … … 414 401 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 415 402 [{ 416 # Autoconf 2.62quotes --file arguments for eval, but not when files403 # Older Autoconf quotes --file arguments for eval, but not when files 417 404 # are listed without --file. Let's play safe and only enable the eval 418 405 # if we detect the quoting. … … 427 414 mf=`echo "$mf" | sed -e 's/:.*$//'` 428 415 # Check whether this is an Automake generated Makefile or not. 429 # We used to match only the files named `Makefile.in', but416 # We used to match only the files named 'Makefile.in', but 430 417 # some people rename them; so instead we look at the file content. 431 418 # Grep'ing the first line is not enough: some people post-process … … 439 426 fi 440 427 # Extract the definition of DEPDIR, am__include, and am__quote 441 # from the Makefile without running `make'.428 # from the Makefile without running 'make'. 442 429 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 443 430 test -z "$DEPDIR" && continue 444 431 am__include=`sed -n 's/^am__include = //p' < "$mf"` 445 test -z " am__include" && continue432 test -z "$am__include" && continue 446 433 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 447 # When using ansi2knr, U may be empty or an underscore; expand it448 U=`sed -n 's/^U = //p' < "$mf"`449 434 # Find all dependency output files, they are included files with 450 435 # $(DEPDIR) in their names. We invoke sed twice because it is the … … 453 438 for file in `sed -n " 454 439 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 455 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do440 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 456 441 # Make sure the directory exists. 457 442 test -f "$dirpart/$file" && continue … … 471 456 # 472 457 # This code is only required when automatic dependency tracking 473 # is enabled. FIXME. This creates each `.P' file that we will458 # is enabled. FIXME. This creates each '.P' file that we will 474 459 # need in order to bootstrap the dependency handling code. 475 460 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], … … 481 466 # Do all the work for Automake. -*- Autoconf -*- 482 467 483 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 484 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. 485 # 486 # This file is free software; the Free Software Foundation 487 # gives unlimited permission to copy and/or distribute it, 488 # with or without modifications, as long as this notice is preserved. 489 490 # serial 16 468 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 469 # 470 # This file is free software; the Free Software Foundation 471 # gives unlimited permission to copy and/or distribute it, 472 # with or without modifications, as long as this notice is preserved. 491 473 492 474 # This macro actually does too much. Some checks are only needed if 493 475 # your package does certain things. But this isn't really a big deal. 476 477 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. 478 m4_define([AC_PROG_CC], 479 m4_defn([AC_PROG_CC]) 480 [_AM_PROG_CC_C_O 481 ]) 494 482 495 483 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) … … 505 493 # release and drop the old call support. 506 494 AC_DEFUN([AM_INIT_AUTOMAKE], 507 [AC_PREREQ([2.6 2])dnl495 [AC_PREREQ([2.65])dnl 508 496 dnl Autoconf wants to disallow AM_ names. We explicitly allow 509 497 dnl the ones we care about. … … 534 522 dnl Distinguish between old-style and new-style calls. 535 523 m4_ifval([$2], 536 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 524 [AC_DIAGNOSE([obsolete], 525 [$0: two- and three-arguments forms are deprecated.]) 526 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 537 527 AC_SUBST([PACKAGE], [$1])dnl 538 528 AC_SUBST([VERSION], [$2])], 539 529 [_AM_SET_OPTIONS([$1])dnl 540 530 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 541 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 531 m4_if( 532 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), 533 [ok:ok],, 542 534 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 543 535 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl … … 545 537 546 538 _AM_IF_OPTION([no-define],, 547 [AC_DEFINE_UNQUOTED( PACKAGE, "$PACKAGE", [Name of package])548 AC_DEFINE_UNQUOTED( VERSION, "$VERSION", [Version number of package])])dnl539 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 540 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl 549 541 550 542 # Some tools Automake needs. 551 543 AC_REQUIRE([AM_SANITY_CHECK])dnl 552 544 AC_REQUIRE([AC_ARG_PROGRAM])dnl 553 AM_MISSING_PROG( ACLOCAL, aclocal-${am__api_version})554 AM_MISSING_PROG( AUTOCONF, autoconf)555 AM_MISSING_PROG( AUTOMAKE, automake-${am__api_version})556 AM_MISSING_PROG( AUTOHEADER, autoheader)557 AM_MISSING_PROG( MAKEINFO, makeinfo)545 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 546 AM_MISSING_PROG([AUTOCONF], [autoconf]) 547 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 548 AM_MISSING_PROG([AUTOHEADER], [autoheader]) 549 AM_MISSING_PROG([MAKEINFO], [makeinfo]) 558 550 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 559 551 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 560 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 561 # We need awk for the "check" target. The system "awk" is bad on 562 # some platforms. 552 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 553 # For better backward compatibility. To be removed once Automake 1.9.x 554 # dies out for good. For more background, see: 555 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 556 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 557 AC_SUBST([mkdir_p], ['$(MKDIR_P)']) 558 # We need awk for the "check" target (and possibly the TAP driver). The 559 # system "awk" is bad on some platforms. 563 560 AC_REQUIRE([AC_PROG_AWK])dnl 564 561 AC_REQUIRE([AC_PROG_MAKE_SET])dnl … … 569 566 _AM_IF_OPTION([no-dependencies],, 570 567 [AC_PROVIDE_IFELSE([AC_PROG_CC], 571 [_AM_DEPENDENCIES( CC)],572 [ define([AC_PROG_CC],573 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl568 [_AM_DEPENDENCIES([CC])], 569 [m4_define([AC_PROG_CC], 570 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 574 571 AC_PROVIDE_IFELSE([AC_PROG_CXX], 575 [_AM_DEPENDENCIES( CXX)],576 [ define([AC_PROG_CXX],577 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl572 [_AM_DEPENDENCIES([CXX])], 573 [m4_define([AC_PROG_CXX], 574 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 578 575 AC_PROVIDE_IFELSE([AC_PROG_OBJC], 579 [_AM_DEPENDENCIES(OBJC)], 580 [define([AC_PROG_OBJC], 581 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 582 ]) 583 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl 584 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the 585 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro 586 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. 576 [_AM_DEPENDENCIES([OBJC])], 577 [m4_define([AC_PROG_OBJC], 578 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 579 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 580 [_AM_DEPENDENCIES([OBJCXX])], 581 [m4_define([AC_PROG_OBJCXX], 582 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 583 ]) 584 AC_REQUIRE([AM_SILENT_RULES])dnl 585 dnl The testsuite driver may need to know about EXEEXT, so add the 586 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This 587 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. 587 588 AC_CONFIG_COMMANDS_PRE(dnl 588 589 [m4_provide_if([_AM_COMPILER_EXEEXT], 589 590 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 590 ]) 591 592 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 591 592 # POSIX will say in a future version that running "rm -f" with no argument 593 # is OK; and we want to be able to make that assumption in our Makefile 594 # recipes. So use an aggressive probe to check that the usage we want is 595 # actually supported "in the wild" to an acceptable degree. 596 # See automake bug#10828. 597 # To make any issue more visible, cause the running configure to be aborted 598 # by default if the 'rm' program in use doesn't match our expectations; the 599 # user can still override this though. 600 if rm -f && rm -fr && rm -rf; then : OK; else 601 cat >&2 <<'END' 602 Oops! 603 604 Your 'rm' program seems unable to run without file operands specified 605 on the command line, even when the '-f' option is present. This is contrary 606 to the behaviour of most rm programs out there, and not conforming with 607 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 608 609 Please tell bug-automake@gnu.org about your system, including the value 610 of your $PATH and any error possibly output before this message. This 611 can help us improve future automake versions. 612 613 END 614 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 615 echo 'Configuration will proceed anyway, since you have set the' >&2 616 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 617 echo >&2 618 else 619 cat >&2 <<'END' 620 Aborting the configuration process, to ensure you take notice of the issue. 621 622 You can download and install GNU coreutils to get an 'rm' implementation 623 that behaves properly: <http://www.gnu.org/software/coreutils/>. 624 625 If you want to complete the configuration process using your problematic 626 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 627 to "yes", and re-run configure. 628 629 END 630 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) 631 fi 632 fi 633 dnl The trailing newline in this macro's definition is deliberate, for 634 dnl backward compatibility and to allow trailing 'dnl'-style comments 635 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. 636 ]) 637 638 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 593 639 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further 594 640 dnl mangled by Autoconf and run in a shell conditional statement. 595 641 m4_define([_AC_COMPILER_EXEEXT], 596 642 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) 597 598 643 599 644 # When config.status generates a header, we must update the stamp-h file. … … 618 663 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 619 664 620 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, 621 # Inc. 622 # 623 # This file is free software; the Free Software Foundation 624 # gives unlimited permission to copy and/or distribute it, 625 # with or without modifications, as long as this notice is preserved. 626 627 # serial 1 665 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 666 # 667 # This file is free software; the Free Software Foundation 668 # gives unlimited permission to copy and/or distribute it, 669 # with or without modifications, as long as this notice is preserved. 628 670 629 671 # AM_PROG_INSTALL_SH … … 632 674 AC_DEFUN([AM_PROG_INSTALL_SH], 633 675 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 634 if test x"${install_sh }" != xset; then676 if test x"${install_sh+set}" != xset; then 635 677 case $am_aux_dir in 636 678 *\ * | *\ *) … … 640 682 esac 641 683 fi 642 AC_SUBST(install_sh)]) 643 644 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. 645 # 646 # This file is free software; the Free Software Foundation 647 # gives unlimited permission to copy and/or distribute it, 648 # with or without modifications, as long as this notice is preserved. 649 650 # serial 2 684 AC_SUBST([install_sh])]) 685 686 # Copyright (C) 2003-2014 Free Software Foundation, Inc. 687 # 688 # This file is free software; the Free Software Foundation 689 # gives unlimited permission to copy and/or distribute it, 690 # with or without modifications, as long as this notice is preserved. 651 691 652 692 # Check whether the underlying file-system supports filenames … … 666 706 # From Jim Meyering 667 707 668 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 669 # 2011 Free Software Foundation, Inc. 670 # 671 # This file is free software; the Free Software Foundation 672 # gives unlimited permission to copy and/or distribute it, 673 # with or without modifications, as long as this notice is preserved. 674 675 # serial 5 708 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 709 # 710 # This file is free software; the Free Software Foundation 711 # gives unlimited permission to copy and/or distribute it, 712 # with or without modifications, as long as this notice is preserved. 676 713 677 714 # AM_MAINTAINER_MODE([DEFAULT-MODE]) 678 715 # ---------------------------------- 679 716 # Control maintainer-specific portions of Makefiles. 680 # Default is to disable them, unless `enable' is passed literally.681 # For symmetry, `disable' may be passed as well. Anyway, the user717 # Default is to disable them, unless 'enable' is passed literally. 718 # For symmetry, 'disable' may be passed as well. Anyway, the user 682 719 # can override the default with the --enable/--disable switch. 683 720 AC_DEFUN([AM_MAINTAINER_MODE], … … 690 727 dnl maintainer-mode's default is 'disable' unless 'enable' is passed 691 728 AC_ARG_ENABLE([maintainer-mode], 692 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful 693 (and sometimes confusing) to the casual installer], 694 [USE_MAINTAINER_MODE=$enableval], 695 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) 729 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], 730 am_maintainer_other[ make rules and dependencies not useful 731 (and sometimes confusing) to the casual installer])], 732 [USE_MAINTAINER_MODE=$enableval], 733 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) 696 734 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 697 735 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) … … 701 739 ) 702 740 703 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])704 705 741 # Check to see how 'make' treats includes. -*- Autoconf -*- 706 742 707 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. 708 # 709 # This file is free software; the Free Software Foundation 710 # gives unlimited permission to copy and/or distribute it, 711 # with or without modifications, as long as this notice is preserved. 712 713 # serial 4 743 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 744 # 745 # This file is free software; the Free Software Foundation 746 # gives unlimited permission to copy and/or distribute it, 747 # with or without modifications, as long as this notice is preserved. 714 748 715 749 # AM_MAKE_INCLUDE() … … 730 764 # First try GNU make style include. 731 765 echo "include confinc" > confmf 732 # Ignore all kinds of additional output from `make'.766 # Ignore all kinds of additional output from 'make'. 733 767 case `$am_make -s -f confmf 2> /dev/null` in #( 734 768 *the\ am__doit\ target*) … … 755 789 ]) 756 790 757 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008758 # Free Software Foundation, Inc.759 #760 # This file is free software; the Free Software Foundation761 # gives unlimited permission to copy and/or distribute it,762 # with or without modifications, as long as this notice is preserved.763 764 # serial 6765 766 # AM_PROG_CC_C_O767 # --------------768 # Like AC_PROG_CC_C_O, but changed for automake.769 AC_DEFUN([AM_PROG_CC_C_O],770 [AC_REQUIRE([AC_PROG_CC_C_O])dnl771 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl772 AC_REQUIRE_AUX_FILE([compile])dnl773 # FIXME: we rely on the cache variable name because774 # there is no other way.775 set dummy $CC776 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`777 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o778 if test "$am_t" != yes; then779 # Losing compiler, so override with the script.780 # FIXME: It is wrong to rewrite CC.781 # But if we don't then we get into trouble of one sort or another.782 # A longer-term fix would be to have automake use am__CC in this case,783 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"784 CC="$am_aux_dir/compile $CC"785 fi786 dnl Make sure AC_PROG_CC is never called again, or it will override our787 dnl setting of CC.788 m4_define([AC_PROG_CC],789 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])790 ])791 792 791 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 793 792 794 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 795 # Free Software Foundation, Inc. 796 # 797 # This file is free software; the Free Software Foundation 798 # gives unlimited permission to copy and/or distribute it, 799 # with or without modifications, as long as this notice is preserved. 800 801 # serial 6 793 # Copyright (C) 1997-2014 Free Software Foundation, Inc. 794 # 795 # This file is free software; the Free Software Foundation 796 # gives unlimited permission to copy and/or distribute it, 797 # with or without modifications, as long as this notice is preserved. 802 798 803 799 # AM_MISSING_PROG(NAME, PROGRAM) … … 808 804 AC_SUBST($1)]) 809 805 810 811 806 # AM_MISSING_HAS_RUN 812 807 # ------------------ 813 # Define MISSING if not defined so far and test if it supports --run.814 # If it does, set am_missing_run to use it, otherwise, to nothing.808 # Define MISSING if not defined so far and test if it is modern enough. 809 # If it is, set am_missing_run to use it, otherwise, to nothing. 815 810 AC_DEFUN([AM_MISSING_HAS_RUN], 816 811 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl … … 825 820 fi 826 821 # Use eval to expand $SHELL 827 if eval "$MISSING -- run true"; then828 am_missing_run="$MISSING --run"822 if eval "$MISSING --is-lightweight"; then 823 am_missing_run="$MISSING " 829 824 else 830 825 am_missing_run= 831 AC_MSG_WARN([`missing' script is too old or missing]) 832 fi 833 ]) 834 835 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, 836 # Inc. 837 # 838 # This file is free software; the Free Software Foundation 839 # gives unlimited permission to copy and/or distribute it, 840 # with or without modifications, as long as this notice is preserved. 841 842 # serial 1 843 844 # AM_PROG_MKDIR_P 845 # --------------- 846 # Check for `mkdir -p'. 847 AC_DEFUN([AM_PROG_MKDIR_P], 848 [AC_PREREQ([2.60])dnl 849 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 850 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, 851 dnl while keeping a definition of mkdir_p for backward compatibility. 852 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. 853 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of 854 dnl Makefile.ins that do not define MKDIR_P, so we do our own 855 dnl adjustment using top_builddir (which is defined more often than 856 dnl MKDIR_P). 857 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 858 case $mkdir_p in 859 [[\\/$]]* | ?:[[\\/]]*) ;; 860 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 861 esac 826 AC_MSG_WARN(['missing' script is too old or missing]) 827 fi 862 828 ]) 863 829 864 830 # Helper functions for option handling. -*- Autoconf -*- 865 831 866 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software 867 # Foundation, Inc. 868 # 869 # This file is free software; the Free Software Foundation 870 # gives unlimited permission to copy and/or distribute it, 871 # with or without modifications, as long as this notice is preserved. 872 873 # serial 5 832 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 833 # 834 # This file is free software; the Free Software Foundation 835 # gives unlimited permission to copy and/or distribute it, 836 # with or without modifications, as long as this notice is preserved. 874 837 875 838 # _AM_MANGLE_OPTION(NAME) … … 882 845 # Set option NAME. Presently that only means defining a flag for this option. 883 846 AC_DEFUN([_AM_SET_OPTION], 884 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])847 [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) 885 848 886 849 # _AM_SET_OPTIONS(OPTIONS) … … 896 859 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 897 860 861 # Copyright (C) 1999-2014 Free Software Foundation, Inc. 862 # 863 # This file is free software; the Free Software Foundation 864 # gives unlimited permission to copy and/or distribute it, 865 # with or without modifications, as long as this notice is preserved. 866 867 # _AM_PROG_CC_C_O 868 # --------------- 869 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC 870 # to automatically call this. 871 AC_DEFUN([_AM_PROG_CC_C_O], 872 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 873 AC_REQUIRE_AUX_FILE([compile])dnl 874 AC_LANG_PUSH([C])dnl 875 AC_CACHE_CHECK( 876 [whether $CC understands -c and -o together], 877 [am_cv_prog_cc_c_o], 878 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) 879 # Make sure it works both with $CC and with simple cc. 880 # Following AC_PROG_CC_C_O, we do the test twice because some 881 # compilers refuse to overwrite an existing .o file with -o, 882 # though they will create one. 883 am_cv_prog_cc_c_o=yes 884 for am_i in 1 2; do 885 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ 886 && test -f conftest2.$ac_objext; then 887 : OK 888 else 889 am_cv_prog_cc_c_o=no 890 break 891 fi 892 done 893 rm -f core conftest* 894 unset am_i]) 895 if test "$am_cv_prog_cc_c_o" != yes; then 896 # Losing compiler, so override with the script. 897 # FIXME: It is wrong to rewrite CC. 898 # But if we don't then we get into trouble of one sort or another. 899 # A longer-term fix would be to have automake use am__CC in this case, 900 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 901 CC="$am_aux_dir/compile $CC" 902 fi 903 AC_LANG_POP([C])]) 904 905 # For backward compatibility. 906 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) 907 908 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 909 # 910 # This file is free software; the Free Software Foundation 911 # gives unlimited permission to copy and/or distribute it, 912 # with or without modifications, as long as this notice is preserved. 913 914 # AM_RUN_LOG(COMMAND) 915 # ------------------- 916 # Run COMMAND, save the exit status in ac_status, and log it. 917 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) 918 AC_DEFUN([AM_RUN_LOG], 919 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 920 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 921 ac_status=$? 922 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 923 (exit $ac_status); }]) 924 898 925 # Check to make sure that the build environment is sane. -*- Autoconf -*- 899 926 900 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 901 # Free Software Foundation, Inc. 902 # 903 # This file is free software; the Free Software Foundation 904 # gives unlimited permission to copy and/or distribute it, 905 # with or without modifications, as long as this notice is preserved. 906 907 # serial 5 927 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 928 # 929 # This file is free software; the Free Software Foundation 930 # gives unlimited permission to copy and/or distribute it, 931 # with or without modifications, as long as this notice is preserved. 908 932 909 933 # AM_SANITY_CHECK … … 911 935 AC_DEFUN([AM_SANITY_CHECK], 912 936 [AC_MSG_CHECKING([whether build environment is sane]) 913 # Just in case914 sleep 1915 echo timestamp > conftest.file916 937 # Reject unsafe characters in $srcdir or the absolute working directory 917 938 # name. Accept space and tab only in the latter. … … 924 945 case $srcdir in 925 946 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 926 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;947 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; 927 948 esac 928 949 929 # Do `set' in a subshell so we don't clobber the current shell's950 # Do 'set' in a subshell so we don't clobber the current shell's 930 951 # arguments. Must try -L first in case configure is actually a 931 952 # symlink; some systems play weird games with the mod time of symlinks … … 933 954 # directory). 934 955 if ( 935 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 936 if test "$[*]" = "X"; then 937 # -L didn't work. 938 set X `ls -t "$srcdir/configure" conftest.file` 939 fi 940 rm -f conftest.file 941 if test "$[*]" != "X $srcdir/configure conftest.file" \ 942 && test "$[*]" != "X conftest.file $srcdir/configure"; then 943 944 # If neither matched, then we have a broken ls. This can happen 945 # if, for instance, CONFIG_SHELL is bash and it inherits a 946 # broken ls alias from the environment. This has actually 947 # happened. Such a system could not be considered "sane". 948 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 949 alias in your environment]) 950 fi 951 956 am_has_slept=no 957 for am_try in 1 2; do 958 echo "timestamp, slept: $am_has_slept" > conftest.file 959 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 960 if test "$[*]" = "X"; then 961 # -L didn't work. 962 set X `ls -t "$srcdir/configure" conftest.file` 963 fi 964 if test "$[*]" != "X $srcdir/configure conftest.file" \ 965 && test "$[*]" != "X conftest.file $srcdir/configure"; then 966 967 # If neither matched, then we have a broken ls. This can happen 968 # if, for instance, CONFIG_SHELL is bash and it inherits a 969 # broken ls alias from the environment. This has actually 970 # happened. Such a system could not be considered "sane". 971 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 972 alias in your environment]) 973 fi 974 if test "$[2]" = conftest.file || test $am_try -eq 2; then 975 break 976 fi 977 # Just in case. 978 sleep 1 979 am_has_slept=yes 980 done 952 981 test "$[2]" = conftest.file 953 982 ) … … 959 988 Check your system clock]) 960 989 fi 961 AC_MSG_RESULT(yes)]) 962 963 # Copyright (C) 2009, 2011 Free Software Foundation, Inc. 964 # 965 # This file is free software; the Free Software Foundation 966 # gives unlimited permission to copy and/or distribute it, 967 # with or without modifications, as long as this notice is preserved. 968 969 # serial 2 990 AC_MSG_RESULT([yes]) 991 # If we didn't sleep, we still need to ensure time stamps of config.status and 992 # generated files are strictly newer. 993 am_sleep_pid= 994 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 995 ( sleep 1 ) & 996 am_sleep_pid=$! 997 fi 998 AC_CONFIG_COMMANDS_PRE( 999 [AC_MSG_CHECKING([that generated files are newer than configure]) 1000 if test -n "$am_sleep_pid"; then 1001 # Hide warnings about reused PIDs. 1002 wait $am_sleep_pid 2>/dev/null 1003 fi 1004 AC_MSG_RESULT([done])]) 1005 rm -f conftest.file 1006 ]) 1007 1008 # Copyright (C) 2009-2014 Free Software Foundation, Inc. 1009 # 1010 # This file is free software; the Free Software Foundation 1011 # gives unlimited permission to copy and/or distribute it, 1012 # with or without modifications, as long as this notice is preserved. 970 1013 971 1014 # AM_SILENT_RULES([DEFAULT]) 972 1015 # -------------------------- 973 1016 # Enable less verbose build rules; with the default set to DEFAULT 974 # ( `yes' being less verbose, `no'or empty being verbose).1017 # ("yes" being less verbose, "no" or empty being verbose). 975 1018 AC_DEFUN([AM_SILENT_RULES], 976 [AC_ARG_ENABLE([silent-rules], 977 [ --enable-silent-rules less verbose build output (undo: `make V=1') 978 --disable-silent-rules verbose build output (undo: `make V=0')]) 979 case $enable_silent_rules in 980 yes) AM_DEFAULT_VERBOSITY=0;; 981 no) AM_DEFAULT_VERBOSITY=1;; 982 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 1019 [AC_ARG_ENABLE([silent-rules], [dnl 1020 AS_HELP_STRING( 1021 [--enable-silent-rules], 1022 [less verbose build output (undo: "make V=1")]) 1023 AS_HELP_STRING( 1024 [--disable-silent-rules], 1025 [verbose build output (undo: "make V=0")])dnl 1026 ]) 1027 case $enable_silent_rules in @%:@ ((( 1028 yes) AM_DEFAULT_VERBOSITY=0;; 1029 no) AM_DEFAULT_VERBOSITY=1;; 1030 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 983 1031 esac 984 1032 dnl 985 dnl A few `make' implementations (e.g., NonStop OS and NextStep)1033 dnl A few 'make' implementations (e.g., NonStop OS and NextStep) 986 1034 dnl do not support nested variable expansions. 987 1035 dnl See automake bug#9928 and bug#10237. … … 1001 1049 fi]) 1002 1050 if test $am_cv_make_support_nested_variables = yes; then 1003 dnl Using `$V' instead of `$(V)' breaks IRIX make.1051 dnl Using '$V' instead of '$(V)' breaks IRIX make. 1004 1052 AM_V='$(V)' 1005 1053 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' … … 1018 1066 ]) 1019 1067 1020 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 1021 # 1022 # This file is free software; the Free Software Foundation 1023 # gives unlimited permission to copy and/or distribute it, 1024 # with or without modifications, as long as this notice is preserved. 1025 1026 # serial 1 1068 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 1069 # 1070 # This file is free software; the Free Software Foundation 1071 # gives unlimited permission to copy and/or distribute it, 1072 # with or without modifications, as long as this notice is preserved. 1027 1073 1028 1074 # AM_PROG_INSTALL_STRIP 1029 1075 # --------------------- 1030 # One issue with vendor `install' (even GNU) is that you can't1076 # One issue with vendor 'install' (even GNU) is that you can't 1031 1077 # specify the program used to strip binaries. This is especially 1032 1078 # annoying in cross-compiling environments, where the build's strip 1033 1079 # is unlikely to handle the host's binaries. 1034 1080 # Fortunately install-sh will honor a STRIPPROG variable, so we 1035 # always use install-sh in `make install-strip', and initialize1081 # always use install-sh in "make install-strip", and initialize 1036 1082 # STRIPPROG with the value of the STRIP variable (set by the user). 1037 1083 AC_DEFUN([AM_PROG_INSTALL_STRIP], 1038 1084 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1039 # Installed binaries are usually stripped using `strip' when the user1040 # run `make install-strip'. However `strip' might not be the right1085 # Installed binaries are usually stripped using 'strip' when the user 1086 # run "make install-strip". However 'strip' might not be the right 1041 1087 # tool to use in cross-compilation environments, therefore Automake 1042 # will honor the `STRIP' environment variable to overrule this program.1043 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.1088 # will honor the 'STRIP' environment variable to overrule this program. 1089 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. 1044 1090 if test "$cross_compiling" != no; then 1045 1091 AC_CHECK_TOOL([STRIP], [strip], :) … … 1048 1094 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1049 1095 1050 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. 1051 # 1052 # This file is free software; the Free Software Foundation 1053 # gives unlimited permission to copy and/or distribute it, 1054 # with or without modifications, as long as this notice is preserved. 1055 1056 # serial 3 1096 # Copyright (C) 2006-2014 Free Software Foundation, Inc. 1097 # 1098 # This file is free software; the Free Software Foundation 1099 # gives unlimited permission to copy and/or distribute it, 1100 # with or without modifications, as long as this notice is preserved. 1057 1101 1058 1102 # _AM_SUBST_NOTMAKE(VARIABLE) … … 1069 1113 # Check how to create a tarball. -*- Autoconf -*- 1070 1114 1071 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. 1072 # 1073 # This file is free software; the Free Software Foundation 1074 # gives unlimited permission to copy and/or distribute it, 1075 # with or without modifications, as long as this notice is preserved. 1076 1077 # serial 2 1115 # Copyright (C) 2004-2014 Free Software Foundation, Inc. 1116 # 1117 # This file is free software; the Free Software Foundation 1118 # gives unlimited permission to copy and/or distribute it, 1119 # with or without modifications, as long as this notice is preserved. 1078 1120 1079 1121 # _AM_PROG_TAR(FORMAT) 1080 1122 # -------------------- 1081 1123 # Check how to create a tarball in format FORMAT. 1082 # FORMAT should be one of `v7', `ustar', or `pax'.1124 # FORMAT should be one of 'v7', 'ustar', or 'pax'. 1083 1125 # 1084 1126 # Substitute a variable $(am__tar) that is a command … … 1090 1132 # a tarball read from stdin. 1091 1133 # $(am__untar) < result.tar 1134 # 1092 1135 AC_DEFUN([_AM_PROG_TAR], 1093 1136 [# Always define AMTAR for backward compatibility. Yes, it's still used 1094 1137 # in the wild :-( We should find a proper way to deprecate it ... 1095 1138 AC_SUBST([AMTAR], ['$${TAR-tar}']) 1139 1140 # We'll loop over all known methods to create a tar archive until one works. 1141 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1142 1096 1143 m4_if([$1], [v7], 1097 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 1098 [m4_case([$1], [ustar],, [pax],, 1099 [m4_fatal([Unknown tar format])]) 1100 AC_MSG_CHECKING([how to create a $1 tar archive]) 1101 # Loop over all known methods to create a tar archive until one works. 1102 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1103 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 1104 # Do not fold the above two line into one, because Tru64 sh and 1105 # Solaris sh will not grok spaces in the rhs of `-'. 1106 for _am_tool in $_am_tools 1107 do 1108 case $_am_tool in 1109 gnutar) 1110 for _am_tar in tar gnutar gtar; 1111 do 1112 AM_RUN_LOG([$_am_tar --version]) && break 1113 done 1114 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 1115 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 1116 am__untar="$_am_tar -xf -" 1117 ;; 1118 plaintar) 1119 # Must skip GNU tar: if it does not support --format= it doesn't create 1120 # ustar tarball either. 1121 (tar --version) >/dev/null 2>&1 && continue 1122 am__tar='tar chf - "$$tardir"' 1123 am__tar_='tar chf - "$tardir"' 1124 am__untar='tar xf -' 1125 ;; 1126 pax) 1127 am__tar='pax -L -x $1 -w "$$tardir"' 1128 am__tar_='pax -L -x $1 -w "$tardir"' 1129 am__untar='pax -r' 1130 ;; 1131 cpio) 1132 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 1133 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 1134 am__untar='cpio -i -H $1 -d' 1135 ;; 1136 none) 1137 am__tar=false 1138 am__tar_=false 1139 am__untar=false 1140 ;; 1141 esac 1142 1143 # If the value was cached, stop now. We just wanted to have am__tar 1144 # and am__untar set. 1145 test -n "${am_cv_prog_tar_$1}" && break 1146 1147 # tar/untar a dummy directory, and stop if the command works 1144 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 1145 1146 [m4_case([$1], 1147 [ustar], 1148 [# The POSIX 1988 'ustar' format is defined with fixed-size fields. 1149 # There is notably a 21 bits limit for the UID and the GID. In fact, 1150 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 1151 # and bug#13588). 1152 am_max_uid=2097151 # 2^21 - 1 1153 am_max_gid=$am_max_uid 1154 # The $UID and $GID variables are not portable, so we need to resort 1155 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 1156 # below are definitely unexpected, so allow the users to see them 1157 # (that is, avoid stderr redirection). 1158 am_uid=`id -u || echo unknown` 1159 am_gid=`id -g || echo unknown` 1160 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) 1161 if test $am_uid -le $am_max_uid; then 1162 AC_MSG_RESULT([yes]) 1163 else 1164 AC_MSG_RESULT([no]) 1165 _am_tools=none 1166 fi 1167 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) 1168 if test $am_gid -le $am_max_gid; then 1169 AC_MSG_RESULT([yes]) 1170 else 1171 AC_MSG_RESULT([no]) 1172 _am_tools=none 1173 fi], 1174 1175 [pax], 1176 [], 1177 1178 [m4_fatal([Unknown tar format])]) 1179 1180 AC_MSG_CHECKING([how to create a $1 tar archive]) 1181 1182 # Go ahead even if we have the value already cached. We do so because we 1183 # need to set the values for the 'am__tar' and 'am__untar' variables. 1184 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 1185 1186 for _am_tool in $_am_tools; do 1187 case $_am_tool in 1188 gnutar) 1189 for _am_tar in tar gnutar gtar; do 1190 AM_RUN_LOG([$_am_tar --version]) && break 1191 done 1192 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 1193 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 1194 am__untar="$_am_tar -xf -" 1195 ;; 1196 plaintar) 1197 # Must skip GNU tar: if it does not support --format= it doesn't create 1198 # ustar tarball either. 1199 (tar --version) >/dev/null 2>&1 && continue 1200 am__tar='tar chf - "$$tardir"' 1201 am__tar_='tar chf - "$tardir"' 1202 am__untar='tar xf -' 1203 ;; 1204 pax) 1205 am__tar='pax -L -x $1 -w "$$tardir"' 1206 am__tar_='pax -L -x $1 -w "$tardir"' 1207 am__untar='pax -r' 1208 ;; 1209 cpio) 1210 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 1211 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 1212 am__untar='cpio -i -H $1 -d' 1213 ;; 1214 none) 1215 am__tar=false 1216 am__tar_=false 1217 am__untar=false 1218 ;; 1219 esac 1220 1221 # If the value was cached, stop now. We just wanted to have am__tar 1222 # and am__untar set. 1223 test -n "${am_cv_prog_tar_$1}" && break 1224 1225 # tar/untar a dummy directory, and stop if the command works. 1226 rm -rf conftest.dir 1227 mkdir conftest.dir 1228 echo GrepMe > conftest.dir/file 1229 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1230 rm -rf conftest.dir 1231 if test -s conftest.tar; then 1232 AM_RUN_LOG([$am__untar <conftest.tar]) 1233 AM_RUN_LOG([cat conftest.dir/file]) 1234 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 1235 fi 1236 done 1148 1237 rm -rf conftest.dir 1149 mkdir conftest.dir 1150 echo GrepMe > conftest.dir/file 1151 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1152 rm -rf conftest.dir 1153 if test -s conftest.tar; then 1154 AM_RUN_LOG([$am__untar <conftest.tar]) 1155 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 1156 fi 1157 done 1158 rm -rf conftest.dir 1159 1160 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1161 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1238 1239 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1240 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1241 1162 1242 AC_SUBST([am__tar]) 1163 1243 AC_SUBST([am__untar])
Note: See TracChangeset
for help on using the changeset viewer.