Changeset 13127

Show
Ignore:
Timestamp:
10/22/09 00:16:36 (1 month ago)
Author:
BrainSlayer
Message:

new wifidog

Files:

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 
     32009-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 
     82009-07-02 Benoit Grégoire  <bock@step.polymtl.ca> 
     9        * Re-fix #505, #525 and fix #584, sorry about that. 
     10 
     112009-06-26 Benoit Grégoire  <bock@step.polymtl.ca> 
     12        * Fix #518 
     13 
     142009-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         
     182008-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 
     302008-07-20 Alexandre Carmel-Veilleux <acv@miniguru.ca> 
     31        * src/util.c: Fixed #include bug that caused segfaults on newer Linux 
     32 
     332008-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 
     382008-04-13 Benoit Grégoire  <bock@step.polymtl.ca> 
    339        * contrib/build-openwrt-kamikazeipk/wifidog/Makefile:  Add iptables userspace dependencies 
    440        * Release 1.1.5 
    541         
    6 2008-03-24 Benoit Grégoire  <bock@step.polymtl.ca> 
     422008-03-24 Benoit Grégoire  <bock@step.polymtl.ca> 
    743        * Integrate with OpenWRT kamikaze build system 
    844 
    9 2007-11-01 Benoit Grégoire  <bock@step.polymtl.ca> 
     452007-11-01 Benoit Grégoire  <bock@step.polymtl.ca> 
    1046        * Apply portability patches by David Young <dyoung@pobox.com>.  These have been reviewed, but not tested. 
    1147 
    12 2007-10-18 Benoit Grégoire  <bock@step.polymtl.ca> 
     482007-10-18 Benoit Grégoire  <bock@step.polymtl.ca> 
    1349        * 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  
    1450        * Update doxygen.cfg.in for latest version and to fix path ambiguity during make dist. 
    1551        * Release 1.1.4 
    1652 
    17 2007-07-06 Benoit Grégoire  <bock@step.polymtl.ca> 
     532007-07-06 Benoit Grégoire  <bock@step.polymtl.ca> 
    1854        * Makefile.am:  Slight change in make ipk tagrget.  It seems that sometimes builddir isn't defined.  srcdir works just as well in this case. 
    1955         
    20 2007-06-27 Benoit Grégoire  <bock@step.polymtl.ca> 
     562007-06-27 Benoit Grégoire  <bock@step.polymtl.ca> 
    2157        * util.c:  Fix while loop initialisation bug 
    2258        * conf.h:  Forgot to change the value of NUM_EXT_INTERFACE_DETECT_RETRY to actually make it wait forever. 
     
    2662        * Release 1.1.3 final 
    2763         
    28 2007-06-24 Benoit Grégoire  <bock@step.polymtl.ca> 
     642007-06-24 Benoit Grégoire  <bock@step.polymtl.ca> 
    2965        * 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... 
    3066        * Close #332:  Apply patch from Laurent Marchal. biguphpc<AT>gmail<DOT>com 
     
    3470        * Release 1.1.3_rc1 
    3571 
    36 2007-05-24 Benoit Grégoire  <bock@step.polymtl.ca> 
     722007-05-24 Benoit Grégoire  <bock@step.polymtl.ca> 
    3773        * wdctl_thread.c:  Fix #324, again.  Credit goes to Medea, I misunderstood his instructons. 
    3874        * From David Bird <david@coova.com> libhttpd/: Fix #266 - don't process query string parameters and keep them in that request.path. 
    3975 
    40 2007-05-18 Benoit Grégoire  <bock@step.polymtl.ca> 
     762007-05-18 Benoit Grégoire  <bock@step.polymtl.ca> 
    4177        * wdctl_thread.c:  Fix #324 
    4278         
    43 2007-04-26 Benoit Grégoire  <bock@step.polymtl.ca> 
     792007-04-26 Benoit Grégoire  <bock@step.polymtl.ca> 
    4480        * wifidog.conf:  Improve comments and add examples of blocking access to the upstream LAN. 
    4581 
    46 2007-04-26 Benoit Grégoire  <bock@step.polymtl.ca> 
     822007-04-26 Benoit Grégoire  <bock@step.polymtl.ca> 
    4783        * 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. 
    4884 
    49 2007-04-09 Benoit Grégoire  <bock@step.polymtl.ca> 
     852007-04-09 Benoit Grégoire  <bock@step.polymtl.ca> 
    5086        * Makefile.am:  Slight path fix when using building make ipk.  Tell me if you have trouble with this 
    5187 
    52 2007-01-06 Benoit Grégoire  <bock@step.polymtl.ca> 
     882007-01-06 Benoit Grégoire  <bock@step.polymtl.ca> 
    5389        * contrib/ Add contrib dir to collect the scripts and other code distributed with, but not really part of wifidog. 
    5490        * Include the scripts used to build a ipkg on Openwrt RC6 and 0.9 
     
    6197        * contrib/dump_fw.sh:  Convenience script for firewall debugging. 
    6298                 
    63 2007-01-06 Benoit Grégoire  <bock@step.polymtl.ca> 
     992007-01-06 Benoit Grégoire  <bock@step.polymtl.ca> 
    64100        * Documentation update in the code 
    65101        * Released 1.1.3_beta6 
    66102 
    67 2006-10-26 Benoit Grégoire  <bock@step.polymtl.ca> 
     1032006-10-26 Benoit Grégoire  <bock@step.polymtl.ca> 
    68104        * src/conf.h: Fix #238 by using $sysconfdir to compute the default config-file location. 
    69105         
     
    73109        * Added comments. 
    74110 
    75 2006-09-14 Benoit Grégoire  <bock@step.polymtl.ca> 
     1112006-09-14 Benoit Grégoire  <bock@step.polymtl.ca> 
    76112        * 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. 
    77113 
     
    84120        * Released 1.1.3_beta4 
    85121 
    86 2006-02-06 Benoit Grégoire  <bock@step.polymtl.ca> 
     1222006-02-06 Benoit Grégoire  <bock@step.polymtl.ca> 
    87123        * src/fw_iptables.c: Fix deleting the rules on shutdown. 
    88124 
    89 2006-01-31 Benoit Grégoire  <bock@step.polymtl.ca> 
     1252006-01-31 Benoit Grégoire  <bock@step.polymtl.ca> 
    90126        * Release 1.1.3_beta2 
    91127         
    92 2006-01-31 Benoit Grégoire  <bock@step.polymtl.ca> 
     1282006-01-31 Benoit Grégoire  <bock@step.polymtl.ca> 
    93129        * src/fw_iptables.c:  Add the global ruleset to the nat table to fix #65. 
    94130        Add the table parameter to iptables_load_ruleset() and iptables_compile 
     
    96132    * src/conf.c,h:  Remove deprecated option AuthServMaxTries (which was already ignored anyway.        
    97133         
    98 2006-01-23 Benoit Grégoire  <bock@step.polymtl.ca> 
     1342006-01-23 Benoit Grégoire  <bock@step.polymtl.ca> 
    99135        * 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. 
    100136 
     
    399435          auth_server->last_ip always equals NULL when first filled. 
    400436 
    401 2004-12-16 Benoit Grégoire  <bock@step.polymtl.ca> 
     4372004-12-16 Benoit Grégoire  <bock@step.polymtl.ca> 
    402438        * src/fw_iptables.c: Display iptables command that is run in debug mode. 
    403439         
    404 2004-12-07 Benoit Grégoire  <bock@step.polymtl.ca> 
     4402004-12-07 Benoit Grégoire  <bock@step.polymtl.ca> 
    405441        * src/firewall.c: Fix reversed incoming and outgoing connections in statistics code 
    406442        * bump version to alpha3 
     
    425461        * configure.in: bumped version to 1.1.0-alpha2 
    426462 
    427 2004-11-18 Benoit Grégoire  <bock@step.polymtl.ca> 
     4632004-11-18 Benoit Grégoire  <bock@step.polymtl.ca> 
    428464        * src/ping_thread.c: Merge phil's bug fixes from stable branch 
    429465        * ipkg/rules:  Merge phil's bug fixes from stable branch 
     
    513549        * All over src/: Compiled with -Wall and fixed all nagging. 
    514550 
    515 2004-08-30 Benoit Grégoire  <bock@step.polymtl.ca> 
     5512004-08-30 Benoit Grégoire  <bock@step.polymtl.ca> 
    516552        * Makefile.am: Add rpm target 
    517553        * wifidog.spec.in:  Rework spec file.  Now works and include the init script 
     
    521557        * src/wdctl.c:  Change some message, make sure wdctl return 0 unless there is an error. 
    522558         
    523 2004-08-30 Benoit Grégoire  <bock@step.polymtl.ca> 
     5592004-08-30 Benoit Grégoire  <bock@step.polymtl.ca> 
    524560        * README.openwrt:  Documentation update 
    525561        * Makefile.am:  Make a ipkg target to ease WRT54G installation 
     
    547583        * We should now be able to package .deb and .rpm from dist. 
    548584 
    549 2004-08-27 Benoit Grégoire  <bock@step.polymtl.ca> 
     5852004-08-27 Benoit Grégoire  <bock@step.polymtl.ca> 
    550586        * README.openwrt,src/conf.c,h:  Documentation update 
    551587        * 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  
     
    557593        * 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/ 
    558594 
    559 2004-08-25 Benoit Grégoire  <bock@step.polymtl.ca> 
     5952004-08-25 Benoit Grégoire  <bock@step.polymtl.ca> 
    560596        * src/auth.c:  Remove hardcoded path. 
    561597         
    562 2004-08-23 Benoit Grégoire  <bock@step.polymtl.ca> 
     5982004-08-23 Benoit Grégoire  <bock@step.polymtl.ca> 
    563599        * 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...). 
    564600         
    565 2004-08-23 Benoit Grégoire  <bock@step.polymtl.ca> 
     6012004-08-23 Benoit Grégoire  <bock@step.polymtl.ca> 
    566602        * src/centralserver.c:  Fix path for auth by appending /auth/ to auth_server->authserv_path.  Wifidog works again. 
    567603         
     
    599635        * Fixed broken sockaddr_un usage in wdctl.c and wdctl_thread.c 
    600636 
    601 2004-08-01 Benoit Grégoire  <bock@step.polymtl.ca> 
     6372004-08-01 Benoit Grégoire  <bock@step.polymtl.ca> 
    602638        * Delete everything in phpauth, it will now live in it's own module (wifidog-auth) 
    603639 
     
    629665    * Fixed bugs implemented after major changes 
    630666 
    631 2004-05-27 Benoit Grégoire  <bock@step.polymtl.ca> 
     6672004-05-27 Benoit Grégoire  <bock@step.polymtl.ca> 
    632668        * Massive Doxygen update in all files.  IMPORTANT: The new convention is:  @brief in the .h, long description and parameters in the .c 
    633669        * Cleaned up some more issues in my notes taken at the formal review 
     
    713749        * Changed some debugging severity 
    714750 
    715 2004-04-19  Benoit Grégoire  <bock@step.polymtl.ca> 
     7512004-04-19  Benoit Grégoire  <bock@step.polymtl.ca> 
    716752        * 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. 
    717753 
     
    826862        * 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. 
    827863 
    828 2004-03-08  Benoit Grégoire  <bock@step.polymtl.ca> 
     8642004-03-08  Benoit Grégoire  <bock@step.polymtl.ca> 
    829865        * 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. 
    830866 
  • src/router/wifidog/INSTALL

    r8966 r13127  
    1 Installation Instructions 
    2 ************************* 
    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 gives 
    8 unlimited permission to copy, distribute and modify it. 
    9  
    101Basic Installation 
    112================== 
    123 
    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. 
    175 
    186   The `configure' shell script attempts to guess correct values for 
     
    219It may also create one or more `.h' files containing system-dependent 
    2210definitions.  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. 
     11you 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 
     13reconfiguring, and a file `config.log' containing compiler output 
     14(useful mainly for debugging `configure'). 
    3215 
    3316   If you need to do unusual things to compile the package, please try 
    3417to figure out how `configure' could check whether to do them, and mail 
    3518diffs 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. 
     19be considered for the next release.  If at some point `config.cache' 
     20contains results you don't want to keep, you may remove or edit it. 
    3921 
    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 
     23called `autoconf'.  You only need `configure.in' if you want to change 
     24it or regenerate `configure' using a newer version of `autoconf'. 
    4425 
    4526The simplest way to compile this package is: 
    4627 
    4728  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. 
    4933 
    50      Running `configure' might take a while.  While running, it prints 
    51      some messages 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. 
    5236 
    5337  2. Type `make' to compile the package. 
     
    7155===================== 
    7256 
    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 
     58the `configure' script does not know about.  You can give `configure' 
     59initial values for variables by setting them in the environment.  Using 
     60a Bourne-compatible shell, you can do that on the command line like 
     61this: 
     62     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure 
    7663 
    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. 
     64Or on systems that have the `env' program, you can do it like this: 
     65     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure 
    8466 
    8567Compiling For Multiple Architectures 
    8668==================================== 
    8769 
    88 You can compile the package for more than one kind of computer at the 
     70   You can compile the package for more than one kind of computer at the 
    8971same 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 
     72own directory.  To do this, you must use a version of `make' that 
     73supports the `VPATH' variable, such as GNU `make'.  `cd' to the 
    9174directory where you want the object files and executables to go and run 
    9275the `configure' script.  `configure' automatically checks for the 
    9376source code in the directory that `configure' is in and in `..'. 
    9477 
    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' 
     79variable, you have to compile the package for one architecture at a time 
     80in the source code directory.  After you have installed the package for 
     81one architecture, use `make distclean' before reconfiguring for another 
     82architecture. 
    9983 
    10084Installation Names 
    10185================== 
    10286 
    103 By default, `make install' installs the package's commands under 
    104 `/usr/local/bin', include files under `/usr/local/include', etc.  You 
    105 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 
     89installation prefix other than `/usr/local' by giving `configure' the 
     90option `--prefix=PATH'. 
    10791 
    10892   You can specify separate installation prefixes for 
    10993architecture-specific files and architecture-independent files.  If you 
    110 pass the option `--exec-prefix=PREFIX' to `configure', the package uses 
    111 PREFIX as the prefix for installing programs and libraries. 
    112 Documentation and other data files still use the regular prefix. 
     94give `configure' the option `--exec-prefix=PATH', the package will use 
     95PATH as the prefix for installing programs and libraries. 
     96Documentation and other data files will still use the regular prefix. 
    11397 
    11498   In addition, if you use an unusual directory layout you can give 
    115 options like `--bindir=DIR' to specify different values for particular 
     99options like `--bindir=PATH' to specify different values for particular 
    116100kinds of files.  Run `configure --help' for a list of the directories 
    117101you can set and what kinds of files go in them. 
     
    124108================= 
    125109 
    126 Some packages pay attention to `--enable-FEATURE' options to 
     110   Some packages pay attention to `--enable-FEATURE' options to 
    127111`configure', where FEATURE indicates an optional part of the package. 
    128112They may also pay attention to `--with-PACKAGE' options, where PACKAGE 
     
    139123========================== 
    140124 
    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 
     126automatically, but needs to determine by the type of host the package 
     127will run on.  Usually `configure' can figure that out, but if it prints 
     128a 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 
     130type, such as `sun4', or a canonical name with three fields: 
    149131     CPU-COMPANY-SYSTEM 
    150132 
    151 where SYSTEM can have one of these forms: 
     133See 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 
     135need to know the host type. 
    152136 
    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 
     138use the `--target=TYPE' option to select the type of system they will 
     139produce code for and the `--build=TYPE' option to select the type of 
     140system on which you are compiling the package. 
    167141 
    168142Sharing Defaults 
    169143================ 
    170144 
    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, 
     146you can create a site shell script called `config.site' that gives 
     147default values for variables like `CC', `cache_file', and `prefix'. 
    174148`configure' looks for `PREFIX/share/config.site' if it exists, then 
    175149`PREFIX/etc/config.site' if it exists.  Or, you can set the 
     
    177151A warning: not all `configure' scripts look for a site script. 
    178152 
    179 Defining Variable
     153Operation Control
    180154================== 
    181155 
    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 
     157operates. 
    187158 
    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'. 
    202163 
    203164`--help' 
    204 `-h' 
    205165     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' to 
    215      disable caching. 
    216  
    217 `--config-cache' 
    218 `-C' 
    219      Alias for `--cache-file=config.cache'. 
    220166 
    221167`--quiet' 
     
    230176     `configure' can determine that directory automatically. 
    231177 
    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. 
    234181 
     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. 
    64# This Makefile.in is free software; the Free Software Foundation 
    75# gives unlimited permission to copy and/or distribute it, 
     
    1311# PARTICULAR PURPOSE. 
    1412 
    15 @SET_MAKE@ 
    16  
    1713# $Id: Makefile.am 1340 2008-03-25 02:22:37Z benoitg $ 
    1814 
     15 
     16SHELL = @SHELL@ 
     17 
     18srcdir = @srcdir@ 
     19top_srcdir = @top_srcdir@ 
    1920VPATH = @srcdir@ 
     21prefix = @prefix@ 
     22exec_prefix = @exec_prefix@ 
     23 
     24bindir = @bindir@ 
     25sbindir = @sbindir@ 
     26libexecdir = @libexecdir@ 
     27datadir = @datadir@ 
     28sysconfdir = @sysconfdir@ 
     29sharedstatedir = @sharedstatedir@ 
     30localstatedir = @localstatedir@ 
     31libdir = @libdir@ 
     32infodir = @infodir@ 
     33mandir = @mandir@ 
     34includedir = @includedir@ 
     35oldincludedir = /usr/include 
     36 
     37DESTDIR = 
     38 
    2039pkgdatadir = $(datadir)/@PACKAGE@ 
    2140pkglibdir = $(libdir)/@PACKAGE@ 
    2241pkgincludedir = $(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 
     43top_builddir = . 
     44 
     45ACLOCAL = @ACLOCAL@ 
     46AUTOCONF = @AUTOCONF@ 
     47AUTOMAKE = @AUTOMAKE@ 
     48AUTOHEADER = @AUTOHEADER@ 
     49 
     50INSTALL = @INSTALL@ 
     51INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 
     52INSTALL_DATA = @INSTALL_DATA@ 
     53INSTALL_SCRIPT = @INSTALL_SCRIPT@ 
     54transform = @program_transform_name@ 
     55 
    2956NORMAL_INSTALL = : 
    3057PRE_INSTALL = : 
     
    3360PRE_UNINSTALL = : 
    3461POST_UNINSTALL = : 
    35 build_triplet = @build
     62host_alias = @host_alias
    3663host_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/missing 
    44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
    45 am__aclocal_m4_deps = $(top_srcdir)/configure.in 
    46 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.lineno 
    50 mkinstalldirs = $(install_sh) -d 
    51 CONFIG_HEADER = config.h 
    52 CONFIG_CLEAN_FILES = wifidog.spec 
    53 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-recursive 
    62 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-recursive 
    73 ETAGS = etags 
    74 CTAGS = ctags 
    75 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.gz 
    84 GZIP_ENV = --best 
    85 distuninstallcheck_listfiles = find . -type f -print 
    86 distcleancheck_listfiles = find . -type f -print 
    87 ACLOCAL = @ACLOCAL@ 
    88 AMTAR = @AMTAR@ 
    8964AR = @AR@ 
    90 AUTOCONF = @AUTOCONF@ 
    91 AUTOHEADER = @AUTOHEADER@ 
    92 AUTOMAKE = @AUTOMAKE@ 
    93 AWK = @AWK@ 
     65AS = @AS@ 
    9466BUILDROOT = @BUILDROOT@ 
    9567CC = @CC@ 
    96 CCDEPMODE = @CCDEPMODE@ 
    97 CFLAGS = @CFLAGS@ 
    98 CPP = @CPP@ 
    99 CPPFLAGS = @CPPFLAGS@ 
    10068CXX = @CXX@ 
    10169CXXCPP = @CXXCPP@ 
    102 CXXDEPMODE = @CXXDEPMODE@ 
    103 CXXFLAGS = @CXXFLAGS@ 
    104 CYGPATH_W = @CYGPATH_W@ 
    105 DEFS = @DEFS@ 
    106 DEPDIR = @DEPDIR@ 
     70DLLTOOL = @DLLTOOL@ 
    10771DOT = @DOT@ 
    10872DOXYGEN = @DOXYGEN@ 
     73DSYMUTIL = @DSYMUTIL@ 
    10974ECHO = @ECHO@ 
    110 ECHO_C = @ECHO_C@ 
    111 ECHO_N = @ECHO_N@ 
    112 ECHO_T = @ECHO_T@ 
    11375EGREP = @EGREP@ 
    11476EXEEXT = @EXEEXT@ 
    11577F77 = @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@ 
     78GCJ = @GCJ@ 
     79GCJFLAGS = @GCJFLAGS@ 
     80HAVE_LIB = @HAVE_LIB@ 
     81LIB = @LIB@ 
    12682LIBTOOL = @LIBTOOL@ 
    12783LN_S = @LN_S@ 
    128 LTLIBOBJS = @LTLIBOBJS
     84LTLIB = @LTLIB
    12985MAINT = @MAINT@ 
    13086MAKEINFO = @MAKEINFO@ 
    131 MKDIR_P = @MKDIR_P@ 
     87NMEDIT = @NMEDIT@ 
     88OBJDUMP = @OBJDUMP@ 
    13289OBJEXT = @OBJEXT@ 
    13390PACKAGE = @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@ 
    14091RANLIB = @RANLIB@ 
     92RC = @RC@ 
    14193SED = @SED@ 
    142 SET_MAKE = @SET_MAKE@ 
    143 SHELL = @SHELL@ 
    14494STRIP = @STRIP@ 
    14595VERSION = @VERSION@ 
     
    14898WIFIDOG_MINOR_VERSION = @WIFIDOG_MINOR_VERSION@ 
    14999WIFIDOG_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@ 
    173100enable_dot = @enable_dot@ 
    174101enable_html_docs = @enable_html_docs@ 
    175102enable_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 
    204104SUBDIRS = 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 
     106docdir = ${prefix}/share/doc/wifidog-@VERSION@ 
     107 
     108doc_DATA =    AUTHORS   COPYING   INSTALL   NEWS   README   ChangeLog 
     109 
     110 
     111EXTRA_DIST =    FAQ   wifidog.spec.in   wifidog.spec   config   scripts   contrib   wifidog.conf 
     112 
     113ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
     114mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs 
     115CONFIG_HEADER = config.h 
     116CONFIG_CLEAN_FILES =  wifidog.spec wifidog-msg.html 
     117DATA =  $(doc_DATA) 
     118 
     119DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ 
     120Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \ 
     121configure.in wifidog-msg.html.in wifidog.spec.in 
     122 
     123 
     124DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 
     125 
     126TAR = tar 
     127GZIP_ENV = --best 
     128all: all-redirect 
    225129.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 
     133Makefile: $(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 
     140config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 
    253141        $(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) 
    256143        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 
     145config.h: stamp-h 
    261146        @if test ! -f $@; then \ 
    262           rm -f stamp-h1; \ 
    263           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ 
     147               rm -f stamp-h; \ 
     148               $(MAKE) stamp-h; \ 
    264149        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)  
     150stamp-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)  
    270161        cd $(top_srcdir) && $(AUTOHEADER) 
    271         rm -f stamp-h1 
    272         touch $@ 
     162        @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 
     163 
     164mostlyclean-hdr: 
     165 
     166clean-hdr: 
    273167 
    274168distclean-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 
     171maintainer-clean-hdr: 
     172wifidog.spec: $(top_builddir)/config.status wifidog.spec.in 
     173        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 
     174wifidog-msg.html: $(top_builddir)/config.status wifidog-msg.html.in 
     175        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 
     176 
    287177install-docDATA: $(doc_DATA) 
    288178        @$(NORMAL_INSTALL) 
    289         test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" 
     179        $(mkinstalldirs) $(DESTDIR)$(docdir) 
    290180        @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; \ 
    295188        done 
    296189 
    297190uninstall-docDATA: 
    298191        @$(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; \ 
    303194        done 
    304195 
     
    309200#     (which will cause the Makefiles to be regenerated when you run `make'); 
    310201# (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 
     205all-recursive install-data-recursive install-exec-recursive \ 
     206installdirs-recursive install-recursive uninstall-recursive  \ 
     207check-recursive installcheck-recursive info-recursive dvi-recursive: 
     208        @set fnord $(MAKEFLAGS); amf=$$2; \ 
    319209        dot_seen=no; \ 
    320210        target=`echo $@ | sed s/-recursive//`; \ 
     
    328218          fi; \ 
    329219          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 
    330           || eval $$failcom; \ 
     220          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 
    331221        done; \ 
    332222        if test "$$dot_seen" = "no"; then \ 
     
    334224        fi; test -z "$$fail" 
    335225 
    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; \ 
     226mostlyclean-recursive clean-recursive distclean-recursive \ 
     227maintainer-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; \ 
    343233        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"; \ 
    355235        target=`echo $@ | sed s/-recursive//`; \ 
    356236        for subdir in $$rev; do \ 
     
    362242          fi; \ 
    363243          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 
    364           || eval $$failcom; \ 
     244          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 
    365245        done && test -z "$$fail" 
    366246tags-recursive: 
     
    368248          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 
    369249        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 
     251tags: TAGS 
     252 
     253ID: $(HEADERS) $(SOURCES) $(LISP) 
     254        list='$(SOURCES) $(HEADERS)'; \ 
     255        unique=`for i in $$list; do echo $$i; done | \ 
     256          awk '    { files[$$0] = 1; } \ 
    381257               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 
     261TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 
    387262        tags=; \ 
    388263        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; \ 
    396264        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; \ 
    401268        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; } \ 
    407272               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 
     276mostlyclean-tags: 
     277 
     278clean-tags: 
    432279 
    433280distclean-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 
     283maintainer-clean-tags: 
     284 
     285distdir = $(PACKAGE)-$(VERSION) 
     286top_distdir = $(distdir) 
    510287 
    511288# This target untars the dist file and tries a VPATH configuration.  Then 
     
    513290# tarfile. 
    514291distcheck: 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 \ 
    536299          && $(MAKE) $(AM_MAKEFLAGS) \ 
    537300          && $(MAKE) $(AM_MAKEFLAGS) dvi \ 
     
    539302          && $(MAKE) $(AM_MAKEFLAGS) install \ 
    540303          && $(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" 
     311dist: distdir 
     312        -chmod -R a+r $(distdir) 
     313        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 
     314        -rm -rf $(distdir) 
     315dist-all: distdir 
     316        -chmod -R a+r $(distdir) 
     317        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 
     318        -rm -rf $(distdir) 
     319distdir: $(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 
     343info-am: 
     344info: info-recursive 
     345dvi-am: 
     346dvi: dvi-recursive 
    578347check-am: all-am 
    579348check: check-recursive 
     349installcheck-am: 
     350installcheck: installcheck-recursive 
     351all-recursive-am: config.h 
     352        $(MAKE) $(AM_MAKEFLAGS) all-recursive 
     353 
     354install-exec-am: 
     355install-exec: install-exec-recursive 
     356 
     357install-data-am: install-docDATA 
     358install-data: install-data-recursive 
     359 
     360install-am: all-am 
     361        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 
     362install: install-recursive 
     363uninstall-am: uninstall-docDATA 
     364uninstall: uninstall-recursive 
    580365all-am: Makefile $(DATA) config.h 
     366all-redirect: all-recursive-am 
     367install-strip: 
     368        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 
    581369installdirs: installdirs-recursive 
    582370installdirs-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 
    600374mostlyclean-generic: 
    601375 
     
    603377 
    604378distclean-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]* 
    606381 
    607382maintainer-clean-generic: 
    608         @echo "This command is intended for maintainers to use" 
     383mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic 
     384 
     385mostlyclean: mostlyclean-recursive 
     386 
     387clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am 
     388 
     389clean: clean-recursive 
     390 
     391distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am 
     392        -rm -f libtool 
     393 
     394distclean: distclean-recursive 
     395        -rm -f config.status 
     396 
     397maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \ 
     398                maintainer-clean-generic distclean-am 
     399        @echo "This command is intended for maintainers to use;" 
    609400        @echo "it deletes files that may require special tools to rebuild." 
    610 clean: clean-recursive 
    611  
    612 clean-am: clean-generic clean-libtool mostlyclean-am 
    613  
    614 distclean: distclean-recursive 
    615         -rm -f $(am__CONFIG_DISTCLEAN_FILES) 
    616         -rm -f Makefile 
    617 distclean-am: clean-am distclean-generic distclean-hdr \ 
    618         distclean-libtool distclean-tags 
    619  
    620 dvi: dvi-recursive 
    621  
    622 dvi-am: 
    623  
    624 html: html-recursive 
    625  
    626 info: info-recursive 
    627  
    628 info-am: 
    629  
    630 install-data-am: install-docDATA 
    631  
    632 install-dvi: install-dvi-recursive 
    633  
    634 install-exec-am: 
    635  
    636 install-html: install-html-recursive 
    637  
    638 install-info: install-info-recursive 
    639  
    640 install-man: 
    641  
    642 install-pdf: install-pdf-recursive 
    643  
    644 install-ps: install-ps-recursive 
    645  
    646 installcheck-am: 
    647401 
    648402maintainer-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 \ 
     406uninstall-docDATA install-docDATA install-data-recursive \ 
     407uninstall-data-recursive install-exec-recursive \ 
     408uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ 
     409all-recursive check-recursive installcheck-recursive info-recursive \ 
     410dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ 
     411maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 
     412distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ 
     413dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ 
     414install-exec-am install-exec install-data-am install-data install-am \ 
     415install uninstall-am uninstall all-redirect all-am all installdirs-am \ 
     416installdirs mostlyclean-generic distclean-generic clean-generic \ 
     417maintainer-clean-generic clean mostlyclean distclean maintainer-clean 
    687418 
    688419 
     
    717448#       rm -f /usr/src/RPM/SPECS/wifidog.spec 
    718449#       rm -f /usr/src/RPM/SOURCES/wifidog-@VERSION@.tar.gz 
     450 
    719451# Tell versions [3.59,3.63) of GNU make to not export all variables. 
    720452# 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 $ 
     2WiFiDog 1.1.5: 
     3        * First supported version on OpenWRT kamikaze 
     4 
    25WiFiDog 1.1.4: 
    36        * 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. 
     1dnl aclocal.m4 generated automatically by aclocal 1.4-p6 
     2 
     3dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 
     4dnl This file is free software; the Free Software Foundation 
     5dnl gives unlimited permission to copy and/or distribute it, 
     6dnl with or without modifications, as long as this notice is preserved. 
     7 
     8dnl This program is distributed in the hope that it will be useful, 
     9dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 
     10dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
     11dnl PARTICULAR PURPOSE. 
     12 
     13# lib-prefix.m4 serial 5 (gettext-0.15) 
     14dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. 
     15dnl This file is free software; the Free Software Foundation 
     16dnl gives unlimited permission to copy and/or distribute it, 
     17dnl with or without modifications, as long as this notice is preserved. 
     18 
     19dnl From Bruno Haible. 
     20 
     21dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and 
     22dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't 
     23dnl require excessive bracketing. 
     24ifdef([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 
     28dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed 
     29dnl to access previously installed libraries. The basic assumption is that 
     30dnl a user will want packages to use other packages he previously installed 
     31dnl with the same --prefix option. 
     32dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate 
     33dnl libraries, but is otherwise very convenient. 
     34AC_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 
     131dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, 
     132dnl acl_final_exec_prefix, containing the values to which $prefix and 
     133dnl $exec_prefix will expand at the end of the configure script. 
     134AC_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 
     154dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the 
     155dnl variables prefix and exec_prefix bound to the values they will have 
     156dnl at the end of the configure script. 
     157AC_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 
     168dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing 
     169dnl the basename of the libdir, either "lib" or "lib64". 
     170AC_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) 
     200dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. 
     201dnl This file is free software; the Free Software Foundation 
     202dnl gives unlimited permission to copy and/or distribute it, 
     203dnl with or without modifications, as long as this notice is preserved. 
     204 
     205dnl From Bruno Haible. 
     206 
     207AC_PREREQ(2.54) 
     208 
     209dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and 
     210dnl the libraries corresponding to explicit and implicit dependencies. 
     211dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 
     212dnl augments the CPPFLAGS variable. 
     213dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 
     214dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 
     215AC_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 
     244dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) 
     245dnl searches for libname and the libraries corresponding to explicit and 
     246dnl implicit dependencies, together with the specified include files and 
     247dnl the ability to compile and link the specified testcode. If found, it 
     248dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and 
     249dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and 
     250dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs 
     251dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. 
     252dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 
     253dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 
     254AC_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 
     300dnl Determine the platform dependent parameters needed to use rpath: 
     301dnl   acl_libext, 
     302dnl   acl_shlibext, 
     303dnl   acl_hardcode_libdir_flag_spec, 
     304dnl   acl_hardcode_libdir_separator, 
     305dnl   acl_hardcode_direct, 
     306dnl   acl_hardcode_minus_L. 
     307AC_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 
     337dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and 
     338dnl the libraries corresponding to explicit and implicit dependencies. 
     339dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. 
     340dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found 
     341dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 
     342AC_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 
     812dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, 
     813dnl unless already present in VAR. 
     814dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes 
     815dnl contains two or three consecutive elements that belong together. 
     816AC_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 
     833dnl For those cases where a variable contains several -L and -l options 
     834dnl referring to unknown libraries and directories, this macro determines the 
     835dnl necessary additional linker options for the runtime path. 
     836dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) 
     837dnl sets LDADDVAR to linker options needed together with LIBSVALUE. 
     838dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, 
     839dnl otherwise linking without libtool is assumed. 
     840AC_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) 
     910dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. 
     911dnl This file is free software; the Free Software Foundation 
     912dnl gives unlimited permission to copy and/or distribute it, 
     913dnl with or without modifications, as long as this notice is preserved. 
     914 
     915dnl Subroutines of libtool.m4, 
     916dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision 
     917dnl with libtool.m4. 
     918 
     919dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. 
     920AC_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. 
     923case `$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 ;; 
     928esac]) 
     929with_gnu_ld=$acl_cv_prog_gnu_ld 
     930]) 
     931 
     932dnl From libtool-1.4. Sets the variable LD. 
     933AC_DEFUN([AC_LIB_PROG_LD], 
     934[AC_ARG_WITH(gnu-ld, 
     935[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]], 
     936test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) 
     937AC_REQUIRE([AC_PROG_CC])dnl 
     938AC_REQUIRE([AC_CANONICAL_HOST])dnl 
     939# Prepare PATH_SEPARATOR. 
     940# The user is always right. 
     941if 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 
     951fi 
     952ac_prog=ld 
     953if 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 
     983elif test "$with_gnu_ld" = yes; then 
     984  AC_MSG_CHECKING([for GNU ld]) 
     985else 
     986  AC_MSG_CHECKING([for non-GNU ld]) 
     987fi 
     988AC_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" 
     1007else 
     1008  acl_cv_path_LD="$LD" # Let the user override the test with a path. 
     1009fi]) 
     1010LD="$acl_cv_path_LD" 
     1011if test -n "$LD"; then 
     1012  AC_MSG_RESULT($LD) 
     1013else 
     1014  AC_MSG_RESULT(no) 
     1015fi 
     1016test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 
     1017AC_LIB_PROG_LD_GNU 
     1018]) 
     1019 
     1020# Like AC_CONFIG_HEADER, but automatically create stamp file. 
     1021 
     1022AC_DEFUN([AM_CONFIG_HEADER], 
     1023[AC_PREREQ([2.12]) 
     1024AC_CONFIG_HEADER([$1]) 
     1025dnl When config.status generates a header, we must update the stamp-h file. 
     1026dnl This file resides in the same directory as the config header 
     1027dnl that is generated.  We must strip everything past the first ":", 
     1028dnl and everything past the last "/". 
     1029AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl 
     1030ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, 
     1031<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, 
     1032<<am_indx=1 
     1033for 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` 
     1040done<<>>dnl>>) 
     1041changequote([,]))]) 
     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 
     1049dnl Usage: 
     1050dnl AM_INIT_AUTOMAKE(package,version, [no-define]) 
     1051 
     1052AC_DEFUN([AM_INIT_AUTOMAKE], 
     1053[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 
     1054AC_REQUIRE([AC_PROG_INSTALL]) 
     1055PACKAGE=[$1] 
     1056AC_SUBST(PACKAGE) 
     1057VERSION=[$2] 
     1058AC_SUBST(VERSION) 
     1059dnl test to see if srcdir already configured 
     1060if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 
     1061  AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 
     1062fi 
     1063ifelse([$3],, 
     1064AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 
     1065AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 
     1066AC_REQUIRE([AM_SANITY_CHECK]) 
     1067AC_REQUIRE([AC_ARG_PROGRAM]) 
     1068dnl FIXME This is truly gross. 
     1069missing_dir=`cd $ac_aux_dir && pwd` 
     1070AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) 
     1071AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) 
     1072AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) 
     1073AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 
     1074AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 
     1075AC_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. 
    81083 
    91084# 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. 
     1097AC_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. 
     1103AC_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 
     1110AC_DEFUN([AM_SANITY_CHECK], 
     1111[AC_MSG_CHECKING([whether build environment is sane]) 
     1112# Just in case 
     1113sleep 1 
     1114echo 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). 
     1120if ( 
     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 
     1134alias in your environment]) 
     1135   fi 
     1136 
     1137   test "[$]2" = conftestfile 
     1138   ) 
     1139then 
     1140   # Ok. 
     1141   : 
     1142else 
     1143   AC_MSG_ERROR([newly created file is older than distributed files! 
     1144Check your system clock]) 
     1145fi 
     1146rm -f conftest* 
     1147AC_MSG_RESULT(yes)]) 
     1148 
     1149dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) 
     1150dnl The program must properly implement --version. 
     1151AC_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. 
     1156if ($2 --version) < /dev/null > /dev/null 2>&1; then 
     1157   $1=$2 
     1158   AC_MSG_RESULT(found) 
     1159else 
     1160   $1="$3/missing $2" 
     1161   AC_MSG_RESULT(missing) 
     1162fi 
     1163AC_SUBST($1)]) 
     1164 
     1165# Add --enable-maintainer-mode option to configure. 
     1166# From Jim Meyering 
     1167 
     1168# serial 1 
     1169 
     1170AC_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 
     1187AC_DEFUN([AM_CONDITIONAL], 
     1188[AC_SUBST($1_TRUE) 
     1189AC_SUBST($1_FALSE) 
     1190if $2; then 
     1191  $1_TRUE= 
     1192  $1_FALSE='#' 
     1193else 
     1194  $1_TRUE='#' 
     1195  $1_FALSE= 
     1196fi]) 
    181197 
    191198# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    201199 
    21 # serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL 
     1200# serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL 
    221201 
    231202 
     
    1071286AC_REQUIRE([AC_EXEEXT])dnl 
    1081287dnl 
    109  
    1101288AC_LIBTOOL_SYS_MAX_CMD_LEN 
    1111289AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
     
    2091387esac 
    2101388 
     1389_LT_REQUIRED_DARWIN_CHECKS 
     1390 
    2111391AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 
    2121392AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
     
    2881468eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    2891469_lt_linker_boilerplate=`cat conftest.err` 
    290 $rm conftest* 
     1470$rm -r conftest* 
    2911471])# _LT_LINKER_BOILERPLATE 
    2921472 
     1473# _LT_REQUIRED_DARWIN_CHECKS 
     1474# -------------------------- 
     1475# Check for some things on darwin 
     1476AC_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]) 
    2931544 
    2941545# _LT_AC_SYS_LIBPATH_AIX 
     
    6151866      case $lt_cv_prog_gnu_ld in 
    6161867      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        ;; 
    6181873      esac 
    6191874      ;; 
     
    7081963     fi 
    7091964   fi 
    710    $rm conftest* 
     1965   $rm -r conftest* 
    7111966   LDFLAGS="$save_LDFLAGS" 
    7121967]) 
     
    9792234          [lt_cv_dlopen="shl_load"], 
    9802235      [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"], 
    9822237        [AC_CHECK_FUNC([dlopen], 
    9832238              [lt_cv_dlopen="dlopen"], 
     
    9872242                  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 
    9882243              [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"]) 
    9902245              ]) 
    9912246            ]) 
     
    13042559  ;; 
    13052560 
    1306 aix4* | aix5*) 
     2561aix[[4-9]]*) 
    13072562  version_type=linux 
    13082563  need_lib_prefix=no 
     
    18363091AC_MSG_RESULT([$dynamic_linker]) 
    18373092test "$dynamic_linker" = no && can_build_shared=no 
     3093 
     3094AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], 
     3095[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) 
     3096sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 
     3097AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], 
     3098[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) 
     3099sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 
    18383100 
    18393101variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
     
    23363598 
    23373599case $host_os in 
    2338 aix4* | aix5*) 
     3600aix[[4-9]]*) 
    23393601  lt_cv_deplibs_check_method=pass_all 
    23403602  ;; 
     
    27724034  ;; 
    27734035 
    2774 aix4* | aix5*) 
     4036aix[[4-9]]*) 
    27754037  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    27764038    test "$enable_shared" = yes && enable_static=no 
     
    28294091_LT_AC_TAGVAR(postdeps, $1)= 
    28304092_LT_AC_TAGVAR(compiler_lib_search_path, $1)= 
     4093_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 
    28314094 
    28324095# Source file extension for C++ test sources. 
     
    29384201    _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    29394202    ;; 
    2940   aix4* | aix5*) 
     4203  aix[[4-9]]*) 
    29414204    if test "$host_cpu" = ia64; then 
    29424205      # On IA64, the linker does run time linking by default, so we don't 
     
    29514214      # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
    29524215      # need to do runtime linking. 
    2953       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) 
     4216      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 
    29544217        for ld_flag in $LDFLAGS; do 
    29554218          case $ld_flag in 
     
    30974360  ;; 
    30984361      darwin* | rhapsody*) 
    3099         case $host_os in 
    3100         rhapsody* | darwin1.[[012]]) 
    3101          _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' 
    3102          ;; 
    3103        *) # Darwin 1.3 on 
    3104          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    3105            _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
    3106          else 
    3107            case ${MACOSX_DEPLOYMENT_TARGET} in 
    3108              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            esac 
    3115          fi 
    3116          ;; 
    3117         esac 
    31184362      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    31194363      _LT_AC_TAGVAR(hardcode_direct, $1)=no 
     
    31224366      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 
    31234367      _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 
    31274370      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}" 
    31304378      fi 
    3131       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    3132        _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       else 
    3134           _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         fi 
    3136         _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 lds 
    3138           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    3139             _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           else 
    3141             _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           fi 
    3143             _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}' 
    31444379      else 
    31454380      case $cc_basename in 
     
    33924627        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 
    33934628        ;; 
    3394       pgCC*
     4629      pgCC* | pgcpp*
    33954630        # Portland Group C++ compiler 
    33964631        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
     
    38275062# Parse the compiler output and extract the necessary 
    38285063# objects, libraries and library flags. 
    3829 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ 
     5064AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], 
     5065[AC_REQUIRE([LT_AC_PROG_SED])dnl 
    38305066dnl we can't use the lt_simple_compile_test_code here, 
    38315067dnl because it contains code intended for an executable, 
     
    39525188$rm -f confest.$objext 
    39535189 
     5190_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 
     5191if 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!^ !!'` 
     5193fi 
     5194 
    39545195# PORTME: override above test on systems where it is broken 
    39555196ifelse([$1],[CXX], 
     
    40085249esac 
    40095250]) 
    4010  
    40115251case " $_LT_AC_TAGVAR(postdeps, $1) " in 
    40125252*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; 
     
    40935333  fi 
    40945334  ;; 
    4095 aix4* | aix5*) 
     5335aix[[4-9]]*) 
    40965336  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    40975337    test "$enable_shared" = yes && enable_static=no 
     
    42705510    _LT_AC_TAGVAR(postdeps, $1) \ 
    42715511    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ 
     5512    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ 
    42725513    _LT_AC_TAGVAR(archive_cmds, $1) \ 
    42735514    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ 
     
    43325573# NOTE: Changes made to this file will be lost: look at ltmain.sh. 
    43335574# 
    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 
    43355576# Free Software Foundation, Inc. 
    43365577# 
     
    45685809# shared library. 
    45695810postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) 
     5811 
     5812# The directories searched by this compiler when creating a shared 
     5813# library 
     5814compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) 
    45705815 
    45715816# The library search path used internally by the compiler when linking 
     
    49186163    cat conftest.$ac_ext >&5 
    49196164  fi 
    4920   rm -f conftest* conftst* 
     6165  rm -rf conftest* conftst* 
    49216166 
    49226167  # Do not use the global_symbol_pipe unless it works. 
     
    49756220      # Although the cygwin gcc ignores -fPIC, still need this for old-style 
    49766221      # (--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']) 
    49786224      ;; 
    49796225    darwin* | rhapsody*) 
     
    50126258  else 
    50136259    case $host_os in 
    5014       aix4* | aix5*) 
     6260      aix[[4-9]]*) 
    50156261        # All AIX code is PIC. 
    50166262        if test "$host_cpu" = ia64; then 
     
    51086354            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    51096355            ;; 
    5110           pgCC*
     6356          pgCC* | pgcpp*
    51116357            # Portland Group C++ compiler. 
    51126358            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
     
    52596505      # Although the cygwin gcc ignores -fPIC, still need this for old-style 
    52606506      # (--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']) 
    52626509      ;; 
    52636510 
     
    53296576      # This hack is so that the source file can tell whether it is being 
    53306577      # 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']) 
    53326580      ;; 
    53336581 
     
    54666714if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then 
    54676715  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), 
    54696717    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], 
    54706718    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in 
     
    54906738wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 
    54916739AC_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), 
    54936741  $lt_tmp_static_flag, 
    54946742  [], 
     
    55066754  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
    55076755  case $host_os in 
    5508   aix4* | aix5*) 
     6756  aix[[4-9]]*) 
    55096757    # If we're using GNU nm, then we don't want the "-C" option. 
    55106758    # -C means demangle to AIX nm, but means don't demangle with GNU nm 
     
    55286776  ;; 
    55296777  esac 
     6778  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 
    55306779],[ 
    55316780  runpath_var= 
     
    55586807  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 
    55596808  # 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]_.*'] 
    55616810  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 
    55626811  # platforms (ab)use it in PIC code, but their linkers get confused if 
     
    55646813  # rely on this symbol name, it's probably fine to never include it in 
    55656814  # preloaded symbol tables. 
     6815  # Exclude shared library initialization/finalization symbols. 
     6816dnl Note also adjust exclude_expsyms for C++ above. 
    55666817  extract_expsyms_cmds= 
    55676818  # Just being paranoid about ensuring that cc_basename is set. 
     
    56136864    # See if GNU ld supports shared libraries. 
    56146865    case $host_os in 
    5615     aix3* | aix4* | aix5*) 
     6866    aix[[3-9]]*) 
    56166867      # On AIX/PPC, the GNU linker is very broken 
    56176868      if test "$host_cpu" != ia64; then 
     
    58337084      ;; 
    58347085 
    5835     aix4* | aix5*) 
     7086    aix[[4-9]]*) 
    58367087      if test "$host_cpu" = ia64; then 
    58377088        # On IA64, the linker does run time linking by default, so we don't 
     
    58537104        # AIX style linking. If -brtl is somewhere in LDFLAGS, we 
    58547105        # need to do runtime linking. 
    5855         case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) 
     7106        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 
    58567107          for ld_flag in $LDFLAGS; do 
    58577108          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 
     
    60137264    if test "$GCC" = yes ; then 
    60147265        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}" 
    60207270    else 
    60217271      case $cc_basename in 
     
    65987848]) 
    65997849 
    6600 # Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc. 
    6601 # 
    6602 # This file is free software; the Free Software Foundation 
    6603 # 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 been 
    6609 # 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 to 
    6614 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]).])])dnl 
    6617 ]) 
    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 simplifies 
    6623 # the logic in aclocal, which can simply ignore this definition. 
    6624 m4_define([_AM_AUTOCONF_VERSION], []) 
    6625  
    6626 # AM_SET_CURRENT_AUTOMAKE_VERSION 
    6627 # ------------------------------- 
    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])dnl 
    6632 _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 Foundation 
    6639 # 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 sets 
    6643 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to 
    6644 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 
    6645 # 
    6646 # Of course, Automake must honor this variable whenever it calls a 
    6647 # tool from the auxiliary directory.  The problem is that $srcdir (and 
    6648 # therefore $ac_aux_dir as well) can be either absolute or relative, 
    6649 # depending on how configure is run.  This is pretty annoying, since 
    6650 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 
    6651 # source directory, any form will work fine, but in subdirectories a 
    6652 # relative path needs to be adjusted first. 
    6653 # 
    6654 # $ac_aux_dir/missing 
    6655 #    fails when called from a subdirectory if $ac_aux_dir is relative 
    6656 # $top_srcdir/$ac_aux_dir/missing 
    6657 #    fails if $ac_aux_dir is absolute, 
    6658 #    fails when called from a subdirectory in a VPATH build with 
    6659 #          a relative $ac_aux_dir 
    6660 # 
    6661 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 
    6662 # are both prefixed by $srcdir.  In an in-source build this is usually 
    6663 # harmless because $srcdir is `.', but things will broke when you 
    6664 # 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 as 
    6670 #   MISSING="\${SHELL} $am_aux_dir/missing" 
    6671 # This will work as long as MISSING is not called from configure, because 
    6672 # unfortunately $(top_srcdir) has no meaning in configure. 
    6673 # However there are other variables, like CC, which are often used in 
    6674 # 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 an 
    6677 # absolute PATH.  The drawback is that using absolute paths prevent a 
    6678 # 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])dnl 
    6683 # expand $ac_aux_dir to an absolute path 
    6684 am_aux_dir=`cd $ac_aux_dir && pwd` 
    6685 ]) 
    6686  
    6687 # AM_CONDITIONAL                                            -*- Autoconf -*- 
    6688  
    6689 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 
    6690 # Free Software Foundation, Inc. 
    6691 # 
    6692 # This file is free software; the Free Software Foundation 
    6693 # gives unlimited permission to copy and/or distribute it, 
    6694 # with or without modifications, as long as this notice is preserved. 
    6695  
    6696 # serial 8 
    6697  
    6698 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 
    6699 # ------------------------------------- 
    6700 # Define a conditional. 
    6701 AC_DEFUN([AM_CONDITIONAL], 
    6702 [AC_PREREQ(2.52)dnl 
    6703  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])], 
    6704         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 
    6705 AC_SUBST([$1_TRUE])dnl 
    6706 AC_SUBST([$1_FALSE])dnl 
    6707 _AM_SUBST_NOTMAKE([$1_TRUE])dnl 
    6708 _AM_SUBST_NOTMAKE([$1_FALSE])dnl 
    6709 if $2; then 
    6710   $1_TRUE= 
    6711   $1_FALSE='#' 
    6712 else 
    6713   $1_TRUE='#' 
    6714   $1_FALSE= 
    6715 fi 
    6716 AC_CONFIG_COMMANDS_PRE( 
    6717 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 
    6718   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, 2006 
    6723 # Free Software Foundation, Inc. 
    6724 # 
    6725 # This file is free software; the Free Software Foundation 
    6726 # gives unlimited permission to copy and/or distribute it, 
    6727 # with or without modifications, as long as this notice is preserved. 
    6728  
    6729 # serial 9 
    6730  
    6731 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 
    6732 # written in clear, in which case automake, when reading aclocal.m4, 
    6733 # will think it sees a *use*, and therefore will trigger all it's 
    6734 # C support machinery.  Also note that it means that autoscan, seeing 
    6735 # 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 was 
    6745 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 
    6746 # 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])dnl 
    6750 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 
    6751 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 
    6752 AC_REQUIRE([AM_DEP_TRACK])dnl 
    6753  
    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"; then 
    6764   # We make a subdir and do the tests there.  Otherwise we can end up 
    6765   # making bogus files that we don't know about and never remove.  For 
    6766   # instance it was reported that on HP-UX the gcc test will end up 
    6767   # making a dummy file named `D' -- because `-MD' means `put the output 
    6768   # in D'. 
    6769   mkdir conftest.dir 
    6770   # Copy depcomp to subdir because otherwise we won't find it if we're 
    6771   # using a relative directory. 
    6772   cp "$am_depcomp" conftest.dir 
    6773   cd conftest.dir 
    6774   # We will build objects and dependencies in a subdirectory because 
    6775   # it helps to detect inapplicable dependency modes.  For instance 
    6776   # both Tru64's cc and ICC support -MD to output dependencies as a 
    6777   # side effect of compilation, but ICC will put the dependencies in 
    6778   # the current directory while Tru64 will put them in the object 
    6779   # directory. 
    6780   mkdir sub 
    6781  
    6782   am_cv_$1_dependencies_compiler_type=none 
    6783   if test "$am_compiler_list" = ""; then 
    6784      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 
    6785   fi 
    6786   for depmode in $am_compiler_list; do 
    6787     # Setup a source with many dependencies, because some compilers 
    6788     # like to wrap large dependency lists on column 80 (with \), and 
    6789     # 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 may 
    6792     # overwrite some of them when testing with obscure command lines. 
    6793     # This happens at least with the AIX C compiler. 
    6794     : > sub/conftest.c 
    6795     for i in 1 2 3 4 5 6; do 
    6796       echo '#include "conftst'$i'.h"' >> sub/conftest.c 
    6797       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 
    6798       # Solaris 8's {/usr,}/bin/sh. 
    6799       touch sub/conftst$i.h 
    6800     done 
    6801     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 
    6802  
    6803     case $depmode in 
    6804     nosideeffect) 
    6805       # after this tag, mechanisms are not by side-effect, so they'll 
    6806       # only be used when explicitly requested 
    6807       if test "x$enable_dependency_tracking" = xyes; then 
    6808         continue 
    6809       else 
    6810         break 
    6811       fi 
    6812       ;; 
    6813     none) break ;; 
    6814     esac 
    6815     # We check with `-c' and `-o' for the sake of the "dashmstdout" 
    6816     # mode.  It turns out that the SunPro C++ compiler does not properly 
    6817     # 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; then 
    6827       # icc doesn't choke on unknown options, it will just issue warnings 
    6828       # or remarks (even with -Werror).  So we grep stderr for any message 
    6829       # 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 required 
    6832       # The diagnosis changed in icc 8.0: 
    6833       #   icc: Command line remark: option '-MP' not supported 
    6834       if (grep 'ignoring option' conftest.err || 
    6835           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 
    6836         am_cv_$1_dependencies_compiler_type=$depmode 
    6837         break 
    6838       fi 
    6839     fi 
    6840   done 
    6841  
    6842   cd .. 
    6843   rm -rf conftest.dir 
    6844 else 
    6845   am_cv_$1_dependencies_compiler_type=none 
    6846 fi 
    6847 ]) 
    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_DEPDIR 
    6856 # ------------- 
    6857 # Choose a directory name for dependency files. 
    6858 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 
    6859 AC_DEFUN([AM_SET_DEPDIR], 
    6860 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 
    6861 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 
    6862 ]) 
    6863  
    6864  
    6865 # AM_DEP_TRACK 
    6866 # ------------ 
    6867 AC_DEFUN([AM_DEP_TRACK], 
    6868 [AC_ARG_ENABLE(dependency-tracking, 
    6869 [  --disable-dependency-tracking  speeds up one-time build 
    6870   --enable-dependency-tracking   do not reject slow dependency extractors]) 
    6871 if test "x$enable_dependency_tracking" != xno; then 
    6872   am_depcomp="$ac_aux_dir/depcomp" 
    6873   AMDEPBACKSLASH='\' 
    6874 fi 
    6875 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 
    6876 AC_SUBST([AMDEPBACKSLASH])dnl 
    6877 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 
    6878 ]) 
    6879  
    6880 # Generate code to set up dependency tracking.              -*- Autoconf -*- 
    6881  
    6882 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    6883 # Free Software Foundation, Inc. 
    6884 # 
    6885 # This file is free software; the Free Software Foundation 
    6886 # gives unlimited permission to copy and/or distribute it, 
    6887 # with or without modifications, as long as this notice is preserved. 
    6888  
    6889 #serial 3 
    6890  
    6891 # _AM_OUTPUT_DEPENDENCY_COMMANDS 
    6892 # ------------------------------ 
    6893 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 
    6894 [for mf in $CONFIG_FILES; do 
    6895   # 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', but 
    6899   # some people rename them; so instead we look at the file content. 
    6900   # Grep'ing the first line is not enough: some people post-process 
    6901   # 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 line 
    6903   # 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; then 
    6905     dirpart=`AS_DIRNAME("$mf")` 
    6906   else 
    6907     continue 
    6908   fi 
    6909   # Extract the definition of DEPDIR, am__include, and am__quote 
    6910   # from the Makefile without running `make'. 
    6911   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 
    6912   test -z "$DEPDIR" && continue 
    6913   am__include=`sed -n 's/^am__include = //p' < "$mf"` 
    6914   test -z "am__include" && continue 
    6915   am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 
    6916   # When using ansi2knr, U may be empty or an underscore; expand it 
    6917   U=`sed -n 's/^U = //p' < "$mf"` 
    6918   # Find all dependency output files, they are included files with 
    6919   # $(DEPDIR) in their names.  We invoke sed twice because it is the 
    6920   # simplest approach to changing $(DEPDIR) to its actual value in the 
    6921   # 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'`; do 
    6925     # Make sure the directory exists. 
    6926     test -f "$dirpart/$file" && continue 
    6927     fdir=`AS_DIRNAME(["$file"])` 
    6928     AS_MKDIR_P([$dirpart/$fdir]) 
    6929     # echo "creating $dirpart/$file" 
    6930     echo '# dummy' > "$dirpart/$file" 
    6931   done 
    6932 done 
    6933 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 
    6934  
    6935  
    6936 # AM_OUTPUT_DEPENDENCY_COMMANDS 
    6937 # ----------------------------- 
    6938 # This macro should only be invoked once -- use via AC_REQUIRE. 
    6939 # 
    6940 # This code is only required when automatic dependency tracking 
    6941 # is enabled.  FIXME.  This creates each `.P' file that we will 
    6942 # 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, 2005 
    6950 # Free Software Foundation, Inc. 
    6951 # 
    6952 # This file is free software; the Free Software Foundation 
    6953 # gives unlimited permission to copy and/or distribute it, 
    6954 # with or without modifications, as long as this notice is preserved. 
    6955  
    6956 # serial 8 
    6957  
    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 Foundation 
    6967 # gives unlimited permission to copy and/or distribute it, 
    6968 # with or without modifications, as long as this notice is preserved. 
    6969  
    6970 # serial 12 
    6971  
    6972 # This macro actually does too much.  Some checks are only needed if 
    6973 # 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 style 
    6979 # call (pre autoconf-2.50), which is being phased out.  PACKAGE 
    6980 # and VERSION should now be passed to AC_INIT and removed from 
    6981 # the call to AM_INIT_AUTOMAKE. 
    6982 # We support both call styles for the transition.  After 
    6983 # the next Automake release, Autoconf can make the AC_INIT 
    6984 # arguments mandatory, and then we can depend on a new Autoconf 
    6985 # release and drop the old call support. 
    6986 AC_DEFUN([AM_INIT_AUTOMAKE], 
    6987 [AC_PREREQ([2.60])dnl 
    6988 dnl Autoconf wants to disallow AM_ names.  We explicitly allow 
    6989 dnl the ones we care about. 
    6990 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 
    6991 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 
    6992 AC_REQUIRE([AC_PROG_INSTALL])dnl 
    6993 if test "`cd $srcdir && pwd`" != "`pwd`"; then 
    6994   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 
    6995   # is not polluted with repeated "-I." 
    6996   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 
    6997   # test to see if srcdir already configured 
    6998   if test -f $srcdir/config.status; then 
    6999     AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 
    7000   fi 
    7001 fi 
    7002  
    7003 # test whether we have cygpath 
    7004 if test -z "$CYGPATH_W"; then 
    7005   if (cygpath --version) >/dev/null 2>/dev/null; then 
    7006     CYGPATH_W='cygpath -w' 
    7007   else 
    7008     CYGPATH_W=echo 
    7009   fi 
    7010 fi 
    7011 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])])dnl 
    7017  AC_SUBST([PACKAGE], [$1])dnl 
    7018  AC_SUBST([VERSION], [$2])], 
    7019 [_AM_SET_OPTIONS([$1])dnl 
    7020 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])])dnl 
    7023  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 
    7024  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 
    7025  
    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])])dnl 
    7029  
    7030 # Some tools Automake needs. 
    7031 AC_REQUIRE([AM_SANITY_CHECK])dnl 
    7032 AC_REQUIRE([AC_ARG_PROGRAM])dnl 
    7033 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_SH 
    7039 AM_PROG_INSTALL_STRIP 
    7040 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 
    7041 # We need awk for the "check" target.  The system "awk" is bad on 
    7042 # some platforms. 
    7043 AC_REQUIRE([AC_PROG_AWK])dnl 
    7044 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 
    7045 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 
    7046 _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)])])dnl 
    7054 AC_PROVIDE_IFELSE([AC_PROG_CXX], 
    7055                   [_AM_DEPENDENCIES(CXX)], 
    7056                   [define([AC_PROG_CXX], 
    7057                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 
    7058 AC_PROVIDE_IFELSE([AC_PROG_OBJC], 
    7059                   [_AM_DEPENDENCIES(OBJC)], 
    7060                   [define([AC_PROG_OBJC], 
    7061                           defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 
    7062 ]) 
    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 header 
    7068 # that is generated.  The stamp files are numbered to have different names. 
    7069  
    7070 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 
    7071 # loop where config.status creates the headers, so we can generate 
    7072 # our stamp files there. 
    7073 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 
    7074 [# Compute $1's index in $config_headers. 
    7075 _am_stamp_count=1 
    7076 for _am_header in $config_headers :; do 
    7077   case $_am_header in 
    7078     $1 | $1:* ) 
    7079       break ;; 
    7080     * ) 
    7081       _am_stamp_count=`expr $_am_stamp_count + 1` ;; 
    7082   esac 
    7083 done 
    7084 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 Foundation 
    7089 # 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_SH 
    7093 # ------------------ 
    7094 # Define $install_sh. 
    7095 AC_DEFUN([AM_PROG_INSTALL_SH], 
    7096 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 
    7097 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 Foundation 
    7103 # gives unlimited permission to copy and/or distribute it, 
    7104 # with or without modifications, as long as this notice is preserved. 
    7105  
    7106 # serial 2 
    7107  
    7108 # Check whether the underlying file-system supports filenames 
    7109 # with a leading dot.  For instance MS-DOS doesn't. 
    7110 AC_DEFUN([AM_SET_LEADING_DOT], 
    7111 [rm -rf .tst 2>/dev/null 
    7112 mkdir .tst 2>/dev/null 
    7113 if test -d .tst; then 
    7114   am__leading_dot=. 
    7115 else 
    7116   am__leading_dot=_ 
    7117 fi 
    7118 rmdir .tst 2>/dev/null 
    7119 AC_SUBST([am__leading_dot])]) 
    7120  
    7121 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*- 
    7122 # From Jim Meyering 
    7123  
    7124 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 
    7125 # Free Software Foundation, Inc. 
    7126 # 
    7127 # This file is free software; the Free Software Foundation 
    7128 # gives unlimited permission to copy and/or distribute it, 
    7129 # with or without modifications, as long as this notice is preserved. 
    7130  
    7131 # serial 4 
    7132  
    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 default 
    7136   AC_ARG_ENABLE(maintainer-mode, 
    7137 [  --enable-maintainer-mode  enable make rules and dependencies not useful 
    7138                           (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_TRUE 
    7144   AC_SUBST(MAINT)dnl 
    7145 ] 
    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 Foundation 
    7155 # gives unlimited permission to copy and/or distribute it, 
    7156 # with or without modifications, as long as this notice is preserved. 
    7157  
    7158 # serial 3 
    7159  
    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 done 
    7168 .PHONY: am__doit 
    7169 END 
    7170 # 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=none 
    7175 # First try GNU make style include. 
    7176 echo "include confinc" > confmf 
    7177 # 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 might 
    7180 # be invoked under some other name (usually "gmake"), in which 
    7181 # 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"; then 
    7183    am__include=include 
    7184    am__quote= 
    7185    _am_result=GNU 
    7186 fi 
    7187 # Now try BSD make style include. 
    7188 if test "$am__include" = "#"; then 
    7189    echo '.include "confinc"' > confmf 
    7190    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 
    7191       am__include=.include 
    7192       am__quote="\"" 
    7193       _am_result=BSD 
    7194    fi 
    7195 fi 
    7196 AC_SUBST([am__include]) 
    7197 AC_SUBST([am__quote]) 
    7198 AC_MSG_RESULT([$_am_result]) 
    7199 rm -f confinc confmf 
    7200 ]) 
    7201  
    7202 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*- 
    7203  
    7204 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 
    7205 # Free Software Foundation, Inc. 
    7206 # 
    7207 # This file is free software; the Free Software Foundation 
    7208 # gives unlimited permission to copy and/or distribute it, 
    7209 # with or without modifications, as long as this notice is preserved. 
    7210  
    7211 # serial 5 
    7212  
    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_RUN 
    7222 # ------------------ 
    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])dnl 
    7227 AC_REQUIRE_AUX_FILE([missing])dnl 
    7228 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 
    7229 # Use eval to expand $SHELL 
    7230 if eval "$MISSING --run true"; then 
    7231   am_missing_run="$MISSING --run " 
    7232 else 
    7233   am_missing_run= 
    7234   AC_MSG_WARN([`missing' script is too old or missing]) 
    7235 fi 
    7236 ]) 
    7237  
    7238 # Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc. 
    7239 # 
    7240 # This file is free software; the Free Software Foundation 
    7241 # 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_P 
    7245 # --------------- 
    7246 # Check for `mkdir -p'. 
    7247 AC_DEFUN([AM_PROG_MKDIR_P], 
    7248 [AC_PREREQ([2.60])dnl 
    7249 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 
    7250 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 of 
    7254 dnl Makefile.ins that do not define MKDIR_P, so we do our own 
    7255 dnl adjustment using top_builddir (which is defined more often than 
    7256 dnl MKDIR_P). 
    7257 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 
    7258 case $mkdir_p in 
    7259   [[\\/$]]* | ?:[[\\/]]*) ;; 
    7260   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 
    7261 esac 
    7262 ]) 
    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 Foundation 
    7269 # gives unlimited permission to copy and/or distribute it, 
    7270 # with or without modifications, as long as this notice is preserved. 
    7271  
    7272 # serial 3 
    7273  
    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, 2005 
    7300 # Free Software Foundation, Inc. 
    7301 # 
    7302 # This file is free software; the Free Software Foundation 
    7303 # gives unlimited permission to copy and/or distribute it, 
    7304 # with or without modifications, as long as this notice is preserved. 
    7305  
    7306 # serial 4 
    7307  
    7308 # AM_SANITY_CHECK 
    7309 # --------------- 
    7310 AC_DEFUN([AM_SANITY_CHECK], 
    7311 [AC_MSG_CHECKING([whether build environment is sane]) 
    7312 # Just in case 
    7313 sleep 1 
    7314 echo timestamp > conftest.file 
    7315 # Do `set' in a subshell so we don't clobber the current shell's 
    7316 # arguments.  Must try -L first in case configure is actually a 
    7317 # symlink; some systems play weird games with the mod time of symlinks 
    7318 # (eg FreeBSD returns the mod time of the symlink's containing 
    7319 # directory). 
    7320 if ( 
    7321    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 
    7322    if test "$[*]" = "X"; then 
    7323       # -L didn't work. 
    7324       set X `ls -t $srcdir/configure conftest.file` 
    7325    fi 
    7326    rm -f conftest.file 
    7327    if test "$[*]" != "X $srcdir/configure conftest.file" \ 
    7328       && test "$[*]" != "X conftest.file $srcdir/configure"; then 
    7329  
    7330       # If neither matched, then we have a broken ls.  This can happen 
    7331       # if, for instance, CONFIG_SHELL is bash and it inherits a 
    7332       # broken ls alias from the environment.  This has actually 
    7333       # happened.  Such a system could not be considered "sane". 
    7334       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken 
    7335 alias in your environment]) 
    7336    fi 
    7337  
    7338    test "$[2]" = conftest.file 
    7339    ) 
    7340 then 
    7341    # Ok. 
    7342    : 
    7343 else 
    7344    AC_MSG_ERROR([newly created file is older than distributed files! 
    7345 Check your system clock]) 
    7346 fi 
    7347 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 Foundation 
    7352 # 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_STRIP 
    7356 # --------------------- 
    7357 # One issue with vendor `install' (even GNU) is that you can't 
    7358 # specify the program used to strip binaries.  This is especially 
    7359 # annoying in cross-compiling environments, where the build's strip 
    7360 # is unlikely to handle the host's binaries. 
    7361 # Fortunately install-sh will honor a STRIPPROG variable, so we 
    7362 # always use install-sh in `make install-strip', and initialize 
    7363 # 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])dnl 
    7366 # Installed binaries are usually stripped using `strip' when the user 
    7367 # run `make install-strip'.  However `strip' might not be the right 
    7368 # tool to use in cross-compilation environments, therefore Automake 
    7369 # 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; then 
    7372   AC_CHECK_TOOL([STRIP], [strip], :) 
    7373 fi 
    7374 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 Foundation 
    7380 # 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 Foundation 
    7394 # gives unlimited permission to copy and/or distribute it, 
    7395 # with or without modifications, as long as this notice is preserved. 
    7396  
    7397 # serial 2 
    7398  
    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 command 
    7405 # writing to stdout a FORMAT-tarball containing the directory 
    7406 # $tardir. 
    7407 #     tardir=directory && $(am__tar) > result.tar 
    7408 # 
    7409 # Substitute a variable $(am__untar) that extract such 
    7410 # a tarball read from stdin. 
    7411 #     $(am__untar) < result.tar 
    7412 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 and 
    7424 # Solaris sh will not grok spaces in the rhs of `-'. 
    7425 for _am_tool in $_am_tools 
    7426 do 
    7427   case $_am_tool in 
    7428   gnutar) 
    7429     for _am_tar in tar gnutar gtar; 
    7430     do 
    7431       AM_RUN_LOG([$_am_tar --version]) && break 
    7432     done 
    7433     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 create 
    7439     # ustar tarball either. 
    7440     (tar --version) >/dev/null 2>&1 && continue 
    7441     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=false 
    7457     am__tar_=false 
    7458     am__untar=false 
    7459     ;; 
    7460   esac 
    7461  
    7462   # If the value was cached, stop now.  We just wanted to have am__tar 
    7463   # and am__untar set. 
    7464   test -n "${am_cv_prog_tar_$1}" && break 
    7465  
    7466   # tar/untar a dummy directory, and stop if the command works 
    7467   rm -rf conftest.dir 
    7468   mkdir conftest.dir 
    7469   echo GrepMe > conftest.dir/file 
    7470   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 
    7471   rm -rf conftest.dir 
    7472   if test -s conftest.tar; then 
    7473     AM_RUN_LOG([$am__untar <conftest.tar]) 
    7474     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 
    7475   fi 
    7476 done 
    7477 rm -rf conftest.dir 
    7478  
    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_TAR 
    7484  
  • src/router/wifidog/config/config.guess

    r8966 r13127  
    55#   Inc. 
    66 
    7 timestamp='2007-03-06
     7timestamp='2007-07-22
    88 
    99# This file is free software; you can redistribute it and/or modify it 
     
    331331        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    332332        exit ;; 
    333     i86pc:SunOS:5.*:*
     333    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*
    334334        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    335335        exit ;; 
     
    794794    *:Interix*:[3456]*) 
    795795        case ${UNAME_MACHINE} in 
    796             x86)  
     796            x86) 
    797797                echo i586-pc-interix${UNAME_RELEASE} 
    798798                exit ;; 
  • src/router/wifidog/config/config.sub

    r8966 r13127  
    55#   Inc. 
    66 
    7 timestamp='2007-01-18' 
     7timestamp='2007-06-28' 
    88 
    99# This file is (in principle) common to ALL GNU software. 
     
    476476                os=-unicosmp 
    477477                ;; 
    478         cr16c
    479                 basic_machine=cr16c-unknown 
     478        cr16
     479                basic_machine=cr16-unknown 
    480480                os=-elf 
    481481                ;; 
     
    683683                basic_machine=i386-pc 
    684684                os=-mingw32 
     685                ;; 
     686        mingw32ce) 
     687                basic_machine=arm-unknown 
     688                os=-mingw32ce 
    685689                ;; 
    686690        miniframe) 
  • src/router/wifidog/config/install-sh

    <
    r8966 r13127  
    11#!/bin/sh 
     2# 
    23# install - install a program, script, or datafile 
    3  
    4 scriptversion=2006-10-14.15 
    5  
     4
    65# This originates from X11R5 (mit/util/scripts/install.sh), which was 
    76# later released in X11R6 (xc/config/util/install.sh) with the 
     
    4039# 
    4140# 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 
    4744 
    4845# set DOITPROG to echo to test this script 
     
    5047# Don't use :- since 4.3BSD and earlier shells don't like it. 
    5148doit="${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. 
    6052 
    6153mvprog="${MVPROG-mv}" 
     
    6860mkdirprog="${MKDIRPROG-mkdir}" 
    6961 
    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= 
     62transformbasename="" 
     63transform_arg="" 
     64instcmd="$mvprog" 
     65chmodcmd="$chmodprog 0755" 
     66chowncmd="" 
     67chgrpcmd="" 
     68stripcmd="" 
    8069rmcmd="$rmprog -f" 
    8170mvcmd="$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 
     71src="" 
     72dst="" 
     73dir_arg="" 
     74 
     75while [ x"$1" != x ]; do 
     76    case $1 in 
     77        -c) instcmd="$cpprog"