Changeset 13127
- Timestamp:
- 10/22/09 00:16:36 (1 month ago)
- Files:
-
- src/router/wifidog/ChangeLog (modified) (17 diffs)
- src/router/wifidog/INSTALL (modified) (7 diffs)
- src/router/wifidog/Makefile.in (modified) (13 diffs)
- src/router/wifidog/NEWS (modified) (1 diff)
- src/router/wifidog/aclocal.m4 (modified) (42 diffs)
- src/router/wifidog/config/config.guess (modified) (3 diffs)
- src/router/wifidog/config/config.sub (modified) (3 diffs)
- src/router/wifidog/config/install-sh (modified) (4 diffs)
- src/router/wifidog/config/ltmain.sh (modified) (14 diffs)
- src/router/wifidog/config/missing (modified) (17 diffs)
- src/router/wifidog/configure (modified) (132 diffs)
- src/router/wifidog/configure.in (modified) (3 diffs)
- src/router/wifidog/doc/Makefile.in (modified) (10 diffs)
- src/router/wifidog/doc/html/annotated.html (modified) (1 diff)
- src/router/wifidog/doc/html/doxygen.css (modified) (11 diffs)
- src/router/wifidog/doc/html/files.html (modified) (2 diffs)
- src/router/wifidog/doc/html/functions.html (modified) (8 diffs)
- src/router/wifidog/doc/html/functions_vars.html (modified) (8 diffs)
- src/router/wifidog/doc/html/index.html (modified) (1 diff)
- src/router/wifidog/doc/html/main.html (modified) (1 diff)
- src/router/wifidog/doc/html/struct__auth__serv__t.html (modified) (9 diffs)
- src/router/wifidog/doc/html/struct__firewall__rule__t.html (modified) (6 diffs)
- src/router/wifidog/doc/html/struct__firewall__ruleset__t.html (modified) (1 diff)
- src/router/wifidog/doc/html/struct__t__authresponse.html (modified) (4 diffs)
- src/router/wifidog/doc/html/struct__t__client.html (modified) (10 diffs)
- src/router/wifidog/doc/html/struct__t__counters.html (modified) (7 diffs)
- src/router/wifidog/doc/html/struct__trusted__mac__t.html (modified) (1 diff)
- src/router/wifidog/doc/html/structs__config.html (modified) (28 diffs)
- src/router/wifidog/doc/html/tabs.css (modified) (1 diff)
- src/router/wifidog/doc/html/tree.html (modified) (4 diffs)
- src/router/wifidog/libhttpd/Makefile.in (modified) (8 diffs)
- src/router/wifidog/libhttpd/api.c (modified) (28 diffs)
- src/router/wifidog/libhttpd/httpd.h (modified) (7 diffs)
- src/router/wifidog/libhttpd/httpd_priv.h (modified) (2 diffs)
- src/router/wifidog/libhttpd/protocol.c (modified) (3 diffs)
- src/router/wifidog/src/Makefile.in (modified) (8 diffs)
- src/router/wifidog/src/auth.c (modified) (4 diffs)
- src/router/wifidog/src/auth.h (modified) (2 diffs)
- src/router/wifidog/src/centralserver.c (modified) (4 diffs)
- src/router/wifidog/src/centralserver.h (modified) (2 diffs)
- src/router/wifidog/src/client_list.c (modified) (6 diffs)
- src/router/wifidog/src/client_list.h (modified) (2 diffs)
- src/router/wifidog/src/conf.c (modified) (16 diffs)
- src/router/wifidog/src/conf.h (modified) (6 diffs)
- src/router/wifidog/src/firewall.c (modified) (6 diffs)
- src/router/wifidog/src/fw_iptables.c (modified) (14 diffs)
- src/router/wifidog/src/fw_iptables.h (modified) (3 diffs)
- src/router/wifidog/src/http.c (modified) (11 diffs)
- src/router/wifidog/src/http.h (modified) (2 diffs)
- src/router/wifidog/src/ping_thread.c (modified) (2 diffs)
- src/router/wifidog/src/util.c (modified) (14 diffs)
- src/router/wifidog/src/util.h (modified) (2 diffs)
- src/router/wifidog/src/wdctl.c (modified) (5 diffs)
- src/router/wifidog/wifidog.conf (modified) (5 diffs)
- src/router/wifidog/wifidog.spec (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/router/wifidog/ChangeLog
r9429 r13127 1 # $Id: ChangeLog 1344 2008-04-13 22:52:36Z benoitg $ 2 2008-04-13 Benoit Grégoire <bock@step.polymtl.ca> 1 # $Id: ChangeLog 1420 2009-09-18 23:01:57Z gbastien $ 2 3 2009-09-17 GeneviÚve Bastien <gbastien@versatic.net> 4 * Documented #537 5 * Fixed #472, patch by Jean-Philippe Menil 6 * Fixed #515, using the gateway interface instead of the gateway id in the iptables chain 7 8 2009-07-02 Benoit Grégoire <bock@step.polymtl.ca> 9 * Re-fix #505, #525 and fix #584, sorry about that. 10 11 2009-06-26 Benoit Grégoire <bock@step.polymtl.ca> 12 * Fix #518 13 14 2009-02-27 Benoit Grégoire <bock@step.polymtl.ca> 15 * Fix #488 and #493 (arp_get() in firewall.c couldn't parse lowercase mac's from /proc/net/arp) with patch from jch@pps.jussieu.fr. Otherwise wifidog wouldn't work with recent openwrt and Ubuntu. 16 * Fix #525 17 18 2008-09-30 Wichert Akkerman <wichert@wiggy.net> 19 * Add exitcode to iptables failure errors. 20 * Include the gw_id in auth server updates so the client does not have 21 to keep track of it in a session. 22 * Include the gateway id in the firewall table names. Fixes ticket #466 23 * URL encode the token before transmitting (it was already decoded). 24 Fixes ticket #473 25 * Clean up compiler warnings. 26 * Security: strncpy may not NUL-terminate strings, so enforce this 27 ourselves. Fixes ticket #464 28 * Make it possible to protect the status page. Fixes ticket #463. 29 30 2008-07-20 Alexandre Carmel-Veilleux <acv@miniguru.ca> 31 * src/util.c: Fixed #include bug that caused segfaults on newer Linux 32 33 2008-04-21 Alexandre Carmel-Veilleux <acv@miniguru.ca> 34 * Integrated patch #452 from Wichert Akkerman <wichert@wiggy.net>: Add const to function arguments in libhttpd to enforce more type checking and prevent certain class of problems. 35 * Compatiblity fix: Libhttpd assumes that type u_int is defined. Added an #ifndef/#include <sys/types.h> pair to httpd.h to make sure that assertion is true. 36 * Integrated patch #453 from Wichert Akkerman <wichert@wiggy.net>: Add configurable html to wifidog error messages. This has been a long-requested feature. 37 38 2008-04-13 Benoit Grégoire <bock@step.polymtl.ca> 3 39 * contrib/build-openwrt-kamikazeipk/wifidog/Makefile: Add iptables userspace dependencies 4 40 * Release 1.1.5 5 41 6 2008-03-24 Benoit Gr égoire <bock@step.polymtl.ca>42 2008-03-24 Benoit Grégoire <bock@step.polymtl.ca> 7 43 * Integrate with OpenWRT kamikaze build system 8 44 9 2007-11-01 Benoit Gr égoire <bock@step.polymtl.ca>45 2007-11-01 Benoit Grégoire <bock@step.polymtl.ca> 10 46 * Apply portability patches by David Young <dyoung@pobox.com>. These have been reviewed, but not tested. 11 47 12 2007-10-18 Benoit Gr égoire <bock@step.polymtl.ca>48 2007-10-18 Benoit Grégoire <bock@step.polymtl.ca> 13 49 * fw_iptables.c: From Philippe April: reverted change made in 1241 so we properly remove the entry from mangle.WiFiDog_Incoming when kicking out users, it was affecting statistics 14 50 * Update doxygen.cfg.in for latest version and to fix path ambiguity during make dist. 15 51 * Release 1.1.4 16 52 17 2007-07-06 Benoit Gr égoire <bock@step.polymtl.ca>53 2007-07-06 Benoit Grégoire <bock@step.polymtl.ca> 18 54 * Makefile.am: Slight change in make ipk tagrget. It seems that sometimes builddir isn't defined. srcdir works just as well in this case. 19 55 20 2007-06-27 Benoit Gr égoire <bock@step.polymtl.ca>56 2007-06-27 Benoit Grégoire <bock@step.polymtl.ca> 21 57 * util.c: Fix while loop initialisation bug 22 58 * conf.h: Forgot to change the value of NUM_EXT_INTERFACE_DETECT_RETRY to actually make it wait forever. … … 26 62 * Release 1.1.3 final 27 63 28 2007-06-24 Benoit Gr égoire <bock@step.polymtl.ca>64 2007-06-24 Benoit Grégoire <bock@step.polymtl.ca> 29 65 * Close #321: Make the Gateway retry forever if it cannot find it's interface. You never know when someone may finally replug the network cable or something... 30 66 * Close #332: Apply patch from Laurent Marchal. biguphpc<AT>gmail<DOT>com … … 34 70 * Release 1.1.3_rc1 35 71 36 2007-05-24 Benoit Gr égoire <bock@step.polymtl.ca>72 2007-05-24 Benoit Grégoire <bock@step.polymtl.ca> 37 73 * wdctl_thread.c: Fix #324, again. Credit goes to Medea, I misunderstood his instructons. 38 74 * From David Bird <david@coova.com> libhttpd/: Fix #266 - don't process query string parameters and keep them in that request.path. 39 75 40 2007-05-18 Benoit Gr égoire <bock@step.polymtl.ca>76 2007-05-18 Benoit Grégoire <bock@step.polymtl.ca> 41 77 * wdctl_thread.c: Fix #324 42 78 43 2007-04-26 Benoit Gr égoire <bock@step.polymtl.ca>79 2007-04-26 Benoit Grégoire <bock@step.polymtl.ca> 44 80 * wifidog.conf: Improve comments and add examples of blocking access to the upstream LAN. 45 81 46 2007-04-26 Benoit Gr égoire <bock@step.polymtl.ca>82 2007-04-26 Benoit Grégoire <bock@step.polymtl.ca> 47 83 * conf.h: The DEFAULT_CHECKINTERVAL was 5 instead of 60 (as stated in the config file) which caused huge needless load on the auth servers, and needless ping traffic towards the clients if it wasn't manually set. 48 84 49 2007-04-09 Benoit Gr égoire <bock@step.polymtl.ca>85 2007-04-09 Benoit Grégoire <bock@step.polymtl.ca> 50 86 * Makefile.am: Slight path fix when using building make ipk. Tell me if you have trouble with this 51 87 52 2007-01-06 Benoit Gr égoire <bock@step.polymtl.ca>88 2007-01-06 Benoit Grégoire <bock@step.polymtl.ca> 53 89 * contrib/ Add contrib dir to collect the scripts and other code distributed with, but not really part of wifidog. 54 90 * Include the scripts used to build a ipkg on Openwrt RC6 and 0.9 … … 61 97 * contrib/dump_fw.sh: Convenience script for firewall debugging. 62 98 63 2007-01-06 Benoit Gr égoire <bock@step.polymtl.ca>99 2007-01-06 Benoit Grégoire <bock@step.polymtl.ca> 64 100 * Documentation update in the code 65 101 * Released 1.1.3_beta6 66 102 67 2006-10-26 Benoit Gr égoire <bock@step.polymtl.ca>103 2006-10-26 Benoit Grégoire <bock@step.polymtl.ca> 68 104 * src/conf.h: Fix #238 by using $sysconfdir to compute the default config-file location. 69 105 … … 73 109 * Added comments. 74 110 75 2006-09-14 Benoit Gr égoire <bock@step.polymtl.ca>111 2006-09-14 Benoit Grégoire <bock@step.polymtl.ca> 76 112 * src/util.c, src/conf.h: Fix autodectection of the External interface if not specified in the config file. If the interface (typically pppoe) wasn't yet fully up when wifidog starts, wifidog would stop every connection from going trough. It will now retry every second for up to two minutes, and then exit with a fatal error if it can't successfully detect it. 77 113 … … 84 120 * Released 1.1.3_beta4 85 121 86 2006-02-06 Benoit Gr égoire <bock@step.polymtl.ca>122 2006-02-06 Benoit Grégoire <bock@step.polymtl.ca> 87 123 * src/fw_iptables.c: Fix deleting the rules on shutdown. 88 124 89 2006-01-31 Benoit Gr égoire <bock@step.polymtl.ca>125 2006-01-31 Benoit Grégoire <bock@step.polymtl.ca> 90 126 * Release 1.1.3_beta2 91 127 92 2006-01-31 Benoit Gr égoire <bock@step.polymtl.ca>128 2006-01-31 Benoit Grégoire <bock@step.polymtl.ca> 93 129 * src/fw_iptables.c: Add the global ruleset to the nat table to fix #65. 94 130 Add the table parameter to iptables_load_ruleset() and iptables_compile … … 96 132 * src/conf.c,h: Remove deprecated option AuthServMaxTries (which was already ignored anyway. 97 133 98 2006-01-23 Benoit Gr égoire <bock@step.polymtl.ca>134 2006-01-23 Benoit Grégoire <bock@step.polymtl.ca> 99 135 * src/conf.h: Fix the value of DEFAULT_AUTHSERVPATH and completely wrong code comment. Not the default indicated in the config file and the define are in sync. 100 136 … … 399 435 auth_server->last_ip always equals NULL when first filled. 400 436 401 2004-12-16 Benoit Gr égoire <bock@step.polymtl.ca>437 2004-12-16 Benoit Grégoire <bock@step.polymtl.ca> 402 438 * src/fw_iptables.c: Display iptables command that is run in debug mode. 403 439 404 2004-12-07 Benoit Gr égoire <bock@step.polymtl.ca>440 2004-12-07 Benoit Grégoire <bock@step.polymtl.ca> 405 441 * src/firewall.c: Fix reversed incoming and outgoing connections in statistics code 406 442 * bump version to alpha3 … … 425 461 * configure.in: bumped version to 1.1.0-alpha2 426 462 427 2004-11-18 Benoit Gr égoire <bock@step.polymtl.ca>463 2004-11-18 Benoit Grégoire <bock@step.polymtl.ca> 428 464 * src/ping_thread.c: Merge phil's bug fixes from stable branch 429 465 * ipkg/rules: Merge phil's bug fixes from stable branch … … 513 549 * All over src/: Compiled with -Wall and fixed all nagging. 514 550 515 2004-08-30 Benoit Gr égoire <bock@step.polymtl.ca>551 2004-08-30 Benoit Grégoire <bock@step.polymtl.ca> 516 552 * Makefile.am: Add rpm target 517 553 * wifidog.spec.in: Rework spec file. Now works and include the init script … … 521 557 * src/wdctl.c: Change some message, make sure wdctl return 0 unless there is an error. 522 558 523 2004-08-30 Benoit Gr égoire <bock@step.polymtl.ca>559 2004-08-30 Benoit Grégoire <bock@step.polymtl.ca> 524 560 * README.openwrt: Documentation update 525 561 * Makefile.am: Make a ipkg target to ease WRT54G installation … … 547 583 * We should now be able to package .deb and .rpm from dist. 548 584 549 2004-08-27 Benoit Gr égoire <bock@step.polymtl.ca>585 2004-08-27 Benoit Grégoire <bock@step.polymtl.ca> 550 586 * README.openwrt,src/conf.c,h: Documentation update 551 587 * src/gateway.c, src/ping_thread.c, src/wdctl.c, src/wdctl_thread.c: Fix linking problems related to errno.h and extern int errno … … 557 593 * src/auth.c: Path as changed in 1.26 was preceded by a /, the path already contains a / so it would yield http://host//path/ 558 594 559 2004-08-25 Benoit Gr égoire <bock@step.polymtl.ca>595 2004-08-25 Benoit Grégoire <bock@step.polymtl.ca> 560 596 * src/auth.c: Remove hardcoded path. 561 597 562 2004-08-23 Benoit Gr égoire <bock@step.polymtl.ca>598 2004-08-23 Benoit Grégoire <bock@step.polymtl.ca> 563 599 * src/ping_thread.c: Send the gateway id to the central server during ping, so the server know which gateway checked in, and then knows for sure that it is up (well, once the server implements it...). 564 600 565 2004-08-23 Benoit Gr égoire <bock@step.polymtl.ca>601 2004-08-23 Benoit Grégoire <bock@step.polymtl.ca> 566 602 * src/centralserver.c: Fix path for auth by appending /auth/ to auth_server->authserv_path. Wifidog works again. 567 603 … … 599 635 * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c 600 636 601 2004-08-01 Benoit Gr égoire <bock@step.polymtl.ca>637 2004-08-01 Benoit Grégoire <bock@step.polymtl.ca> 602 638 * Delete everything in phpauth, it will now live in it's own module (wifidog-auth) 603 639 … … 629 665 * Fixed bugs implemented after major changes 630 666 631 2004-05-27 Benoit Gr égoire <bock@step.polymtl.ca>667 2004-05-27 Benoit Grégoire <bock@step.polymtl.ca> 632 668 * Massive Doxygen update in all files. IMPORTANT: The new convention is: @brief in the .h, long description and parameters in the .c 633 669 * Cleaned up some more issues in my notes taken at the formal review … … 713 749 * Changed some debugging severity 714 750 715 2004-04-19 Benoit Gr égoire <bock@step.polymtl.ca>751 2004-04-19 Benoit Grégoire <bock@step.polymtl.ca> 716 752 * Properly integrate libhttpd into the source tree ;) Note that this will create a proper system wide shared library for libghttpd. Still to be done: 1- Store Mina's patch somewhere, in case we want to upgrade libhttpd. 2-Add configure option not to build httpd, and use an already installed one. 717 753 … … 826 862 * Tiny change to increase cross-platform compatibility. It can now build on OS X and it comes close to building on my old BSD box. 827 863 828 2004-03-08 Benoit Gr égoire <bock@step.polymtl.ca>864 2004-03-08 Benoit Grégoire <bock@step.polymtl.ca> 829 865 * Initial CVS import. Integrate a standrad GNU build system and Doxygen to the build process. Add Doxygen and CVS headers, .cvsignores, etc. Note that the imported code is Philippe April (papril777 at yahoo.com)'s work. Tell me if I forgot anything. Please note that the paths in the src/fw* scripts are still hardcoded. Don't forget to update the ChangeLog file every commit and add doxygen comments to your code. Happy hacking. 830 866 src/router/wifidog/INSTALL
r8966 r13127 1 Installation Instructions2 *************************3 4 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,5 2006 Free Software Foundation, Inc.6 7 This file is free documentation; the Free Software Foundation gives8 unlimited permission to copy, distribute and modify it.9 10 1 Basic Installation 11 2 ================== 12 3 13 Briefly, the shell commands `./configure; make; make install' should 14 configure, build, and install this package. The following 15 more-detailed instructions are generic; see the `README' file for 16 instructions specific to this package. 4 These are generic installation instructions. 17 5 18 6 The `configure' shell script attempts to guess correct values for … … 21 9 It may also create one or more `.h' files containing system-dependent 22 10 definitions. Finally, it creates a shell script `config.status' that 23 you can run in the future to recreate the current configuration, and a 24 file `config.log' containing compiler output (useful mainly for 25 debugging `configure'). 26 27 It can also use an optional file (typically called `config.cache' 28 and enabled with `--cache-file=config.cache' or simply `-C') that saves 29 the results of its tests to speed up reconfiguring. Caching is 30 disabled by default to prevent problems with accidental use of stale 31 cache files. 11 you can run in the future to recreate the current configuration, a file 12 `config.cache' that saves the results of its tests to speed up 13 reconfiguring, and a file `config.log' containing compiler output 14 (useful mainly for debugging `configure'). 32 15 33 16 If you need to do unusual things to compile the package, please try 34 17 to figure out how `configure' could check whether to do them, and mail 35 18 diffs or instructions to the address given in the `README' so they can 36 be considered for the next release. If you are using the cache, and at 37 some point `config.cache' contains results you don't want to keep, you 38 may remove or edit it. 19 be considered for the next release. If at some point `config.cache' 20 contains results you don't want to keep, you may remove or edit it. 39 21 40 The file `configure.ac' (or `configure.in') is used to create 41 `configure' by a program called `autoconf'. You need `configure.ac' if 42 you want to change it or regenerate `configure' using a newer version 43 of `autoconf'. 22 The file `configure.in' is used to create `configure' by a program 23 called `autoconf'. You only need `configure.in' if you want to change 24 it or regenerate `configure' using a newer version of `autoconf'. 44 25 45 26 The simplest way to compile this package is: 46 27 47 28 1. `cd' to the directory containing the package's source code and type 48 `./configure' to configure the package for your system. 29 `./configure' to configure the package for your system. If you're 30 using `csh' on an old version of System V, you might need to type 31 `sh ./configure' instead to prevent `csh' from trying to execute 32 `configure' itself. 49 33 50 Running `configure' might take a while. While running, it prints51 somemessages telling which features it is checking for.34 Running `configure' takes awhile. While running, it prints some 35 messages telling which features it is checking for. 52 36 53 37 2. Type `make' to compile the package. … … 71 55 ===================== 72 56 73 Some systems require unusual options for compilation or linking that the 74 `configure' script does not know about. Run `./configure --help' for 75 details on some of the pertinent environment variables. 57 Some systems require unusual options for compilation or linking that 58 the `configure' script does not know about. You can give `configure' 59 initial values for variables by setting them in the environment. Using 60 a Bourne-compatible shell, you can do that on the command line like 61 this: 62 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure 76 63 77 You can give `configure' initial values for configuration parameters 78 by setting variables in the command line or in the environment. Here 79 is an example: 80 81 ./configure CC=c99 CFLAGS=-g LIBS=-lposix 82 83 *Note Defining Variables::, for more details. 64 Or on systems that have the `env' program, you can do it like this: 65 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure 84 66 85 67 Compiling For Multiple Architectures 86 68 ==================================== 87 69 88 You can compile the package for more than one kind of computer at the70 You can compile the package for more than one kind of computer at the 89 71 same time, by placing the object files for each architecture in their 90 own directory. To do this, you can use GNU `make'. `cd' to the 72 own directory. To do this, you must use a version of `make' that 73 supports the `VPATH' variable, such as GNU `make'. `cd' to the 91 74 directory where you want the object files and executables to go and run 92 75 the `configure' script. `configure' automatically checks for the 93 76 source code in the directory that `configure' is in and in `..'. 94 77 95 With a non-GNU `make', it is safer to compile the package for one 96 architecture at a time in the source code directory. After you have 97 installed the package for one architecture, use `make distclean' before 98 reconfiguring for another architecture. 78 If you have to use a `make' that does not supports the `VPATH' 79 variable, you have to compile the package for one architecture at a time 80 in the source code directory. After you have installed the package for 81 one architecture, use `make distclean' before reconfiguring for another 82 architecture. 99 83 100 84 Installation Names 101 85 ================== 102 86 103 By default, `make install' installs the package's commands under 104 `/usr/local/bin', include files under `/usr/local/include', etc. You105 can specify an installation prefix other than `/usr/local' by giving 106 `configure' the option `--prefix=PREFIX'.87 By default, `make install' will install the package's files in 88 `/usr/local/bin', `/usr/local/man', etc. You can specify an 89 installation prefix other than `/usr/local' by giving `configure' the 90 option `--prefix=PATH'. 107 91 108 92 You can specify separate installation prefixes for 109 93 architecture-specific files and architecture-independent files. If you 110 pass the option `--exec-prefix=PREFIX' to `configure', the package uses 111 P REFIXas the prefix for installing programs and libraries.112 Documentation and other data files still use the regular prefix.94 give `configure' the option `--exec-prefix=PATH', the package will use 95 PATH as the prefix for installing programs and libraries. 96 Documentation and other data files will still use the regular prefix. 113 97 114 98 In addition, if you use an unusual directory layout you can give 115 options like `--bindir= DIR' to specify different values for particular99 options like `--bindir=PATH' to specify different values for particular 116 100 kinds of files. Run `configure --help' for a list of the directories 117 101 you can set and what kinds of files go in them. … … 124 108 ================= 125 109 126 Some packages pay attention to `--enable-FEATURE' options to110 Some packages pay attention to `--enable-FEATURE' options to 127 111 `configure', where FEATURE indicates an optional part of the package. 128 112 They may also pay attention to `--with-PACKAGE' options, where PACKAGE … … 139 123 ========================== 140 124 141 There may be some features `configure' cannot figure out automatically, 142 but needs to determine by the type of machine the package will run on. 143 Usually, assuming the package is built to be run on the _same_ 144 architectures, `configure' can figure that out, but if it prints a 145 message saying it cannot guess the machine type, give it the 146 `--build=TYPE' option. TYPE can either be a short name for the system 147 type, such as `sun4', or a canonical name which has the form: 148 125 There may be some features `configure' can not figure out 126 automatically, but needs to determine by the type of host the package 127 will run on. Usually `configure' can figure that out, but if it prints 128 a message saying it can not guess the host type, give it the 129 `--host=TYPE' option. TYPE can either be a short name for the system 130 type, such as `sun4', or a canonical name with three fields: 149 131 CPU-COMPANY-SYSTEM 150 132 151 where SYSTEM can have one of these forms: 133 See the file `config.sub' for the possible values of each field. If 134 `config.sub' isn't included in this package, then this package doesn't 135 need to know the host type. 152 136 153 OS KERNEL-OS 154 155 See the file `config.sub' for the possible values of each field. If 156 `config.sub' isn't included in this package, then this package doesn't 157 need to know the machine type. 158 159 If you are _building_ compiler tools for cross-compiling, you should 160 use the option `--target=TYPE' to select the type of system they will 161 produce code for. 162 163 If you want to _use_ a cross compiler, that generates code for a 164 platform different from the build platform, you should specify the 165 "host" platform (i.e., that on which the generated programs will 166 eventually be run) with `--host=TYPE'. 137 If you are building compiler tools for cross-compiling, you can also 138 use the `--target=TYPE' option to select the type of system they will 139 produce code for and the `--build=TYPE' option to select the type of 140 system on which you are compiling the package. 167 141 168 142 Sharing Defaults 169 143 ================ 170 144 171 If you want to set default values for `configure' scripts to share, you 172 can create a site shell script called `config.site' that gives default 173 values for variables like `CC', `cache_file', and `prefix'.145 If you want to set default values for `configure' scripts to share, 146 you can create a site shell script called `config.site' that gives 147 default values for variables like `CC', `cache_file', and `prefix'. 174 148 `configure' looks for `PREFIX/share/config.site' if it exists, then 175 149 `PREFIX/etc/config.site' if it exists. Or, you can set the … … 177 151 A warning: not all `configure' scripts look for a site script. 178 152 179 Defining Variables153 Operation Controls 180 154 ================== 181 155 182 Variables not defined in a site shell script can be set in the 183 environment passed to `configure'. However, some packages may run 184 configure again during the build, and the customized values of these 185 variables may be lost. In order to avoid this problem, you should set 186 them in the `configure' command line, using `VAR=value'. For example: 156 `configure' recognizes the following options to control how it 157 operates. 187 158 188 ./configure CC=/usr/local2/bin/gcc 189 190 causes the specified `gcc' to be used as the C compiler (unless it is 191 overridden in the site shell script). 192 193 Unfortunately, this technique does not work for `CONFIG_SHELL' due to 194 an Autoconf bug. Until the bug is fixed you can use this workaround: 195 196 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash 197 198 `configure' Invocation 199 ====================== 200 201 `configure' recognizes the following options to control how it operates. 159 `--cache-file=FILE' 160 Use and save the results of the tests in FILE instead of 161 `./config.cache'. Set FILE to `/dev/null' to disable caching, for 162 debugging `configure'. 202 163 203 164 `--help' 204 `-h'205 165 Print a summary of the options to `configure', and exit. 206 207 `--version'208 `-V'209 Print the version of Autoconf used to generate the `configure'210 script, and exit.211 212 `--cache-file=FILE'213 Enable the cache: use and save the results of the tests in FILE,214 traditionally `config.cache'. FILE defaults to `/dev/null' to215 disable caching.216 217 `--config-cache'218 `-C'219 Alias for `--cache-file=config.cache'.220 166 221 167 `--quiet' … … 230 176 `configure' can determine that directory automatically. 231 177 232 `configure' also accepts some other, not widely useful, options. Run 233 `configure --help' for more details. 178 `--version' 179 Print the version of Autoconf used to generate the `configure' 180 script, and exit. 234 181 182 `configure' also accepts some other, not widely useful, options. src/router/wifidog/Makefile.in
r9429 r13127 1 # Makefile.in generated by automake 1.10 from Makefile.am. 2 # @configure_input@ 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 6 4 # This Makefile.in is free software; the Free Software Foundation 7 5 # gives unlimited permission to copy and/or distribute it, … … 13 11 # PARTICULAR PURPOSE. 14 12 15 @SET_MAKE@16 17 13 # $Id: Makefile.am 1340 2008-03-25 02:22:37Z benoitg $ 18 14 15 16 SHELL = @SHELL@ 17 18 srcdir = @srcdir@ 19 top_srcdir = @top_srcdir@ 19 20 VPATH = @srcdir@ 21 prefix = @prefix@ 22 exec_prefix = @exec_prefix@ 23 24 bindir = @bindir@ 25 sbindir = @sbindir@ 26 libexecdir = @libexecdir@ 27 datadir = @datadir@ 28 sysconfdir = @sysconfdir@ 29 sharedstatedir = @sharedstatedir@ 30 localstatedir = @localstatedir@ 31 libdir = @libdir@ 32 infodir = @infodir@ 33 mandir = @mandir@ 34 includedir = @includedir@ 35 oldincludedir = /usr/include 36 37 DESTDIR = 38 20 39 pkgdatadir = $(datadir)/@PACKAGE@ 21 40 pkglibdir = $(libdir)/@PACKAGE@ 22 41 pkgincludedir = $(includedir)/@PACKAGE@ 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 24 install_sh_DATA = $(install_sh) -c -m 644 25 install_sh_PROGRAM = $(install_sh) -c 26 install_sh_SCRIPT = $(install_sh) -c 27 INSTALL_HEADER = $(INSTALL_DATA) 28 transform = $(program_transform_name) 42 43 top_builddir = . 44 45 ACLOCAL = @ACLOCAL@ 46 AUTOCONF = @AUTOCONF@ 47 AUTOMAKE = @AUTOMAKE@ 48 AUTOHEADER = @AUTOHEADER@ 49 50 INSTALL = @INSTALL@ 51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 52 INSTALL_DATA = @INSTALL_DATA@ 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 54 transform = @program_transform_name@ 55 29 56 NORMAL_INSTALL = : 30 57 PRE_INSTALL = : … … 33 60 PRE_UNINSTALL = : 34 61 POST_UNINSTALL = : 35 build_triplet = @build@62 host_alias = @host_alias@ 36 63 host_triplet = @host@ 37 subdir = .38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \40 $(srcdir)/wifidog.spec.in $(top_srcdir)/configure AUTHORS \41 COPYING ChangeLog INSTALL NEWS config/config.guess \42 config/config.sub config/depcomp config/install-sh \43 config/ltmain.sh config/missing44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m445 am__aclocal_m4_deps = $(top_srcdir)/configure.in46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \47 $(ACLOCAL_M4)48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \49 configure.lineno config.status.lineno50 mkinstalldirs = $(install_sh) -d51 CONFIG_HEADER = config.h52 CONFIG_CLEAN_FILES = wifidog.spec53 SOURCES =54 DIST_SOURCES =55 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \56 html-recursive info-recursive install-data-recursive \57 install-dvi-recursive install-exec-recursive \58 install-html-recursive install-info-recursive \59 install-pdf-recursive install-ps-recursive install-recursive \60 installcheck-recursive installdirs-recursive pdf-recursive \61 ps-recursive uninstall-recursive62 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;63 am__vpath_adj = case $$p in \64 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \65 *) f=$$p;; \66 esac;67 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;68 am__installdirs = "$(DESTDIR)$(docdir)"69 docDATA_INSTALL = $(INSTALL_DATA)70 DATA = $(doc_DATA)71 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \72 distclean-recursive maintainer-clean-recursive73 ETAGS = etags74 CTAGS = ctags75 DIST_SUBDIRS = $(SUBDIRS)76 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)77 distdir = $(PACKAGE)-$(VERSION)78 top_distdir = $(distdir)79 am__remove_distdir = \80 { test ! -d $(distdir) \81 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \82 && rm -fr $(distdir); }; }83 DIST_ARCHIVES = $(distdir).tar.gz84 GZIP_ENV = --best85 distuninstallcheck_listfiles = find . -type f -print86 distcleancheck_listfiles = find . -type f -print87 ACLOCAL = @ACLOCAL@88 AMTAR = @AMTAR@89 64 AR = @AR@ 90 AUTOCONF = @AUTOCONF@ 91 AUTOHEADER = @AUTOHEADER@ 92 AUTOMAKE = @AUTOMAKE@ 93 AWK = @AWK@ 65 AS = @AS@ 94 66 BUILDROOT = @BUILDROOT@ 95 67 CC = @CC@ 96 CCDEPMODE = @CCDEPMODE@97 CFLAGS = @CFLAGS@98 CPP = @CPP@99 CPPFLAGS = @CPPFLAGS@100 68 CXX = @CXX@ 101 69 CXXCPP = @CXXCPP@ 102 CXXDEPMODE = @CXXDEPMODE@ 103 CXXFLAGS = @CXXFLAGS@ 104 CYGPATH_W = @CYGPATH_W@ 105 DEFS = @DEFS@ 106 DEPDIR = @DEPDIR@ 70 DLLTOOL = @DLLTOOL@ 107 71 DOT = @DOT@ 108 72 DOXYGEN = @DOXYGEN@ 73 DSYMUTIL = @DSYMUTIL@ 109 74 ECHO = @ECHO@ 110 ECHO_C = @ECHO_C@111 ECHO_N = @ECHO_N@112 ECHO_T = @ECHO_T@113 75 EGREP = @EGREP@ 114 76 EXEEXT = @EXEEXT@ 115 77 F77 = @F77@ 116 FFLAGS = @FFLAGS@ 117 GREP = @GREP@ 118 INSTALL = @INSTALL@ 119 INSTALL_DATA = @INSTALL_DATA@ 120 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 121 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 122 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 123 LDFLAGS = @LDFLAGS@ 124 LIBOBJS = @LIBOBJS@ 125 LIBS = @LIBS@ 78 GCJ = @GCJ@ 79 GCJFLAGS = @GCJFLAGS@ 80 HAVE_LIB = @HAVE_LIB@ 81 LIB = @LIB@ 126 82 LIBTOOL = @LIBTOOL@ 127 83 LN_S = @LN_S@ 128 LTLIB OBJS = @LTLIBOBJS@84 LTLIB = @LTLIB@ 129 85 MAINT = @MAINT@ 130 86 MAKEINFO = @MAKEINFO@ 131 MKDIR_P = @MKDIR_P@ 87 NMEDIT = @NMEDIT@ 88 OBJDUMP = @OBJDUMP@ 132 89 OBJEXT = @OBJEXT@ 133 90 PACKAGE = @PACKAGE@ 134 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@135 PACKAGE_NAME = @PACKAGE_NAME@136 PACKAGE_STRING = @PACKAGE_STRING@137 PACKAGE_TARNAME = @PACKAGE_TARNAME@138 PACKAGE_VERSION = @PACKAGE_VERSION@139 PATH_SEPARATOR = @PATH_SEPARATOR@140 91 RANLIB = @RANLIB@ 92 RC = @RC@ 141 93 SED = @SED@ 142 SET_MAKE = @SET_MAKE@143 SHELL = @SHELL@144 94 STRIP = @STRIP@ 145 95 VERSION = @VERSION@ … … 148 98 WIFIDOG_MINOR_VERSION = @WIFIDOG_MINOR_VERSION@ 149 99 WIFIDOG_VERSION = @WIFIDOG_VERSION@ 150 abs_builddir = @abs_builddir@151 abs_srcdir = @abs_srcdir@152 abs_top_builddir = @abs_top_builddir@153 abs_top_srcdir = @abs_top_srcdir@154 ac_ct_CC = @ac_ct_CC@155 ac_ct_CXX = @ac_ct_CXX@156 ac_ct_F77 = @ac_ct_F77@157 am__include = @am__include@158 am__leading_dot = @am__leading_dot@159 am__quote = @am__quote@160 am__tar = @am__tar@161 am__untar = @am__untar@162 bindir = @bindir@163 build = @build@164 build_alias = @build_alias@165 build_cpu = @build_cpu@166 build_os = @build_os@167 build_vendor = @build_vendor@168 builddir = @builddir@169 datadir = @datadir@170 datarootdir = @datarootdir@171 docdir = ${prefix}/share/doc/wifidog-@VERSION@172 dvidir = @dvidir@173 100 enable_dot = @enable_dot@ 174 101 enable_html_docs = @enable_html_docs@ 175 102 enable_latex_docs = @enable_latex_docs@ 176 exec_prefix = @exec_prefix@ 177 host = @host@ 178 host_alias = @host_alias@ 179 host_cpu = @host_cpu@ 180 host_os = @host_os@ 181 host_vendor = @host_vendor@ 182 htmldir = @htmldir@ 183 includedir = @includedir@ 184 infodir = @infodir@ 185 install_sh = @install_sh@ 186 libdir = @libdir@ 187 libexecdir = @libexecdir@ 188 localedir = @localedir@ 189 localstatedir = @localstatedir@ 190 mandir = @mandir@ 191 mkdir_p = @mkdir_p@ 192 oldincludedir = @oldincludedir@ 193 pdfdir = @pdfdir@ 194 prefix = @prefix@ 195 program_transform_name = @program_transform_name@ 196 psdir = @psdir@ 197 sbindir = @sbindir@ 198 sharedstatedir = @sharedstatedir@ 199 srcdir = @srcdir@ 200 sysconfdir = @sysconfdir@ 201 target_alias = @target_alias@ 202 top_builddir = @top_builddir@ 203 top_srcdir = @top_srcdir@ 103 204 104 SUBDIRS = libhttpd src . doc 205 doc_DATA = \ 206 AUTHORS \ 207 COPYING \ 208 INSTALL \ 209 NEWS \ 210 README \ 211 ChangeLog 212 213 EXTRA_DIST = \ 214 FAQ \ 215 wifidog.spec.in \ 216 wifidog.spec \ 217 config \ 218 scripts \ 219 contrib \ 220 wifidog.conf 221 222 all: config.h 223 $(MAKE) $(AM_MAKEFLAGS) all-recursive 224 105 106 docdir = ${prefix}/share/doc/wifidog-@VERSION@ 107 108 doc_DATA = AUTHORS COPYING INSTALL NEWS README ChangeLog 109 110 111 EXTRA_DIST = FAQ wifidog.spec.in wifidog.spec config scripts contrib wifidog.conf 112 113 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 114 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs 115 CONFIG_HEADER = config.h 116 CONFIG_CLEAN_FILES = wifidog.spec wifidog-msg.html 117 DATA = $(doc_DATA) 118 119 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ 120 Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \ 121 configure.in wifidog-msg.html.in wifidog.spec.in 122 123 124 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 125 126 TAR = tar 127 GZIP_ENV = --best 128 all: all-redirect 225 129 .SUFFIXES: 226 am--refresh: 227 @: 228 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) 229 @for dep in $?; do \ 230 case '$(am__configure_deps)' in \ 231 *$$dep*) \ 232 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ 233 cd $(srcdir) && $(AUTOMAKE) --gnu \ 234 && exit 0; \ 235 exit 1;; \ 236 esac; \ 237 done; \ 238 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ 239 cd $(top_srcdir) && \ 240 $(AUTOMAKE) --gnu Makefile 241 .PRECIOUS: Makefile 242 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 243 @case '$?' in \ 244 *config.status*) \ 245 echo ' $(SHELL) ./config.status'; \ 246 $(SHELL) ./config.status;; \ 247 *) \ 248 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 249 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 250 esac; 251 252 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 130 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 131 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile 132 133 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 134 cd $(top_builddir) \ 135 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 136 137 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in 138 cd $(srcdir) && $(ACLOCAL) 139 140 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 253 141 $(SHELL) ./config.status --recheck 254 255 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 142 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 256 143 cd $(srcdir) && $(AUTOCONF) 257 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 258 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 259 260 config.h: stamp-h1 144 145 config.h: stamp-h 261 146 @if test ! -f $@; then \ 262 rm -f stamp-h1; \263 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \147 rm -f stamp-h; \ 148 $(MAKE) stamp-h; \ 264 149 else :; fi 265 266 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 267 @rm -f stamp-h1 268 cd $(top_builddir) && $(SHELL) ./config.status config.h 269 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 150 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 151 cd $(top_builddir) \ 152 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 153 $(SHELL) ./config.status 154 @echo timestamp > stamp-h 2> /dev/null 155 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in 156 @if test ! -f $@; then \ 157 rm -f $(srcdir)/stamp-h.in; \ 158 $(MAKE) $(srcdir)/stamp-h.in; \ 159 else :; fi 160 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 270 161 cd $(top_srcdir) && $(AUTOHEADER) 271 rm -f stamp-h1 272 touch $@ 162 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 163 164 mostlyclean-hdr: 165 166 clean-hdr: 273 167 274 168 distclean-hdr: 275 -rm -f config.h stamp-h1 276 wifidog.spec: $(top_builddir)/config.status $(srcdir)/wifidog.spec.in 277 cd $(top_builddir) && $(SHELL) ./config.status $@ 278 279 mostlyclean-libtool: 280 -rm -f *.lo 281 282 clean-libtool: 283 -rm -rf .libs _libs 284 285 distclean-libtool: 286 -rm -f libtool 169 -rm -f config.h 170 171 maintainer-clean-hdr: 172 wifidog.spec: $(top_builddir)/config.status wifidog.spec.in 173 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 174 wifidog-msg.html: $(top_builddir)/config.status wifidog-msg.html.in 175 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 176 287 177 install-docDATA: $(doc_DATA) 288 178 @$(NORMAL_INSTALL) 289 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"179 $(mkinstalldirs) $(DESTDIR)$(docdir) 290 180 @list='$(doc_DATA)'; for p in $$list; do \ 291 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 292 f=$(am__strip_dir) \ 293 echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ 294 $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ 181 if test -f $(srcdir)/$$p; then \ 182 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \ 183 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \ 184 else if test -f $$p; then \ 185 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \ 186 $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \ 187 fi; fi; \ 295 188 done 296 189 297 190 uninstall-docDATA: 298 191 @$(NORMAL_UNINSTALL) 299 @list='$(doc_DATA)'; for p in $$list; do \ 300 f=$(am__strip_dir) \ 301 echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ 302 rm -f "$(DESTDIR)$(docdir)/$$f"; \ 192 list='$(doc_DATA)'; for p in $$list; do \ 193 rm -f $(DESTDIR)$(docdir)/$$p; \ 303 194 done 304 195 … … 309 200 # (which will cause the Makefiles to be regenerated when you run `make'); 310 201 # (2) otherwise, pass the desired values on the `make' command line. 311 $(RECURSIVE_TARGETS): 312 @failcom='exit 1'; \ 313 for f in x $$MAKEFLAGS; do \ 314 case $$f in \ 315 *=* | --[!k]*);; \ 316 *k*) failcom='fail=yes';; \ 317 esac; \ 318 done; \ 202 203 @SET_MAKE@ 204 205 all-recursive install-data-recursive install-exec-recursive \ 206 installdirs-recursive install-recursive uninstall-recursive \ 207 check-recursive installcheck-recursive info-recursive dvi-recursive: 208 @set fnord $(MAKEFLAGS); amf=$$2; \ 319 209 dot_seen=no; \ 320 210 target=`echo $@ | sed s/-recursive//`; \ … … 328 218 fi; \ 329 219 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 330 || eval $$failcom; \220 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 331 221 done; \ 332 222 if test "$$dot_seen" = "no"; then \ … … 334 224 fi; test -z "$$fail" 335 225 336 $(RECURSIVE_CLEAN_TARGETS): 337 @failcom='exit 1'; \ 338 for f in x $$MAKEFLAGS; do\339 case $$f in\340 *=* | --[!k]*);;\341 *k*) failcom='fail=yes';; \342 esac; \226 mostlyclean-recursive clean-recursive distclean-recursive \ 227 maintainer-clean-recursive: 228 @set fnord $(MAKEFLAGS); amf=$$2; \ 229 dot_seen=no; \ 230 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ 231 rev="$$subdir $$rev"; \ 232 test "$$subdir" != "." || dot_seen=yes; \ 343 233 done; \ 344 dot_seen=no; \ 345 case "$@" in \ 346 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 347 *) list='$(SUBDIRS)' ;; \ 348 esac; \ 349 rev=''; for subdir in $$list; do \ 350 if test "$$subdir" = "."; then :; else \ 351 rev="$$subdir $$rev"; \ 352 fi; \ 353 done; \ 354 rev="$$rev ."; \ 234 test "$$dot_seen" = "no" && rev=". $$rev"; \ 355 235 target=`echo $@ | sed s/-recursive//`; \ 356 236 for subdir in $$rev; do \ … … 362 242 fi; \ 363 243 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 364 || eval $$failcom; \244 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 365 245 done && test -z "$$fail" 366 246 tags-recursive: … … 368 248 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 369 249 done 370 ctags-recursive: 371 list='$(SUBDIRS)'; for subdir in $$list; do \ 372 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 373 done 374 375 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 376 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 377 unique=`for i in $$list; do \ 378 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 379 done | \ 380 $(AWK) ' { files[$$0] = 1; } \ 250 251 tags: TAGS 252 253 ID: $(HEADERS) $(SOURCES) $(LISP) 254 list='$(SOURCES) $(HEADERS)'; \ 255 unique=`for i in $$list; do echo $$i; done | \ 256 awk ' { files[$$0] = 1; } \ 381 257 END { for (i in files) print i; }'`; \ 382 mkid -fID $$unique 383 tags: TAGS 384 385 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 386 $(TAGS_FILES) $(LISP) 258 here=`pwd` && cd $(srcdir) \ 259 && mkid -f$$here/ID $$unique $(LISP) 260 261 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 387 262 tags=; \ 388 263 here=`pwd`; \ 389 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \390 include_option=--etags-include; \391 empty_fix=.; \392 else \393 include_option=--include; \394 empty_fix=; \395 fi; \396 264 list='$(SUBDIRS)'; for subdir in $$list; do \ 397 if test "$$subdir" = .; then :; else \ 398 test ! -f $$subdir/TAGS || \ 399 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 400 fi; \ 265 if test "$$subdir" = .; then :; else \ 266 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ 267 fi; \ 401 268 done; \ 402 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 403 unique=`for i in $$list; do \ 404 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 405 done | \ 406 $(AWK) ' { files[$$0] = 1; } \ 269 list='$(SOURCES) $(HEADERS)'; \ 270 unique=`for i in $$list; do echo $$i; done | \ 271 awk ' { files[$$0] = 1; } \ 407 272 END { for (i in files) print i; }'`; \ 408 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 409 test -n "$$unique" || unique=$$empty_fix; \ 410 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 411 $$tags $$unique; \ 412 fi 413 ctags: CTAGS 414 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 415 $(TAGS_FILES) $(LISP) 416 tags=; \ 417 here=`pwd`; \ 418 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 419 unique=`for i in $$list; do \ 420 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 421 done | \ 422 $(AWK) ' { files[$$0] = 1; } \ 423 END { for (i in files) print i; }'`; \ 424 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 425 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 426 $$tags $$unique 427 428 GTAGS: 429 here=`$(am__cd) $(top_builddir) && pwd` \ 430 && cd $(top_srcdir) \ 431 && gtags -i $(GTAGS_ARGS) $$here 273 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 274 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)) 275 276 mostlyclean-tags: 277 278 clean-tags: 432 279 433 280 distclean-tags: 434 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 435 436 distdir: $(DISTFILES) 437 $(am__remove_distdir) 438 test -d $(distdir) || mkdir $(distdir) 439 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 440 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 441 list='$(DISTFILES)'; \ 442 dist_files=`for file in $$list; do echo $$file; done | \ 443 sed -e "s|^$$srcdirstrip/||;t" \ 444 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 445 case $$dist_files in \ 446 */*) $(MKDIR_P) `echo "$$dist_files" | \ 447 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 448 sort -u` ;; \ 449 esac; \ 450 for file in $$dist_files; do \ 451 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 452 if test -d $$d/$$file; then \ 453 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 454 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 455 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 456 fi; \ 457 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 458 else \ 459 test -f $(distdir)/$$file \ 460 || cp -p $$d/$$file $(distdir)/$$file \ 461 || exit 1; \ 462 fi; \ 463 done 464 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 465 if test "$$subdir" = .; then :; else \ 466 test -d "$(distdir)/$$subdir" \ 467 || $(MKDIR_P) "$(distdir)/$$subdir" \ 468 || exit 1; \ 469 distdir=`$(am__cd) $(distdir) && pwd`; \ 470 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ 471 (cd $$subdir && \ 472 $(MAKE) $(AM_MAKEFLAGS) \ 473 top_distdir="$$top_distdir" \ 474 distdir="$$distdir/$$subdir" \ 475 am__remove_distdir=: \ 476 am__skip_length_check=: \ 477 distdir) \ 478 || exit 1; \ 479 fi; \ 480 done 481 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ 482 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 483 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 484 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 485 || chmod -R a+r $(distdir) 486 dist-gzip: distdir 487 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 488 $(am__remove_distdir) 489 490 dist-bzip2: distdir 491 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 492 $(am__remove_distdir) 493 494 dist-tarZ: distdir 495 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 496 $(am__remove_distdir) 497 498 dist-shar: distdir 499 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 500 $(am__remove_distdir) 501 502 dist-zip: distdir 503 -rm -f $(distdir).zip 504 zip -rq $(distdir).zip $(distdir) 505 $(am__remove_distdir) 506 507 dist dist-all: distdir 508 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 509 $(am__remove_distdir) 281 -rm -f TAGS ID 282 283 maintainer-clean-tags: 284 285 distdir = $(PACKAGE)-$(VERSION) 286 top_distdir = $(distdir) 510 287 511 288 # This target untars the dist file and tries a VPATH configuration. Then … … 513 290 # tarfile. 514 291 distcheck: dist 515 case '$(DIST_ARCHIVES)' in \ 516 *.tar.gz*) \ 517 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ 518 *.tar.bz2*) \ 519 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ 520 *.tar.Z*) \ 521 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 522 *.shar.gz*) \ 523 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ 524 *.zip*) \ 525 unzip $(distdir).zip ;;\ 526 esac 527 chmod -R a-w $(distdir); chmod a+w $(distdir) 528 mkdir $(distdir)/_build 529 mkdir $(distdir)/_inst 530 chmod a-w $(distdir) 531 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 532 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 533 && cd $(distdir)/_build \ 534 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 535 $(DISTCHECK_CONFIGURE_FLAGS) \ 292 -rm -rf $(distdir) 293 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 294 mkdir $(distdir)/=build 295 mkdir $(distdir)/=inst 296 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 297 cd $(distdir)/=build \ 298 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 536 299 && $(MAKE) $(AM_MAKEFLAGS) \ 537 300 && $(MAKE) $(AM_MAKEFLAGS) dvi \ … … 539 302 && $(MAKE) $(AM_MAKEFLAGS) install \ 540 303 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 541 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 542 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 543 distuninstallcheck \ 544 && chmod -R a-w "$$dc_install_base" \ 545 && ({ \ 546 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 547 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 548 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 549 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 550 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 551 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 552 && rm -rf "$$dc_destdir" \ 553 && $(MAKE) $(AM_MAKEFLAGS) dist \ 554 && rm -rf $(DIST_ARCHIVES) \ 555 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 556 $(am__remove_distdir) 557 @(echo "$(distdir) archives ready for distribution: "; \ 558 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 559 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 560 distuninstallcheck: 561 @cd $(distuninstallcheck_dir) \ 562 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ 563 || { echo "ERROR: files left after uninstall:" ; \ 564 if test -n "$(DESTDIR)"; then \ 565 echo " (check DESTDIR support)"; \ 566 fi ; \ 567 $(distuninstallcheck_listfiles) ; \ 568 exit 1; } >&2 569 distcleancheck: distclean 570 @if test '$(srcdir)' = . ; then \ 571 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 572 exit 1 ; \ 573 fi 574 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 575 || { echo "ERROR: files left in build directory after distclean:" ; \ 576 $(distcleancheck_listfiles) ; \ 577 exit 1; } >&2 304 && $(MAKE) $(AM_MAKEFLAGS) dist 305 -rm -rf $(distdir) 306 @banner="$(distdir).tar.gz is ready for distribution"; \ 307 dashes=`echo "$$banner" | sed s/./=/g`; \ 308 echo "$$dashes"; \ 309 echo "$$banner"; \ 310 echo "$$dashes" 311 dist: distdir 312 -chmod -R a+r $(distdir) 313 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 314 -rm -rf $(distdir) 315 dist-all: distdir 316 -chmod -R a+r $(distdir) 317 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 318 -rm -rf $(distdir) 319 distdir: $(DISTFILES) 320 -rm -rf $(distdir) 321 mkdir $(distdir) 322 -chmod 777 $(distdir) 323 @for file in $(DISTFILES); do \ 324 d=$(srcdir); \ 325 if test -d $$d/$$file; then \ 326 cp -pr $$d/$$file $(distdir)/$$file; \ 327 else \ 328 test -f $(distdir)/$$file \ 329 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 330 || cp -p $$d/$$file $(distdir)/$$file || :; \ 331 fi; \ 332 done 333 for subdir in $(SUBDIRS); do \ 334 if test "$$subdir" = .; then :; else \ 335 test -d $(distdir)/$$subdir \ 336 || mkdir $(distdir)/$$subdir \ 337 || exit 1; \ 338 chmod 777 $(distdir)/$$subdir; \ 339 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ 340 || exit 1; \ 341 fi; \ 342 done 343 info-am: 344 info: info-recursive 345 dvi-am: 346 dvi: dvi-recursive 578 347 check-am: all-am 579 348 check: check-recursive 349 installcheck-am: 350 installcheck: installcheck-recursive 351 all-recursive-am: config.h 352 $(MAKE) $(AM_MAKEFLAGS) all-recursive 353 354 install-exec-am: 355 install-exec: install-exec-recursive 356 357 install-data-am: install-docDATA 358 install-data: install-data-recursive 359 360 install-am: all-am 361 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 362 install: install-recursive 363 uninstall-am: uninstall-docDATA 364 uninstall: uninstall-recursive 580 365 all-am: Makefile $(DATA) config.h 366 all-redirect: all-recursive-am 367 install-strip: 368 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 581 369 installdirs: installdirs-recursive 582 370 installdirs-am: 583 for dir in "$(DESTDIR)$(docdir)"; do \ 584 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 585 done 586 install: install-recursive 587 install-exec: install-exec-recursive 588 install-data: install-data-recursive 589 uninstall: uninstall-recursive 590 591 install-am: all-am 592 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 593 594 installcheck: installcheck-recursive 595 install-strip: 596 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 597 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 598 `test -z '$(STRIP)' || \ 599 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 371 $(mkinstalldirs) $(DESTDIR)$(docdir) 372 373 600 374 mostlyclean-generic: 601 375 … … 603 377 604 378 distclean-generic: 605 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 379 -rm -f Makefile $(CONFIG_CLEAN_FILES) 380 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 606 381 607 382 maintainer-clean-generic: 608 @echo "This command is intended for maintainers to use" 383 mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic 384 385 mostlyclean: mostlyclean-recursive 386 387 clean-am: clean-hdr clean-tags clean-generic mostlyclean-am 388 389 clean: clean-recursive 390 391 distclean-am: distclean-hdr distclean-tags distclean-generic clean-am 392 -rm -f libtool 393 394 distclean: distclean-recursive 395 -rm -f config.status 396 397 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ 398 maintainer-clean-generic distclean-am 399 @echo "This command is intended for maintainers to use;" 609 400 @echo "it deletes files that may require special tools to rebuild." 610 clean: clean-recursive611 612 clean-am: clean-generic clean-libtool mostlyclean-am613 614 distclean: distclean-recursive615 -rm -f $(am__CONFIG_DISTCLEAN_FILES)616 -rm -f Makefile617 distclean-am: clean-am distclean-generic distclean-hdr \618 distclean-libtool distclean-tags619 620 dvi: dvi-recursive621 622 dvi-am:623 624 html: html-recursive625 626 info: info-recursive627 628 info-am:629 630 install-data-am: install-docDATA631 632 install-dvi: install-dvi-recursive633 634 install-exec-am:635 636 install-html: install-html-recursive637 638 install-info: install-info-recursive639 640 install-man:641 642 install-pdf: install-pdf-recursive643 644 install-ps: install-ps-recursive645 646 installcheck-am:647 401 648 402 maintainer-clean: maintainer-clean-recursive 649 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 650 -rm -rf $(top_srcdir)/autom4te.cache 651 -rm -f Makefile 652 maintainer-clean-am: distclean-am maintainer-clean-generic 653 654 mostlyclean: mostlyclean-recursive 655 656 mostlyclean-am: mostlyclean-generic mostlyclean-libtool 657 658 pdf: pdf-recursive 659 660 pdf-am: 661 662 ps: ps-recursive 663 664 ps-am: 665 666 uninstall-am: uninstall-docDATA 667 668 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ 669 install-strip 670 671 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 672 all all-am am--refresh check check-am clean clean-generic \ 673 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ 674 dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \ 675 distclean-generic distclean-hdr distclean-libtool \ 676 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 677 dvi-am html html-am info info-am install install-am \ 678 install-data install-data-am install-docDATA install-dvi \ 679 install-dvi-am install-exec install-exec-am install-html \ 680 install-html-am install-info install-info-am install-man \ 681 install-pdf install-pdf-am install-ps install-ps-am \ 682 install-strip installcheck installcheck-am installdirs \ 683 installdirs-am maintainer-clean maintainer-clean-generic \ 684 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ 685 ps ps-am tags tags-recursive uninstall uninstall-am \ 686 uninstall-docDATA 403 -rm -f config.status 404 405 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 406 uninstall-docDATA install-docDATA install-data-recursive \ 407 uninstall-data-recursive install-exec-recursive \ 408 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ 409 all-recursive check-recursive installcheck-recursive info-recursive \ 410 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ 411 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 412 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ 413 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ 414 install-exec-am install-exec install-data-am install-data install-am \ 415 install uninstall-am uninstall all-redirect all-am all installdirs-am \ 416 installdirs mostlyclean-generic distclean-generic clean-generic \ 417 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 687 418 688 419 … … 717 448 # rm -f /usr/src/RPM/SPECS/wifidog.spec 718 449 # rm -f /usr/src/RPM/SOURCES/wifidog-@VERSION@.tar.gz 450 719 451 # Tell versions [3.59,3.63) of GNU make to not export all variables. 720 452 # Otherwise a system limit (for SysV at least) may be exceeded. src/router/wifidog/NEWS
r8966 r13127 1 # $Id: NEWS 1303 2007-10-18 21:13:28Z benoitg $ 1 # $Id: NEWS 1389 2009-02-27 17:39:30Z benoitg $ 2 WiFiDog 1.1.5: 3 * First supported version on OpenWRT kamikaze 4 2 5 WiFiDog 1.1.4: 3 6 * Fix incorrect firewal rule deletion introduced in 1.1.3rc1. Caused the incoming byte count reported to be incorrect for users that logged in a second time on a gateway that wasn't restarted in between. src/router/wifidog/aclocal.m4
r8966 r13127 1 # generated automatically by aclocal 1.10 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006 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. 1 dnl aclocal.m4 generated automatically by aclocal 1.4-p6 2 3 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 12 13 # lib-prefix.m4 serial 5 (gettext-0.15) 14 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. 15 dnl This file is free software; the Free Software Foundation 16 dnl gives unlimited permission to copy and/or distribute it, 17 dnl with or without modifications, as long as this notice is preserved. 18 19 dnl From Bruno Haible. 20 21 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and 22 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't 23 dnl require excessive bracketing. 24 ifdef([AC_HELP_STRING], 25 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], 26 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) 27 28 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed 29 dnl to access previously installed libraries. The basic assumption is that 30 dnl a user will want packages to use other packages he previously installed 31 dnl with the same --prefix option. 32 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate 33 dnl libraries, but is otherwise very convenient. 34 AC_DEFUN([AC_LIB_PREFIX], 35 [ 36 AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) 37 AC_REQUIRE([AC_PROG_CC]) 38 AC_REQUIRE([AC_CANONICAL_HOST]) 39 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 40 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 41 dnl By default, look in $includedir and $libdir. 42 use_additional=yes 43 AC_LIB_WITH_FINAL_PREFIX([ 44 eval additional_includedir=\"$includedir\" 45 eval additional_libdir=\"$libdir\" 46 ]) 47 AC_LIB_ARG_WITH([lib-prefix], 48 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 49 --without-lib-prefix don't search for libraries in includedir and libdir], 50 [ 51 if test "X$withval" = "Xno"; then 52 use_additional=no 53 else 54 if test "X$withval" = "X"; then 55 AC_LIB_WITH_FINAL_PREFIX([ 56 eval additional_includedir=\"$includedir\" 57 eval additional_libdir=\"$libdir\" 58 ]) 59 else 60 additional_includedir="$withval/include" 61 additional_libdir="$withval/$acl_libdirstem" 62 fi 63 fi 64 ]) 65 if test $use_additional = yes; then 66 dnl Potentially add $additional_includedir to $CPPFLAGS. 67 dnl But don't add it 68 dnl 1. if it's the standard /usr/include, 69 dnl 2. if it's already present in $CPPFLAGS, 70 dnl 3. if it's /usr/local/include and we are using GCC on Linux, 71 dnl 4. if it doesn't exist as a directory. 72 if test "X$additional_includedir" != "X/usr/include"; then 73 haveit= 74 for x in $CPPFLAGS; do 75 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 76 if test "X$x" = "X-I$additional_includedir"; then 77 haveit=yes 78 break 79 fi 80 done 81 if test -z "$haveit"; then 82 if test "X$additional_includedir" = "X/usr/local/include"; then 83 if test -n "$GCC"; then 84 case $host_os in 85 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 86 esac 87 fi 88 fi 89 if test -z "$haveit"; then 90 if test -d "$additional_includedir"; then 91 dnl Really add $additional_includedir to $CPPFLAGS. 92 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 93 fi 94 fi 95 fi 96 fi 97 dnl Potentially add $additional_libdir to $LDFLAGS. 98 dnl But don't add it 99 dnl 1. if it's the standard /usr/lib, 100 dnl 2. if it's already present in $LDFLAGS, 101 dnl 3. if it's /usr/local/lib and we are using GCC on Linux, 102 dnl 4. if it doesn't exist as a directory. 103 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 104 haveit= 105 for x in $LDFLAGS; do 106 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 107 if test "X$x" = "X-L$additional_libdir"; then 108 haveit=yes 109 break 110 fi 111 done 112 if test -z "$haveit"; then 113 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 114 if test -n "$GCC"; then 115 case $host_os in 116 linux*) haveit=yes;; 117 esac 118 fi 119 fi 120 if test -z "$haveit"; then 121 if test -d "$additional_libdir"; then 122 dnl Really add $additional_libdir to $LDFLAGS. 123 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 124 fi 125 fi 126 fi 127 fi 128 fi 129 ]) 130 131 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, 132 dnl acl_final_exec_prefix, containing the values to which $prefix and 133 dnl $exec_prefix will expand at the end of the configure script. 134 AC_DEFUN([AC_LIB_PREPARE_PREFIX], 135 [ 136 dnl Unfortunately, prefix and exec_prefix get only finally determined 137 dnl at the end of configure. 138 if test "X$prefix" = "XNONE"; then 139 acl_final_prefix="$ac_default_prefix" 140 else 141 acl_final_prefix="$prefix" 142 fi 143 if test "X$exec_prefix" = "XNONE"; then 144 acl_final_exec_prefix='${prefix}' 145 else 146 acl_final_exec_prefix="$exec_prefix" 147 fi 148 acl_save_prefix="$prefix" 149 prefix="$acl_final_prefix" 150 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 151 prefix="$acl_save_prefix" 152 ]) 153 154 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the 155 dnl variables prefix and exec_prefix bound to the values they will have 156 dnl at the end of the configure script. 157 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], 158 [ 159 acl_save_prefix="$prefix" 160 prefix="$acl_final_prefix" 161 acl_save_exec_prefix="$exec_prefix" 162 exec_prefix="$acl_final_exec_prefix" 163 $1 164 exec_prefix="$acl_save_exec_prefix" 165 prefix="$acl_save_prefix" 166 ]) 167 168 dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing 169 dnl the basename of the libdir, either "lib" or "lib64". 170 AC_DEFUN([AC_LIB_PREPARE_MULTILIB], 171 [ 172 dnl There is no formal standard regarding lib and lib64. The current 173 dnl practice is that on a system supporting 32-bit and 64-bit instruction 174 dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit 175 dnl libraries go under $prefix/lib. We determine the compiler's default 176 dnl mode by looking at the compiler's library search path. If at least 177 dnl of its elements ends in /lib64 or points to a directory whose absolute 178 dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the 179 dnl default, namely "lib". 180 acl_libdirstem=lib 181 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 182 if test -n "$searchpath"; then 183 acl_save_IFS="${IFS= }"; IFS=":" 184 for searchdir in $searchpath; do 185 if test -d "$searchdir"; then 186 case "$searchdir" in 187 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 188 *) searchdir=`cd "$searchdir" && pwd` 189 case "$searchdir" in 190 */lib64 ) acl_libdirstem=lib64 ;; 191 esac ;; 192 esac 193 fi 194 done 195 IFS="$acl_save_IFS" 196 fi 197 ]) 198 199 # lib-link.m4 serial 13 (gettext-0.17) 200 dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. 201 dnl This file is free software; the Free Software Foundation 202 dnl gives unlimited permission to copy and/or distribute it, 203 dnl with or without modifications, as long as this notice is preserved. 204 205 dnl From Bruno Haible. 206 207 AC_PREREQ(2.54) 208 209 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and 210 dnl the libraries corresponding to explicit and implicit dependencies. 211 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 212 dnl augments the CPPFLAGS variable. 213 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 214 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 215 AC_DEFUN([AC_LIB_LINKFLAGS], 216 [ 217 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 218 AC_REQUIRE([AC_LIB_RPATH]) 219 define([Name],[translit([$1],[./-], [___])]) 220 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 221 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 222 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ 223 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 224 ac_cv_lib[]Name[]_libs="$LIB[]NAME" 225 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 226 ac_cv_lib[]Name[]_cppflags="$INC[]NAME" 227 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" 228 ]) 229 LIB[]NAME="$ac_cv_lib[]Name[]_libs" 230 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 231 INC[]NAME="$ac_cv_lib[]Name[]_cppflags" 232 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" 233 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 234 AC_SUBST([LIB]NAME) 235 AC_SUBST([LTLIB]NAME) 236 AC_SUBST([LIB]NAME[_PREFIX]) 237 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 238 dnl results of this search when this library appears as a dependency. 239 HAVE_LIB[]NAME=yes 240 undefine([Name]) 241 undefine([NAME]) 242 ]) 243 244 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) 245 dnl searches for libname and the libraries corresponding to explicit and 246 dnl implicit dependencies, together with the specified include files and 247 dnl the ability to compile and link the specified testcode. If found, it 248 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and 249 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and 250 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs 251 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. 252 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 253 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 254 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 255 [ 256 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 257 AC_REQUIRE([AC_LIB_RPATH]) 258 define([Name],[translit([$1],[./-], [___])]) 259 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 260 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 261 262 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME 263 dnl accordingly. 264 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 265 266 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, 267 dnl because if the user has installed lib[]Name and not disabled its use 268 dnl via --without-lib[]Name-prefix, he wants to use it. 269 ac_save_CPPFLAGS="$CPPFLAGS" 270 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 271 272 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ 273 ac_save_LIBS="$LIBS" 274 LIBS="$LIBS $LIB[]NAME" 275 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) 276 LIBS="$ac_save_LIBS" 277 ]) 278 if test "$ac_cv_lib[]Name" = yes; then 279 HAVE_LIB[]NAME=yes 280 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) 281 AC_MSG_CHECKING([how to link with lib[]$1]) 282 AC_MSG_RESULT([$LIB[]NAME]) 283 else 284 HAVE_LIB[]NAME=no 285 dnl If $LIB[]NAME didn't lead to a usable library, we don't need 286 dnl $INC[]NAME either. 287 CPPFLAGS="$ac_save_CPPFLAGS" 288 LIB[]NAME= 289 LTLIB[]NAME= 290 LIB[]NAME[]_PREFIX= 291 fi 292 AC_SUBST([HAVE_LIB]NAME) 293 AC_SUBST([LIB]NAME) 294 AC_SUBST([LTLIB]NAME) 295 AC_SUBST([LIB]NAME[_PREFIX]) 296 undefine([Name]) 297 undefine([NAME]) 298 ]) 299 300 dnl Determine the platform dependent parameters needed to use rpath: 301 dnl acl_libext, 302 dnl acl_shlibext, 303 dnl acl_hardcode_libdir_flag_spec, 304 dnl acl_hardcode_libdir_separator, 305 dnl acl_hardcode_direct, 306 dnl acl_hardcode_minus_L. 307 AC_DEFUN([AC_LIB_RPATH], 308 [ 309 dnl Tell automake >= 1.10 to complain if config.rpath is missing. 310 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) 311 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS 312 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld 313 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host 314 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir 315 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ 316 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 317 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 318 . ./conftest.sh 319 rm -f ./conftest.sh 320 acl_cv_rpath=done 321 ]) 322 wl="$acl_cv_wl" 323 acl_libext="$acl_cv_libext" 324 acl_shlibext="$acl_cv_shlibext" 325 acl_libname_spec="$acl_cv_libname_spec" 326 acl_library_names_spec="$acl_cv_library_names_spec" 327 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 328 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 329 acl_hardcode_direct="$acl_cv_hardcode_direct" 330 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 331 dnl Determine whether the user wants rpath handling at all. 332 AC_ARG_ENABLE(rpath, 333 [ --disable-rpath do not hardcode runtime library paths], 334 :, enable_rpath=yes) 335 ]) 336 337 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and 338 dnl the libraries corresponding to explicit and implicit dependencies. 339 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. 340 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found 341 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 342 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], 343 [ 344 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 345 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 346 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 347 dnl Autoconf >= 2.61 supports dots in --with options. 348 define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) 349 dnl By default, look in $includedir and $libdir. 350 use_additional=yes 351 AC_LIB_WITH_FINAL_PREFIX([ 352 eval additional_includedir=\"$includedir\" 353 eval additional_libdir=\"$libdir\" 354 ]) 355 AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], 356 [ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib 357 --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], 358 [ 359 if test "X$withval" = "Xno"; then 360 use_additional=no 361 else 362 if test "X$withval" = "X"; then 363 AC_LIB_WITH_FINAL_PREFIX([ 364 eval additional_includedir=\"$includedir\" 365 eval additional_libdir=\"$libdir\" 366 ]) 367 else 368 additional_includedir="$withval/include" 369 additional_libdir="$withval/$acl_libdirstem" 370 fi 371 fi 372 ]) 373 dnl Search the library and its dependencies in $additional_libdir and 374 dnl $LDFLAGS. Using breadth-first-seach. 375 LIB[]NAME= 376 LTLIB[]NAME= 377 INC[]NAME= 378 LIB[]NAME[]_PREFIX= 379 rpathdirs= 380 ltrpathdirs= 381 names_already_handled= 382 names_next_round='$1 $2' 383 while test -n "$names_next_round"; do 384 names_this_round="$names_next_round" 385 names_next_round= 386 for name in $names_this_round; do 387 already_handled= 388 for n in $names_already_handled; do 389 if test "$n" = "$name"; then 390 already_handled=yes 391 break 392 fi 393 done 394 if test -z "$already_handled"; then 395 names_already_handled="$names_already_handled $name" 396 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS 397 dnl or AC_LIB_HAVE_LINKFLAGS call. 398 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 399 eval value=\"\$HAVE_LIB$uppername\" 400 if test -n "$value"; then 401 if test "$value" = yes; then 402 eval value=\"\$LIB$uppername\" 403 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" 404 eval value=\"\$LTLIB$uppername\" 405 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" 406 else 407 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined 408 dnl that this library doesn't exist. So just drop it. 409 : 410 fi 411 else 412 dnl Search the library lib$name in $additional_libdir and $LDFLAGS 413 dnl and the already constructed $LIBNAME/$LTLIBNAME. 414 found_dir= 415 found_la= 416 found_so= 417 found_a= 418 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 419 if test -n "$acl_shlibext"; then 420 shrext=".$acl_shlibext" # typically: shrext=.so 421 else 422 shrext= 423 fi 424 if test $use_additional = yes; then 425 dir="$additional_libdir" 426 dnl The same code as in the loop below: 427 dnl First look for a shared library. 428 if test -n "$acl_shlibext"; then 429 if test -f "$dir/$libname$shrext"; then 430 found_dir="$dir" 431 found_so="$dir/$libname$shrext" 432 else 433 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 434 ver=`(cd "$dir" && \ 435 for f in "$libname$shrext".*; do echo "$f"; done \ 436 | sed -e "s,^$libname$shrext\\\\.,," \ 437 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 438 | sed 1q ) 2>/dev/null` 439 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 440 found_dir="$dir" 441 found_so="$dir/$libname$shrext.$ver" 442 fi 443 else 444 eval library_names=\"$acl_library_names_spec\" 445 for f in $library_names; do 446 if test -f "$dir/$f"; then 447 found_dir="$dir" 448 found_so="$dir/$f" 449 break 450 fi 451 done 452 fi 453 fi 454 fi 455 dnl Then look for a static library. 456 if test "X$found_dir" = "X"; then 457 if test -f "$dir/$libname.$acl_libext"; then 458 found_dir="$dir" 459 found_a="$dir/$libname.$acl_libext" 460 fi 461 fi 462 if test "X$found_dir" != "X"; then 463 if test -f "$dir/$libname.la"; then 464 found_la="$dir/$libname.la" 465 fi 466 fi 467 fi 468 if test "X$found_dir" = "X"; then 469 for x in $LDFLAGS $LTLIB[]NAME; do 470 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 471 case "$x" in 472 -L*) 473 dir=`echo "X$x" | sed -e 's/^X-L//'` 474 dnl First look for a shared library. 475 if test -n "$acl_shlibext"; then 476 if test -f "$dir/$libname$shrext"; then 477 found_dir="$dir" 478 found_so="$dir/$libname$shrext" 479 else 480 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 481 ver=`(cd "$dir" && \ 482 for f in "$libname$shrext".*; do echo "$f"; done \ 483 | sed -e "s,^$libname$shrext\\\\.,," \ 484 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 485 | sed 1q ) 2>/dev/null` 486 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 487 found_dir="$dir" 488 found_so="$dir/$libname$shrext.$ver" 489 fi 490 else 491 eval library_names=\"$acl_library_names_spec\" 492 for f in $library_names; do 493 if test -f "$dir/$f"; then 494 found_dir="$dir" 495 found_so="$dir/$f" 496 break 497 fi 498 done 499 fi 500 fi 501 fi 502 dnl Then look for a static library. 503 if test "X$found_dir" = "X"; then 504 if test -f "$dir/$libname.$acl_libext"; then 505 found_dir="$dir" 506 found_a="$dir/$libname.$acl_libext" 507 fi 508 fi 509 if test "X$found_dir" != "X"; then 510 if test -f "$dir/$libname.la"; then 511 found_la="$dir/$libname.la" 512 fi 513 fi 514 ;; 515 esac 516 if test "X$found_dir" != "X"; then 517 break 518 fi 519 done 520 fi 521 if test "X$found_dir" != "X"; then 522 dnl Found the library. 523 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" 524 if test "X$found_so" != "X"; then 525 dnl Linking with a shared library. We attempt to hardcode its 526 dnl directory into the executable's runpath, unless it's the 527 dnl standard /usr/lib. 528 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 529 dnl No hardcoding is needed. 530 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 531 else 532 dnl Use an explicit option to hardcode DIR into the resulting 533 dnl binary. 534 dnl Potentially add DIR to ltrpathdirs. 535 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 536 haveit= 537 for x in $ltrpathdirs; do 538 if test "X$x" = "X$found_dir"; then 539 haveit=yes 540 break 541 fi 542 done 543 if test -z "$haveit"; then 544 ltrpathdirs="$ltrpathdirs $found_dir" 545 fi 546 dnl The hardcoding into $LIBNAME is system dependent. 547 if test "$acl_hardcode_direct" = yes; then 548 dnl Using DIR/libNAME.so during linking hardcodes DIR into the 549 dnl resulting binary. 550 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 551 else 552 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 553 dnl Use an explicit option to hardcode DIR into the resulting 554 dnl binary. 555 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 556 dnl Potentially add DIR to rpathdirs. 557 dnl The rpathdirs will be appended to $LIBNAME at the end. 558 haveit= 559 for x in $rpathdirs; do 560 if test "X$x" = "X$found_dir"; then 561 haveit=yes 562 break 563 fi 564 done 565 if test -z "$haveit"; then 566 rpathdirs="$rpathdirs $found_dir" 567 fi 568 else 569 dnl Rely on "-L$found_dir". 570 dnl But don't add it if it's already contained in the LDFLAGS 571 dnl or the already constructed $LIBNAME 572 haveit= 573 for x in $LDFLAGS $LIB[]NAME; do 574 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 575 if test "X$x" = "X-L$found_dir"; then 576 haveit=yes 577 break 578 fi 579 done 580 if test -z "$haveit"; then 581 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" 582 fi 583 if test "$acl_hardcode_minus_L" != no; then 584 dnl FIXME: Not sure whether we should use 585 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 586 dnl here. 587 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 588 else 589 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH 590 dnl here, because this doesn't fit in flags passed to the 591 dnl compiler. So give up. No hardcoding. This affects only 592 dnl very old systems. 593 dnl FIXME: Not sure whether we should use 594 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 595 dnl here. 596 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 597 fi 598 fi 599 fi 600 fi 601 else 602 if test "X$found_a" != "X"; then 603 dnl Linking with a static library. 604 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" 605 else 606 dnl We shouldn't come here, but anyway it's good to have a 607 dnl fallback. 608 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" 609 fi 610 fi 611 dnl Assume the include files are nearby. 612 additional_includedir= 613 case "$found_dir" in 614 */$acl_libdirstem | */$acl_libdirstem/) 615 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 616 LIB[]NAME[]_PREFIX="$basedir" 617 additional_includedir="$basedir/include" 618 ;; 619 esac 620 if test "X$additional_includedir" != "X"; then 621 dnl Potentially add $additional_includedir to $INCNAME. 622 dnl But don't add it 623 dnl 1. if it's the standard /usr/include, 624 dnl 2. if it's /usr/local/include and we are using GCC on Linux, 625 dnl 3. if it's already present in $CPPFLAGS or the already 626 dnl constructed $INCNAME, 627 dnl 4. if it doesn't exist as a directory. 628 if test "X$additional_includedir" != "X/usr/include"; then 629 haveit= 630 if test "X$additional_includedir" = "X/usr/local/include"; then 631 if test -n "$GCC"; then 632 case $host_os in 633 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 634 esac 635 fi 636 fi 637 if test -z "$haveit"; then 638 for x in $CPPFLAGS $INC[]NAME; do 639 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 640 if test "X$x" = "X-I$additional_includedir"; then 641 haveit=yes 642 break 643 fi 644 done 645 if test -z "$haveit"; then 646 if test -d "$additional_includedir"; then 647 dnl Really add $additional_includedir to $INCNAME. 648 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" 649 fi 650 fi 651 fi 652 fi 653 fi 654 dnl Look for dependencies. 655 if test -n "$found_la"; then 656 dnl Read the .la file. It defines the variables 657 dnl dlname, library_names, old_library, dependency_libs, current, 658 dnl age, revision, installed, dlopen, dlpreopen, libdir. 659 save_libdir="$libdir" 660 case "$found_la" in 661 */* | *\\*) . "$found_la" ;; 662 *) . "./$found_la" ;; 663 esac 664 libdir="$save_libdir" 665 dnl We use only dependency_libs. 666 for dep in $dependency_libs; do 667 case "$dep" in 668 -L*) 669 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 670 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. 671 dnl But don't add it 672 dnl 1. if it's the standard /usr/lib, 673 dnl 2. if it's /usr/local/lib and we are using GCC on Linux, 674 dnl 3. if it's already present in $LDFLAGS or the already 675 dnl constructed $LIBNAME, 676 dnl 4. if it doesn't exist as a directory. 677 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 678 haveit= 679 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 680 if test -n "$GCC"; then 681 case $host_os in 682 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 683 esac 684 fi 685 fi 686 if test -z "$haveit"; then 687 haveit= 688 for x in $LDFLAGS $LIB[]NAME; do 689 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 690 if test "X$x" = "X-L$additional_libdir"; then 691 haveit=yes 692 break 693 fi 694 done 695 if test -z "$haveit"; then 696 if test -d "$additional_libdir"; then 697 dnl Really add $additional_libdir to $LIBNAME. 698 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" 699 fi 700 fi 701 haveit= 702 for x in $LDFLAGS $LTLIB[]NAME; do 703 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 704 if test "X$x" = "X-L$additional_libdir"; then 705 haveit=yes 706 break 707 fi 708 done 709 if test -z "$haveit"; then 710 if test -d "$additional_libdir"; then 711 dnl Really add $additional_libdir to $LTLIBNAME. 712 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" 713 fi 714 fi 715 fi 716 fi 717 ;; 718 -R*) 719 dir=`echo "X$dep" | sed -e 's/^X-R//'` 720 if test "$enable_rpath" != no; then 721 dnl Potentially add DIR to rpathdirs. 722 dnl The rpathdirs will be appended to $LIBNAME at the end. 723 haveit= 724 for x in $rpathdirs; do 725 if test "X$x" = "X$dir"; then 726 haveit=yes 727 break 728 fi 729 done 730 if test -z "$haveit"; then 731 rpathdirs="$rpathdirs $dir" 732 fi 733 dnl Potentially add DIR to ltrpathdirs. 734 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 735 haveit= 736 for x in $ltrpathdirs; do 737 if test "X$x" = "X$dir"; then 738 haveit=yes 739 break 740 fi 741 done 742 if test -z "$haveit"; then 743 ltrpathdirs="$ltrpathdirs $dir" 744 fi 745 fi 746 ;; 747 -l*) 748 dnl Handle this in the next round. 749 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 750 ;; 751 *.la) 752 dnl Handle this in the next round. Throw away the .la's 753 dnl directory; it is already contained in a preceding -L 754 dnl option. 755 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 756 ;; 757 *) 758 dnl Most likely an immediate library name. 759 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" 760 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" 761 ;; 762 esac 763 done 764 fi 765 else 766 dnl Didn't find the library; assume it is in the system directories 767 dnl known to the linker and runtime loader. (All the system 768 dnl directories known to the linker should also be known to the 769 dnl runtime loader, otherwise the system is severely misconfigured.) 770 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 771 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" 772 fi 773 fi 774 fi 775 done 776 done 777 if test "X$rpathdirs" != "X"; then 778 if test -n "$acl_hardcode_libdir_separator"; then 779 dnl Weird platform: only the last -rpath option counts, the user must 780 dnl pass all path elements in one option. We can arrange that for a 781 dnl single library, but not when more than one $LIBNAMEs are used. 782 alldirs= 783 for found_dir in $rpathdirs; do 784 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 785 done 786 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. 787 acl_save_libdir="$libdir" 788 libdir="$alldirs" 789 eval flag=\"$acl_hardcode_libdir_flag_spec\" 790 libdir="$acl_save_libdir" 791 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 792 else 793 dnl The -rpath options are cumulative. 794 for found_dir in $rpathdirs; do 795 acl_save_libdir="$libdir" 796 libdir="$found_dir" 797 eval flag=\"$acl_hardcode_libdir_flag_spec\" 798 libdir="$acl_save_libdir" 799 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 800 done 801 fi 802 fi 803 if test "X$ltrpathdirs" != "X"; then 804 dnl When using libtool, the option that works for both libraries and 805 dnl executables is -R. The -R options are cumulative. 806 for found_dir in $ltrpathdirs; do 807 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" 808 done 809 fi 810 ]) 811 812 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, 813 dnl unless already present in VAR. 814 dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes 815 dnl contains two or three consecutive elements that belong together. 816 AC_DEFUN([AC_LIB_APPENDTOVAR], 817 [ 818 for element in [$2]; do 819 haveit= 820 for x in $[$1]; do 821 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 822 if test "X$x" = "X$element"; then 823 haveit=yes 824 break 825 fi 826 done 827 if test -z "$haveit"; then 828 [$1]="${[$1]}${[$1]:+ }$element" 829 fi 830 done 831 ]) 832 833 dnl For those cases where a variable contains several -L and -l options 834 dnl referring to unknown libraries and directories, this macro determines the 835 dnl necessary additional linker options for the runtime path. 836 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) 837 dnl sets LDADDVAR to linker options needed together with LIBSVALUE. 838 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, 839 dnl otherwise linking without libtool is assumed. 840 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], 841 [ 842 AC_REQUIRE([AC_LIB_RPATH]) 843 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 844 $1= 845 if test "$enable_rpath" != no; then 846 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 847 dnl Use an explicit option to hardcode directories into the resulting 848 dnl binary. 849 rpathdirs= 850 next= 851 for opt in $2; do 852 if test -n "$next"; then 853 dir="$next" 854 dnl No need to hardcode the standard /usr/lib. 855 if test "X$dir" != "X/usr/$acl_libdirstem"; then 856 rpathdirs="$rpathdirs $dir" 857 fi 858 next= 859 else 860 case $opt in 861 -L) next=yes ;; 862 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` 863 dnl No need to hardcode the standard /usr/lib. 864 if test "X$dir" != "X/usr/$acl_libdirstem"; then 865 rpathdirs="$rpathdirs $dir" 866 fi 867 next= ;; 868 *) next= ;; 869 esac 870 fi 871 done 872 if test "X$rpathdirs" != "X"; then 873 if test -n ""$3""; then 874 dnl libtool is used for linking. Use -R options. 875 for dir in $rpathdirs; do 876 $1="${$1}${$1:+ }-R$dir" 877 done 878 else 879 dnl The linker is used for linking directly. 880 if test -n "$acl_hardcode_libdir_separator"; then 881 dnl Weird platform: only the last -rpath option counts, the user 882 dnl must pass all path elements in one option. 883 alldirs= 884 for dir in $rpathdirs; do 885 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" 886 done 887 acl_save_libdir="$libdir" 888 libdir="$alldirs" 889 eval flag=\"$acl_hardcode_libdir_flag_spec\" 890 libdir="$acl_save_libdir" 891 $1="$flag" 892 else 893 dnl The -rpath options are cumulative. 894 for dir in $rpathdirs; do 895 acl_save_libdir="$libdir" 896 libdir="$dir" 897 eval flag=\"$acl_hardcode_libdir_flag_spec\" 898 libdir="$acl_save_libdir" 899 $1="${$1}${$1:+ }$flag" 900 done 901 fi 902 fi 903 fi 904 fi 905 fi 906 AC_SUBST([$1]) 907 ]) 908 909 # lib-ld.m4 serial 3 (gettext-0.13) 910 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. 911 dnl This file is free software; the Free Software Foundation 912 dnl gives unlimited permission to copy and/or distribute it, 913 dnl with or without modifications, as long as this notice is preserved. 914 915 dnl Subroutines of libtool.m4, 916 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision 917 dnl with libtool.m4. 918 919 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. 920 AC_DEFUN([AC_LIB_PROG_LD_GNU], 921 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, 922 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 923 case `$LD -v 2>&1 </dev/null` in 924 *GNU* | *'with BFD'*) 925 acl_cv_prog_gnu_ld=yes ;; 926 *) 927 acl_cv_prog_gnu_ld=no ;; 928 esac]) 929 with_gnu_ld=$acl_cv_prog_gnu_ld 930 ]) 931 932 dnl From libtool-1.4. Sets the variable LD. 933 AC_DEFUN([AC_LIB_PROG_LD], 934 [AC_ARG_WITH(gnu-ld, 935 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], 936 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) 937 AC_REQUIRE([AC_PROG_CC])dnl 938 AC_REQUIRE([AC_CANONICAL_HOST])dnl 939 # Prepare PATH_SEPARATOR. 940 # The user is always right. 941 if test "${PATH_SEPARATOR+set}" != set; then 942 echo "#! /bin/sh" >conf$$.sh 943 echo "exit 0" >>conf$$.sh 944 chmod +x conf$$.sh 945 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 946 PATH_SEPARATOR=';' 947 else 948 PATH_SEPARATOR=: 949 fi 950 rm -f conf$$.sh 951 fi 952 ac_prog=ld 953 if test "$GCC" = yes; then 954 # Check if gcc -print-prog-name=ld gives a path. 955 AC_MSG_CHECKING([for ld used by GCC]) 956 case $host in 957 *-*-mingw*) 958 # gcc leaves a trailing carriage return which upsets mingw 959 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 960 *) 961 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 962 esac 963 case $ac_prog in 964 # Accept absolute paths. 965 [[\\/]* | [A-Za-z]:[\\/]*)] 966 [re_direlt='/[^/][^/]*/\.\./'] 967 # Canonicalize the path of ld 968 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 969 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 970 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 971 done 972 test -z "$LD" && LD="$ac_prog" 973 ;; 974 "") 975 # If it fails, then pretend we aren't using GCC. 976 ac_prog=ld 977 ;; 978 *) 979 # If it is relative, then search for the first ld in PATH. 980 with_gnu_ld=unknown 981 ;; 982 esac 983 elif test "$with_gnu_ld" = yes; then 984 AC_MSG_CHECKING([for GNU ld]) 985 else 986 AC_MSG_CHECKING([for non-GNU ld]) 987 fi 988 AC_CACHE_VAL(acl_cv_path_LD, 989 [if test -z "$LD"; then 990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 991 for ac_dir in $PATH; do 992 test -z "$ac_dir" && ac_dir=. 993 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 994 acl_cv_path_LD="$ac_dir/$ac_prog" 995 # Check to see if the program is GNU ld. I'd rather use --version, 996 # but apparently some GNU ld's only accept -v. 997 # Break only if it was the GNU/non-GNU ld that we prefer. 998 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 999 *GNU* | *'with BFD'*) 1000 test "$with_gnu_ld" != no && break ;; 1001 *) 1002 test "$with_gnu_ld" != yes && break ;; 1003 esac 1004 fi 1005 done 1006 IFS="$ac_save_ifs" 1007 else 1008 acl_cv_path_LD="$LD" # Let the user override the test with a path. 1009 fi]) 1010 LD="$acl_cv_path_LD" 1011 if test -n "$LD"; then 1012 AC_MSG_RESULT($LD) 1013 else 1014 AC_MSG_RESULT(no) 1015 fi 1016 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 1017 AC_LIB_PROG_LD_GNU 1018 ]) 1019 1020 # Like AC_CONFIG_HEADER, but automatically create stamp file. 1021 1022 AC_DEFUN([AM_CONFIG_HEADER], 1023 [AC_PREREQ([2.12]) 1024 AC_CONFIG_HEADER([$1]) 1025 dnl When config.status generates a header, we must update the stamp-h file. 1026 dnl This file resides in the same directory as the config header 1027 dnl that is generated. We must strip everything past the first ":", 1028 dnl and everything past the last "/". 1029 AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl 1030 ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, 1031 <<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, 1032 <<am_indx=1 1033 for am_file in <<$1>>; do 1034 case " <<$>>CONFIG_HEADERS " in 1035 *" <<$>>am_file "*<<)>> 1036 echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx 1037 ;; 1038 esac 1039 am_indx=`expr "<<$>>am_indx" + 1` 1040 done<<>>dnl>>) 1041 changequote([,]))]) 1042 1043 # Do all the work for Automake. This macro actually does too much -- 1044 # some checks are only needed if your package does certain things. 1045 # But this isn't really a big deal. 1046 1047 # serial 1 1048 1049 dnl Usage: 1050 dnl AM_INIT_AUTOMAKE(package,version, [no-define]) 1051 1052 AC_DEFUN([AM_INIT_AUTOMAKE], 1053 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 1054 AC_REQUIRE([AC_PROG_INSTALL]) 1055 PACKAGE=[$1] 1056 AC_SUBST(PACKAGE) 1057 VERSION=[$2] 1058 AC_SUBST(VERSION) 1059 dnl test to see if srcdir already configured 1060 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1061 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 1062 fi 1063 ifelse([$3],, 1064 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 1065 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 1066 AC_REQUIRE([AM_SANITY_CHECK]) 1067 AC_REQUIRE([AC_ARG_PROGRAM]) 1068 dnl FIXME This is truly gross. 1069 missing_dir=`cd $ac_aux_dir && pwd` 1070 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) 1071 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) 1072 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) 1073 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 1074 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 1075 AC_REQUIRE([AC_PROG_MAKE_SET])]) 1076 1077 # Copyright 2002 Free Software Foundation, Inc. 1078 1079 # This program is free software; you can redistribute it and/or modify 1080 # it under the terms of the GNU General Public License as published by 1081 # the Free Software Foundation; either version 2, or (at your option) 1082 # any later version. 8 1083 9 1084 # 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 14 m4_if(m4_PACKAGE_VERSION, [2.61],, 15 [m4_fatal([this file was generated for autoconf 2.61. 16 You have another version of autoconf. If you want to use that, 17 you should regenerate the build system entirely.], [63])]) 1085 # but WITHOUT ANY WARRANTY; without even the implied warranty of 1086 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1087 # GNU General Public License for more details. 1088 1089 # You should have received a copy of the GNU General Public License 1090 # along with this program; if not, write to the Free Software 1091 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 1092 1093 # AM_AUTOMAKE_VERSION(VERSION) 1094 # ---------------------------- 1095 # Automake X.Y traces this macro to ensure aclocal.m4 has been 1096 # generated from the m4 files accompanying Automake X.Y. 1097 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) 1098 1099 # AM_SET_CURRENT_AUTOMAKE_VERSION 1100 # ------------------------------- 1101 # Call AM_AUTOMAKE_VERSION so it can be traced. 1102 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 1103 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 1104 [AM_AUTOMAKE_VERSION([1.4-p6])]) 1105 1106 # 1107 # Check to make sure that the build environment is sane. 1108 # 1109 1110 AC_DEFUN([AM_SANITY_CHECK], 1111 [AC_MSG_CHECKING([whether build environment is sane]) 1112 # Just in case 1113 sleep 1 1114 echo timestamp > conftestfile 1115 # Do `set' in a subshell so we don't clobber the current shell's 1116 # arguments. Must try -L first in case configure is actually a 1117 # symlink; some systems play weird games with the mod time of symlinks 1118 # (eg FreeBSD returns the mod time of the symlink's containing 1119 # directory). 1120 if ( 1121 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 1122 if test "[$]*" = "X"; then 1123 # -L didn't work. 1124 set X `ls -t $srcdir/configure conftestfile` 1125 fi 1126 if test "[$]*" != "X $srcdir/configure conftestfile" \ 1127 && test "[$]*" != "X conftestfile $srcdir/configure"; then 1128 1129 # If neither matched, then we have a broken ls. This can happen 1130 # if, for instance, CONFIG_SHELL is bash and it inherits a 1131 # broken ls alias from the environment. This has actually 1132 # happened. Such a system could not be considered "sane". 1133 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1134 alias in your environment]) 1135 fi 1136 1137 test "[$]2" = conftestfile 1138 ) 1139 then 1140 # Ok. 1141 : 1142 else 1143 AC_MSG_ERROR([newly created file is older than distributed files! 1144 Check your system clock]) 1145 fi 1146 rm -f conftest* 1147 AC_MSG_RESULT(yes)]) 1148 1149 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) 1150 dnl The program must properly implement --version. 1151 AC_DEFUN([AM_MISSING_PROG], 1152 [AC_MSG_CHECKING(for working $2) 1153 # Run test in a subshell; some versions of sh will print an error if 1154 # an executable is not found, even if stderr is redirected. 1155 # Redirect stdin to placate older versions of autoconf. Sigh. 1156 if ($2 --version) < /dev/null > /dev/null 2>&1; then 1157 $1=$2 1158 AC_MSG_RESULT(found) 1159 else 1160 $1="$3/missing $2" 1161 AC_MSG_RESULT(missing) 1162 fi 1163 AC_SUBST($1)]) 1164 1165 # Add --enable-maintainer-mode option to configure. 1166 # From Jim Meyering 1167 1168 # serial 1 1169 1170 AC_DEFUN([AM_MAINTAINER_MODE], 1171 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 1172 dnl maintainer-mode is disabled by default 1173 AC_ARG_ENABLE(maintainer-mode, 1174 [ --enable-maintainer-mode enable make rules and dependencies not useful 1175 (and sometimes confusing) to the casual installer], 1176 USE_MAINTAINER_MODE=$enableval, 1177 USE_MAINTAINER_MODE=no) 1178 AC_MSG_RESULT($USE_MAINTAINER_MODE) 1179 AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes) 1180 MAINT=$MAINTAINER_MODE_TRUE 1181 AC_SUBST(MAINT)dnl 1182 ] 1183 ) 1184 1185 # Define a conditional. 1186 1187 AC_DEFUN([AM_CONDITIONAL], 1188 [AC_SUBST($1_TRUE) 1189 AC_SUBST($1_FALSE) 1190 if $2; then 1191 $1_TRUE= 1192 $1_FALSE='#' 1193 else 1194 $1_TRUE='#' 1195 $1_FALSE= 1196 fi]) 18 1197 19 1198 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 20 1199 21 # serial 5 1 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL1200 # serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL 22 1201 23 1202 … … 107 1286 AC_REQUIRE([AC_EXEEXT])dnl 108 1287 dnl 109 110 1288 AC_LIBTOOL_SYS_MAX_CMD_LEN 111 1289 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE … … 209 1387 esac 210 1388 1389 _LT_REQUIRED_DARWIN_CHECKS 1390 211 1391 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 212 1392 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], … … 288 1468 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 289 1469 _lt_linker_boilerplate=`cat conftest.err` 290 $rm conftest*1470 $rm -r conftest* 291 1471 ])# _LT_LINKER_BOILERPLATE 292 1472 1473 # _LT_REQUIRED_DARWIN_CHECKS 1474 # -------------------------- 1475 # Check for some things on darwin 1476 AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ 1477 case $host_os in 1478 rhapsody* | darwin*) 1479 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) 1480 AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) 1481 1482 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], 1483 [lt_cv_apple_cc_single_mod=no 1484 if test -z "${LT_MULTI_MODULE}"; then 1485 # By default we will add the -single_module flag. You can override 1486 # by either setting the environment variable LT_MULTI_MODULE 1487 # non-empty at configure time, or by adding -multi_module to the 1488 # link flags. 1489 echo "int foo(void){return 1;}" > conftest.c 1490 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 1491 -dynamiclib ${wl}-single_module conftest.c 1492 if test -f libconftest.dylib; then 1493 lt_cv_apple_cc_single_mod=yes 1494 rm -rf libconftest.dylib* 1495 fi 1496 rm conftest.c 1497 fi]) 1498 AC_CACHE_CHECK([for -exported_symbols_list linker flag], 1499 [lt_cv_ld_exported_symbols_list], 1500 [lt_cv_ld_exported_symbols_list=no 1501 save_LDFLAGS=$LDFLAGS 1502 echo "_main" > conftest.sym 1503 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 1504 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], 1505 [lt_cv_ld_exported_symbols_list=yes], 1506 [lt_cv_ld_exported_symbols_list=no]) 1507 LDFLAGS="$save_LDFLAGS" 1508 ]) 1509 case $host_os in 1510 rhapsody* | darwin1.[[0123]]) 1511 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 1512 darwin1.*) 1513 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 1514 darwin*) 1515 # if running on 10.5 or later, the deployment target defaults 1516 # to the OS version, if on x86, and 10.4, the deployment 1517 # target defaults to 10.4. Don't you love it? 1518 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 1519 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) 1520 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 1521 10.[[012]]*) 1522 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 1523 10.*) 1524 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 1525 esac 1526 ;; 1527 esac 1528 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 1529 _lt_dar_single_mod='$single_module' 1530 fi 1531 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 1532 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 1533 else 1534 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 1535 fi 1536 if test "$DSYMUTIL" != ":"; then 1537 _lt_dsymutil="~$DSYMUTIL \$lib || :" 1538 else 1539 _lt_dsymutil= 1540 fi 1541 ;; 1542 esac 1543 ]) 293 1544 294 1545 # _LT_AC_SYS_LIBPATH_AIX … … 615 1866 case $lt_cv_prog_gnu_ld in 616 1867 yes*) LD="${LD-ld} -m elf64_sparc" ;; 617 *) LD="${LD-ld} -64" ;; 1868 *) 1869 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 1870 LD="${LD-ld} -64" 1871 fi 1872 ;; 618 1873 esac 619 1874 ;; … … 708 1963 fi 709 1964 fi 710 $rm conftest*1965 $rm -r conftest* 711 1966 LDFLAGS="$save_LDFLAGS" 712 1967 ]) … … 979 2234 [lt_cv_dlopen="shl_load"], 980 2235 [AC_CHECK_LIB([dld], [shl_load], 981 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="- dld"],2236 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], 982 2237 [AC_CHECK_FUNC([dlopen], 983 2238 [lt_cv_dlopen="dlopen"], … … 987 2242 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 988 2243 [AC_CHECK_LIB([dld], [dld_link], 989 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="- dld"])2244 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) 990 2245 ]) 991 2246 ]) … … 1304 2559 ;; 1305 2560 1306 aix 4* | aix5*)2561 aix[[4-9]]*) 1307 2562 version_type=linux 1308 2563 need_lib_prefix=no … … 1836 3091 AC_MSG_RESULT([$dynamic_linker]) 1837 3092 test "$dynamic_linker" = no && can_build_shared=no 3093 3094 AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], 3095 [lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) 3096 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 3097 AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], 3098 [lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) 3099 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 1838 3100 1839 3101 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" … … 2336 3598 2337 3599 case $host_os in 2338 aix 4* | aix5*)3600 aix[[4-9]]*) 2339 3601 lt_cv_deplibs_check_method=pass_all 2340 3602 ;; … … 2772 4034 ;; 2773 4035 2774 aix 4* | aix5*)4036 aix[[4-9]]*) 2775 4037 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2776 4038 test "$enable_shared" = yes && enable_static=no … … 2829 4091 _LT_AC_TAGVAR(postdeps, $1)= 2830 4092 _LT_AC_TAGVAR(compiler_lib_search_path, $1)= 4093 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 2831 4094 2832 4095 # Source file extension for C++ test sources. … … 2938 4201 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2939 4202 ;; 2940 aix 4* | aix5*)4203 aix[[4-9]]*) 2941 4204 if test "$host_cpu" = ia64; then 2942 4205 # On IA64, the linker does run time linking by default, so we don't … … 2951 4214 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 2952 4215 # need to do runtime linking. 2953 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix 5*)4216 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 2954 4217 for ld_flag in $LDFLAGS; do 2955 4218 case $ld_flag in … … 3097 4360 ;; 3098 4361 darwin* | rhapsody*) 3099 case $host_os in3100 rhapsody* | darwin1.[[012]])3101 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'3102 ;;3103 *) # Darwin 1.3 on3104 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then3105 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'3106 else3107 case ${MACOSX_DEPLOYMENT_TARGET} in3108 10.[[012]])3109 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'3110 ;;3111 10.*)3112 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'3113 ;;3114 esac3115 fi3116 ;;3117 esac3118 4362 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3119 4363 _LT_AC_TAGVAR(hardcode_direct, $1)=no … … 3122 4366 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 3123 4367 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 3124 3125 if test "$GXX" = yes ; then 3126 lt_int_apple_cc_single_mod=no 4368 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" 4369 if test "$GXX" = yes ; then 3127 4370 output_verbose_link_cmd='echo' 3128 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 3129 lt_int_apple_cc_single_mod=yes 4371 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 4372 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 4373 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 4374 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 4375 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 4376 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 4377 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 3130 4378 fi 3131 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then3132 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'3133 else3134 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'3135 fi3136 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'3137 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds3138 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then3139 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3140 else3141 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3142 fi3143 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3144 4379 else 3145 4380 case $cc_basename in … … 3392 4627 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 3393 4628 ;; 3394 pgCC* )4629 pgCC* | pgcpp*) 3395 4630 # Portland Group C++ compiler 3396 4631 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' … … 3827 5062 # Parse the compiler output and extract the necessary 3828 5063 # objects, libraries and library flags. 3829 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ 5064 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], 5065 [AC_REQUIRE([LT_AC_PROG_SED])dnl 3830 5066 dnl we can't use the lt_simple_compile_test_code here, 3831 5067 dnl because it contains code intended for an executable, … … 3952 5188 $rm -f confest.$objext 3953 5189 5190 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 5191 if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then 5192 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 5193 fi 5194 3954 5195 # PORTME: override above test on systems where it is broken 3955 5196 ifelse([$1],[CXX], … … 4008 5249 esac 4009 5250 ]) 4010 4011 5251 case " $_LT_AC_TAGVAR(postdeps, $1) " in 4012 5252 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; … … 4093 5333 fi 4094 5334 ;; 4095 aix 4* | aix5*)5335 aix[[4-9]]*) 4096 5336 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 4097 5337 test "$enable_shared" = yes && enable_static=no … … 4270 5510 _LT_AC_TAGVAR(postdeps, $1) \ 4271 5511 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ 5512 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ 4272 5513 _LT_AC_TAGVAR(archive_cmds, $1) \ 4273 5514 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ … … 4332 5573 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 4333 5574 # 4334 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 5575 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 4335 5576 # Free Software Foundation, Inc. 4336 5577 # … … 4568 5809 # shared library. 4569 5810 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) 5811 5812 # The directories searched by this compiler when creating a shared 5813 # library 5814 compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) 4570 5815 4571 5816 # The library search path used internally by the compiler when linking … … 4918 6163 cat conftest.$ac_ext >&5 4919 6164 fi 4920 rm - f conftest* conftst*6165 rm -rf conftest* conftst* 4921 6166 4922 6167 # Do not use the global_symbol_pipe unless it works. … … 4975 6220 # Although the cygwin gcc ignores -fPIC, still need this for old-style 4976 6221 # (--disable-auto-import) libraries 4977 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 6222 m4_if([$1], [GCJ], [], 6223 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 4978 6224 ;; 4979 6225 darwin* | rhapsody*) … … 5012 6258 else 5013 6259 case $host_os in 5014 aix 4* | aix5*)6260 aix[[4-9]]*) 5015 6261 # All AIX code is PIC. 5016 6262 if test "$host_cpu" = ia64; then … … 5108 6354 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 5109 6355 ;; 5110 pgCC* )6356 pgCC* | pgcpp*) 5111 6357 # Portland Group C++ compiler. 5112 6358 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' … … 5259 6505 # Although the cygwin gcc ignores -fPIC, still need this for old-style 5260 6506 # (--disable-auto-import) libraries 5261 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 6507 m4_if([$1], [GCJ], [], 6508 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 5262 6509 ;; 5263 6510 … … 5329 6576 # This hack is so that the source file can tell whether it is being 5330 6577 # built for inclusion in a dll (and should export symbols for example). 5331 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 6578 m4_if([$1], [GCJ], [], 6579 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 5332 6580 ;; 5333 6581 … … 5466 6714 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then 5467 6715 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], 5468 _LT_AC_TAGVAR(lt_ prog_compiler_pic_works, $1),6716 _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), 5469 6717 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], 5470 6718 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in … … 5490 6738 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 5491 6739 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], 5492 _LT_AC_TAGVAR(lt_ prog_compiler_static_works, $1),6740 _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), 5493 6741 $lt_tmp_static_flag, 5494 6742 [], … … 5506 6754 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5507 6755 case $host_os in 5508 aix 4* | aix5*)6756 aix[[4-9]]*) 5509 6757 # If we're using GNU nm, then we don't want the "-C" option. 5510 6758 # -C means demangle to AIX nm, but means don't demangle with GNU nm … … 5528 6776 ;; 5529 6777 esac 6778 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 5530 6779 ],[ 5531 6780 runpath_var= … … 5558 6807 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 5559 6808 # as well as any symbol that contains `d'. 5560 _LT_AC_TAGVAR(exclude_expsyms, $1)= "_GLOBAL_OFFSET_TABLE_"6809 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 5561 6810 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 5562 6811 # platforms (ab)use it in PIC code, but their linkers get confused if … … 5564 6813 # rely on this symbol name, it's probably fine to never include it in 5565 6814 # preloaded symbol tables. 6815 # Exclude shared library initialization/finalization symbols. 6816 dnl Note also adjust exclude_expsyms for C++ above. 5566 6817 extract_expsyms_cmds= 5567 6818 # Just being paranoid about ensuring that cc_basename is set. … … 5613 6864 # See if GNU ld supports shared libraries. 5614 6865 case $host_os in 5615 aix 3* | aix4* | aix5*)6866 aix[[3-9]]*) 5616 6867 # On AIX/PPC, the GNU linker is very broken 5617 6868 if test "$host_cpu" != ia64; then … … 5833 7084 ;; 5834 7085 5835 aix 4* | aix5*)7086 aix[[4-9]]*) 5836 7087 if test "$host_cpu" = ia64; then 5837 7088 # On IA64, the linker does run time linking by default, so we don't … … 5853 7104 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 5854 7105 # need to do runtime linking. 5855 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix 5*)7106 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 5856 7107 for ld_flag in $LDFLAGS; do 5857 7108 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then … … 6013 7264 if test "$GCC" = yes ; then 6014 7265 output_verbose_link_cmd='echo' 6015 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6016 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6017 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 6018 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6019 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7266 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 7267 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 7268 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 7269 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 6020 7270 else 6021 7271 case $cc_basename in … … 6598 7848 ]) 6599 7849 6600 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.6601 #6602 # This file is free software; the Free Software Foundation6603 # gives unlimited permission to copy and/or distribute it,6604 # with or without modifications, as long as this notice is preserved.6605 6606 # AM_AUTOMAKE_VERSION(VERSION)6607 # ----------------------------6608 # Automake X.Y traces this macro to ensure aclocal.m4 has been6609 # generated from the m4 files accompanying Automake X.Y.6610 # (This private macro should not be called outside this file.)6611 AC_DEFUN([AM_AUTOMAKE_VERSION],6612 [am__api_version='1.10'6613 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to6614 dnl require some minimum version. Point them to the right macro.6615 m4_if([$1], [1.10], [],6616 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl6617 ])6618 6619 # _AM_AUTOCONF_VERSION(VERSION)6620 # -----------------------------6621 # aclocal traces this macro to find the Autoconf version.6622 # This is a private macro too. Using m4_define simplifies6623 # the logic in aclocal, which can simply ignore this definition.6624 m4_define([_AM_AUTOCONF_VERSION], [])6625 6626 # AM_SET_CURRENT_AUTOMAKE_VERSION6627 # -------------------------------6628 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.6629 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.6630 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],6631 [AM_AUTOMAKE_VERSION([1.10])dnl6632 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])6633 6634 # AM_AUX_DIR_EXPAND -*- Autoconf -*-6635 6636 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.6637 #6638 # This file is free software; the Free Software Foundation6639 # gives unlimited permission to copy and/or distribute it,6640 # with or without modifications, as long as this notice is preserved.6641 6642 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets6643 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to6644 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.6645 #6646 # Of course, Automake must honor this variable whenever it calls a6647 # tool from the auxiliary directory. The problem is that $srcdir (and6648 # therefore $ac_aux_dir as well) can be either absolute or relative,6649 # depending on how configure is run. This is pretty annoying, since6650 # it makes $ac_aux_dir quite unusable in subdirectories: in the top6651 # source directory, any form will work fine, but in subdirectories a6652 # relative path needs to be adjusted first.6653 #6654 # $ac_aux_dir/missing6655 # fails when called from a subdirectory if $ac_aux_dir is relative6656 # $top_srcdir/$ac_aux_dir/missing6657 # fails if $ac_aux_dir is absolute,6658 # fails when called from a subdirectory in a VPATH build with6659 # a relative $ac_aux_dir6660 #6661 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir6662 # are both prefixed by $srcdir. In an in-source build this is usually6663 # harmless because $srcdir is `.', but things will broke when you6664 # start a VPATH build or use an absolute $srcdir.6665 #6666 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,6667 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:6668 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`6669 # and then we would define $MISSING as6670 # MISSING="\${SHELL} $am_aux_dir/missing"6671 # This will work as long as MISSING is not called from configure, because6672 # unfortunately $(top_srcdir) has no meaning in configure.6673 # However there are other variables, like CC, which are often used in6674 # configure, and could therefore not use this "fixed" $ac_aux_dir.6675 #6676 # Another solution, used here, is to always expand $ac_aux_dir to an6677 # absolute PATH. The drawback is that using absolute paths prevent a6678 # configured tree to be moved without reconfiguration.6679 6680 AC_DEFUN([AM_AUX_DIR_EXPAND],6681 [dnl Rely on autoconf to set up CDPATH properly.6682 AC_PREREQ([2.50])dnl6683 # expand $ac_aux_dir to an absolute path6684 am_aux_dir=`cd $ac_aux_dir && pwd`6685 ])6686 6687 # AM_CONDITIONAL -*- Autoconf -*-6688 6689 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 20066690 # Free Software Foundation, Inc.6691 #6692 # This file is free software; the Free Software Foundation6693 # gives unlimited permission to copy and/or distribute it,6694 # with or without modifications, as long as this notice is preserved.6695 6696 # serial 86697 6698 # AM_CONDITIONAL(NAME, SHELL-CONDITION)6699 # -------------------------------------6700 # Define a conditional.6701 AC_DEFUN([AM_CONDITIONAL],6702 [AC_PREREQ(2.52)dnl6703 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],6704 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl6705 AC_SUBST([$1_TRUE])dnl6706 AC_SUBST([$1_FALSE])dnl6707 _AM_SUBST_NOTMAKE([$1_TRUE])dnl6708 _AM_SUBST_NOTMAKE([$1_FALSE])dnl6709 if $2; then6710 $1_TRUE=6711 $1_FALSE='#'6712 else6713 $1_TRUE='#'6714 $1_FALSE=6715 fi6716 AC_CONFIG_COMMANDS_PRE(6717 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then6718 AC_MSG_ERROR([[conditional "$1" was never defined.6719 Usually this means the macro was only invoked conditionally.]])6720 fi])])6721 6722 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 20066723 # Free Software Foundation, Inc.6724 #6725 # This file is free software; the Free Software Foundation6726 # gives unlimited permission to copy and/or distribute it,6727 # with or without modifications, as long as this notice is preserved.6728 6729 # serial 96730 6731 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be6732 # written in clear, in which case automake, when reading aclocal.m4,6733 # will think it sees a *use*, and therefore will trigger all it's6734 # C support machinery. Also note that it means that autoscan, seeing6735 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...6736 6737 6738 # _AM_DEPENDENCIES(NAME)6739 # ----------------------6740 # See how the compiler implements dependency checking.6741 # NAME is "CC", "CXX", "GCJ", or "OBJC".6742 # We try a few techniques and use that to set a single cache variable.6743 #6744 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was6745 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular6746 # dependency, and given that the user is not expected to run this macro,6747 # just rely on AC_PROG_CC.6748 AC_DEFUN([_AM_DEPENDENCIES],6749 [AC_REQUIRE([AM_SET_DEPDIR])dnl6750 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl6751 AC_REQUIRE([AM_MAKE_INCLUDE])dnl6752 AC_REQUIRE([AM_DEP_TRACK])dnl6753 6754 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],6755 [$1], CXX, [depcc="$CXX" am_compiler_list=],6756 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],6757 [$1], UPC, [depcc="$UPC" am_compiler_list=],6758 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],6759 [depcc="$$1" am_compiler_list=])6760 6761 AC_CACHE_CHECK([dependency style of $depcc],6762 [am_cv_$1_dependencies_compiler_type],6763 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then6764 # We make a subdir and do the tests there. Otherwise we can end up6765 # making bogus files that we don't know about and never remove. For6766 # instance it was reported that on HP-UX the gcc test will end up6767 # making a dummy file named `D' -- because `-MD' means `put the output6768 # in D'.6769 mkdir conftest.dir6770 # Copy depcomp to subdir because otherwise we won't find it if we're6771 # using a relative directory.6772 cp "$am_depcomp" conftest.dir6773 cd conftest.dir6774 # We will build objects and dependencies in a subdirectory because6775 # it helps to detect inapplicable dependency modes. For instance6776 # both Tru64's cc and ICC support -MD to output dependencies as a6777 # side effect of compilation, but ICC will put the dependencies in6778 # the current directory while Tru64 will put them in the object6779 # directory.6780 mkdir sub6781 6782 am_cv_$1_dependencies_compiler_type=none6783 if test "$am_compiler_list" = ""; then6784 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`6785 fi6786 for depmode in $am_compiler_list; do6787 # Setup a source with many dependencies, because some compilers6788 # like to wrap large dependency lists on column 80 (with \), and6789 # we should not choose a depcomp mode which is confused by this.6790 #6791 # We need to recreate these files for each test, as the compiler may6792 # overwrite some of them when testing with obscure command lines.6793 # This happens at least with the AIX C compiler.6794 : > sub/conftest.c6795 for i in 1 2 3 4 5 6; do6796 echo '#include "conftst'$i'.h"' >> sub/conftest.c6797 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with6798 # Solaris 8's {/usr,}/bin/sh.6799 touch sub/conftst$i.h6800 done6801 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf6802 6803 case $depmode in6804 nosideeffect)6805 # after this tag, mechanisms are not by side-effect, so they'll6806 # only be used when explicitly requested6807 if test "x$enable_dependency_tracking" = xyes; then6808 continue6809 else6810 break6811 fi6812 ;;6813 none) break ;;6814 esac6815 # We check with `-c' and `-o' for the sake of the "dashmstdout"6816 # mode. It turns out that the SunPro C++ compiler does not properly6817 # handle `-M -o', and we need to detect this.6818 if depmode=$depmode \6819 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \6820 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \6821 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \6822 >/dev/null 2>conftest.err &&6823 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&6824 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&6825 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&6826 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then6827 # icc doesn't choke on unknown options, it will just issue warnings6828 # or remarks (even with -Werror). So we grep stderr for any message6829 # that says an option was ignored or not supported.6830 # When given -MP, icc 7.0 and 7.1 complain thusly:6831 # icc: Command line warning: ignoring option '-M'; no argument required6832 # The diagnosis changed in icc 8.0:6833 # icc: Command line remark: option '-MP' not supported6834 if (grep 'ignoring option' conftest.err ||6835 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else6836 am_cv_$1_dependencies_compiler_type=$depmode6837 break6838 fi6839 fi6840 done6841 6842 cd ..6843 rm -rf conftest.dir6844 else6845 am_cv_$1_dependencies_compiler_type=none6846 fi6847 ])6848 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])6849 AM_CONDITIONAL([am__fastdep$1], [6850 test "x$enable_dependency_tracking" != xno \6851 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])6852 ])6853 6854 6855 # AM_SET_DEPDIR6856 # -------------6857 # Choose a directory name for dependency files.6858 # This macro is AC_REQUIREd in _AM_DEPENDENCIES6859 AC_DEFUN([AM_SET_DEPDIR],6860 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl6861 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl6862 ])6863 6864 6865 # AM_DEP_TRACK6866 # ------------6867 AC_DEFUN([AM_DEP_TRACK],6868 [AC_ARG_ENABLE(dependency-tracking,6869 [ --disable-dependency-tracking speeds up one-time build6870 --enable-dependency-tracking do not reject slow dependency extractors])6871 if test "x$enable_dependency_tracking" != xno; then6872 am_depcomp="$ac_aux_dir/depcomp"6873 AMDEPBACKSLASH='\'6874 fi6875 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])6876 AC_SUBST([AMDEPBACKSLASH])dnl6877 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl6878 ])6879 6880 # Generate code to set up dependency tracking. -*- Autoconf -*-6881 6882 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 20056883 # Free Software Foundation, Inc.6884 #6885 # This file is free software; the Free Software Foundation6886 # gives unlimited permission to copy and/or distribute it,6887 # with or without modifications, as long as this notice is preserved.6888 6889 #serial 36890 6891 # _AM_OUTPUT_DEPENDENCY_COMMANDS6892 # ------------------------------6893 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],6894 [for mf in $CONFIG_FILES; do6895 # Strip MF so we end up with the name of the file.6896 mf=`echo "$mf" | sed -e 's/:.*$//'`6897 # Check whether this is an Automake generated Makefile or not.6898 # We used to match only the files named `Makefile.in', but6899 # some people rename them; so instead we look at the file content.6900 # Grep'ing the first line is not enough: some people post-process6901 # each Makefile.in and add a new line on top of each file to say so.6902 # Grep'ing the whole file is not good either: AIX grep has a line6903 # limit of 2048, but all sed's we know have understand at least 4000.6904 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then6905 dirpart=`AS_DIRNAME("$mf")`6906 else6907 continue6908 fi6909 # Extract the definition of DEPDIR, am__include, and am__quote6910 # from the Makefile without running `make'.6911 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`6912 test -z "$DEPDIR" && continue6913 am__include=`sed -n 's/^am__include = //p' < "$mf"`6914 test -z "am__include" && continue6915 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`6916 # When using ansi2knr, U may be empty or an underscore; expand it6917 U=`sed -n 's/^U = //p' < "$mf"`6918 # Find all dependency output files, they are included files with6919 # $(DEPDIR) in their names. We invoke sed twice because it is the6920 # simplest approach to changing $(DEPDIR) to its actual value in the6921 # expansion.6922 for file in `sed -n "6923 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \6924 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do6925 # Make sure the directory exists.6926 test -f "$dirpart/$file" && continue6927 fdir=`AS_DIRNAME(["$file"])`6928 AS_MKDIR_P([$dirpart/$fdir])6929 # echo "creating $dirpart/$file"6930 echo '# dummy' > "$dirpart/$file"6931 done6932 done6933 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS6934 6935 6936 # AM_OUTPUT_DEPENDENCY_COMMANDS6937 # -----------------------------6938 # This macro should only be invoked once -- use via AC_REQUIRE.6939 #6940 # This code is only required when automatic dependency tracking6941 # is enabled. FIXME. This creates each `.P' file that we will6942 # need in order to bootstrap the dependency handling code.6943 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],6944 [AC_CONFIG_COMMANDS([depfiles],6945 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],6946 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])6947 ])6948 6949 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 20056950 # Free Software Foundation, Inc.6951 #6952 # This file is free software; the Free Software Foundation6953 # gives unlimited permission to copy and/or distribute it,6954 # with or without modifications, as long as this notice is preserved.6955 6956 # serial 86957 6958 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.6959 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])6960 6961 # Do all the work for Automake. -*- Autoconf -*-6962 6963 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,6964 # 2005, 2006 Free Software Foundation, Inc.6965 #6966 # This file is free software; the Free Software Foundation6967 # gives unlimited permission to copy and/or distribute it,6968 # with or without modifications, as long as this notice is preserved.6969 6970 # serial 126971 6972 # This macro actually does too much. Some checks are only needed if6973 # your package does certain things. But this isn't really a big deal.6974 6975 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])6976 # AM_INIT_AUTOMAKE([OPTIONS])6977 # -----------------------------------------------6978 # The call with PACKAGE and VERSION arguments is the old style6979 # call (pre autoconf-2.50), which is being phased out. PACKAGE6980 # and VERSION should now be passed to AC_INIT and removed from6981 # the call to AM_INIT_AUTOMAKE.6982 # We support both call styles for the transition. After6983 # the next Automake release, Autoconf can make the AC_INIT6984 # arguments mandatory, and then we can depend on a new Autoconf6985 # release and drop the old call support.6986 AC_DEFUN([AM_INIT_AUTOMAKE],6987 [AC_PREREQ([2.60])dnl6988 dnl Autoconf wants to disallow AM_ names. We explicitly allow6989 dnl the ones we care about.6990 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl6991 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl6992 AC_REQUIRE([AC_PROG_INSTALL])dnl6993 if test "`cd $srcdir && pwd`" != "`pwd`"; then6994 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output6995 # is not polluted with repeated "-I."6996 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl6997 # test to see if srcdir already configured6998 if test -f $srcdir/config.status; then6999 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])7000 fi7001 fi7002 7003 # test whether we have cygpath7004 if test -z "$CYGPATH_W"; then7005 if (cygpath --version) >/dev/null 2>/dev/null; then7006 CYGPATH_W='cygpath -w'7007 else7008 CYGPATH_W=echo7009 fi7010 fi7011 AC_SUBST([CYGPATH_W])7012 7013 # Define the identity of the package.7014 dnl Distinguish between old-style and new-style calls.7015 m4_ifval([$2],7016 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl7017 AC_SUBST([PACKAGE], [$1])dnl7018 AC_SUBST([VERSION], [$2])],7019 [_AM_SET_OPTIONS([$1])dnl7020 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.7021 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,7022 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl7023 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl7024 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl7025 7026 _AM_IF_OPTION([no-define],,7027 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])7028 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl7029 7030 # Some tools Automake needs.7031 AC_REQUIRE([AM_SANITY_CHECK])dnl7032 AC_REQUIRE([AC_ARG_PROGRAM])dnl7033 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})7034 AM_MISSING_PROG(AUTOCONF, autoconf)7035 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})7036 AM_MISSING_PROG(AUTOHEADER, autoheader)7037 AM_MISSING_PROG(MAKEINFO, makeinfo)7038 AM_PROG_INSTALL_SH7039 AM_PROG_INSTALL_STRIP7040 AC_REQUIRE([AM_PROG_MKDIR_P])dnl7041 # We need awk for the "check" target. The system "awk" is bad on7042 # some platforms.7043 AC_REQUIRE([AC_PROG_AWK])dnl7044 AC_REQUIRE([AC_PROG_MAKE_SET])dnl7045 AC_REQUIRE([AM_SET_LEADING_DOT])dnl7046 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],7047 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],7048 [_AM_PROG_TAR([v7])])])7049 _AM_IF_OPTION([no-dependencies],,7050 [AC_PROVIDE_IFELSE([AC_PROG_CC],7051 [_AM_DEPENDENCIES(CC)],7052 [define([AC_PROG_CC],7053 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl7054 AC_PROVIDE_IFELSE([AC_PROG_CXX],7055 [_AM_DEPENDENCIES(CXX)],7056 [define([AC_PROG_CXX],7057 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl7058 AC_PROVIDE_IFELSE([AC_PROG_OBJC],7059 [_AM_DEPENDENCIES(OBJC)],7060 [define([AC_PROG_OBJC],7061 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl7062 ])7063 ])7064 7065 7066 # When config.status generates a header, we must update the stamp-h file.7067 # This file resides in the same directory as the config header7068 # that is generated. The stamp files are numbered to have different names.7069 7070 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the7071 # loop where config.status creates the headers, so we can generate7072 # our stamp files there.7073 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],7074 [# Compute $1's index in $config_headers.7075 _am_stamp_count=17076 for _am_header in $config_headers :; do7077 case $_am_header in7078 $1 | $1:* )7079 break ;;7080 * )7081 _am_stamp_count=`expr $_am_stamp_count + 1` ;;7082 esac7083 done7084 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])7085 7086 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.7087 #7088 # This file is free software; the Free Software Foundation7089 # gives unlimited permission to copy and/or distribute it,7090 # with or without modifications, as long as this notice is preserved.7091 7092 # AM_PROG_INSTALL_SH7093 # ------------------7094 # Define $install_sh.7095 AC_DEFUN([AM_PROG_INSTALL_SH],7096 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl7097 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}7098 AC_SUBST(install_sh)])7099 7100 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.7101 #7102 # This file is free software; the Free Software Foundation7103 # gives unlimited permission to copy and/or distribute it,7104 # with or without modifications, as long as this notice is preserved.7105 7106 # serial 27107 7108 # Check whether the underlying file-system supports filenames7109 # with a leading dot. For instance MS-DOS doesn't.7110 AC_DEFUN([AM_SET_LEADING_DOT],7111 [rm -rf .tst 2>/dev/null7112 mkdir .tst 2>/dev/null7113 if test -d .tst; then7114 am__leading_dot=.7115 else7116 am__leading_dot=_7117 fi7118 rmdir .tst 2>/dev/null7119 AC_SUBST([am__leading_dot])])7120 7121 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-7122 # From Jim Meyering7123 7124 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 20057125 # Free Software Foundation, Inc.7126 #7127 # This file is free software; the Free Software Foundation7128 # gives unlimited permission to copy and/or distribute it,7129 # with or without modifications, as long as this notice is preserved.7130 7131 # serial 47132 7133 AC_DEFUN([AM_MAINTAINER_MODE],7134 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])7135 dnl maintainer-mode is disabled by default7136 AC_ARG_ENABLE(maintainer-mode,7137 [ --enable-maintainer-mode enable make rules and dependencies not useful7138 (and sometimes confusing) to the casual installer],7139 USE_MAINTAINER_MODE=$enableval,7140 USE_MAINTAINER_MODE=no)7141 AC_MSG_RESULT([$USE_MAINTAINER_MODE])7142 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])7143 MAINT=$MAINTAINER_MODE_TRUE7144 AC_SUBST(MAINT)dnl7145 ]7146 )7147 7148 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])7149 7150 # Check to see how 'make' treats includes. -*- Autoconf -*-7151 7152 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.7153 #7154 # This file is free software; the Free Software Foundation7155 # gives unlimited permission to copy and/or distribute it,7156 # with or without modifications, as long as this notice is preserved.7157 7158 # serial 37159 7160 # AM_MAKE_INCLUDE()7161 # -----------------7162 # Check to see how make treats includes.7163 AC_DEFUN([AM_MAKE_INCLUDE],7164 [am_make=${MAKE-make}7165 cat > confinc << 'END'7166 am__doit:7167 @echo done7168 .PHONY: am__doit7169 END7170 # If we don't find an include directive, just comment out the code.7171 AC_MSG_CHECKING([for style of include used by $am_make])7172 am__include="#"7173 am__quote=7174 _am_result=none7175 # First try GNU make style include.7176 echo "include confinc" > confmf7177 # We grep out `Entering directory' and `Leaving directory'7178 # messages which can occur if `w' ends up in MAKEFLAGS.7179 # In particular we don't look at `^make:' because GNU make might7180 # be invoked under some other name (usually "gmake"), in which7181 # case it prints its new name instead of `make'.7182 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then7183 am__include=include7184 am__quote=7185 _am_result=GNU7186 fi7187 # Now try BSD make style include.7188 if test "$am__include" = "#"; then7189 echo '.include "confinc"' > confmf7190 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then7191 am__include=.include7192 am__quote="\""7193 _am_result=BSD7194 fi7195 fi7196 AC_SUBST([am__include])7197 AC_SUBST([am__quote])7198 AC_MSG_RESULT([$_am_result])7199 rm -f confinc confmf7200 ])7201 7202 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-7203 7204 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 20057205 # Free Software Foundation, Inc.7206 #7207 # This file is free software; the Free Software Foundation7208 # gives unlimited permission to copy and/or distribute it,7209 # with or without modifications, as long as this notice is preserved.7210 7211 # serial 57212 7213 # AM_MISSING_PROG(NAME, PROGRAM)7214 # ------------------------------7215 AC_DEFUN([AM_MISSING_PROG],7216 [AC_REQUIRE([AM_MISSING_HAS_RUN])7217 $1=${$1-"${am_missing_run}$2"}7218 AC_SUBST($1)])7219 7220 7221 # AM_MISSING_HAS_RUN7222 # ------------------7223 # Define MISSING if not defined so far and test if it supports --run.7224 # If it does, set am_missing_run to use it, otherwise, to nothing.7225 AC_DEFUN([AM_MISSING_HAS_RUN],7226 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl7227 AC_REQUIRE_AUX_FILE([missing])dnl7228 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"7229 # Use eval to expand $SHELL7230 if eval "$MISSING --run true"; then7231 am_missing_run="$MISSING --run "7232 else7233 am_missing_run=7234 AC_MSG_WARN([`missing' script is too old or missing])7235 fi7236 ])7237 7238 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.7239 #7240 # This file is free software; the Free Software Foundation7241 # gives unlimited permission to copy and/or distribute it,7242 # with or without modifications, as long as this notice is preserved.7243 7244 # AM_PROG_MKDIR_P7245 # ---------------7246 # Check for `mkdir -p'.7247 AC_DEFUN([AM_PROG_MKDIR_P],7248 [AC_PREREQ([2.60])dnl7249 AC_REQUIRE([AC_PROG_MKDIR_P])dnl7250 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,7251 dnl while keeping a definition of mkdir_p for backward compatibility.7252 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.7253 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of7254 dnl Makefile.ins that do not define MKDIR_P, so we do our own7255 dnl adjustment using top_builddir (which is defined more often than7256 dnl MKDIR_P).7257 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl7258 case $mkdir_p in7259 [[\\/$]]* | ?:[[\\/]]*) ;;7260 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;7261 esac7262 ])7263 7264 # Helper functions for option handling. -*- Autoconf -*-7265 7266 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.7267 #7268 # This file is free software; the Free Software Foundation7269 # gives unlimited permission to copy and/or distribute it,7270 # with or without modifications, as long as this notice is preserved.7271 7272 # serial 37273 7274 # _AM_MANGLE_OPTION(NAME)7275 # -----------------------7276 AC_DEFUN([_AM_MANGLE_OPTION],7277 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])7278 7279 # _AM_SET_OPTION(NAME)7280 # ------------------------------7281 # Set option NAME. Presently that only means defining a flag for this option.7282 AC_DEFUN([_AM_SET_OPTION],7283 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])7284 7285 # _AM_SET_OPTIONS(OPTIONS)7286 # ----------------------------------7287 # OPTIONS is a space-separated list of Automake options.7288 AC_DEFUN([_AM_SET_OPTIONS],7289 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])7290 7291 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])7292 # -------------------------------------------7293 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.7294 AC_DEFUN([_AM_IF_OPTION],7295 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])7296 7297 # Check to make sure that the build environment is sane. -*- Autoconf -*-7298 7299 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 20057300 # Free Software Foundation, Inc.7301 #7302 # This file is free software; the Free Software Foundation7303 # gives unlimited permission to copy and/or distribute it,7304 # with or without modifications, as long as this notice is preserved.7305 7306 # serial 47307 7308 # AM_SANITY_CHECK7309 # ---------------7310 AC_DEFUN([AM_SANITY_CHECK],7311 [AC_MSG_CHECKING([whether build environment is sane])7312 # Just in case7313 sleep 17314 echo timestamp > conftest.file7315 # Do `set' in a subshell so we don't clobber the current shell's7316 # arguments. Must try -L first in case configure is actually a7317 # symlink; some systems play weird games with the mod time of symlinks7318 # (eg FreeBSD returns the mod time of the symlink's containing7319 # directory).7320 if (7321 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`7322 if test "$[*]" = "X"; then7323 # -L didn't work.7324 set X `ls -t $srcdir/configure conftest.file`7325 fi7326 rm -f conftest.file7327 if test "$[*]" != "X $srcdir/configure conftest.file" \7328 && test "$[*]" != "X conftest.file $srcdir/configure"; then7329 7330 # If neither matched, then we have a broken ls. This can happen7331 # if, for instance, CONFIG_SHELL is bash and it inherits a7332 # broken ls alias from the environment. This has actually7333 # happened. Such a system could not be considered "sane".7334 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken7335 alias in your environment])7336 fi7337 7338 test "$[2]" = conftest.file7339 )7340 then7341 # Ok.7342 :7343 else7344 AC_MSG_ERROR([newly created file is older than distributed files!7345 Check your system clock])7346 fi7347 AC_MSG_RESULT(yes)])7348 7349 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.7350 #7351 # This file is free software; the Free Software Foundation7352 # gives unlimited permission to copy and/or distribute it,7353 # with or without modifications, as long as this notice is preserved.7354 7355 # AM_PROG_INSTALL_STRIP7356 # ---------------------7357 # One issue with vendor `install' (even GNU) is that you can't7358 # specify the program used to strip binaries. This is especially7359 # annoying in cross-compiling environments, where the build's strip7360 # is unlikely to handle the host's binaries.7361 # Fortunately install-sh will honor a STRIPPROG variable, so we7362 # always use install-sh in `make install-strip', and initialize7363 # STRIPPROG with the value of the STRIP variable (set by the user).7364 AC_DEFUN([AM_PROG_INSTALL_STRIP],7365 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl7366 # Installed binaries are usually stripped using `strip' when the user7367 # run `make install-strip'. However `strip' might not be the right7368 # tool to use in cross-compilation environments, therefore Automake7369 # will honor the `STRIP' environment variable to overrule this program.7370 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.7371 if test "$cross_compiling" != no; then7372 AC_CHECK_TOOL([STRIP], [strip], :)7373 fi7374 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"7375 AC_SUBST([INSTALL_STRIP_PROGRAM])])7376 7377 # Copyright (C) 2006 Free Software Foundation, Inc.7378 #7379 # This file is free software; the Free Software Foundation7380 # gives unlimited permission to copy and/or distribute it,7381 # with or without modifications, as long as this notice is preserved.7382 7383 # _AM_SUBST_NOTMAKE(VARIABLE)7384 # ---------------------------7385 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.7386 # This macro is traced by Automake.7387 AC_DEFUN([_AM_SUBST_NOTMAKE])7388 7389 # Check how to create a tarball. -*- Autoconf -*-7390 7391 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.7392 #7393 # This file is free software; the Free Software Foundation7394 # gives unlimited permission to copy and/or distribute it,7395 # with or without modifications, as long as this notice is preserved.7396 7397 # serial 27398 7399 # _AM_PROG_TAR(FORMAT)7400 # --------------------7401 # Check how to create a tarball in format FORMAT.7402 # FORMAT should be one of `v7', `ustar', or `pax'.7403 #7404 # Substitute a variable $(am__tar) that is a command7405 # writing to stdout a FORMAT-tarball containing the directory7406 # $tardir.7407 # tardir=directory && $(am__tar) > result.tar7408 #7409 # Substitute a variable $(am__untar) that extract such7410 # a tarball read from stdin.7411 # $(am__untar) < result.tar7412 AC_DEFUN([_AM_PROG_TAR],7413 [# Always define AMTAR for backward compatibility.7414 AM_MISSING_PROG([AMTAR], [tar])7415 m4_if([$1], [v7],7416 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],7417 [m4_case([$1], [ustar],, [pax],,7418 [m4_fatal([Unknown tar format])])7419 AC_MSG_CHECKING([how to create a $1 tar archive])7420 # Loop over all known methods to create a tar archive until one works.7421 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'7422 _am_tools=${am_cv_prog_tar_$1-$_am_tools}7423 # Do not fold the above two line into one, because Tru64 sh and7424 # Solaris sh will not grok spaces in the rhs of `-'.7425 for _am_tool in $_am_tools7426 do7427 case $_am_tool in7428 gnutar)7429 for _am_tar in tar gnutar gtar;7430 do7431 AM_RUN_LOG([$_am_tar --version]) && break7432 done7433 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'7434 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'7435 am__untar="$_am_tar -xf -"7436 ;;7437 plaintar)7438 # Must skip GNU tar: if it does not support --format= it doesn't create7439 # ustar tarball either.7440 (tar --version) >/dev/null 2>&1 && continue7441 am__tar='tar chf - "$$tardir"'7442 am__tar_='tar chf - "$tardir"'7443 am__untar='tar xf -'7444 ;;7445 pax)7446 am__tar='pax -L -x $1 -w "$$tardir"'7447 am__tar_='pax -L -x $1 -w "$tardir"'7448 am__untar='pax -r'7449 ;;7450 cpio)7451 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'7452 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'7453 am__untar='cpio -i -H $1 -d'7454 ;;7455 none)7456 am__tar=false7457 am__tar_=false7458 am__untar=false7459 ;;7460 esac7461 7462 # If the value was cached, stop now. We just wanted to have am__tar7463 # and am__untar set.7464 test -n "${am_cv_prog_tar_$1}" && break7465 7466 # tar/untar a dummy directory, and stop if the command works7467 rm -rf conftest.dir7468 mkdir conftest.dir7469 echo GrepMe > conftest.dir/file7470 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])7471 rm -rf conftest.dir7472 if test -s conftest.tar; then7473 AM_RUN_LOG([$am__untar <conftest.tar])7474 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break7475 fi7476 done7477 rm -rf conftest.dir7478 7479 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])7480 AC_MSG_RESULT([$am_cv_prog_tar_$1])])7481 AC_SUBST([am__tar])7482 AC_SUBST([am__untar])7483 ]) # _AM_PROG_TAR7484 src/router/wifidog/config/config.guess
r8966 r13127 5 5 # Inc. 6 6 7 timestamp='2007-0 3-06'7 timestamp='2007-07-22' 8 8 9 9 # This file is free software; you can redistribute it and/or modify it … … 331 331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 332 332 exit ;; 333 i86pc:SunOS:5.*:* )333 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 334 334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 335 exit ;; … … 794 794 *:Interix*:[3456]*) 795 795 case ${UNAME_MACHINE} in 796 x86) 796 x86) 797 797 echo i586-pc-interix${UNAME_RELEASE} 798 798 exit ;; src/router/wifidog/config/config.sub
r8966 r13127 5 5 # Inc. 6 6 7 timestamp='2007-0 1-18'7 timestamp='2007-06-28' 8 8 9 9 # This file is (in principle) common to ALL GNU software. … … 476 476 os=-unicosmp 477 477 ;; 478 cr16 c)479 basic_machine=cr16 c-unknown478 cr16) 479 basic_machine=cr16-unknown 480 480 os=-elf 481 481 ;; … … 683 683 basic_machine=i386-pc 684 684 os=-mingw32 685 ;; 686 mingw32ce) 687 basic_machine=arm-unknown 688 os=-mingw32ce 685 689 ;; 686 690 miniframe) src/router/wifidog/config/install-sh
r8966 r13127 1 1 #!/bin/sh 2 # 2 3 # install - install a program, script, or datafile 3 4 scriptversion=2006-10-14.15 5 4 # 6 5 # This originates from X11R5 (mit/util/scripts/install.sh), which was 7 6 # later released in X11R6 (xc/config/util/install.sh) with the … … 40 39 # 41 40 # This script is compatible with the BSD install script, but was written 42 # from scratch. 43 44 nl=' 45 ' 46 IFS=" "" $nl" 41 # from scratch. It can only install one file at a time, a restriction 42 # shared with many OS's install programs. 43 47 44 48 45 # set DOITPROG to echo to test this script … … 50 47 # Don't use :- since 4.3BSD and earlier shells don't like it. 51 48 doit="${DOITPROG-}" 52 if test -z "$doit"; then 53 doit_exec=exec 54 else 55 doit_exec=$doit 56 fi 57 58 # Put in absolute file names if you don't have them in your path; 59 # or use environment vars. 49 50 51 # put in absolute paths if you don't have them in your path; or use env. vars. 60 52 61 53 mvprog="${MVPROG-mv}" … … 68 60 mkdirprog="${MKDIRPROG-mkdir}" 69 61 70 posix_glob= 71 posix_mkdir= 72 73 # Desired mode of installed file. 74 mode=0755 75 76 chmodcmd=$chmodprog 77 chowncmd= 78 chgrpcmd= 79 stripcmd= 62 transformbasename="" 63 transform_arg="" 64 instcmd="$mvprog" 65 chmodcmd="$chmodprog 0755" 66 chowncmd="" 67 chgrpcmd="" 68 stripcmd="" 80 69 rmcmd="$rmprog -f" 81 70 mvcmd="$mvprog" 82 src= 83 dst= 84 dir_arg= 85 dstarg= 86 no_target_directory= 87 88 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE 89 or: $0 [OPTION]... SRCFILES... DIRECTORY 90 or: $0 [OPTION]... -t DIRECTORY SRCFILES... 91 or: $0 [OPTION]... -d DIRECTORIES... 92 93 In the 1st form, copy SRCFILE to DSTFILE. 94 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. 95 In the 4th, create DIRECTORIES. 96 97 Options: 98 -c (ignored) 99 -d create directories instead of installing files. 100 -g GROUP $chgrpprog installed files to GROUP. 101 -m MODE $chmodprog installed files to MODE. 102 -o USER $chownprog installed files to USER. 103 -s $stripprog installed files. 104 -t DIRECTORY install into DIRECTORY. 105 -T report an error if DSTFILE is a directory. 106 --help display this help and exit. 107 --version display version info and exit. 108 109 Environment variables override the default commands: 110 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG 111 " 112 113 while test $# -ne 0; do 114 case $1 in 115 -c) shift 116 continue;; 117 118 -d) dir_arg=true 119 shift 120 continue;; 121 122 -g) chgrpcmd="$chgrpprog $2" 123 shift 124 shift 125 continue;; 126 127 --help) echo "$usage"; exit $?;; 128 129 -m) mode=$2 130 shift 131 shift 132 case $mode in 133 *' '* | *' '* | *' 134 '* | *'*'* | *'?'* | *'['*) 135 echo "$0: invalid mode: $mode" >&2 136 exit 1;; 137 esac 138 continue;; 139 140 -o) chowncmd="$chownprog $2" 141 shift 142 shift 143 continue;; 144 145 -s) stripcmd=$stripprog 146 shift 147 continue;; 148 149 -t) dstarg=$2 71 src="" 72 dst="" 73 dir_arg="" 74 75 while [ x"$1" != x ]; do 76 case $1 in 77 -c) instcmd="$cpprog" <
