pax_global_header00006660000000000000000000000064131107266430014515gustar00rootroot0000000000000052 comment=29ad4c3c1df15434a931cae3f7cccb0378176ce7 cellwriter-1.3.6/000077500000000000000000000000001311072664300137005ustar00rootroot00000000000000cellwriter-1.3.6/AUTHORS000066400000000000000000000002131311072664300147440ustar00rootroot00000000000000CellWriter author: Michael Levin eggtrayicon.c, eggtrayicon.h: Anders Carlsson cellwriter-1.3.6/COPYING000066400000000000000000000431221311072664300147350ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. cellwriter-1.3.6/ChangeLog000066400000000000000000000303031311072664300154510ustar00rootroot000000000000002017-05-22 Michael Levin * Instead of creating a temporary file and moving it into place, create a backup of the old profile and write directly to the final location. Attempt to load the backup if the primary profile load fails. * Revision 1.3.6 2011-10-08 Michael Levin Updates from SVN through r26: * Allow entering Unicode blocks greater than 0xFFFF. * Fixed multiple stroke inputs not working in the latest version of Ubuntu. * Updated email address. * Removed GNOME dependency in favor of gtk_show_uri(). Without GNOME or GTK 2.14 you just won't get the "help" button. * Turkish translation for Desktop file (thanks ozbekanil!). * Turn on window hints if struts are on, this seems to help people with certain window managers (thanks Ronald) * Fix for Korean languages * Key text is now always white * Window struts fix on 64-bit machines (thank you Huang Ying!) * Add explicit libx11 dependency for binutils-gold * Possible fix for profile not being saved correctly. Return code was not being correctly checked. * Added --ignore-fifo option to force starting a second instance. * Sticky keys (shifts) now activate when the mouse pointer is outside of the keyboard area so you can shift-click in GIMP etc. * Removed 1hz polling of fifo, now checks for input using a GLib watch (thanks to Thomas Jaeger for the patch!) * CellWriter will toggle the main window when a second instance is started instead of forcing the window to show. The --show-window and --hide-window arguments can be used to force the window to show or hide respectively. Thanks to Mattias Runge for the suggestion that this was needed. * Revision 1.3.5 2008-05-28 Michael Levin * stroke.c, averages.c: Fixed two memory leaks * Revision 1.3.4 2008-01-25 Michael Levin * main.c: The standard library rename() function can't handle moving across filesystems, this prevented the profile from being saved correctly -- created a new function, move_file(), to handle this case * Revision 1.3.3 2008-01-24 Michael Levin * cellwidget.c: Pango does not properly cleanup a FreeType Font Map object, this was causing a really nasty memory leak. CellWriter did not need to recreate the Font Map on every configure event, however, and removing this fixed the leak. * cellwidget.c, keywidget.c, options.c: Style colors are now available with GTK versions prior to 2.10. Should no longer get a black background for the keyboard. * main.c: Profiles are saved more carefully now -- a temporary file is written first and then moved in place of the old profile * Revision 1.3.2 2007-11-22 Michael Levin * cellwidget.c: Hold-click timeouts are no longer interrupted by other timeouts and do not restart when the pointer is moved * cellwidget.c: Timeouts are now half a second long * options.c: Grid width limit raised to 48 * cellwidget.c, keywidget.c, keyevent.c: Keyboard mappings are now updated before any key events are sent to catch any changes 2007-10-30 Michael Levin * main.c: Fixed a crash bug in a logging function (how typical...) * main.c: Make sure the program folder exists before trying to create the FIFO * keywidget.c: Keyboard size now has a non-zero default * main.c, common.h: Replaced some g_debug() calls with the new trace() function that only prints at log level 8 * window.c, cellwidget.c: Docked window now fills the entire width of the screen and leaves enough room for the scrollbar * Revision 1.3.1 2007-10-29 Michael Levin * statusicon.c: Left-click status icon menu no longer on by default * window.c, cellwidget.c: Added back buffer button to recall previously entered input * main.c: Include for errno.h was missing (probably was nested in libgnome.h) * window.c, keywidget.c, cellwidget.c, options.c: Disabled use of style colors in GTK 2.8 compilation * window.c, main.c: New option --xid allows CellWriter to embed within gnome-screensaver, see: http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions #head-5196776d04ed41242da63723d837fa188d57693a * window.c, options.c: The main window can now be docked to either the top or the bottom of the screen. A new setup window and command- line option (--dock-window=#) control this behavior. * window.c, main.c: Can't figure out how to move the window within its own struts with Metacity, going to leave it as an extra command- line switch (--window-struts) * main.c, singleinstance.c: CellWriter will now watch for input from its fifo and react accordingly (see README) * Unstable version 1.3.0 2007-10-14 Michael Levin * keyevent.c: Adding 1ms delay to XTestFakeKeyEvent() fixes mixed up order on AMD64 Gentoo (thanks Stefan Baur!) * window.c: Help label colors are taken from tooltip style * keywidget.c: Key text is now bold and shadowed * cellwidget.c, keywidget.c, options.c: A new option sets the colors scheme based on the theme colors * main.c: Added functions to manipulate colors in the HSL color space; The color highlight method has been changed to use HSL * Makefile.am, singleinstance.c, main.c: Added check to see if the program is already running and show the window if it is * README: Added recognition printout format from website * statusicon.c: Combined statusicon_gtk.c and statusicon_libegg.c into one source file. * statusicon.c, options.c: Added option to show status icon menu on left-click * statusicon.c: LibEgg status icon is now sized correctly * window.c, keywidget.c, cellwidget.c: Reduced the number of rendering calls related to configure events and color changes * window.c: Window is no longer allowed to initialize off-screen * main.c, window.c, cellwriter.1: Added --window-x, and --window-y command line arguments * main.c, cellwriter.1, ...: Standardized logging system and partitioned into GLib levels. Use --log-level=7 to enable full debug printouts. Optionally divert output to a log file with --log-file=PATH. * cellwidget.c: Sick of dealing with Xinput issues, disabling by default * main.c, keyevent.c, cellwriter.1: New command line argument --disable-overwrite will prevent modifications to the keymap * Revision 1.2.5 2007-10-05 Michael Levin * statusicon_*: Better error checking * main.c, window.c, cellwriter.1: New command line options --show-window, --hide-window, --keyboard-only, --profile, and --read-only * keyevent.c, keys.h, keywidget.c: Key event generation code now releases the same KeyCode it pressed regardless of KeySym. Modifier locking is now wholly internal. Real lock state and held keys are checked and reset before generating any key event. * keywidget.c: Lock keys change background color rather than icon. Icons are a little larger. 'PSc' key is now Print Screen instead of Sys Req. Meta ('Mta') key is now Super key ('Spr'). * cellwidget.c: Scrollbar-related crash bug fixed * stroke.c: A memcpy should have been a memmove * window.c, keywidget.c, options.c: Keyboard size is now independent of cell size * cellwidget.c, keyevent.c: Using XSync() seems to prevent rapidly generated key events from interfering with each other. Replaced key event generating timeouts with a loop. Should fix Xorg 7.3 problems as well. * Revision 1.2.4 2007-09-24 Michael Levin * main.c, key_event.c: Error message if Xtest is not supported * keyevent.c: Fixed keycode lookup bug related to shifting * keyevent.c: Reports keysym used for keycode overwrites * keyevent.c, keys.h: Removed KEY_EVENT_AUTO_SHIFT, we always auto-shift if we can now * keyevent.c: Fixed a nasty bug that prevented KeyCode black-listing from working * keyevent.c, keywidget.c: Num-lock shows toggle state, numpad keys shift properly * profile: Added bad KeyCode 245 * Revision 1.2.3 2007-09-21 Michael Levin * cellwidget.c: Fixed an issue with potential inserts/hold that could cause the first point of a stroke to be invalid * Revision 1.2.1 * configure.ac: Missing libgnome is no longer a fatal error, removed --disable-xinput (which did nothing anyway) * Revision 1.2.2 2007-09-19 Michael Levin * options.c: Spun off colors into a new tab, changed 'View' to 'Interface' * configure.ac, cellwidget.c, options.c: Disabling Xinput is now a run-time option * cellwidget.c: Added hold-click context menu gesture * cellwidget.c: Added change case context menu item, new context menu arrangement * Stable version 1.2.0 2007-09-18 Michael Levin * keyevent.c: Added check for adding too many keys to a KeyWidget * cellwidget.c: Added full Xinput support back in * configure.ac, cellwidget.c: Added back in an option to disable Xinput * Revision 1.1.2 2007-09-16 Michael Levin * main.c, stroke.c, recognize.c, statusicon_*.c: Fixed some dangerous type mistakes that caused crashes on 64-bit systems (thanks Petr Ferschmann!) * keyevent.c: Fixed non-Unicode support code * Revision 1.1.1 2007-09-15 Michael Levin * cellwidget.c: Added cross-out gesture * cellwidget.c, options.c: Added Right-to-Left language support * AUTHORS: Credited EggTrayIcon author * cellwidget.c: Possible fix to "can't write after using eraser" bug * cellwidget.c: Changed default color scheme, untrained characters now appear with inactive background in training mode * Makefile.am, unix.c: Renamed unix.c to keyevent.c for clarity * main.c, cellwidget.c, common.h: Moved GdkColor functions to main.c * Makefile.am: Added keywidget.c, keys.h * cellwidget.c, keywidget.c, window.c: Added small and QWERTY on-screen keyboards * keys.h: Header for keyevent.c and keywidget.c * keyevent.c: Now supports sending a specific keysym * options.c: Reorganized and added keyboard options * window.c: Train and the new Keys buttons are now toggle buttons * Unstable version 1.1.0 2007-09-08 Michael Levin * libegg/*, statusicon_gtk.c, statusicon_libegg.c, Autotools' files: Created compatible tray icon using libegg to allow compilation using GTK 2.8 and earlier. * share/pixmaps/cellwriter.xpm: Debian menu file requires XPM format for the menu icon. * Revision 1.0.2 * cellwidget.c, configure.ac: New flag --disable-xinput will compile CellWriter without extended input event support. * Revision 1.0.3 * configure.ac: --disable-gnome changed to --without-gnome * configure.ac, cellwidget.c: Removed --disable-xinput, XInput events are now enabled only for eraser devices * Revision 1.0.4 2007-09-06 Michael Levin * Fixed warnings for the Debian package. * Revision 1.0.1 2007-08-22 Michael Levin * Initial release 1.0.0 cellwriter-1.3.6/INSTALL000066400000000000000000000223101311072664300147270ustar00rootroot00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. cellwriter-1.3.6/Makefile000066400000000000000000001423121311072664300153430ustar00rootroot00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/cellwriter pkgincludedir = $(includedir)/cellwriter pkglibdir = $(libdir)/cellwriter pkglibexecdir = $(libexecdir)/cellwriter am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = cellwriter$(EXEEXT) # We either build the new GtkStatusIcon for GTK 2.10 or libegg for GTK 2.8 #am__append_1 = \ # src/libegg/eggtrayicon.c \ # src/libegg/eggtrayicon.h subdir = . DIST_COMMON = README $(am__configure_deps) $(dist_applications_DATA) \ $(dist_cellwriterman_DATA) $(dist_icons_DATA) \ $(dist_menuicon_DATA) $(dist_shared_DATA) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \ ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \ install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applicationsdir)" \ "$(DESTDIR)$(cellwritermandir)" "$(DESTDIR)$(iconsdir)" \ "$(DESTDIR)$(menuicondir)" "$(DESTDIR)$(shareddir)" PROGRAMS = $(bin_PROGRAMS) am__cellwriter_SOURCES_DIST = src/common.h src/recognize.h src/main.c \ src/window.c src/keyevent.c src/cellwidget.c src/recognize.c \ src/stroke.c src/options.c src/averages.c src/wordfreq.c \ src/preprocess.c src/keywidget.c src/keys.h \ src/singleinstance.c src/statusicon.c src/libegg/eggtrayicon.c \ src/libegg/eggtrayicon.h #am__objects_1 = eggtrayicon.$(OBJEXT) am_cellwriter_OBJECTS = main.$(OBJEXT) window.$(OBJEXT) \ keyevent.$(OBJEXT) cellwidget.$(OBJEXT) recognize.$(OBJEXT) \ stroke.$(OBJEXT) options.$(OBJEXT) averages.$(OBJEXT) \ wordfreq.$(OBJEXT) preprocess.$(OBJEXT) keywidget.$(OBJEXT) \ singleinstance.$(OBJEXT) statusicon.$(OBJEXT) $(am__objects_1) cellwriter_OBJECTS = $(am_cellwriter_OBJECTS) cellwriter_LDADD = $(LDADD) cellwriter_DEPENDENCIES = DEFAULT_INCLUDES = -I. depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(cellwriter_SOURCES) DIST_SOURCES = $(am__cellwriter_SOURCES_DIST) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } DATA = $(dist_applications_DATA) $(dist_cellwriterman_DATA) \ $(dist_icons_DATA) $(dist_menuicon_DATA) $(dist_shared_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = ${SHELL} /home/risujin/src/cellwriter/git/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AUTOCONF = ${SHELL} /home/risujin/src/cellwriter/git/missing --run autoconf AUTOHEADER = ${SHELL} /home/risujin/src/cellwriter/git/missing --run autoheader AUTOMAKE = ${SHELL} /home/risujin/src/cellwriter/git/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 CELLWRITER_URL = CFLAGS = -g -O2 CPP = gcc -E CPPFLAGS = CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps ECHO_C = ECHO_N = -n ECHO_T = EGREP = /bin/grep -E EXEEXT = GREP = /bin/grep GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s LDFLAGS = LIBOBJS = LIBS = -lXtst -lX11 -lgtk-x11-2.0 -lm LTLIBOBJS = MAKEINFO = ${SHELL} /home/risujin/src/cellwriter/git/missing --run makeinfo MKDIR_P = /bin/mkdir -p OBJEXT = o PACKAGE = cellwriter PACKAGE_BUGREPORT = risujin@risujin.org PACKAGE_NAME = CellWriter PACKAGE_STRING = CellWriter 1.3.6 PACKAGE_TARNAME = cellwriter PACKAGE_URL = PACKAGE_VERSION = 1.3.6 PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = PKG_CONFIG_PATH = SET_MAKE = SHELL = /bin/bash STRIP = VERSION = 1.3.6 XMKMF = abs_builddir = /home/risujin/src/cellwriter/git abs_srcdir = /home/risujin/src/cellwriter/git abs_top_builddir = /home/risujin/src/cellwriter/git abs_top_srcdir = /home/risujin/src/cellwriter/git ac_ct_CC = gcc am__include = include am__leading_dot = . am__quote = am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - bindir = ${exec_prefix}/bin build_alias = builddir = . datadir = ${datarootdir} datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} dvidir = ${docdir} exec_prefix = ${prefix} host_alias = htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info install_sh = ${SHELL} /home/risujin/src/cellwriter/git/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var mandir = ${datarootdir}/man mkdir_p = /bin/mkdir -p oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s,x,x, psdir = ${docdir} sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = . sysconfdir = ${prefix}/etc target_alias = top_build_prefix = top_builddir = . top_srcdir = . INCLUDES = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 LDADD = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lX11 -lXtst AM_CFLAGS = -DDATADIR=\"$(datadir)\" -DPKGDATADIR=\"$(pkgdatadir)\" cellwriter_SOURCES = src/common.h src/recognize.h src/main.c \ src/window.c src/keyevent.c src/cellwidget.c src/recognize.c \ src/stroke.c src/options.c src/averages.c src/wordfreq.c \ src/preprocess.c src/keywidget.c src/keys.h \ src/singleinstance.c src/statusicon.c $(am__append_1) # CellWriter tray and program icon iconsdir = $(datadir)/icons/hicolor/scalable/apps dist_icons_DATA = share/icons/hicolor/scalable/apps/cellwriter.svg # CellWriter menu icon menuicondir = $(datadir)/pixmaps dist_menuicon_DATA = share/pixmaps/cellwriter.xpm # Updates the icon cache so that the CellWriter icon will show up in the menu gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor # X11 .desktop program name and icon information applicationsdir = $(datadir)/applications dist_applications_DATA = cellwriter.desktop # Initial profile and English word frequency file shareddir = $(pkgdatadir) dist_shared_DATA = \ share/cellwriter/wordfreq \ share/cellwriter/profile # Manpage cellwritermandir = $(mandir)/man1 dist_cellwriterman_DATA = cellwriter.1 # Distribute the testing application as an added bonus EXTRA_DIST = \ test/test.c \ test/Makefile all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .o .obj am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) cellwriter$(EXEEXT): $(cellwriter_OBJECTS) $(cellwriter_DEPENDENCIES) $(EXTRA_cellwriter_DEPENDENCIES) @rm -f cellwriter$(EXEEXT) $(LINK) $(cellwriter_OBJECTS) $(cellwriter_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c include ./$(DEPDIR)/averages.Po include ./$(DEPDIR)/cellwidget.Po include ./$(DEPDIR)/eggtrayicon.Po include ./$(DEPDIR)/keyevent.Po include ./$(DEPDIR)/keywidget.Po include ./$(DEPDIR)/main.Po include ./$(DEPDIR)/options.Po include ./$(DEPDIR)/preprocess.Po include ./$(DEPDIR)/recognize.Po include ./$(DEPDIR)/singleinstance.Po include ./$(DEPDIR)/statusicon.Po include ./$(DEPDIR)/stroke.Po include ./$(DEPDIR)/window.Po include ./$(DEPDIR)/wordfreq.Po .c.o: $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po # source='$<' object='$@' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(COMPILE) -c $< .c.obj: $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po # source='$<' object='$@' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(COMPILE) -c `$(CYGPATH_W) '$<'` main.o: src/main.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT main.o -MD -MP -MF $(DEPDIR)/main.Tpo -c -o main.o `test -f 'src/main.c' || echo '$(srcdir)/'`src/main.c $(am__mv) $(DEPDIR)/main.Tpo $(DEPDIR)/main.Po # source='src/main.c' object='main.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.o `test -f 'src/main.c' || echo '$(srcdir)/'`src/main.c main.obj: src/main.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT main.obj -MD -MP -MF $(DEPDIR)/main.Tpo -c -o main.obj `if test -f 'src/main.c'; then $(CYGPATH_W) 'src/main.c'; else $(CYGPATH_W) '$(srcdir)/src/main.c'; fi` $(am__mv) $(DEPDIR)/main.Tpo $(DEPDIR)/main.Po # source='src/main.c' object='main.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.obj `if test -f 'src/main.c'; then $(CYGPATH_W) 'src/main.c'; else $(CYGPATH_W) '$(srcdir)/src/main.c'; fi` window.o: src/window.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT window.o -MD -MP -MF $(DEPDIR)/window.Tpo -c -o window.o `test -f 'src/window.c' || echo '$(srcdir)/'`src/window.c $(am__mv) $(DEPDIR)/window.Tpo $(DEPDIR)/window.Po # source='src/window.c' object='window.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o window.o `test -f 'src/window.c' || echo '$(srcdir)/'`src/window.c window.obj: src/window.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT window.obj -MD -MP -MF $(DEPDIR)/window.Tpo -c -o window.obj `if test -f 'src/window.c'; then $(CYGPATH_W) 'src/window.c'; else $(CYGPATH_W) '$(srcdir)/src/window.c'; fi` $(am__mv) $(DEPDIR)/window.Tpo $(DEPDIR)/window.Po # source='src/window.c' object='window.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o window.obj `if test -f 'src/window.c'; then $(CYGPATH_W) 'src/window.c'; else $(CYGPATH_W) '$(srcdir)/src/window.c'; fi` keyevent.o: src/keyevent.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keyevent.o -MD -MP -MF $(DEPDIR)/keyevent.Tpo -c -o keyevent.o `test -f 'src/keyevent.c' || echo '$(srcdir)/'`src/keyevent.c $(am__mv) $(DEPDIR)/keyevent.Tpo $(DEPDIR)/keyevent.Po # source='src/keyevent.c' object='keyevent.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keyevent.o `test -f 'src/keyevent.c' || echo '$(srcdir)/'`src/keyevent.c keyevent.obj: src/keyevent.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keyevent.obj -MD -MP -MF $(DEPDIR)/keyevent.Tpo -c -o keyevent.obj `if test -f 'src/keyevent.c'; then $(CYGPATH_W) 'src/keyevent.c'; else $(CYGPATH_W) '$(srcdir)/src/keyevent.c'; fi` $(am__mv) $(DEPDIR)/keyevent.Tpo $(DEPDIR)/keyevent.Po # source='src/keyevent.c' object='keyevent.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keyevent.obj `if test -f 'src/keyevent.c'; then $(CYGPATH_W) 'src/keyevent.c'; else $(CYGPATH_W) '$(srcdir)/src/keyevent.c'; fi` cellwidget.o: src/cellwidget.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cellwidget.o -MD -MP -MF $(DEPDIR)/cellwidget.Tpo -c -o cellwidget.o `test -f 'src/cellwidget.c' || echo '$(srcdir)/'`src/cellwidget.c $(am__mv) $(DEPDIR)/cellwidget.Tpo $(DEPDIR)/cellwidget.Po # source='src/cellwidget.c' object='cellwidget.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cellwidget.o `test -f 'src/cellwidget.c' || echo '$(srcdir)/'`src/cellwidget.c cellwidget.obj: src/cellwidget.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cellwidget.obj -MD -MP -MF $(DEPDIR)/cellwidget.Tpo -c -o cellwidget.obj `if test -f 'src/cellwidget.c'; then $(CYGPATH_W) 'src/cellwidget.c'; else $(CYGPATH_W) '$(srcdir)/src/cellwidget.c'; fi` $(am__mv) $(DEPDIR)/cellwidget.Tpo $(DEPDIR)/cellwidget.Po # source='src/cellwidget.c' object='cellwidget.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cellwidget.obj `if test -f 'src/cellwidget.c'; then $(CYGPATH_W) 'src/cellwidget.c'; else $(CYGPATH_W) '$(srcdir)/src/cellwidget.c'; fi` recognize.o: src/recognize.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT recognize.o -MD -MP -MF $(DEPDIR)/recognize.Tpo -c -o recognize.o `test -f 'src/recognize.c' || echo '$(srcdir)/'`src/recognize.c $(am__mv) $(DEPDIR)/recognize.Tpo $(DEPDIR)/recognize.Po # source='src/recognize.c' object='recognize.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o recognize.o `test -f 'src/recognize.c' || echo '$(srcdir)/'`src/recognize.c recognize.obj: src/recognize.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT recognize.obj -MD -MP -MF $(DEPDIR)/recognize.Tpo -c -o recognize.obj `if test -f 'src/recognize.c'; then $(CYGPATH_W) 'src/recognize.c'; else $(CYGPATH_W) '$(srcdir)/src/recognize.c'; fi` $(am__mv) $(DEPDIR)/recognize.Tpo $(DEPDIR)/recognize.Po # source='src/recognize.c' object='recognize.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o recognize.obj `if test -f 'src/recognize.c'; then $(CYGPATH_W) 'src/recognize.c'; else $(CYGPATH_W) '$(srcdir)/src/recognize.c'; fi` stroke.o: src/stroke.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stroke.o -MD -MP -MF $(DEPDIR)/stroke.Tpo -c -o stroke.o `test -f 'src/stroke.c' || echo '$(srcdir)/'`src/stroke.c $(am__mv) $(DEPDIR)/stroke.Tpo $(DEPDIR)/stroke.Po # source='src/stroke.c' object='stroke.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stroke.o `test -f 'src/stroke.c' || echo '$(srcdir)/'`src/stroke.c stroke.obj: src/stroke.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stroke.obj -MD -MP -MF $(DEPDIR)/stroke.Tpo -c -o stroke.obj `if test -f 'src/stroke.c'; then $(CYGPATH_W) 'src/stroke.c'; else $(CYGPATH_W) '$(srcdir)/src/stroke.c'; fi` $(am__mv) $(DEPDIR)/stroke.Tpo $(DEPDIR)/stroke.Po # source='src/stroke.c' object='stroke.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stroke.obj `if test -f 'src/stroke.c'; then $(CYGPATH_W) 'src/stroke.c'; else $(CYGPATH_W) '$(srcdir)/src/stroke.c'; fi` options.o: src/options.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT options.o -MD -MP -MF $(DEPDIR)/options.Tpo -c -o options.o `test -f 'src/options.c' || echo '$(srcdir)/'`src/options.c $(am__mv) $(DEPDIR)/options.Tpo $(DEPDIR)/options.Po # source='src/options.c' object='options.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o options.o `test -f 'src/options.c' || echo '$(srcdir)/'`src/options.c options.obj: src/options.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT options.obj -MD -MP -MF $(DEPDIR)/options.Tpo -c -o options.obj `if test -f 'src/options.c'; then $(CYGPATH_W) 'src/options.c'; else $(CYGPATH_W) '$(srcdir)/src/options.c'; fi` $(am__mv) $(DEPDIR)/options.Tpo $(DEPDIR)/options.Po # source='src/options.c' object='options.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o options.obj `if test -f 'src/options.c'; then $(CYGPATH_W) 'src/options.c'; else $(CYGPATH_W) '$(srcdir)/src/options.c'; fi` averages.o: src/averages.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT averages.o -MD -MP -MF $(DEPDIR)/averages.Tpo -c -o averages.o `test -f 'src/averages.c' || echo '$(srcdir)/'`src/averages.c $(am__mv) $(DEPDIR)/averages.Tpo $(DEPDIR)/averages.Po # source='src/averages.c' object='averages.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o averages.o `test -f 'src/averages.c' || echo '$(srcdir)/'`src/averages.c averages.obj: src/averages.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT averages.obj -MD -MP -MF $(DEPDIR)/averages.Tpo -c -o averages.obj `if test -f 'src/averages.c'; then $(CYGPATH_W) 'src/averages.c'; else $(CYGPATH_W) '$(srcdir)/src/averages.c'; fi` $(am__mv) $(DEPDIR)/averages.Tpo $(DEPDIR)/averages.Po # source='src/averages.c' object='averages.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o averages.obj `if test -f 'src/averages.c'; then $(CYGPATH_W) 'src/averages.c'; else $(CYGPATH_W) '$(srcdir)/src/averages.c'; fi` wordfreq.o: src/wordfreq.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT wordfreq.o -MD -MP -MF $(DEPDIR)/wordfreq.Tpo -c -o wordfreq.o `test -f 'src/wordfreq.c' || echo '$(srcdir)/'`src/wordfreq.c $(am__mv) $(DEPDIR)/wordfreq.Tpo $(DEPDIR)/wordfreq.Po # source='src/wordfreq.c' object='wordfreq.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o wordfreq.o `test -f 'src/wordfreq.c' || echo '$(srcdir)/'`src/wordfreq.c wordfreq.obj: src/wordfreq.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT wordfreq.obj -MD -MP -MF $(DEPDIR)/wordfreq.Tpo -c -o wordfreq.obj `if test -f 'src/wordfreq.c'; then $(CYGPATH_W) 'src/wordfreq.c'; else $(CYGPATH_W) '$(srcdir)/src/wordfreq.c'; fi` $(am__mv) $(DEPDIR)/wordfreq.Tpo $(DEPDIR)/wordfreq.Po # source='src/wordfreq.c' object='wordfreq.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o wordfreq.obj `if test -f 'src/wordfreq.c'; then $(CYGPATH_W) 'src/wordfreq.c'; else $(CYGPATH_W) '$(srcdir)/src/wordfreq.c'; fi` preprocess.o: src/preprocess.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT preprocess.o -MD -MP -MF $(DEPDIR)/preprocess.Tpo -c -o preprocess.o `test -f 'src/preprocess.c' || echo '$(srcdir)/'`src/preprocess.c $(am__mv) $(DEPDIR)/preprocess.Tpo $(DEPDIR)/preprocess.Po # source='src/preprocess.c' object='preprocess.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o preprocess.o `test -f 'src/preprocess.c' || echo '$(srcdir)/'`src/preprocess.c preprocess.obj: src/preprocess.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT preprocess.obj -MD -MP -MF $(DEPDIR)/preprocess.Tpo -c -o preprocess.obj `if test -f 'src/preprocess.c'; then $(CYGPATH_W) 'src/preprocess.c'; else $(CYGPATH_W) '$(srcdir)/src/preprocess.c'; fi` $(am__mv) $(DEPDIR)/preprocess.Tpo $(DEPDIR)/preprocess.Po # source='src/preprocess.c' object='preprocess.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o preprocess.obj `if test -f 'src/preprocess.c'; then $(CYGPATH_W) 'src/preprocess.c'; else $(CYGPATH_W) '$(srcdir)/src/preprocess.c'; fi` keywidget.o: src/keywidget.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keywidget.o -MD -MP -MF $(DEPDIR)/keywidget.Tpo -c -o keywidget.o `test -f 'src/keywidget.c' || echo '$(srcdir)/'`src/keywidget.c $(am__mv) $(DEPDIR)/keywidget.Tpo $(DEPDIR)/keywidget.Po # source='src/keywidget.c' object='keywidget.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keywidget.o `test -f 'src/keywidget.c' || echo '$(srcdir)/'`src/keywidget.c keywidget.obj: src/keywidget.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keywidget.obj -MD -MP -MF $(DEPDIR)/keywidget.Tpo -c -o keywidget.obj `if test -f 'src/keywidget.c'; then $(CYGPATH_W) 'src/keywidget.c'; else $(CYGPATH_W) '$(srcdir)/src/keywidget.c'; fi` $(am__mv) $(DEPDIR)/keywidget.Tpo $(DEPDIR)/keywidget.Po # source='src/keywidget.c' object='keywidget.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keywidget.obj `if test -f 'src/keywidget.c'; then $(CYGPATH_W) 'src/keywidget.c'; else $(CYGPATH_W) '$(srcdir)/src/keywidget.c'; fi` singleinstance.o: src/singleinstance.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT singleinstance.o -MD -MP -MF $(DEPDIR)/singleinstance.Tpo -c -o singleinstance.o `test -f 'src/singleinstance.c' || echo '$(srcdir)/'`src/singleinstance.c $(am__mv) $(DEPDIR)/singleinstance.Tpo $(DEPDIR)/singleinstance.Po # source='src/singleinstance.c' object='singleinstance.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o singleinstance.o `test -f 'src/singleinstance.c' || echo '$(srcdir)/'`src/singleinstance.c singleinstance.obj: src/singleinstance.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT singleinstance.obj -MD -MP -MF $(DEPDIR)/singleinstance.Tpo -c -o singleinstance.obj `if test -f 'src/singleinstance.c'; then $(CYGPATH_W) 'src/singleinstance.c'; else $(CYGPATH_W) '$(srcdir)/src/singleinstance.c'; fi` $(am__mv) $(DEPDIR)/singleinstance.Tpo $(DEPDIR)/singleinstance.Po # source='src/singleinstance.c' object='singleinstance.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o singleinstance.obj `if test -f 'src/singleinstance.c'; then $(CYGPATH_W) 'src/singleinstance.c'; else $(CYGPATH_W) '$(srcdir)/src/singleinstance.c'; fi` statusicon.o: src/statusicon.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT statusicon.o -MD -MP -MF $(DEPDIR)/statusicon.Tpo -c -o statusicon.o `test -f 'src/statusicon.c' || echo '$(srcdir)/'`src/statusicon.c $(am__mv) $(DEPDIR)/statusicon.Tpo $(DEPDIR)/statusicon.Po # source='src/statusicon.c' object='statusicon.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o statusicon.o `test -f 'src/statusicon.c' || echo '$(srcdir)/'`src/statusicon.c statusicon.obj: src/statusicon.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT statusicon.obj -MD -MP -MF $(DEPDIR)/statusicon.Tpo -c -o statusicon.obj `if test -f 'src/statusicon.c'; then $(CYGPATH_W) 'src/statusicon.c'; else $(CYGPATH_W) '$(srcdir)/src/statusicon.c'; fi` $(am__mv) $(DEPDIR)/statusicon.Tpo $(DEPDIR)/statusicon.Po # source='src/statusicon.c' object='statusicon.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o statusicon.obj `if test -f 'src/statusicon.c'; then $(CYGPATH_W) 'src/statusicon.c'; else $(CYGPATH_W) '$(srcdir)/src/statusicon.c'; fi` eggtrayicon.o: src/libegg/eggtrayicon.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT eggtrayicon.o -MD -MP -MF $(DEPDIR)/eggtrayicon.Tpo -c -o eggtrayicon.o `test -f 'src/libegg/eggtrayicon.c' || echo '$(srcdir)/'`src/libegg/eggtrayicon.c $(am__mv) $(DEPDIR)/eggtrayicon.Tpo $(DEPDIR)/eggtrayicon.Po # source='src/libegg/eggtrayicon.c' object='eggtrayicon.o' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o eggtrayicon.o `test -f 'src/libegg/eggtrayicon.c' || echo '$(srcdir)/'`src/libegg/eggtrayicon.c eggtrayicon.obj: src/libegg/eggtrayicon.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT eggtrayicon.obj -MD -MP -MF $(DEPDIR)/eggtrayicon.Tpo -c -o eggtrayicon.obj `if test -f 'src/libegg/eggtrayicon.c'; then $(CYGPATH_W) 'src/libegg/eggtrayicon.c'; else $(CYGPATH_W) '$(srcdir)/src/libegg/eggtrayicon.c'; fi` $(am__mv) $(DEPDIR)/eggtrayicon.Tpo $(DEPDIR)/eggtrayicon.Po # source='src/libegg/eggtrayicon.c' object='eggtrayicon.obj' libtool=no \ # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o eggtrayicon.obj `if test -f 'src/libegg/eggtrayicon.c'; then $(CYGPATH_W) 'src/libegg/eggtrayicon.c'; else $(CYGPATH_W) '$(srcdir)/src/libegg/eggtrayicon.c'; fi` install-dist_applicationsDATA: $(dist_applications_DATA) @$(NORMAL_INSTALL) @list='$(dist_applications_DATA)'; test -n "$(applicationsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(applicationsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(applicationsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(applicationsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(applicationsdir)" || exit $$?; \ done uninstall-dist_applicationsDATA: @$(NORMAL_UNINSTALL) @list='$(dist_applications_DATA)'; test -n "$(applicationsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(applicationsdir)'; $(am__uninstall_files_from_dir) install-dist_cellwritermanDATA: $(dist_cellwriterman_DATA) @$(NORMAL_INSTALL) @list='$(dist_cellwriterman_DATA)'; test -n "$(cellwritermandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(cellwritermandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(cellwritermandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cellwritermandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(cellwritermandir)" || exit $$?; \ done uninstall-dist_cellwritermanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_cellwriterman_DATA)'; test -n "$(cellwritermandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(cellwritermandir)'; $(am__uninstall_files_from_dir) install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ done uninstall-dist_iconsDATA: @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) install-dist_menuiconDATA: $(dist_menuicon_DATA) @$(NORMAL_INSTALL) @list='$(dist_menuicon_DATA)'; test -n "$(menuicondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(menuicondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(menuicondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(menuicondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(menuicondir)" || exit $$?; \ done uninstall-dist_menuiconDATA: @$(NORMAL_UNINSTALL) @list='$(dist_menuicon_DATA)'; test -n "$(menuicondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(menuicondir)'; $(am__uninstall_files_from_dir) install-dist_sharedDATA: $(dist_shared_DATA) @$(NORMAL_INSTALL) @list='$(dist_shared_DATA)'; test -n "$(shareddir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(shareddir)'"; \ $(MKDIR_P) "$(DESTDIR)$(shareddir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shareddir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(shareddir)" || exit $$?; \ done uninstall-dist_sharedDATA: @$(NORMAL_UNINSTALL) @list='$(dist_shared_DATA)'; test -n "$(shareddir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(shareddir)'; $(am__uninstall_files_from_dir) ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(DATA) config.h installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applicationsdir)" "$(DESTDIR)$(cellwritermandir)" "$(DESTDIR)$(iconsdir)" "$(DESTDIR)$(menuicondir)" "$(DESTDIR)$(shareddir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_applicationsDATA \ install-dist_cellwritermanDATA install-dist_iconsDATA \ install-dist_menuiconDATA install-dist_sharedDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-dist_applicationsDATA \ uninstall-dist_cellwritermanDATA uninstall-dist_iconsDATA \ uninstall-dist_menuiconDATA uninstall-dist_sharedDATA .MAKE: all install-am install-data-am install-strip .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ dist-zip distcheck distclean distclean-compile \ distclean-generic distclean-hdr distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-binPROGRAMS install-data \ install-data-am install-data-hook \ install-dist_applicationsDATA install-dist_cellwritermanDATA \ install-dist_iconsDATA install-dist_menuiconDATA \ install-dist_sharedDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS \ uninstall-dist_applicationsDATA \ uninstall-dist_cellwritermanDATA uninstall-dist_iconsDATA \ uninstall-dist_menuiconDATA uninstall-dist_sharedDATA install-data-hook: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: cellwriter-1.3.6/Makefile.am000066400000000000000000000036251311072664300157420ustar00rootroot00000000000000 INCLUDES = @GTK_CFLAGS@ LDADD = @GTK_LIBS@ -lX11 -lXtst AM_CFLAGS = -DDATADIR=\"$(datadir)\" -DPKGDATADIR=\"$(pkgdatadir)\" bin_PROGRAMS = cellwriter cellwriter_SOURCES = \ src/common.h \ src/recognize.h \ src/main.c \ src/window.c \ src/keyevent.c \ src/cellwidget.c \ src/recognize.c \ src/stroke.c \ src/options.c \ src/averages.c \ src/wordfreq.c \ src/preprocess.c \ src/keywidget.c \ src/keys.h \ src/singleinstance.c \ src/statusicon.c # We either build the new GtkStatusIcon for GTK 2.10 or libegg for GTK 2.8 if !GTKSTATUSICON cellwriter_SOURCES += \ src/libegg/eggtrayicon.c \ src/libegg/eggtrayicon.h endif !GTKSTATUSICON # CellWriter tray and program icon iconsdir = $(datadir)/icons/hicolor/scalable/apps dist_icons_DATA = share/icons/hicolor/scalable/apps/cellwriter.svg # CellWriter menu icon menuicondir = $(datadir)/pixmaps dist_menuicon_DATA = share/pixmaps/cellwriter.xpm # Updates the icon cache so that the CellWriter icon will show up in the menu gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor install-data-hook: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi # X11 .desktop program name and icon information applicationsdir = $(datadir)/applications dist_applications_DATA = cellwriter.desktop # Initial profile and English word frequency file shareddir = $(pkgdatadir) dist_shared_DATA = \ share/cellwriter/wordfreq \ share/cellwriter/profile # Manpage cellwritermandir = $(mandir)/man1 dist_cellwriterman_DATA = cellwriter.1 # Distribute the testing application as an added bonus EXTRA_DIST = \ test/test.c \ test/Makefile cellwriter-1.3.6/Makefile.in000066400000000000000000001517111311072664300157530ustar00rootroot00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = cellwriter$(EXEEXT) # We either build the new GtkStatusIcon for GTK 2.10 or libegg for GTK 2.8 @GTKSTATUSICON_FALSE@am__append_1 = \ @GTKSTATUSICON_FALSE@ src/libegg/eggtrayicon.c \ @GTKSTATUSICON_FALSE@ src/libegg/eggtrayicon.h subdir = . DIST_COMMON = README $(am__configure_deps) $(dist_applications_DATA) \ $(dist_cellwriterman_DATA) $(dist_icons_DATA) \ $(dist_menuicon_DATA) $(dist_shared_DATA) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \ ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \ install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applicationsdir)" \ "$(DESTDIR)$(cellwritermandir)" "$(DESTDIR)$(iconsdir)" \ "$(DESTDIR)$(menuicondir)" "$(DESTDIR)$(shareddir)" PROGRAMS = $(bin_PROGRAMS) am__cellwriter_SOURCES_DIST = src/common.h src/recognize.h src/main.c \ src/window.c src/keyevent.c src/cellwidget.c src/recognize.c \ src/stroke.c src/options.c src/averages.c src/wordfreq.c \ src/preprocess.c src/keywidget.c src/keys.h \ src/singleinstance.c src/statusicon.c src/libegg/eggtrayicon.c \ src/libegg/eggtrayicon.h @GTKSTATUSICON_FALSE@am__objects_1 = eggtrayicon.$(OBJEXT) am_cellwriter_OBJECTS = main.$(OBJEXT) window.$(OBJEXT) \ keyevent.$(OBJEXT) cellwidget.$(OBJEXT) recognize.$(OBJEXT) \ stroke.$(OBJEXT) options.$(OBJEXT) averages.$(OBJEXT) \ wordfreq.$(OBJEXT) preprocess.$(OBJEXT) keywidget.$(OBJEXT) \ singleinstance.$(OBJEXT) statusicon.$(OBJEXT) $(am__objects_1) cellwriter_OBJECTS = $(am_cellwriter_OBJECTS) cellwriter_LDADD = $(LDADD) cellwriter_DEPENDENCIES = DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(cellwriter_SOURCES) DIST_SOURCES = $(am__cellwriter_SOURCES_DIST) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } DATA = $(dist_applications_DATA) $(dist_cellwriterman_DATA) \ $(dist_icons_DATA) $(dist_menuicon_DATA) $(dist_shared_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CELLWRITER_URL = @CELLWRITER_URL@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ INCLUDES = @GTK_CFLAGS@ LDADD = @GTK_LIBS@ -lX11 -lXtst AM_CFLAGS = -DDATADIR=\"$(datadir)\" -DPKGDATADIR=\"$(pkgdatadir)\" cellwriter_SOURCES = src/common.h src/recognize.h src/main.c \ src/window.c src/keyevent.c src/cellwidget.c src/recognize.c \ src/stroke.c src/options.c src/averages.c src/wordfreq.c \ src/preprocess.c src/keywidget.c src/keys.h \ src/singleinstance.c src/statusicon.c $(am__append_1) # CellWriter tray and program icon iconsdir = $(datadir)/icons/hicolor/scalable/apps dist_icons_DATA = share/icons/hicolor/scalable/apps/cellwriter.svg # CellWriter menu icon menuicondir = $(datadir)/pixmaps dist_menuicon_DATA = share/pixmaps/cellwriter.xpm # Updates the icon cache so that the CellWriter icon will show up in the menu gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor # X11 .desktop program name and icon information applicationsdir = $(datadir)/applications dist_applications_DATA = cellwriter.desktop # Initial profile and English word frequency file shareddir = $(pkgdatadir) dist_shared_DATA = \ share/cellwriter/wordfreq \ share/cellwriter/profile # Manpage cellwritermandir = $(mandir)/man1 dist_cellwriterman_DATA = cellwriter.1 # Distribute the testing application as an added bonus EXTRA_DIST = \ test/test.c \ test/Makefile all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .o .obj am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) cellwriter$(EXEEXT): $(cellwriter_OBJECTS) $(cellwriter_DEPENDENCIES) $(EXTRA_cellwriter_DEPENDENCIES) @rm -f cellwriter$(EXEEXT) $(LINK) $(cellwriter_OBJECTS) $(cellwriter_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/averages.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cellwidget.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eggtrayicon.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keyevent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keywidget.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preprocess.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/recognize.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/singleinstance.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statusicon.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stroke.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/window.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wordfreq.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` main.o: src/main.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT main.o -MD -MP -MF $(DEPDIR)/main.Tpo -c -o main.o `test -f 'src/main.c' || echo '$(srcdir)/'`src/main.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/main.Tpo $(DEPDIR)/main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/main.c' object='main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.o `test -f 'src/main.c' || echo '$(srcdir)/'`src/main.c main.obj: src/main.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT main.obj -MD -MP -MF $(DEPDIR)/main.Tpo -c -o main.obj `if test -f 'src/main.c'; then $(CYGPATH_W) 'src/main.c'; else $(CYGPATH_W) '$(srcdir)/src/main.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/main.Tpo $(DEPDIR)/main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/main.c' object='main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o main.obj `if test -f 'src/main.c'; then $(CYGPATH_W) 'src/main.c'; else $(CYGPATH_W) '$(srcdir)/src/main.c'; fi` window.o: src/window.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT window.o -MD -MP -MF $(DEPDIR)/window.Tpo -c -o window.o `test -f 'src/window.c' || echo '$(srcdir)/'`src/window.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/window.Tpo $(DEPDIR)/window.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/window.c' object='window.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o window.o `test -f 'src/window.c' || echo '$(srcdir)/'`src/window.c window.obj: src/window.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT window.obj -MD -MP -MF $(DEPDIR)/window.Tpo -c -o window.obj `if test -f 'src/window.c'; then $(CYGPATH_W) 'src/window.c'; else $(CYGPATH_W) '$(srcdir)/src/window.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/window.Tpo $(DEPDIR)/window.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/window.c' object='window.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o window.obj `if test -f 'src/window.c'; then $(CYGPATH_W) 'src/window.c'; else $(CYGPATH_W) '$(srcdir)/src/window.c'; fi` keyevent.o: src/keyevent.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keyevent.o -MD -MP -MF $(DEPDIR)/keyevent.Tpo -c -o keyevent.o `test -f 'src/keyevent.c' || echo '$(srcdir)/'`src/keyevent.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/keyevent.Tpo $(DEPDIR)/keyevent.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/keyevent.c' object='keyevent.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keyevent.o `test -f 'src/keyevent.c' || echo '$(srcdir)/'`src/keyevent.c keyevent.obj: src/keyevent.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keyevent.obj -MD -MP -MF $(DEPDIR)/keyevent.Tpo -c -o keyevent.obj `if test -f 'src/keyevent.c'; then $(CYGPATH_W) 'src/keyevent.c'; else $(CYGPATH_W) '$(srcdir)/src/keyevent.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/keyevent.Tpo $(DEPDIR)/keyevent.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/keyevent.c' object='keyevent.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keyevent.obj `if test -f 'src/keyevent.c'; then $(CYGPATH_W) 'src/keyevent.c'; else $(CYGPATH_W) '$(srcdir)/src/keyevent.c'; fi` cellwidget.o: src/cellwidget.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cellwidget.o -MD -MP -MF $(DEPDIR)/cellwidget.Tpo -c -o cellwidget.o `test -f 'src/cellwidget.c' || echo '$(srcdir)/'`src/cellwidget.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cellwidget.Tpo $(DEPDIR)/cellwidget.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/cellwidget.c' object='cellwidget.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cellwidget.o `test -f 'src/cellwidget.c' || echo '$(srcdir)/'`src/cellwidget.c cellwidget.obj: src/cellwidget.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cellwidget.obj -MD -MP -MF $(DEPDIR)/cellwidget.Tpo -c -o cellwidget.obj `if test -f 'src/cellwidget.c'; then $(CYGPATH_W) 'src/cellwidget.c'; else $(CYGPATH_W) '$(srcdir)/src/cellwidget.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cellwidget.Tpo $(DEPDIR)/cellwidget.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/cellwidget.c' object='cellwidget.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cellwidget.obj `if test -f 'src/cellwidget.c'; then $(CYGPATH_W) 'src/cellwidget.c'; else $(CYGPATH_W) '$(srcdir)/src/cellwidget.c'; fi` recognize.o: src/recognize.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT recognize.o -MD -MP -MF $(DEPDIR)/recognize.Tpo -c -o recognize.o `test -f 'src/recognize.c' || echo '$(srcdir)/'`src/recognize.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/recognize.Tpo $(DEPDIR)/recognize.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/recognize.c' object='recognize.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o recognize.o `test -f 'src/recognize.c' || echo '$(srcdir)/'`src/recognize.c recognize.obj: src/recognize.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT recognize.obj -MD -MP -MF $(DEPDIR)/recognize.Tpo -c -o recognize.obj `if test -f 'src/recognize.c'; then $(CYGPATH_W) 'src/recognize.c'; else $(CYGPATH_W) '$(srcdir)/src/recognize.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/recognize.Tpo $(DEPDIR)/recognize.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/recognize.c' object='recognize.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o recognize.obj `if test -f 'src/recognize.c'; then $(CYGPATH_W) 'src/recognize.c'; else $(CYGPATH_W) '$(srcdir)/src/recognize.c'; fi` stroke.o: src/stroke.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stroke.o -MD -MP -MF $(DEPDIR)/stroke.Tpo -c -o stroke.o `test -f 'src/stroke.c' || echo '$(srcdir)/'`src/stroke.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/stroke.Tpo $(DEPDIR)/stroke.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/stroke.c' object='stroke.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stroke.o `test -f 'src/stroke.c' || echo '$(srcdir)/'`src/stroke.c stroke.obj: src/stroke.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT stroke.obj -MD -MP -MF $(DEPDIR)/stroke.Tpo -c -o stroke.obj `if test -f 'src/stroke.c'; then $(CYGPATH_W) 'src/stroke.c'; else $(CYGPATH_W) '$(srcdir)/src/stroke.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/stroke.Tpo $(DEPDIR)/stroke.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/stroke.c' object='stroke.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o stroke.obj `if test -f 'src/stroke.c'; then $(CYGPATH_W) 'src/stroke.c'; else $(CYGPATH_W) '$(srcdir)/src/stroke.c'; fi` options.o: src/options.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT options.o -MD -MP -MF $(DEPDIR)/options.Tpo -c -o options.o `test -f 'src/options.c' || echo '$(srcdir)/'`src/options.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/options.Tpo $(DEPDIR)/options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/options.c' object='options.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o options.o `test -f 'src/options.c' || echo '$(srcdir)/'`src/options.c options.obj: src/options.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT options.obj -MD -MP -MF $(DEPDIR)/options.Tpo -c -o options.obj `if test -f 'src/options.c'; then $(CYGPATH_W) 'src/options.c'; else $(CYGPATH_W) '$(srcdir)/src/options.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/options.Tpo $(DEPDIR)/options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/options.c' object='options.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o options.obj `if test -f 'src/options.c'; then $(CYGPATH_W) 'src/options.c'; else $(CYGPATH_W) '$(srcdir)/src/options.c'; fi` averages.o: src/averages.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT averages.o -MD -MP -MF $(DEPDIR)/averages.Tpo -c -o averages.o `test -f 'src/averages.c' || echo '$(srcdir)/'`src/averages.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/averages.Tpo $(DEPDIR)/averages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/averages.c' object='averages.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o averages.o `test -f 'src/averages.c' || echo '$(srcdir)/'`src/averages.c averages.obj: src/averages.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT averages.obj -MD -MP -MF $(DEPDIR)/averages.Tpo -c -o averages.obj `if test -f 'src/averages.c'; then $(CYGPATH_W) 'src/averages.c'; else $(CYGPATH_W) '$(srcdir)/src/averages.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/averages.Tpo $(DEPDIR)/averages.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/averages.c' object='averages.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o averages.obj `if test -f 'src/averages.c'; then $(CYGPATH_W) 'src/averages.c'; else $(CYGPATH_W) '$(srcdir)/src/averages.c'; fi` wordfreq.o: src/wordfreq.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT wordfreq.o -MD -MP -MF $(DEPDIR)/wordfreq.Tpo -c -o wordfreq.o `test -f 'src/wordfreq.c' || echo '$(srcdir)/'`src/wordfreq.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/wordfreq.Tpo $(DEPDIR)/wordfreq.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/wordfreq.c' object='wordfreq.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o wordfreq.o `test -f 'src/wordfreq.c' || echo '$(srcdir)/'`src/wordfreq.c wordfreq.obj: src/wordfreq.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT wordfreq.obj -MD -MP -MF $(DEPDIR)/wordfreq.Tpo -c -o wordfreq.obj `if test -f 'src/wordfreq.c'; then $(CYGPATH_W) 'src/wordfreq.c'; else $(CYGPATH_W) '$(srcdir)/src/wordfreq.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/wordfreq.Tpo $(DEPDIR)/wordfreq.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/wordfreq.c' object='wordfreq.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o wordfreq.obj `if test -f 'src/wordfreq.c'; then $(CYGPATH_W) 'src/wordfreq.c'; else $(CYGPATH_W) '$(srcdir)/src/wordfreq.c'; fi` preprocess.o: src/preprocess.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT preprocess.o -MD -MP -MF $(DEPDIR)/preprocess.Tpo -c -o preprocess.o `test -f 'src/preprocess.c' || echo '$(srcdir)/'`src/preprocess.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/preprocess.Tpo $(DEPDIR)/preprocess.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/preprocess.c' object='preprocess.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o preprocess.o `test -f 'src/preprocess.c' || echo '$(srcdir)/'`src/preprocess.c preprocess.obj: src/preprocess.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT preprocess.obj -MD -MP -MF $(DEPDIR)/preprocess.Tpo -c -o preprocess.obj `if test -f 'src/preprocess.c'; then $(CYGPATH_W) 'src/preprocess.c'; else $(CYGPATH_W) '$(srcdir)/src/preprocess.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/preprocess.Tpo $(DEPDIR)/preprocess.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/preprocess.c' object='preprocess.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o preprocess.obj `if test -f 'src/preprocess.c'; then $(CYGPATH_W) 'src/preprocess.c'; else $(CYGPATH_W) '$(srcdir)/src/preprocess.c'; fi` keywidget.o: src/keywidget.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keywidget.o -MD -MP -MF $(DEPDIR)/keywidget.Tpo -c -o keywidget.o `test -f 'src/keywidget.c' || echo '$(srcdir)/'`src/keywidget.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/keywidget.Tpo $(DEPDIR)/keywidget.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/keywidget.c' object='keywidget.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keywidget.o `test -f 'src/keywidget.c' || echo '$(srcdir)/'`src/keywidget.c keywidget.obj: src/keywidget.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keywidget.obj -MD -MP -MF $(DEPDIR)/keywidget.Tpo -c -o keywidget.obj `if test -f 'src/keywidget.c'; then $(CYGPATH_W) 'src/keywidget.c'; else $(CYGPATH_W) '$(srcdir)/src/keywidget.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/keywidget.Tpo $(DEPDIR)/keywidget.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/keywidget.c' object='keywidget.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keywidget.obj `if test -f 'src/keywidget.c'; then $(CYGPATH_W) 'src/keywidget.c'; else $(CYGPATH_W) '$(srcdir)/src/keywidget.c'; fi` singleinstance.o: src/singleinstance.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT singleinstance.o -MD -MP -MF $(DEPDIR)/singleinstance.Tpo -c -o singleinstance.o `test -f 'src/singleinstance.c' || echo '$(srcdir)/'`src/singleinstance.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/singleinstance.Tpo $(DEPDIR)/singleinstance.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/singleinstance.c' object='singleinstance.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o singleinstance.o `test -f 'src/singleinstance.c' || echo '$(srcdir)/'`src/singleinstance.c singleinstance.obj: src/singleinstance.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT singleinstance.obj -MD -MP -MF $(DEPDIR)/singleinstance.Tpo -c -o singleinstance.obj `if test -f 'src/singleinstance.c'; then $(CYGPATH_W) 'src/singleinstance.c'; else $(CYGPATH_W) '$(srcdir)/src/singleinstance.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/singleinstance.Tpo $(DEPDIR)/singleinstance.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/singleinstance.c' object='singleinstance.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o singleinstance.obj `if test -f 'src/singleinstance.c'; then $(CYGPATH_W) 'src/singleinstance.c'; else $(CYGPATH_W) '$(srcdir)/src/singleinstance.c'; fi` statusicon.o: src/statusicon.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT statusicon.o -MD -MP -MF $(DEPDIR)/statusicon.Tpo -c -o statusicon.o `test -f 'src/statusicon.c' || echo '$(srcdir)/'`src/statusicon.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/statusicon.Tpo $(DEPDIR)/statusicon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/statusicon.c' object='statusicon.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o statusicon.o `test -f 'src/statusicon.c' || echo '$(srcdir)/'`src/statusicon.c statusicon.obj: src/statusicon.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT statusicon.obj -MD -MP -MF $(DEPDIR)/statusicon.Tpo -c -o statusicon.obj `if test -f 'src/statusicon.c'; then $(CYGPATH_W) 'src/statusicon.c'; else $(CYGPATH_W) '$(srcdir)/src/statusicon.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/statusicon.Tpo $(DEPDIR)/statusicon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/statusicon.c' object='statusicon.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o statusicon.obj `if test -f 'src/statusicon.c'; then $(CYGPATH_W) 'src/statusicon.c'; else $(CYGPATH_W) '$(srcdir)/src/statusicon.c'; fi` eggtrayicon.o: src/libegg/eggtrayicon.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT eggtrayicon.o -MD -MP -MF $(DEPDIR)/eggtrayicon.Tpo -c -o eggtrayicon.o `test -f 'src/libegg/eggtrayicon.c' || echo '$(srcdir)/'`src/libegg/eggtrayicon.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/eggtrayicon.Tpo $(DEPDIR)/eggtrayicon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/libegg/eggtrayicon.c' object='eggtrayicon.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o eggtrayicon.o `test -f 'src/libegg/eggtrayicon.c' || echo '$(srcdir)/'`src/libegg/eggtrayicon.c eggtrayicon.obj: src/libegg/eggtrayicon.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT eggtrayicon.obj -MD -MP -MF $(DEPDIR)/eggtrayicon.Tpo -c -o eggtrayicon.obj `if test -f 'src/libegg/eggtrayicon.c'; then $(CYGPATH_W) 'src/libegg/eggtrayicon.c'; else $(CYGPATH_W) '$(srcdir)/src/libegg/eggtrayicon.c'; fi` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/eggtrayicon.Tpo $(DEPDIR)/eggtrayicon.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/libegg/eggtrayicon.c' object='eggtrayicon.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o eggtrayicon.obj `if test -f 'src/libegg/eggtrayicon.c'; then $(CYGPATH_W) 'src/libegg/eggtrayicon.c'; else $(CYGPATH_W) '$(srcdir)/src/libegg/eggtrayicon.c'; fi` install-dist_applicationsDATA: $(dist_applications_DATA) @$(NORMAL_INSTALL) @list='$(dist_applications_DATA)'; test -n "$(applicationsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(applicationsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(applicationsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(applicationsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(applicationsdir)" || exit $$?; \ done uninstall-dist_applicationsDATA: @$(NORMAL_UNINSTALL) @list='$(dist_applications_DATA)'; test -n "$(applicationsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(applicationsdir)'; $(am__uninstall_files_from_dir) install-dist_cellwritermanDATA: $(dist_cellwriterman_DATA) @$(NORMAL_INSTALL) @list='$(dist_cellwriterman_DATA)'; test -n "$(cellwritermandir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(cellwritermandir)'"; \ $(MKDIR_P) "$(DESTDIR)$(cellwritermandir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cellwritermandir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(cellwritermandir)" || exit $$?; \ done uninstall-dist_cellwritermanDATA: @$(NORMAL_UNINSTALL) @list='$(dist_cellwriterman_DATA)'; test -n "$(cellwritermandir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(cellwritermandir)'; $(am__uninstall_files_from_dir) install-dist_iconsDATA: $(dist_icons_DATA) @$(NORMAL_INSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ done uninstall-dist_iconsDATA: @$(NORMAL_UNINSTALL) @list='$(dist_icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) install-dist_menuiconDATA: $(dist_menuicon_DATA) @$(NORMAL_INSTALL) @list='$(dist_menuicon_DATA)'; test -n "$(menuicondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(menuicondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(menuicondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(menuicondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(menuicondir)" || exit $$?; \ done uninstall-dist_menuiconDATA: @$(NORMAL_UNINSTALL) @list='$(dist_menuicon_DATA)'; test -n "$(menuicondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(menuicondir)'; $(am__uninstall_files_from_dir) install-dist_sharedDATA: $(dist_shared_DATA) @$(NORMAL_INSTALL) @list='$(dist_shared_DATA)'; test -n "$(shareddir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(shareddir)'"; \ $(MKDIR_P) "$(DESTDIR)$(shareddir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shareddir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(shareddir)" || exit $$?; \ done uninstall-dist_sharedDATA: @$(NORMAL_UNINSTALL) @list='$(dist_shared_DATA)'; test -n "$(shareddir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(shareddir)'; $(am__uninstall_files_from_dir) ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(DATA) config.h installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applicationsdir)" "$(DESTDIR)$(cellwritermandir)" "$(DESTDIR)$(iconsdir)" "$(DESTDIR)$(menuicondir)" "$(DESTDIR)$(shareddir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_applicationsDATA \ install-dist_cellwritermanDATA install-dist_iconsDATA \ install-dist_menuiconDATA install-dist_sharedDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-dist_applicationsDATA \ uninstall-dist_cellwritermanDATA uninstall-dist_iconsDATA \ uninstall-dist_menuiconDATA uninstall-dist_sharedDATA .MAKE: all install-am install-data-am install-strip .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ dist-zip distcheck distclean distclean-compile \ distclean-generic distclean-hdr distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-binPROGRAMS install-data \ install-data-am install-data-hook \ install-dist_applicationsDATA install-dist_cellwritermanDATA \ install-dist_iconsDATA install-dist_menuiconDATA \ install-dist_sharedDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS \ uninstall-dist_applicationsDATA \ uninstall-dist_cellwritermanDATA uninstall-dist_iconsDATA \ uninstall-dist_menuiconDATA uninstall-dist_sharedDATA install-data-hook: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: cellwriter-1.3.6/NEWS000066400000000000000000000000001311072664300143650ustar00rootroot00000000000000cellwriter-1.3.6/README000066400000000000000000000151761311072664300145720ustar00rootroot00000000000000 CellWriter ========== CellWriter is a grid-entry natural handwriting input panel. As you write characters into the cells, your writing is instantly recognized at the character level. When you press 'Enter' on the panel, the input you entered is sent to the currently focused application as if typed on the keyboard. Please see the website for more information: http://risujin.org/cellwriter Michael Levin Reporting bugs ============== If you find a bug, please follow this checklist: 1.) Check the program website (above) to make sure you are using the latest version and see if your problem is already described under the Support section. 2.) Make sure your system is running up-to-date stable versions of the X-server (X11 7.2 at the moment) and supporting libraries. Instabilities in supporting software can cause CellWriter to crash. These issues are further difficult to work around. 3.) Please find reliable steps to reproduce the problem. Run CellWriter with the following arguments to produce a log file: $ cellwriter --log-level=7 --log-file=cellwriter.log 4.) If you are experiencing crashes and the log file simply says something like "Caught signal 11, cleaning up", it would be very helpful if you could try and find the exact location of the fault with a debugger. You will need to install gdb (the GNU debugger) and compile the latest CellWriter source code (see notes on compiling below). Once you have done so, start gdb from the source directory: $ gdb ./cellwriter Enter 'r' to start the program. Try and reproduce the crash conditions. When the program crashes, gdb will print out the location of the fault in the source code. It looks something like this: GNU gdb 6.6.90.20070912-debian ... (gdb) r Starting program: /home/.../cellwriter-1.2.5/cellwriter ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb701d6b0 (LWP 5419)] 0x08050863 in main (argc=1, argv=0xbfda35a4) at src/main.c:694 694 g_print("%s", error->message); (gdb) Save this output and send it to me via email. This is the fastest way to help me fix a crash bug because it's difficult for me to fix crash conditions that don't occur on my computer. 5.) Send me an email (address listed above). Please include any relevant information about your computer or handheld device (distribution, Xorg version, Wacom driver version, etc). Don't forget to attach your log file! Notes on compiling ================== CellWriter is packaged with Autotools. To compile and install use: ./configure && make && make install If you are NOT planning to install the software but want to run it from the source directory, you need to configure CellWriter to use the local data directory. When you run the configure script, pass the absolute path to the 'share' subdirectory to the script: ./configure --datadir=/home/[user]/.../cellwriter/share If you do not do this, CellWriter will not be able to load the tray icon or the word frequency file. CellWriter has additional compile-time flags. To see what they are, type: ./configure --help Embedding in GNOME Screensaver ============================== With the 1.3 series, CellWriter can be embedded into GNOME Screensaver. To enable this functionality you will need to open the GNOME Configuration Editor: gconf-editor Open the GNOME Screensaver entry (/apps/gnome-screensaver/) and set the 'embedded_keyboard_command' key to the the CellWriter path and executable name with the '--xid' and '--keyboard-only' flags appended: /usr/bin/cellwriter --xid --keyboard-only Check the 'embedded_keyboard_enabled' option and CellWriter should be embedded in keyboard-only mode (for security) within GNOME Screensaver next time it starts. Currently, CellWriter cannot open the Options dialog or enter training mode while embedded. Recognition results format ========================== If you want to know more about what the recognition engine is doing under the hood, start CellWriter from a console with the debug logging level (cellwriter --log-level=7) and detailed information will be printed to standard out after a character is recognized. Here is some sample output: Recognized -- 71/87 (81%) disqualified, 21ms (1ms/symbol), 37% strong 'k' ( 100 [30587], 100 [32722], 69 [21491], 33 [ 17]) 79% [000---012] 'K' ( 58 [29191], 38 [32672], 100 [26191], 0 [ 0]) 42% [012---000] 'M' ( 77 [29845], 4 [32645], -2 [10154], 0 [ 0]) 16% [000R--012] 'P' ( 15 [27757], -12 [32631], 52 [18831], 0 [ 0]) 8% [011--R001] 'd' ( 45 [28759], -8 [32634], -23 [ 6823], 0 [ 0]) 2% [000RR-102] The top stat shows how many samples were disqualified before performing detailed recognition (71). Next is the total time of recognition in milliseconds (21ms). Strength is defined as the match strength of the first result minus the second (79% - 42% = 37% strong). For each letter, the ratings of the four recognition engines are displayed in normalized (0-100) and raw form (in brackets, [0-32767]). From left to right are the preprocessor, average distance, average angle, and word context engines. After the engine ratings is the post-penalty strength. Lastly is the mapping transformation in brackets. The mapping transformation describes how the preprocessor mapped a symbol with more strokes onto a symbol with less strokes. The first set of columns describe which stroke on the larger symbol was mapped to which stroke on the smaller symbol. The next set of columns indicate whether any stroke was reversed ('R'). If any two or more strokes on the larger symbol were mapped to the same stroke on the smaller symbol, the column set on the end indicates the order in which the strokes were glued together. In the example above, a sample for the character 'k' was rated highest by the preprocessor, average distance, and word frequency engines, but only second-highest by the average angle distance. After penalties, it had a strength of 79%, 37% above 'K', and was constructed by gluing together the three input strokes in order without reversal. Controlling via FIFO ==================== Since 1.3, CellWriter will watch its FIFO (~/.cellwriter/fifo) for input. The main window can be controlled by writing one character to the fifo file. To show the main window: $ echo -n S > ~/.cellwriter/fifo To hide the main window: $ echo -n H > ~/.cellwriter/fifo To toggle the main window: $ echo -n T > ~/.cellwriter/fifo Thanks ====== Big thanks to Nelson A. de Oliveira for his continuing support! cellwriter-1.3.6/TODO000066400000000000000000000034461311072664300143770ustar00rootroot00000000000000 Wishlist: * Quake-style cvar system or use GConf or something * SCIM/UIM style text box integration * CJK language usability improvements: - Simplify Asian character training - Import Kanji samples from or support StrokeDic directly * Translations * Language chooser rather than Unicode pages (or along with?) For 2.0: * Split into a library and a frontend For 1.6: * Wordfreq improvements: - Personal wordfreq file - Multiple stock wordfreq files with selection GUI - Wide-character cell_widget_word() * Detailed training view * Keyboard improvements: - Localized keyboard layouts - Visible internal compose key, 3rd level shift For 1.4: * Automatic text entry after a timeout * Configurable timeout intervals * Test GDM with CellWriter (how is this done in Debian?) * Rapid switch between language setups * Docking options on the status icon * Translucent when not active * Keyboard looks weird with Clearlooks Terminal Bug Reports: * Xorg 7.3/LinuxWacom 7.8.3 (patched) will crash the X server when XChangeKeyboardMapping() is called! Test again when a 7.3-compatible LinuxWacom makes it to Debian. * Lots of issues with Xinput: - Coordinate origins are messed up after Xrandr rotation - The automatic window resize during writing occasionally messes up coordinate origins - Xorg 7.3/LinuxWacom 7.8.3 (patched) generates button 3 for left-click * Icon cache does not appear to update after installing the Debian package. Apparently a distribution-specific issue with CDBS. * Window docking (moving window inside of struts) does not work with Metacity. * Bottom-docked windows don't popup the back buffer menu correctly. Appears to be a bug with Metacity itself. * Docked windows overlap panels sometimes. cellwriter-1.3.6/aclocal.m4000066400000000000000000001172171311072664300155510ustar00rootroot00000000000000# generated automatically by aclocal 1.11.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, # Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.6], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, # 2010, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR cellwriter-1.3.6/autom4te.cache/000077500000000000000000000000001311072664300165045ustar00rootroot00000000000000cellwriter-1.3.6/autom4te.cache/output.0000066400000000000000000005676011311072664300201440ustar00rootroot00000000000000@%:@! /bin/sh @%:@ Guess values for system-dependent variables and create Makefiles. @%:@ Generated by GNU Autoconf 2.69 for CellWriter 1.3.6. @%:@ @%:@ Report bugs to . @%:@ @%:@ @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @%:@ @%:@ @%:@ This configure script is free software; the Free Software Foundation @%:@ gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in @%:@( *posix*) : set -o posix ;; @%:@( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in @%:@( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in @%:@(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in @%:@ (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in @%:@( *posix*) : set -o posix ;; @%:@( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in @%:@( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in @%:@ (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: risujin@risujin.org about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## @%:@ as_fn_unset VAR @%:@ --------------- @%:@ Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset @%:@ as_fn_set_status STATUS @%:@ ----------------------- @%:@ Set @S|@? to STATUS, without forking. as_fn_set_status () { return $1 } @%:@ as_fn_set_status @%:@ as_fn_exit STATUS @%:@ ----------------- @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } @%:@ as_fn_exit @%:@ as_fn_mkdir_p @%:@ ------------- @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } @%:@ as_fn_mkdir_p @%:@ as_fn_executable_p FILE @%:@ ----------------------- @%:@ Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } @%:@ as_fn_executable_p @%:@ as_fn_append VAR VALUE @%:@ ---------------------- @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take @%:@ advantage of any shell optimizations that allow amortized linear growth over @%:@ repeated appends, instead of the typical quadratic growth present in naive @%:@ implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append @%:@ as_fn_arith ARG... @%:@ ------------------ @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments @%:@ must be portable across @S|@(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] @%:@ ---------------------------------------- @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the @%:@ script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } @%:@ as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in @%:@((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIB@&t@OBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='CellWriter' PACKAGE_TARNAME='cellwriter' PACKAGE_VERSION='1.3.6' PACKAGE_STRING='CellWriter 1.3.6' PACKAGE_BUGREPORT='risujin@risujin.org' PACKAGE_URL='' ac_unique_file="src/main.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIB@&t@OBJS EGREP GREP XMKMF GTKSTATUSICON_FALSE GTKSTATUSICON_TRUE GTK_LIBS GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC CELLWRITER_URL am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_dependency_tracking with_gtkstatusicon with_x ' ac_precious_vars='build_alias host_alias target_alias CELLWRITER_URL CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS XMKMF' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures CellWriter 1.3.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @<:@@S|@ac_default_prefix@:>@ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX @<:@PREFIX@:>@ By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root @<:@DATAROOTDIR/doc/cellwriter@:>@ --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of CellWriter 1.3.6:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-gtkstatusicon use libegg status icon (GTK < 2.10) --with-x use the X Window System Some influential environment variables: CELLWRITER_URL URL for help website CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config XMKMF Path to xmkmf, Makefile generator for X Window System Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF CellWriter configure 1.3.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## @%:@ ac_fn_c_try_compile LINENO @%:@ -------------------------- @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_compile @%:@ ac_fn_c_try_cpp LINENO @%:@ ---------------------- @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_cpp @%:@ ac_fn_c_try_link LINENO @%:@ ----------------------- @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_link @%:@ ac_fn_c_try_run LINENO @%:@ ---------------------- @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes @%:@ that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_run @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES @%:@ ------------------------------------------- @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache @%:@ variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_type @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES @%:@ ------------------------------------------------------- @%:@ Tests whether HEADER exists and can be compiled using the include files in @%:@ INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @%:@include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_header_compile @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES @%:@ ------------------------------------------------------- @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using @%:@ the include files in INCLUDES and setting the cache variable VAR @%:@ accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @%:@include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ---------------------------------- ## ## Report this to risujin@risujin.org ## ## ---------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_header_mongrel @%:@ ac_fn_c_check_func LINENO FUNC VAR @%:@ ---------------------------------- @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by CellWriter $as_me 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in @%:@(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in @%:@(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='cellwriter' VERSION='1.3.6' cat >>confdefs.h <<_ACEOF @%:@define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ac_config_headers="$ac_config_headers config.h" # URL launched when Help button is pressed if test "x${CELLWRITER_URL}" == "x"; then $as_echo "@%:@define CELLWRITER_URL \"http://risujin.org/cellwriter\"" >>confdefs.h fi # Icon path for the program, installation paths are controlled in Makefile.am $as_echo "@%:@define ICON_PATH \"/icons/hicolor/scalable/apps/\"" >>confdefs.h # Checks for programs ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $@%:@ != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf @%:@ Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@ifdef __STDC__ @%:@ include @%:@else @%:@ include @%:@endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@ifdef __STDC__ @%:@ include @%:@else @%:@ include @%:@endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Math library { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5 $as_echo_n "checking for atan2 in -lm... " >&6; } if ${ac_cv_lib_m_atan2+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char atan2 (); int main () { return atan2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_atan2=yes else ac_cv_lib_m_atan2=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5 $as_echo "$ac_cv_lib_m_atan2" >&6; } if test "x$ac_cv_lib_m_atan2" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBM 1 _ACEOF LIBS="-lm $LIBS" else as_fn_error $? "Math library not installed or invalid!" "$LINENO" 5 fi # GTK+2 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.8" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.8" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.8) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Only use GtkStatusIcon if we have it and want it @%:@ Check whether --with-gtkstatusicon was given. if test "${with_gtkstatusicon+set}" = set; then : withval=$with_gtkstatusicon; fi if test x$with_gtkstatusicon != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_status_icon_new_from_file in -lgtk-x11-2.0" >&5 $as_echo_n "checking for gtk_status_icon_new_from_file in -lgtk-x11-2.0... " >&6; } if ${ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgtk-x11-2.0 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char gtk_status_icon_new_from_file (); int main () { return gtk_status_icon_new_from_file (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file=yes else ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file" >&5 $as_echo "$ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file" >&6; } if test "x$ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBGTK_X11_2_0 1 _ACEOF LIBS="-lgtk-x11-2.0 $LIBS" else with_gtkstatusicon=no fi fi if test x$with_gtkstatusicon = xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: using libegg tray icon" >&5 $as_echo "$as_me: using libegg tray icon" >&6;} $as_echo "@%:@define USING_LIBEGG /**/" >>confdefs.h fi if test x$with_gtkstatusicon != xno; then GTKSTATUSICON_TRUE= GTKSTATUSICON_FALSE='#' else GTKSTATUSICON_TRUE='#' GTKSTATUSICON_FALSE= fi # Xlib and Xtest extension { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 $as_echo_n "checking for X... " >&6; } @%:@ Check whether --with-x was given. if test "${with_x+set}" = set; then : withval=$with_x; fi # $have_x is `yes', `no', `disabled', or empty when we do not yet know. if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabled else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. ac_x_includes=no ac_x_libraries=no rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' incroot: @echo incroot='${INCROOT}' usrlibdir: @echo usrlibdir='${USRLIBDIR}' libdir: @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl dylib la dll; do if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break fi done # Screen out bogus values from the imake configuration. They are # bogus both because they are the default anyway, and because # using them would break gcc on systems where it needs fixed includes. case $ac_im_incroot in /usr/include) ac_x_includes= ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /usr/lib64 | /lib | /lib64) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -f -r conftest.dir fi # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include /usr/X11R7/include /usr/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 /usr/include/X11R7 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include /usr/local/X11R7/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 /usr/local/include/X11R7 /usr/local/include/X11R6 /usr/local/include/X11R5 /usr/local/include/X11R4 /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 /usr/include /usr/local/include /usr/unsupported/include /usr/athena/include /usr/local/x11r5/include /usr/lpp/Xamples/include /usr/openwin/include /usr/openwin/share/include' if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi done fi rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include int main () { XrmInitialize () ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else LIBS=$ac_save_LIBS for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do if test -r "$ac_dir/libX11.$ac_extension"; then ac_x_libraries=$ac_dir break 2 fi done done fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no case $ac_x_includes,$ac_x_libraries in #( no,* | *,no | *\'*) # Didn't find X, or a directory has "'" in its name. ac_cv_have_x="have_x=no";; #( *) # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ ac_x_libraries='$ac_x_libraries'" esac fi ;; #( *) have_x=yes;; esac eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 $as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. test "x$x_includes" = xNONE && x_includes=$ac_x_includes test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XChangeKeyboardMapping in -lX11" >&5 $as_echo_n "checking for XChangeKeyboardMapping in -lX11... " >&6; } if ${ac_cv_lib_X11_XChangeKeyboardMapping+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XChangeKeyboardMapping (); int main () { return XChangeKeyboardMapping (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_X11_XChangeKeyboardMapping=yes else ac_cv_lib_X11_XChangeKeyboardMapping=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XChangeKeyboardMapping" >&5 $as_echo "$ac_cv_lib_X11_XChangeKeyboardMapping" >&6; } if test "x$ac_cv_lib_X11_XChangeKeyboardMapping" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBX11 1 _ACEOF LIBS="-lX11 $LIBS" else as_fn_error $? "X11 library not found or outdated! Please install the latest libx11-dev package." "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; } if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXtst $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XTestFakeKeyEvent (); int main () { return XTestFakeKeyEvent (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_Xtst_XTestFakeKeyEvent=yes else ac_cv_lib_Xtst_XTestFakeKeyEvent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; } if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBXTST 1 _ACEOF LIBS="-lXtst $LIBS" else as_fn_error $? "XTest library not found or outdated! Please install the latest libxtst-dev package." "$LINENO" 5 fi # Checks for header files { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h fi # Checks for typedefs, structures, and compiler characteristics { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "@%:@define const /**/" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF @%:@define size_t unsigned int _ACEOF fi # Checks for library functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_type_signal=int else ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF @%:@define RETSIGTYPE $ac_cv_type_signal _ACEOF for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } if test $ac_cv_func_malloc_0_nonnull = yes; then : $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h else $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h case " $LIB@&t@OBJS " in *" malloc.$ac_objext "* ) ;; *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" ;; esac $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h fi for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } if ${ac_cv_func_realloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_realloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *realloc (); #endif int main () { return ! realloc (0, 0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_realloc_0_nonnull=yes else ac_cv_func_realloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } if test $ac_cv_func_realloc_0_nonnull = yes; then : $as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h else $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h case " $LIB@&t@OBJS " in *" realloc.$ac_objext "* ) ;; *) LIB@&t@OBJS="$LIB@&t@OBJS realloc.$ac_objext" ;; esac $as_echo "@%:@define realloc rpl_realloc" >>confdefs.h fi for ac_func in memmove memset sqrt strcasecmp do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIB@&t@OBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTKSTATUSICON_TRUE}" && test -z "${GTKSTATUSICON_FALSE}"; then as_fn_error $? "conditional \"GTKSTATUSICON\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in @%:@( *posix*) : set -o posix ;; @%:@( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in @%:@( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in @%:@(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] @%:@ ---------------------------------------- @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the @%:@ script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } @%:@ as_fn_error @%:@ as_fn_set_status STATUS @%:@ ----------------------- @%:@ Set @S|@? to STATUS, without forking. as_fn_set_status () { return $1 } @%:@ as_fn_set_status @%:@ as_fn_exit STATUS @%:@ ----------------- @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } @%:@ as_fn_exit @%:@ as_fn_unset VAR @%:@ --------------- @%:@ Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset @%:@ as_fn_append VAR VALUE @%:@ ---------------------- @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take @%:@ advantage of any shell optimizations that allow amortized linear growth over @%:@ repeated appends, instead of the typical quadratic growth present in naive @%:@ implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append @%:@ as_fn_arith ARG... @%:@ ------------------ @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments @%:@ must be portable across @S|@(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in @%:@((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @%:@ as_fn_mkdir_p @%:@ ------------- @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } @%:@ as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi @%:@ as_fn_executable_p FILE @%:@ ----------------------- @%:@ Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } @%:@ as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by CellWriter $as_me 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ CellWriter config.status 1.3.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi cellwriter-1.3.6/autom4te.cache/output.1000066400000000000000000005620521311072664300201400ustar00rootroot00000000000000@%:@! /bin/sh @%:@ Guess values for system-dependent variables and create Makefiles. @%:@ Generated by GNU Autoconf 2.69 for CellWriter 1.4.0. @%:@ @%:@ Report bugs to . @%:@ @%:@ @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @%:@ @%:@ @%:@ This configure script is free software; the Free Software Foundation @%:@ gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in @%:@( *posix*) : set -o posix ;; @%:@( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in @%:@( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in @%:@(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in @%:@ (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in @%:@( *posix*) : set -o posix ;; @%:@( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in @%:@( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in @%:@ (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: risujin@risujin.org about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## @%:@ as_fn_unset VAR @%:@ --------------- @%:@ Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset @%:@ as_fn_set_status STATUS @%:@ ----------------------- @%:@ Set @S|@? to STATUS, without forking. as_fn_set_status () { return $1 } @%:@ as_fn_set_status @%:@ as_fn_exit STATUS @%:@ ----------------- @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } @%:@ as_fn_exit @%:@ as_fn_mkdir_p @%:@ ------------- @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } @%:@ as_fn_mkdir_p @%:@ as_fn_executable_p FILE @%:@ ----------------------- @%:@ Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } @%:@ as_fn_executable_p @%:@ as_fn_append VAR VALUE @%:@ ---------------------- @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take @%:@ advantage of any shell optimizations that allow amortized linear growth over @%:@ repeated appends, instead of the typical quadratic growth present in naive @%:@ implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append @%:@ as_fn_arith ARG... @%:@ ------------------ @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments @%:@ must be portable across @S|@(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] @%:@ ---------------------------------------- @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the @%:@ script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } @%:@ as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in @%:@((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIB@&t@OBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='CellWriter' PACKAGE_TARNAME='cellwriter' PACKAGE_VERSION='1.4.0' PACKAGE_STRING='CellWriter 1.4.0' PACKAGE_BUGREPORT='risujin@risujin.org' PACKAGE_URL='' ac_unique_file="src/main.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIB@&t@OBJS EGREP GREP XMKMF GTK_LIBS GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC CELLWRITER_URL am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_dependency_tracking with_x ' ac_precious_vars='build_alias host_alias target_alias CELLWRITER_URL CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS XMKMF' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures CellWriter 1.4.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @<:@@S|@ac_default_prefix@:>@ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX @<:@PREFIX@:>@ By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root @<:@DATAROOTDIR/doc/cellwriter@:>@ --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of CellWriter 1.4.0:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-x use the X Window System Some influential environment variables: CELLWRITER_URL URL for help website CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config XMKMF Path to xmkmf, Makefile generator for X Window System Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF CellWriter configure 1.4.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## @%:@ ac_fn_c_try_compile LINENO @%:@ -------------------------- @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_compile @%:@ ac_fn_c_try_cpp LINENO @%:@ ---------------------- @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_cpp @%:@ ac_fn_c_try_link LINENO @%:@ ----------------------- @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_link @%:@ ac_fn_c_try_run LINENO @%:@ ---------------------- @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes @%:@ that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_run @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES @%:@ ------------------------------------------- @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache @%:@ variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_type @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES @%:@ ------------------------------------------------------- @%:@ Tests whether HEADER exists and can be compiled using the include files in @%:@ INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @%:@include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_header_compile @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES @%:@ ------------------------------------------------------- @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using @%:@ the include files in INCLUDES and setting the cache variable VAR @%:@ accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @%:@include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ---------------------------------- ## ## Report this to risujin@risujin.org ## ## ---------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_header_mongrel @%:@ ac_fn_c_check_func LINENO FUNC VAR @%:@ ---------------------------------- @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by CellWriter $as_me 1.4.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in @%:@(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in @%:@(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='cellwriter' VERSION='1.4.0' cat >>confdefs.h <<_ACEOF @%:@define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ac_config_headers="$ac_config_headers config.h" # URL launched when Help button is pressed if test "x${CELLWRITER_URL}" == "x"; then $as_echo "@%:@define CELLWRITER_URL \"http://risujin.org/cellwriter\"" >>confdefs.h fi # Icon path for the program, installation paths are controlled in Makefile.am $as_echo "@%:@define ICON_PATH \"/icons/hicolor/scalable/apps/\"" >>confdefs.h # Checks for programs ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $@%:@ != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf @%:@ Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@ifdef __STDC__ @%:@ include @%:@else @%:@ include @%:@endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@ifdef __STDC__ @%:@ include @%:@else @%:@ include @%:@endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Math library { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5 $as_echo_n "checking for atan2 in -lm... " >&6; } if ${ac_cv_lib_m_atan2+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char atan2 (); int main () { return atan2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_atan2=yes else ac_cv_lib_m_atan2=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5 $as_echo "$ac_cv_lib_m_atan2" >&6; } if test "x$ac_cv_lib_m_atan2" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBM 1 _ACEOF LIBS="-lm $LIBS" else as_fn_error $? "Math library not installed or invalid!" "$LINENO" 5 fi # GTK+3 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.0" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.0) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Xlib and Xtest extension { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 $as_echo_n "checking for X... " >&6; } @%:@ Check whether --with-x was given. if test "${with_x+set}" = set; then : withval=$with_x; fi # $have_x is `yes', `no', `disabled', or empty when we do not yet know. if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabled else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. ac_x_includes=no ac_x_libraries=no rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' incroot: @echo incroot='${INCROOT}' usrlibdir: @echo usrlibdir='${USRLIBDIR}' libdir: @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl dylib la dll; do if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break fi done # Screen out bogus values from the imake configuration. They are # bogus both because they are the default anyway, and because # using them would break gcc on systems where it needs fixed includes. case $ac_im_incroot in /usr/include) ac_x_includes= ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /usr/lib64 | /lib | /lib64) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -f -r conftest.dir fi # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include /usr/X11R7/include /usr/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 /usr/include/X11R7 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include /usr/local/X11R7/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 /usr/local/include/X11R7 /usr/local/include/X11R6 /usr/local/include/X11R5 /usr/local/include/X11R4 /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 /usr/include /usr/local/include /usr/unsupported/include /usr/athena/include /usr/local/x11r5/include /usr/lpp/Xamples/include /usr/openwin/include /usr/openwin/share/include' if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi done fi rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include int main () { XrmInitialize () ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else LIBS=$ac_save_LIBS for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do if test -r "$ac_dir/libX11.$ac_extension"; then ac_x_libraries=$ac_dir break 2 fi done done fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no case $ac_x_includes,$ac_x_libraries in #( no,* | *,no | *\'*) # Didn't find X, or a directory has "'" in its name. ac_cv_have_x="have_x=no";; #( *) # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ ac_x_libraries='$ac_x_libraries'" esac fi ;; #( *) have_x=yes;; esac eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 $as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. test "x$x_includes" = xNONE && x_includes=$ac_x_includes test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XChangeKeyboardMapping in -lX11" >&5 $as_echo_n "checking for XChangeKeyboardMapping in -lX11... " >&6; } if ${ac_cv_lib_X11_XChangeKeyboardMapping+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XChangeKeyboardMapping (); int main () { return XChangeKeyboardMapping (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_X11_XChangeKeyboardMapping=yes else ac_cv_lib_X11_XChangeKeyboardMapping=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XChangeKeyboardMapping" >&5 $as_echo "$ac_cv_lib_X11_XChangeKeyboardMapping" >&6; } if test "x$ac_cv_lib_X11_XChangeKeyboardMapping" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBX11 1 _ACEOF LIBS="-lX11 $LIBS" else as_fn_error $? "X11 library not found or outdated! Please install the latest libx11-dev package." "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; } if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXtst $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XTestFakeKeyEvent (); int main () { return XTestFakeKeyEvent (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_Xtst_XTestFakeKeyEvent=yes else ac_cv_lib_Xtst_XTestFakeKeyEvent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; } if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBXTST 1 _ACEOF LIBS="-lXtst $LIBS" else as_fn_error $? "XTest library not found or outdated! Please install the latest libxtst-dev package." "$LINENO" 5 fi # Checks for header files { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h fi # Checks for typedefs, structures, and compiler characteristics { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "@%:@define const /**/" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF @%:@define size_t unsigned int _ACEOF fi # Checks for library functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_type_signal=int else ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF @%:@define RETSIGTYPE $ac_cv_type_signal _ACEOF for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } if test $ac_cv_func_malloc_0_nonnull = yes; then : $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h else $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h case " $LIB@&t@OBJS " in *" malloc.$ac_objext "* ) ;; *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext" ;; esac $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h fi for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF @%:@define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } if ${ac_cv_func_realloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_realloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *realloc (); #endif int main () { return ! realloc (0, 0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_realloc_0_nonnull=yes else ac_cv_func_realloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } if test $ac_cv_func_realloc_0_nonnull = yes; then : $as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h else $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h case " $LIB@&t@OBJS " in *" realloc.$ac_objext "* ) ;; *) LIB@&t@OBJS="$LIB@&t@OBJS realloc.$ac_objext" ;; esac $as_echo "@%:@define realloc rpl_realloc" >>confdefs.h fi for ac_func in memmove memset sqrt strcasecmp do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIB@&t@OBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in @%:@( *posix*) : set -o posix ;; @%:@( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in @%:@( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in @%:@(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] @%:@ ---------------------------------------- @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the @%:@ script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } @%:@ as_fn_error @%:@ as_fn_set_status STATUS @%:@ ----------------------- @%:@ Set @S|@? to STATUS, without forking. as_fn_set_status () { return $1 } @%:@ as_fn_set_status @%:@ as_fn_exit STATUS @%:@ ----------------- @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } @%:@ as_fn_exit @%:@ as_fn_unset VAR @%:@ --------------- @%:@ Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset @%:@ as_fn_append VAR VALUE @%:@ ---------------------- @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take @%:@ advantage of any shell optimizations that allow amortized linear growth over @%:@ repeated appends, instead of the typical quadratic growth present in naive @%:@ implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append @%:@ as_fn_arith ARG... @%:@ ------------------ @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments @%:@ must be portable across @S|@(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in @%:@((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @%:@ as_fn_mkdir_p @%:@ ------------- @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } @%:@ as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi @%:@ as_fn_executable_p FILE @%:@ ----------------------- @%:@ Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } @%:@ as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by CellWriter $as_me 1.4.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ CellWriter config.status 1.4.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi cellwriter-1.3.6/autom4te.cache/requests000066400000000000000000000065111311072664300203050ustar00rootroot00000000000000# This file was generated by Autom4te Fri Oct 23 20:57:39 UTC 2015. # It contains the lists of macros which have been traced. # It can be safely removed. @request = ( bless( [ '0', 1, [ '/usr/share/autoconf' ], [ '/usr/share/autoconf/autoconf/autoconf.m4f', 'aclocal.m4', 'configure.ac' ], { 'AM_PROG_MOC' => 1, '_AM_MAKEFILE_INCLUDE' => 1, 'm4_pattern_allow' => 1, '_AM_COND_ELSE' => 1, 'AC_CONFIG_AUX_DIR' => 1, 'AH_OUTPUT' => 1, 'AM_PROG_AR' => 1, '_LT_AC_TAGCONFIG' => 1, '_AM_SUBST_NOTMAKE' => 1, 'AM_CONDITIONAL' => 1, 'AC_FC_PP_DEFINE' => 1, 'AM_ENABLE_MULTILIB' => 1, 'AM_PROG_CXX_C_O' => 1, 'AC_CONFIG_FILES' => 1, 'AM_PROG_LIBTOOL' => 1, '_m4_warn' => 1, 'LT_SUPPORTED_TAG' => 1, 'AC_INIT' => 1, '_AM_COND_IF' => 1, 'LT_INIT' => 1, 'AC_CANONICAL_HOST' => 1, 'm4_sinclude' => 1, 'AM_AUTOMAKE_VERSION' => 1, 'm4_pattern_forbid' => 1, 'AC_FC_PP_SRCEXT' => 1, 'AC_LIBSOURCE' => 1, 'AC_SUBST_TRACE' => 1, 'AC_SUBST' => 1, 'AC_REQUIRE_AUX_FILE' => 1, 'AC_CONFIG_LINKS' => 1, 'AM_GNU_GETTEXT' => 1, 'AM_PROG_CC_C_O' => 1, 'AC_FC_FREEFORM' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, 'AC_PROG_LIBTOOL' => 1, 'AC_FC_SRCEXT' => 1, 'AM_XGETTEXT_OPTION' => 1, '_AM_COND_ENDIF' => 1, 'AC_CANONICAL_BUILD' => 1, 'AC_CANONICAL_TARGET' => 1, 'AM_SILENT_RULES' => 1, 'AM_PROG_FC_C_O' => 1, 'AC_CONFIG_LIBOBJ_DIR' => 1, 'LT_CONFIG_LTDL_DIR' => 1, 'AM_MAINTAINER_MODE' => 1, 'sinclude' => 1, 'AC_CANONICAL_SYSTEM' => 1, 'AC_CONFIG_HEADERS' => 1, 'AM_POT_TOOLS' => 1, 'AM_PATH_GUILE' => 1, 'include' => 1, 'm4_include' => 1, 'AM_INIT_AUTOMAKE' => 1, 'AM_PROG_F77_C_O' => 1, 'AM_NLS' => 1, 'AM_MAKEFILE_INCLUDE' => 1, 'AC_CONFIG_SUBDIRS' => 1 } ], 'Autom4te::Request' ) ); cellwriter-1.3.6/autom4te.cache/traces.0000066400000000000000000001007621311072664300200540ustar00rootroot00000000000000m4trace:configure.ac:5: -1- AC_INIT([CellWriter], [1.3.6], [risujin@risujin.org]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) m4trace:configure.ac:5: -1- AC_SUBST([SHELL]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL]) m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_URL]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix]) m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix]) m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name]) m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) m4trace:configure.ac:5: -1- AC_SUBST([runstatedir], ['${localstatedir}/run']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([runstatedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^runstatedir$]) m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ['${datarootdir}/doc/${PACKAGE}'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ @%:@undef PACKAGE_NAME]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ @%:@undef PACKAGE_TARNAME]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ @%:@undef PACKAGE_VERSION]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ @%:@undef PACKAGE_STRING]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ @%:@undef PACKAGE_BUGREPORT]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ @%:@undef PACKAGE_URL]) m4trace:configure.ac:5: -1- AC_SUBST([DEFS]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS]) m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) m4trace:configure.ac:5: -1- AC_SUBST([LIBS]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS]) m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:5: -1- AC_SUBST([build_alias]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias]) m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) m4trace:configure.ac:5: -1- AC_SUBST([host_alias]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias]) m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) m4trace:configure.ac:5: -1- AC_SUBST([target_alias]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias]) m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.11.6]) m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_PROGRAM]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_SCRIPT]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_DATA]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_DATA]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$]) m4trace:configure.ac:6: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__isrc]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$]) m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc]) m4trace:configure.ac:6: -1- AC_SUBST([CYGPATH_W]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([CYGPATH_W]) m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$]) m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:6: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([VERSION]) m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ @%:@undef PACKAGE]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:6: -1- AH_OUTPUT([VERSION], [/* Version number of package */ @%:@undef VERSION]) m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([missing]) m4trace:configure.ac:6: -1- AC_SUBST([ACLOCAL]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ACLOCAL]) m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$]) m4trace:configure.ac:6: -1- AC_SUBST([AUTOCONF]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOCONF]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$]) m4trace:configure.ac:6: -1- AC_SUBST([AUTOMAKE]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOMAKE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$]) m4trace:configure.ac:6: -1- AC_SUBST([AUTOHEADER]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOHEADER]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$]) m4trace:configure.ac:6: -1- AC_SUBST([MAKEINFO]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MAKEINFO]) m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$]) m4trace:configure.ac:6: -1- AC_SUBST([install_sh]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([install_sh]) m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$]) m4trace:configure.ac:6: -1- AC_SUBST([STRIP]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([STRIP]) m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh]) m4trace:configure.ac:6: -1- AC_SUBST([MKDIR_P]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MKDIR_P]) m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$]) m4trace:configure.ac:6: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mkdir_p]) m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$]) m4trace:configure.ac:6: -1- AC_SUBST([AWK]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AWK]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$]) m4trace:configure.ac:6: -1- AC_SUBST([SET_MAKE]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SET_MAKE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$]) m4trace:configure.ac:6: -1- AC_SUBST([am__leading_dot]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__leading_dot]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$]) m4trace:configure.ac:6: -1- AC_SUBST([AMTAR], ['$${TAR-tar}']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AMTAR]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$]) m4trace:configure.ac:6: -1- AC_SUBST([am__tar]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__tar]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$]) m4trace:configure.ac:6: -1- AC_SUBST([am__untar]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__untar]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$]) m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h]) m4trace:configure.ac:11: -1- AC_SUBST([CELLWRITER_URL]) m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CELLWRITER_URL]) m4trace:configure.ac:11: -1- m4_pattern_allow([^CELLWRITER_URL$]) m4trace:configure.ac:13: -1- AC_DEFINE_TRACE_LITERAL([CELLWRITER_URL]) m4trace:configure.ac:13: -1- m4_pattern_allow([^CELLWRITER_URL$]) m4trace:configure.ac:13: -1- AH_OUTPUT([CELLWRITER_URL], [/* URL launched when the Help button is clicked */ @%:@undef CELLWRITER_URL]) m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([ICON_PATH]) m4trace:configure.ac:18: -1- m4_pattern_allow([^ICON_PATH$]) m4trace:configure.ac:18: -1- AH_OUTPUT([ICON_PATH], [/* Path to icon directory (with trailing slash) */ @%:@undef ICON_PATH]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CFLAGS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CFLAGS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CFLAGS$]) m4trace:configure.ac:22: -1- AC_SUBST([LDFLAGS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([LDFLAGS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^LDFLAGS$]) m4trace:configure.ac:22: -1- AC_SUBST([LIBS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([LIBS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:22: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPPFLAGS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([ac_ct_CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([ac_ct_CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^ac_ct_CC$]) m4trace:configure.ac:22: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([EXEEXT]) m4trace:configure.ac:22: -1- m4_pattern_allow([^EXEEXT$]) m4trace:configure.ac:22: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([OBJEXT]) m4trace:configure.ac:22: -1- m4_pattern_allow([^OBJEXT$]) m4trace:configure.ac:22: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([DEPDIR]) m4trace:configure.ac:22: -1- m4_pattern_allow([^DEPDIR$]) m4trace:configure.ac:22: -1- AC_SUBST([am__include]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__include]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__include$]) m4trace:configure.ac:22: -1- AC_SUBST([am__quote]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__quote]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__quote$]) m4trace:configure.ac:22: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) m4trace:configure.ac:22: -1- AC_SUBST([AMDEP_TRUE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEP_TRUE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEP_TRUE$]) m4trace:configure.ac:22: -1- AC_SUBST([AMDEP_FALSE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEP_FALSE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEP_FALSE$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) m4trace:configure.ac:22: -1- AC_SUBST([AMDEPBACKSLASH]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) m4trace:configure.ac:22: -1- AC_SUBST([am__nodep]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__nodep]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__nodep$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__nodep]) m4trace:configure.ac:22: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CCDEPMODE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CCDEPMODE$]) m4trace:configure.ac:22: -1- AM_CONDITIONAL([am__fastdepCC], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) m4trace:configure.ac:22: -1- AC_SUBST([am__fastdepCC_TRUE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) m4trace:configure.ac:22: -1- AC_SUBST([am__fastdepCC_FALSE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) m4trace:configure.ac:24: -1- AC_SUBST([AWK]) m4trace:configure.ac:24: -1- AC_SUBST_TRACE([AWK]) m4trace:configure.ac:24: -1- m4_pattern_allow([^AWK$]) m4trace:configure.ac:25: -1- AC_SUBST([CPP]) m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CPP]) m4trace:configure.ac:25: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:25: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CPPFLAGS]) m4trace:configure.ac:25: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:25: -1- AC_SUBST([CPP]) m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CPP]) m4trace:configure.ac:25: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */ @%:@undef HAVE_LIBM]) m4trace:configure.ac:29: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM]) m4trace:configure.ac:29: -1- m4_pattern_allow([^HAVE_LIBM$]) m4trace:configure.ac:29: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete. You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.ac:29: the top level]) m4trace:configure.ac:32: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG_PATH]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG_LIBDIR]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG$]) m4trace:configure.ac:32: -1- AC_SUBST([GTK_CFLAGS]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([GTK_CFLAGS]) m4trace:configure.ac:32: -1- m4_pattern_allow([^GTK_CFLAGS$]) m4trace:configure.ac:32: -1- AC_SUBST([GTK_LIBS]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([GTK_LIBS]) m4trace:configure.ac:32: -1- m4_pattern_allow([^GTK_LIBS$]) m4trace:configure.ac:33: -1- AC_SUBST([GTK_CFLAGS]) m4trace:configure.ac:33: -1- AC_SUBST_TRACE([GTK_CFLAGS]) m4trace:configure.ac:33: -1- m4_pattern_allow([^GTK_CFLAGS$]) m4trace:configure.ac:34: -1- AC_SUBST([GTK_LIBS]) m4trace:configure.ac:34: -1- AC_SUBST_TRACE([GTK_LIBS]) m4trace:configure.ac:34: -1- m4_pattern_allow([^GTK_LIBS$]) m4trace:configure.ac:38: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... configure.ac:38: the top level]) m4trace:configure.ac:41: -1- AH_OUTPUT([HAVE_LIBGTK_X11_2_0], [/* Define to 1 if you have the `gtk-x11-2.0\' library (-lgtk-x11-2.0). */ @%:@undef HAVE_LIBGTK_X11_2_0]) m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGTK_X11_2_0]) m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_LIBGTK_X11_2_0$]) m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([USING_LIBEGG]) m4trace:configure.ac:46: -1- m4_pattern_allow([^USING_LIBEGG$]) m4trace:configure.ac:46: -1- AH_OUTPUT([USING_LIBEGG], [/* Using LibEgg tray icon instead of GtkStatusIcon */ @%:@undef USING_LIBEGG]) m4trace:configure.ac:49: -1- AM_CONDITIONAL([GTKSTATUSICON], [test x$with_gtkstatusicon != xno]) m4trace:configure.ac:49: -1- AC_SUBST([GTKSTATUSICON_TRUE]) m4trace:configure.ac:49: -1- AC_SUBST_TRACE([GTKSTATUSICON_TRUE]) m4trace:configure.ac:49: -1- m4_pattern_allow([^GTKSTATUSICON_TRUE$]) m4trace:configure.ac:49: -1- AC_SUBST([GTKSTATUSICON_FALSE]) m4trace:configure.ac:49: -1- AC_SUBST_TRACE([GTKSTATUSICON_FALSE]) m4trace:configure.ac:49: -1- m4_pattern_allow([^GTKSTATUSICON_FALSE$]) m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([GTKSTATUSICON_TRUE]) m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([GTKSTATUSICON_FALSE]) m4trace:configure.ac:52: -1- AC_SUBST([XMKMF]) m4trace:configure.ac:52: -1- AC_SUBST_TRACE([XMKMF]) m4trace:configure.ac:52: -1- m4_pattern_allow([^XMKMF$]) m4trace:configure.ac:53: -1- AH_OUTPUT([HAVE_LIBX11], [/* Define to 1 if you have the `X11\' library (-lX11). */ @%:@undef HAVE_LIBX11]) m4trace:configure.ac:53: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBX11]) m4trace:configure.ac:53: -1- m4_pattern_allow([^HAVE_LIBX11$]) m4trace:configure.ac:53: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete. You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.ac:53: the top level]) m4trace:configure.ac:56: -1- AH_OUTPUT([HAVE_LIBXTST], [/* Define to 1 if you have the `Xtst\' library (-lXtst). */ @%:@undef HAVE_LIBXTST]) m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXTST]) m4trace:configure.ac:56: -1- m4_pattern_allow([^HAVE_LIBXTST$]) m4trace:configure.ac:56: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete. You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.ac:56: the top level]) m4trace:configure.ac:61: -1- AC_SUBST([GREP]) m4trace:configure.ac:61: -1- AC_SUBST_TRACE([GREP]) m4trace:configure.ac:61: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:61: -1- AC_SUBST([EGREP]) m4trace:configure.ac:61: -1- AC_SUBST_TRACE([EGREP]) m4trace:configure.ac:61: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:61: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) m4trace:configure.ac:61: -1- m4_pattern_allow([^STDC_HEADERS$]) m4trace:configure.ac:61: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ @%:@undef STDC_HEADERS]) m4trace:configure.ac:64: -1- AC_DEFINE_TRACE_LITERAL([const]) m4trace:configure.ac:64: -1- m4_pattern_allow([^const$]) m4trace:configure.ac:64: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ @%:@undef const]) m4trace:configure.ac:65: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler calls it, or to nothing if \'inline\' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_SYS_TYPES_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_SYS_STAT_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STRING_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_MEMORY_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STRINGS_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_INTTYPES_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDINT_H]) m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_UNISTD_H]) m4trace:configure.ac:66: -1- AC_DEFINE_TRACE_LITERAL([size_t]) m4trace:configure.ac:66: -1- m4_pattern_allow([^size_t$]) m4trace:configure.ac:66: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ @%:@undef size_t]) m4trace:configure.ac:69: -1- _m4_warn([obsolete], [The macro `AC_TYPE_SIGNAL' is obsolete. You should run autoupdate.], [../../lib/autoconf/types.m4:746: AC_TYPE_SIGNAL is expanded from... configure.ac:69: the top level]) m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE]) m4trace:configure.ac:69: -1- m4_pattern_allow([^RETSIGTYPE$]) m4trace:configure.ac:69: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (`int\' or `void\'). */ @%:@undef RETSIGTYPE]) m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_MALLOC$]) m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and to 0 otherwise. */ @%:@undef HAVE_MALLOC]) m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_MALLOC$]) m4trace:configure.ac:70: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"]) m4trace:configure.ac:70: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.ac:70: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:70: -1- AC_LIBSOURCE([malloc.c]) m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([malloc]) m4trace:configure.ac:70: -1- m4_pattern_allow([^malloc$]) m4trace:configure.ac:70: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */ @%:@undef malloc]) m4trace:configure.ac:71: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) m4trace:configure.ac:71: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC]) m4trace:configure.ac:71: -1- m4_pattern_allow([^HAVE_REALLOC$]) m4trace:configure.ac:71: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function, and to 0 otherwise. */ @%:@undef HAVE_REALLOC]) m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC]) m4trace:configure.ac:71: -1- m4_pattern_allow([^HAVE_REALLOC$]) m4trace:configure.ac:71: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"]) m4trace:configure.ac:71: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.ac:71: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:71: -1- AC_LIBSOURCE([realloc.c]) m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([realloc]) m4trace:configure.ac:71: -1- m4_pattern_allow([^realloc$]) m4trace:configure.ac:71: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */ @%:@undef realloc]) m4trace:configure.ac:72: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */ @%:@undef HAVE_MEMMOVE]) m4trace:configure.ac:72: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */ @%:@undef HAVE_MEMSET]) m4trace:configure.ac:72: -1- AH_OUTPUT([HAVE_SQRT], [/* Define to 1 if you have the `sqrt\' function. */ @%:@undef HAVE_SQRT]) m4trace:configure.ac:72: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */ @%:@undef HAVE_STRCASECMP]) m4trace:configure.ac:74: -1- AC_CONFIG_FILES([Makefile]) m4trace:configure.ac:74: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. You should run autoupdate.], []) m4trace:configure.ac:74: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.ac:74: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:74: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([LTLIBOBJS]) m4trace:configure.ac:74: -1- m4_pattern_allow([^LTLIBOBJS$]) m4trace:configure.ac:74: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) m4trace:configure.ac:74: -1- AC_SUBST([am__EXEEXT_TRUE]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) m4trace:configure.ac:74: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) m4trace:configure.ac:74: -1- AC_SUBST([am__EXEEXT_FALSE]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) m4trace:configure.ac:74: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) m4trace:configure.ac:74: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) m4trace:configure.ac:74: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([top_builddir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([top_build_prefix]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([srcdir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([abs_srcdir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([top_srcdir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([abs_top_srcdir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([builddir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([abs_builddir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([abs_top_builddir]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([INSTALL]) m4trace:configure.ac:74: -1- AC_SUBST_TRACE([MKDIR_P]) cellwriter-1.3.6/autom4te.cache/traces.1000066400000000000000000000756151311072664300200650ustar00rootroot00000000000000m4trace:configure.ac:5: -1- AC_INIT([CellWriter], [1.4.0], [risujin@risujin.org]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) m4trace:configure.ac:5: -1- AC_SUBST([SHELL]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL]) m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_URL]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix]) m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix]) m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name]) m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ['${datarootdir}/doc/${PACKAGE}'])]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man']) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir]) m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ @%:@undef PACKAGE_NAME]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ @%:@undef PACKAGE_TARNAME]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ @%:@undef PACKAGE_VERSION]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ @%:@undef PACKAGE_STRING]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ @%:@undef PACKAGE_BUGREPORT]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ @%:@undef PACKAGE_URL]) m4trace:configure.ac:5: -1- AC_SUBST([DEFS]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS]) m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) m4trace:configure.ac:5: -1- AC_SUBST([LIBS]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS]) m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:5: -1- AC_SUBST([build_alias]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias]) m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) m4trace:configure.ac:5: -1- AC_SUBST([host_alias]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias]) m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) m4trace:configure.ac:5: -1- AC_SUBST([target_alias]) m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias]) m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) m4trace:configure.ac:6: -1- AM_INIT_AUTOMAKE m4trace:configure.ac:6: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) m4trace:configure.ac:6: -1- AM_AUTOMAKE_VERSION([1.11.6]) m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_PROGRAM]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_SCRIPT]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_DATA]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_DATA]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$]) m4trace:configure.ac:6: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__isrc]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__isrc$]) m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__isrc]) m4trace:configure.ac:6: -1- AC_SUBST([CYGPATH_W]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([CYGPATH_W]) m4trace:configure.ac:6: -1- m4_pattern_allow([^CYGPATH_W$]) m4trace:configure.ac:6: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([PACKAGE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:6: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([VERSION]) m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:6: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ @%:@undef PACKAGE]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) m4trace:configure.ac:6: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:6: -1- AH_OUTPUT([VERSION], [/* Version number of package */ @%:@undef VERSION]) m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([missing]) m4trace:configure.ac:6: -1- AC_SUBST([ACLOCAL]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ACLOCAL]) m4trace:configure.ac:6: -1- m4_pattern_allow([^ACLOCAL$]) m4trace:configure.ac:6: -1- AC_SUBST([AUTOCONF]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOCONF]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOCONF$]) m4trace:configure.ac:6: -1- AC_SUBST([AUTOMAKE]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOMAKE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOMAKE$]) m4trace:configure.ac:6: -1- AC_SUBST([AUTOHEADER]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AUTOHEADER]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AUTOHEADER$]) m4trace:configure.ac:6: -1- AC_SUBST([MAKEINFO]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MAKEINFO]) m4trace:configure.ac:6: -1- m4_pattern_allow([^MAKEINFO$]) m4trace:configure.ac:6: -1- AC_SUBST([install_sh]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([install_sh]) m4trace:configure.ac:6: -1- m4_pattern_allow([^install_sh$]) m4trace:configure.ac:6: -1- AC_SUBST([STRIP]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([STRIP]) m4trace:configure.ac:6: -1- m4_pattern_allow([^STRIP$]) m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh]) m4trace:configure.ac:6: -1- AC_SUBST([MKDIR_P]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([MKDIR_P]) m4trace:configure.ac:6: -1- m4_pattern_allow([^MKDIR_P$]) m4trace:configure.ac:6: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([mkdir_p]) m4trace:configure.ac:6: -1- m4_pattern_allow([^mkdir_p$]) m4trace:configure.ac:6: -1- AC_SUBST([AWK]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AWK]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AWK$]) m4trace:configure.ac:6: -1- AC_SUBST([SET_MAKE]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([SET_MAKE]) m4trace:configure.ac:6: -1- m4_pattern_allow([^SET_MAKE$]) m4trace:configure.ac:6: -1- AC_SUBST([am__leading_dot]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__leading_dot]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__leading_dot$]) m4trace:configure.ac:6: -1- AC_SUBST([AMTAR], ['$${TAR-tar}']) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([AMTAR]) m4trace:configure.ac:6: -1- m4_pattern_allow([^AMTAR$]) m4trace:configure.ac:6: -1- AC_SUBST([am__tar]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__tar]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__tar$]) m4trace:configure.ac:6: -1- AC_SUBST([am__untar]) m4trace:configure.ac:6: -1- AC_SUBST_TRACE([am__untar]) m4trace:configure.ac:6: -1- m4_pattern_allow([^am__untar$]) m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h]) m4trace:configure.ac:11: -1- AC_SUBST([CELLWRITER_URL]) m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CELLWRITER_URL]) m4trace:configure.ac:11: -1- m4_pattern_allow([^CELLWRITER_URL$]) m4trace:configure.ac:13: -1- AC_DEFINE_TRACE_LITERAL([CELLWRITER_URL]) m4trace:configure.ac:13: -1- m4_pattern_allow([^CELLWRITER_URL$]) m4trace:configure.ac:13: -1- AH_OUTPUT([CELLWRITER_URL], [/* URL launched when the Help button is clicked */ @%:@undef CELLWRITER_URL]) m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([ICON_PATH]) m4trace:configure.ac:18: -1- m4_pattern_allow([^ICON_PATH$]) m4trace:configure.ac:18: -1- AH_OUTPUT([ICON_PATH], [/* Path to icon directory (with trailing slash) */ @%:@undef ICON_PATH]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CFLAGS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CFLAGS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CFLAGS$]) m4trace:configure.ac:22: -1- AC_SUBST([LDFLAGS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([LDFLAGS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^LDFLAGS$]) m4trace:configure.ac:22: -1- AC_SUBST([LIBS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([LIBS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:22: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CPPFLAGS]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:22: -1- AC_SUBST([ac_ct_CC]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([ac_ct_CC]) m4trace:configure.ac:22: -1- m4_pattern_allow([^ac_ct_CC$]) m4trace:configure.ac:22: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([EXEEXT]) m4trace:configure.ac:22: -1- m4_pattern_allow([^EXEEXT$]) m4trace:configure.ac:22: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([OBJEXT]) m4trace:configure.ac:22: -1- m4_pattern_allow([^OBJEXT$]) m4trace:configure.ac:22: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([DEPDIR]) m4trace:configure.ac:22: -1- m4_pattern_allow([^DEPDIR$]) m4trace:configure.ac:22: -1- AC_SUBST([am__include]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__include]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__include$]) m4trace:configure.ac:22: -1- AC_SUBST([am__quote]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__quote]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__quote$]) m4trace:configure.ac:22: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) m4trace:configure.ac:22: -1- AC_SUBST([AMDEP_TRUE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEP_TRUE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEP_TRUE$]) m4trace:configure.ac:22: -1- AC_SUBST([AMDEP_FALSE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEP_FALSE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEP_FALSE$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) m4trace:configure.ac:22: -1- AC_SUBST([AMDEPBACKSLASH]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) m4trace:configure.ac:22: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) m4trace:configure.ac:22: -1- AC_SUBST([am__nodep]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__nodep]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__nodep$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__nodep]) m4trace:configure.ac:22: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CCDEPMODE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^CCDEPMODE$]) m4trace:configure.ac:22: -1- AM_CONDITIONAL([am__fastdepCC], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) m4trace:configure.ac:22: -1- AC_SUBST([am__fastdepCC_TRUE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) m4trace:configure.ac:22: -1- AC_SUBST([am__fastdepCC_FALSE]) m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) m4trace:configure.ac:22: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) m4trace:configure.ac:24: -1- AC_SUBST([AWK]) m4trace:configure.ac:24: -1- AC_SUBST_TRACE([AWK]) m4trace:configure.ac:24: -1- m4_pattern_allow([^AWK$]) m4trace:configure.ac:25: -1- AC_SUBST([CPP]) m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CPP]) m4trace:configure.ac:25: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:25: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CPPFLAGS]) m4trace:configure.ac:25: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:25: -1- AC_SUBST([CPP]) m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CPP]) m4trace:configure.ac:25: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:29: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */ @%:@undef HAVE_LIBM]) m4trace:configure.ac:29: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM]) m4trace:configure.ac:29: -1- m4_pattern_allow([^HAVE_LIBM$]) m4trace:configure.ac:29: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete. You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.ac:29: the top level]) m4trace:configure.ac:32: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG_PATH]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG_LIBDIR]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) m4trace:configure.ac:32: -1- AC_SUBST([PKG_CONFIG]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([PKG_CONFIG]) m4trace:configure.ac:32: -1- m4_pattern_allow([^PKG_CONFIG$]) m4trace:configure.ac:32: -1- AC_SUBST([GTK_CFLAGS]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([GTK_CFLAGS]) m4trace:configure.ac:32: -1- m4_pattern_allow([^GTK_CFLAGS$]) m4trace:configure.ac:32: -1- AC_SUBST([GTK_LIBS]) m4trace:configure.ac:32: -1- AC_SUBST_TRACE([GTK_LIBS]) m4trace:configure.ac:32: -1- m4_pattern_allow([^GTK_LIBS$]) m4trace:configure.ac:33: -1- AC_SUBST([GTK_CFLAGS]) m4trace:configure.ac:33: -1- AC_SUBST_TRACE([GTK_CFLAGS]) m4trace:configure.ac:33: -1- m4_pattern_allow([^GTK_CFLAGS$]) m4trace:configure.ac:34: -1- AC_SUBST([GTK_LIBS]) m4trace:configure.ac:34: -1- AC_SUBST_TRACE([GTK_LIBS]) m4trace:configure.ac:34: -1- m4_pattern_allow([^GTK_LIBS$]) m4trace:configure.ac:37: -1- AC_SUBST([XMKMF]) m4trace:configure.ac:37: -1- AC_SUBST_TRACE([XMKMF]) m4trace:configure.ac:37: -1- m4_pattern_allow([^XMKMF$]) m4trace:configure.ac:38: -1- AH_OUTPUT([HAVE_LIBX11], [/* Define to 1 if you have the `X11\' library (-lX11). */ @%:@undef HAVE_LIBX11]) m4trace:configure.ac:38: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBX11]) m4trace:configure.ac:38: -1- m4_pattern_allow([^HAVE_LIBX11$]) m4trace:configure.ac:38: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete. You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.ac:38: the top level]) m4trace:configure.ac:41: -1- AH_OUTPUT([HAVE_LIBXTST], [/* Define to 1 if you have the `Xtst\' library (-lXtst). */ @%:@undef HAVE_LIBXTST]) m4trace:configure.ac:41: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXTST]) m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_LIBXTST$]) m4trace:configure.ac:41: -1- _m4_warn([obsolete], [The macro `AC_ERROR' is obsolete. You should run autoupdate.], [../../lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.ac:41: the top level]) m4trace:configure.ac:46: -1- AC_SUBST([GREP]) m4trace:configure.ac:46: -1- AC_SUBST_TRACE([GREP]) m4trace:configure.ac:46: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:46: -1- AC_SUBST([EGREP]) m4trace:configure.ac:46: -1- AC_SUBST_TRACE([EGREP]) m4trace:configure.ac:46: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) m4trace:configure.ac:46: -1- m4_pattern_allow([^STDC_HEADERS$]) m4trace:configure.ac:46: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ @%:@undef STDC_HEADERS]) m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([const]) m4trace:configure.ac:49: -1- m4_pattern_allow([^const$]) m4trace:configure.ac:49: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ @%:@undef const]) m4trace:configure.ac:50: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler calls it, or to nothing if \'inline\' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_SYS_TYPES_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_SYS_STAT_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STRING_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_MEMORY_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STRINGS_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_INTTYPES_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDINT_H]) m4trace:configure.ac:51: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_UNISTD_H]) m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([size_t]) m4trace:configure.ac:51: -1- m4_pattern_allow([^size_t$]) m4trace:configure.ac:51: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ @%:@undef size_t]) m4trace:configure.ac:54: -1- _m4_warn([obsolete], [The macro `AC_TYPE_SIGNAL' is obsolete. You should run autoupdate.], [../../lib/autoconf/types.m4:746: AC_TYPE_SIGNAL is expanded from... configure.ac:54: the top level]) m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE]) m4trace:configure.ac:54: -1- m4_pattern_allow([^RETSIGTYPE$]) m4trace:configure.ac:54: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (`int\' or `void\'). */ @%:@undef RETSIGTYPE]) m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) m4trace:configure.ac:55: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) m4trace:configure.ac:55: -1- m4_pattern_allow([^HAVE_MALLOC$]) m4trace:configure.ac:55: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and to 0 otherwise. */ @%:@undef HAVE_MALLOC]) m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC]) m4trace:configure.ac:55: -1- m4_pattern_allow([^HAVE_MALLOC$]) m4trace:configure.ac:55: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"]) m4trace:configure.ac:55: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.ac:55: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:55: -1- AC_LIBSOURCE([malloc.c]) m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([malloc]) m4trace:configure.ac:55: -1- m4_pattern_allow([^malloc$]) m4trace:configure.ac:55: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */ @%:@undef malloc]) m4trace:configure.ac:56: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) m4trace:configure.ac:56: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC]) m4trace:configure.ac:56: -1- m4_pattern_allow([^HAVE_REALLOC$]) m4trace:configure.ac:56: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function, and to 0 otherwise. */ @%:@undef HAVE_REALLOC]) m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC]) m4trace:configure.ac:56: -1- m4_pattern_allow([^HAVE_REALLOC$]) m4trace:configure.ac:56: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"]) m4trace:configure.ac:56: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.ac:56: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:56: -1- AC_LIBSOURCE([realloc.c]) m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([realloc]) m4trace:configure.ac:56: -1- m4_pattern_allow([^realloc$]) m4trace:configure.ac:56: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */ @%:@undef realloc]) m4trace:configure.ac:57: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */ @%:@undef HAVE_MEMMOVE]) m4trace:configure.ac:57: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */ @%:@undef HAVE_MEMSET]) m4trace:configure.ac:57: -1- AH_OUTPUT([HAVE_SQRT], [/* Define to 1 if you have the `sqrt\' function. */ @%:@undef HAVE_SQRT]) m4trace:configure.ac:57: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */ @%:@undef HAVE_STRCASECMP]) m4trace:configure.ac:59: -1- AC_CONFIG_FILES([Makefile]) m4trace:configure.ac:59: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. You should run autoupdate.], []) m4trace:configure.ac:59: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.ac:59: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:59: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([LTLIBOBJS]) m4trace:configure.ac:59: -1- m4_pattern_allow([^LTLIBOBJS$]) m4trace:configure.ac:59: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) m4trace:configure.ac:59: -1- AC_SUBST([am__EXEEXT_TRUE]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) m4trace:configure.ac:59: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) m4trace:configure.ac:59: -1- AC_SUBST([am__EXEEXT_FALSE]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) m4trace:configure.ac:59: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([top_builddir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([top_build_prefix]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([srcdir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([abs_srcdir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([top_srcdir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([abs_top_srcdir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([builddir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([abs_builddir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([abs_top_builddir]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([INSTALL]) m4trace:configure.ac:59: -1- AC_SUBST_TRACE([MKDIR_P]) cellwriter-1.3.6/build-stamp000066400000000000000000000000001311072664300160320ustar00rootroot00000000000000cellwriter-1.3.6/cellwriter.1000066400000000000000000000054301311072664300161400ustar00rootroot00000000000000 .\" This is the .TQ definition from the troff manpage, it is used to bundle .\" .TP definitions that have multiple left-hand-side parameters .de TQ .br .ns .TP \\$1 .. .TH CELLWRITER 1 "October 27, 2007" .SH NAME \fBcellwriter \fR\- grid-entry handwriting recognition input panel .SH SYNOPSIS .B cellwriter .RI [options] .SH DESCRIPTION CellWriter is a grid-entry natural handwriting recognition input panel. As you write characters into the cells, your writing is instantly recognized at the character level. When you press 'Enter' on the panel, the input you entered is sent to the currently focused application as if typed on the keyboard. .PP See the program website for details: http://risujin.org/cellwriter .SH OPTIONS The following options are provided by CellWriter using the standard GNU command line syntax: .TP \fB\-\-help\fR Prints the command line options. .TP \fB\-\-log\-level\fR=4 Determines the detail level of log output: .br 0 = Silent .br 3 = Errors only .br 4 = Warnings (default) .br 5 = Informational messages .br 7 = Debugging information .br 8 = Function traces .TP \fB\-\-log\-file\fR=PATH Redirects log output from standard error to a file. .TP \fB\-\-xid\fR This option starts CellWriter in embedded mode. You can set gnome-screensaver to call CellWriter with this option to embed CellWriter into the unlock password prompt. .TP \fB\-\-profile\fR=filename Specifies the full path of a profile file to load instead of the user's. .TP \fB\-\-read\-only\fR Prevents changes from being saved to the profile. .TP \fB\-\-keyboard\-only\fR Places CellWriter in keyboard-only mode which prevents profile loading, suppresses the no-samples prompt, and only displays the full on-screen keyboard. .TP \fB\-\-show\-window\fR .TQ .BI \fB\-\-hide\-window\fR Show or hide the main window regardless of the saved profile setting. If an instance of CellWriter is already running, you can start a second instance of CellWriter with \fB\-\-hide\-window\fR to hide its window. .TP \fB\-\-window\-x\fR=X .TQ \fB\-\-window\-y\fR=Y Specify the position of the main window in pixels, overriding the profile setting. .TP \fB\-\-dock\-window\fR=N Controls window docking: .br 0 = Not docked .br 1 = Docked to top .br 2 = Docked to bottom .TP \fB\-\-window\-struts\fR Sets the extended window manager struts hint when docking. This causes all other windows to be moved out of the docking area. This works with some window managers (XFWM4) but can cause severe problems with others (Metacity). .TP \fB\-\-disable\-overwrite\fR CellWriter needs to modify the X server keymap in order to generate keystrokes for Unicode characters that are not already in the user's keymap. This can potentially cause stability issues. Use this option to prevent CellWriter from modifying the keymap. .PP .SH AUTHOR Michael Levin .PP cellwriter-1.3.6/cellwriter.desktop000066400000000000000000000005651311072664300174550ustar00rootroot00000000000000[Desktop Entry] Encoding=UTF-8 Version=1.0 Name=CellWriter GenericName=Handwriting input panel GenericName[tr]=El Yazısı Giriş Paneli Comment=Grid-entry handwriting recognition input panel Comment[tr]=Izgara tabanlı el yazısı giriş paneli Exec=cellwriter Icon=cellwriter StartupNotify=true Terminal=false Type=Application Categories=GNOME;GTK;Utility;Accessibility; cellwriter-1.3.6/config.guess000077500000000000000000001267301311072664300162310ustar00rootroot00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. timestamp='2011-05-11' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner. Please send patches (context # diff format) to and include a ChangeLog # entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-gnu else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-gnueabi else echo ${UNAME_MACHINE}-unknown-linux-gnueabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-tilera-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in i386) eval $set_cc_for_build if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: cellwriter-1.3.6/config.h000066400000000000000000000066121311072664300153230ustar00rootroot00000000000000/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* URL launched when the Help button is clicked */ #define CELLWRITER_URL "http://risujin.org/cellwriter" /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the `gtk-x11-2.0' library (-lgtk-x11-2.0). */ #define HAVE_LIBGTK_X11_2_0 1 /* Define to 1 if you have the `m' library (-lm). */ #define HAVE_LIBM 1 /* Define to 1 if you have the `X11' library (-lX11). */ #define HAVE_LIBX11 1 /* Define to 1 if you have the `Xtst' library (-lXtst). */ #define HAVE_LIBXTST 1 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #define HAVE_MALLOC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1 /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #define HAVE_REALLOC 1 /* Define to 1 if you have the `sqrt' function. */ #define HAVE_SQRT 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Path to icon directory (with trailing slash) */ #define ICON_PATH "/icons/hicolor/scalable/apps/" /* Name of package */ #define PACKAGE "cellwriter" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "risujin@risujin.org" /* Define to the full name of this package. */ #define PACKAGE_NAME "CellWriter" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "CellWriter 1.3.6" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "cellwriter" /* Define to the home page for this package. */ #define PACKAGE_URL "" /* Define to the version of this package. */ #define PACKAGE_VERSION "1.3.6" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Using LibEgg tray icon instead of GtkStatusIcon */ /* #undef USING_LIBEGG */ /* Version number of package */ #define VERSION "1.3.6" /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus /* #undef inline */ #endif /* Define to rpl_malloc if the replacement function should be used. */ /* #undef malloc */ /* Define to rpl_realloc if the replacement function should be used. */ /* #undef realloc */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ cellwriter-1.3.6/config.h.in000066400000000000000000000060741311072664300157320ustar00rootroot00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* URL launched when the Help button is clicked */ #undef CELLWRITER_URL /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `gtk-x11-2.0' library (-lgtk-x11-2.0). */ #undef HAVE_LIBGTK_X11_2_0 /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM /* Define to 1 if you have the `X11' library (-lX11). */ #undef HAVE_LIBX11 /* Define to 1 if you have the `Xtst' library (-lXtst). */ #undef HAVE_LIBXTST /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #undef HAVE_REALLOC /* Define to 1 if you have the `sqrt' function. */ #undef HAVE_SQRT /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Path to icon directory (with trailing slash) */ #undef ICON_PATH /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Using LibEgg tray icon instead of GtkStatusIcon */ #undef USING_LIBEGG /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc /* Define to `unsigned int' if does not define. */ #undef size_t cellwriter-1.3.6/config.h.in~000066400000000000000000000060741311072664300161300ustar00rootroot00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* URL launched when the Help button is clicked */ #undef CELLWRITER_URL /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `gtk-x11-2.0' library (-lgtk-x11-2.0). */ #undef HAVE_LIBGTK_X11_2_0 /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM /* Define to 1 if you have the `X11' library (-lX11). */ #undef HAVE_LIBX11 /* Define to 1 if you have the `Xtst' library (-lXtst). */ #undef HAVE_LIBXTST /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the `memmove' function. */ #undef HAVE_MEMMOVE /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #undef HAVE_REALLOC /* Define to 1 if you have the `sqrt' function. */ #undef HAVE_SQRT /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Path to icon directory (with trailing slash) */ #undef ICON_PATH /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Using LibEgg tray icon instead of GtkStatusIcon */ #undef USING_LIBEGG /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc /* Define to `unsigned int' if does not define. */ #undef size_t cellwriter-1.3.6/config.log000066400000000000000000000544731311072664300156650ustar00rootroot00000000000000This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by CellWriter configure 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## hostname = omnia uname -m = x86_64 uname -r = 4.4.0-38-generic uname -s = Linux uname -v = #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/risujin/bin PATH: /home/risujin/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2283: checking for a BSD-compatible install configure:2351: result: /usr/bin/install -c configure:2362: checking whether build environment is sane configure:2412: result: yes configure:2553: checking for a thread-safe mkdir -p configure:2592: result: /bin/mkdir -p configure:2605: checking for gawk configure:2621: found /usr/bin/gawk configure:2632: result: gawk configure:2643: checking whether make sets $(MAKE) configure:2665: result: yes configure:2811: checking for gcc configure:2827: found /usr/bin/gcc configure:2838: result: gcc configure:3067: checking for C compiler version configure:3076: gcc --version >&5 gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3087: $? = 0 configure:3076: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) configure:3087: $? = 0 configure:3076: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3087: $? = 1 configure:3076: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3087: $? = 1 configure:3107: checking whether the C compiler works configure:3129: gcc conftest.c >&5 configure:3133: $? = 0 configure:3181: result: yes configure:3184: checking for C compiler default output file name configure:3186: result: a.out configure:3192: checking for suffix of executables configure:3199: gcc -o conftest conftest.c >&5 configure:3203: $? = 0 configure:3225: result: configure:3247: checking whether we are cross compiling configure:3255: gcc -o conftest conftest.c >&5 configure:3259: $? = 0 configure:3266: ./conftest configure:3270: $? = 0 configure:3285: result: no configure:3290: checking for suffix of object files configure:3312: gcc -c conftest.c >&5 configure:3316: $? = 0 configure:3337: result: o configure:3341: checking whether we are using the GNU C compiler configure:3360: gcc -c conftest.c >&5 configure:3360: $? = 0 configure:3369: result: yes configure:3378: checking whether gcc accepts -g configure:3398: gcc -c -g conftest.c >&5 configure:3398: $? = 0 configure:3439: result: yes configure:3456: checking for gcc option to accept ISO C89 configure:3519: gcc -c -g -O2 conftest.c >&5 configure:3519: $? = 0 configure:3532: result: none needed configure:3563: checking for style of include used by make configure:3591: result: GNU configure:3617: checking dependency style of gcc configure:3728: result: gcc3 configure:3748: checking for gawk configure:3775: result: gawk configure:3791: checking how to run the C preprocessor configure:3822: gcc -E conftest.c configure:3822: $? = 0 configure:3836: gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3836: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CellWriter" | #define PACKAGE_TARNAME "cellwriter" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "CellWriter 1.3.6" | #define PACKAGE_BUGREPORT "risujin@risujin.org" | #define PACKAGE_URL "" | #define PACKAGE "cellwriter" | #define VERSION "1.3.6" | #define CELLWRITER_URL "http://risujin.org/cellwriter" | #define ICON_PATH "/icons/hicolor/scalable/apps/" | /* end confdefs.h. */ | #include configure:3861: result: gcc -E configure:3881: gcc -E conftest.c configure:3881: $? = 0 configure:3895: gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3895: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CellWriter" | #define PACKAGE_TARNAME "cellwriter" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "CellWriter 1.3.6" | #define PACKAGE_BUGREPORT "risujin@risujin.org" | #define PACKAGE_URL "" | #define PACKAGE "cellwriter" | #define VERSION "1.3.6" | #define CELLWRITER_URL "http://risujin.org/cellwriter" | #define ICON_PATH "/icons/hicolor/scalable/apps/" | /* end confdefs.h. */ | #include configure:3927: checking for atan2 in -lm configure:3952: gcc -o conftest -g -O2 conftest.c -lm >&5 conftest.c:20:6: warning: conflicting types for built-in function 'atan2' char atan2 (); ^ configure:3952: $? = 0 configure:3961: result: yes configure:4030: checking for pkg-config configure:4048: found /usr/bin/pkg-config configure:4060: result: /usr/bin/pkg-config configure:4085: checking pkg-config is at least version 0.9.0 configure:4088: result: yes configure:4098: checking for GTK configure:4105: $PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8" configure:4108: $? = 0 configure:4122: $PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8" configure:4125: $? = 0 configure:4183: result: yes configure:4198: checking for gtk_status_icon_new_from_file in -lgtk-x11-2.0 configure:4223: gcc -o conftest -g -O2 conftest.c -lgtk-x11-2.0 -lm >&5 configure:4223: $? = 0 configure:4232: result: yes configure:4264: checking for X configure:4372: gcc -E conftest.c configure:4372: $? = 0 configure:4403: gcc -o conftest -g -O2 conftest.c -lX11 -lgtk-x11-2.0 -lm >&5 configure:4403: $? = 0 configure:4453: result: libraries , headers configure:4457: checking for XChangeKeyboardMapping in -lX11 configure:4482: gcc -o conftest -g -O2 conftest.c -lX11 -lgtk-x11-2.0 -lm >&5 configure:4482: $? = 0 configure:4491: result: yes configure:4505: checking for XTestFakeKeyEvent in -lXtst configure:4530: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 configure:4530: $? = 0 configure:4539: result: yes configure:4555: checking for grep that handles long lines and -e configure:4613: result: /bin/grep configure:4618: checking for egrep configure:4680: result: /bin/grep -E configure:4685: checking for ANSI C header files configure:4705: gcc -c -g -O2 conftest.c >&5 configure:4705: $? = 0 configure:4778: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 configure:4778: $? = 0 configure:4778: ./conftest configure:4778: $? = 0 configure:4789: result: yes configure:4799: checking for an ANSI C-conforming const configure:4865: gcc -c -g -O2 conftest.c >&5 configure:4865: $? = 0 configure:4872: result: yes configure:4880: checking for inline configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4904: result: inline configure:4927: checking for sys/types.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for sys/stat.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for stdlib.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for string.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for memory.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for strings.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for inttypes.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for stdint.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4927: checking for unistd.h configure:4927: gcc -c -g -O2 conftest.c >&5 configure:4927: $? = 0 configure:4927: result: yes configure:4939: checking for size_t configure:4939: gcc -c -g -O2 conftest.c >&5 configure:4939: $? = 0 configure:4939: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:63:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:4939: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CellWriter" | #define PACKAGE_TARNAME "cellwriter" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "CellWriter 1.3.6" | #define PACKAGE_BUGREPORT "risujin@risujin.org" | #define PACKAGE_URL "" | #define PACKAGE "cellwriter" | #define VERSION "1.3.6" | #define CELLWRITER_URL "http://risujin.org/cellwriter" | #define ICON_PATH "/icons/hicolor/scalable/apps/" | #define HAVE_LIBM 1 | #define HAVE_LIBGTK_X11_2_0 1 | #define HAVE_LIBX11 1 | #define HAVE_LIBXTST 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:4939: result: yes configure:4952: checking return type of signal handlers configure:4970: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:33:9: error: void value not ignored as it ought to be return *(signal (0, 0)) (0) == 1; ^ configure:4970: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CellWriter" | #define PACKAGE_TARNAME "cellwriter" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "CellWriter 1.3.6" | #define PACKAGE_BUGREPORT "risujin@risujin.org" | #define PACKAGE_URL "" | #define PACKAGE "cellwriter" | #define VERSION "1.3.6" | #define CELLWRITER_URL "http://risujin.org/cellwriter" | #define ICON_PATH "/icons/hicolor/scalable/apps/" | #define HAVE_LIBM 1 | #define HAVE_LIBGTK_X11_2_0 1 | #define HAVE_LIBX11 1 | #define HAVE_LIBXTST 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | return *(signal (0, 0)) (0) == 1; | ; | return 0; | } configure:4977: result: void configure:4987: checking for stdlib.h configure:4987: result: yes configure:4997: checking for GNU libc compatible malloc configure:5021: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 configure:5021: $? = 0 configure:5021: ./conftest configure:5021: $? = 0 configure:5031: result: yes configure:5054: checking for stdlib.h configure:5054: result: yes configure:5064: checking for GNU libc compatible realloc configure:5088: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 configure:5088: $? = 0 configure:5088: ./conftest configure:5088: $? = 0 configure:5098: result: yes configure:5122: checking for memmove configure:5122: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 conftest.c:55:6: warning: conflicting types for built-in function 'memmove' char memmove (); ^ configure:5122: $? = 0 configure:5122: result: yes configure:5122: checking for memset configure:5122: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 conftest.c:56:6: warning: conflicting types for built-in function 'memset' char memset (); ^ configure:5122: $? = 0 configure:5122: result: yes configure:5122: checking for sqrt configure:5122: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 conftest.c:57:6: warning: conflicting types for built-in function 'sqrt' char sqrt (); ^ configure:5122: $? = 0 configure:5122: result: yes configure:5122: checking for strcasecmp configure:5122: gcc -o conftest -g -O2 conftest.c -lXtst -lX11 -lgtk-x11-2.0 -lm >&5 conftest.c:58:6: warning: conflicting types for built-in function 'strcasecmp' char strcasecmp (); ^ configure:5122: $? = 0 configure:5122: result: yes configure:5268: creating ./config.status ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CELLWRITER_URL_set= ac_cv_env_CELLWRITER_URL_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_GTK_CFLAGS_set= ac_cv_env_GTK_CFLAGS_value= ac_cv_env_GTK_LIBS_set= ac_cv_env_GTK_LIBS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memmove=yes ac_cv_func_memset=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_sqrt=yes ac_cv_func_strcasecmp=yes ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\'''\''' ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_lib_X11_XChangeKeyboardMapping=yes ac_cv_lib_Xtst_XTestFakeKeyEvent=yes ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file=yes ac_cv_lib_m_atan2=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_type_signal=void ac_cv_type_size_t=yes am_cv_CC_dependencies_compiler_type=gcc3 pkg_cv_GTK_CFLAGS='-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2' pkg_cv_GTK_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/risujin/src/cellwriter/git/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AUTOCONF='${SHELL} /home/risujin/src/cellwriter/git/missing --run autoconf' AUTOHEADER='${SHELL} /home/risujin/src/cellwriter/git/missing --run autoheader' AUTOMAKE='${SHELL} /home/risujin/src/cellwriter/git/missing --run automake-1.11' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CELLWRITER_URL='' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' GTKSTATUSICON_FALSE='#' GTKSTATUSICON_TRUE='' GTK_CFLAGS='-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2' GTK_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='-lXtst -lX11 -lgtk-x11-2.0 -lm ' LTLIBOBJS='' MAKEINFO='${SHELL} /home/risujin/src/cellwriter/git/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='cellwriter' PACKAGE_BUGREPORT='risujin@risujin.org' PACKAGE_NAME='CellWriter' PACKAGE_STRING='CellWriter 1.3.6' PACKAGE_TARNAME='cellwriter' PACKAGE_URL='' PACKAGE_VERSION='1.3.6' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION='1.3.6' XMKMF='' ac_ct_CC='gcc' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/risujin/src/cellwriter/git/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "CellWriter" #define PACKAGE_TARNAME "cellwriter" #define PACKAGE_VERSION "1.3.6" #define PACKAGE_STRING "CellWriter 1.3.6" #define PACKAGE_BUGREPORT "risujin@risujin.org" #define PACKAGE_URL "" #define PACKAGE "cellwriter" #define VERSION "1.3.6" #define CELLWRITER_URL "http://risujin.org/cellwriter" #define ICON_PATH "/icons/hicolor/scalable/apps/" #define HAVE_LIBM 1 #define HAVE_LIBGTK_X11_2_0 1 #define HAVE_LIBX11 1 #define HAVE_LIBXTST 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define RETSIGTYPE void #define HAVE_STDLIB_H 1 #define HAVE_MALLOC 1 #define HAVE_STDLIB_H 1 #define HAVE_REALLOC 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMSET 1 #define HAVE_SQRT 1 #define HAVE_STRCASECMP 1 configure: exit 0 ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by CellWriter config.status 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on omnia config.status:877: creating Makefile config.status:877: creating config.h config.status:1106: executing depfiles commands ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by CellWriter config.status 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status config.h on omnia config.status:877: creating config.h config.status:1058: config.h is unchanged cellwriter-1.3.6/config.status000077500000000000000000001027211311072664300164200ustar00rootroot00000000000000#! /bin/bash # Generated by configure. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=${CONFIG_SHELL-/bin/bash} export SHELL ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by CellWriter $as_me 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " # Files that config.status was made for. config_files=" Makefile" config_headers=" config.h" config_commands=" depfiles" ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." ac_cs_config="" ac_cs_version="\ CellWriter config.status 1.3.6 configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='/home/risujin/src/cellwriter/git' srcdir='.' INSTALL='/usr/bin/install -c' MKDIR_P='/bin/mkdir -p' AWK='gawk' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi if $ac_cs_recheck; then set X /bin/bash './configure' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 CONFIG_SHELL='/bin/bash' export CONFIG_SHELL exec "$@" fi exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 # # INIT-COMMANDS # AMDEP_TRUE="" ac_aux_dir="." # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && S["am__EXEEXT_FALSE"]="" S["am__EXEEXT_TRUE"]="#" S["LTLIBOBJS"]="" S["LIBOBJS"]="" S["EGREP"]="/bin/grep -E" S["GREP"]="/bin/grep" S["XMKMF"]="" S["GTKSTATUSICON_FALSE"]="#" S["GTKSTATUSICON_TRUE"]="" S["GTK_LIBS"]="-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfont"\ "config -lfreetype" S["GTK_CFLAGS"]="-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1"\ ".0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12"\ " -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/u"\ "sr/include/freetype2" S["PKG_CONFIG_LIBDIR"]="" S["PKG_CONFIG_PATH"]="" S["PKG_CONFIG"]="/usr/bin/pkg-config" S["CPP"]="gcc -E" S["am__fastdepCC_FALSE"]="#" S["am__fastdepCC_TRUE"]="" S["CCDEPMODE"]="depmode=gcc3" S["am__nodep"]="_no" S["AMDEPBACKSLASH"]="\\" S["AMDEP_FALSE"]="#" S["AMDEP_TRUE"]="" S["am__quote"]="" S["am__include"]="include" S["DEPDIR"]=".deps" S["OBJEXT"]="o" S["EXEEXT"]="" S["ac_ct_CC"]="gcc" S["CPPFLAGS"]="" S["LDFLAGS"]="" S["CFLAGS"]="-g -O2" S["CC"]="gcc" S["CELLWRITER_URL"]="" S["am__untar"]="$${TAR-tar} xf -" S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" S["AMTAR"]="$${TAR-tar}" S["am__leading_dot"]="." S["SET_MAKE"]="" S["AWK"]="gawk" S["mkdir_p"]="/bin/mkdir -p" S["MKDIR_P"]="/bin/mkdir -p" S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" S["STRIP"]="" S["install_sh"]="${SHELL} /home/risujin/src/cellwriter/git/install-sh" S["MAKEINFO"]="${SHELL} /home/risujin/src/cellwriter/git/missing --run makeinfo" S["AUTOHEADER"]="${SHELL} /home/risujin/src/cellwriter/git/missing --run autoheader" S["AUTOMAKE"]="${SHELL} /home/risujin/src/cellwriter/git/missing --run automake-1.11" S["AUTOCONF"]="${SHELL} /home/risujin/src/cellwriter/git/missing --run autoconf" S["ACLOCAL"]="${SHELL} /home/risujin/src/cellwriter/git/missing --run aclocal-1.11" S["VERSION"]="1.3.6" S["PACKAGE"]="cellwriter" S["CYGPATH_W"]="echo" S["am__isrc"]="" S["INSTALL_DATA"]="${INSTALL} -m 644" S["INSTALL_SCRIPT"]="${INSTALL}" S["INSTALL_PROGRAM"]="${INSTALL}" S["target_alias"]="" S["host_alias"]="" S["build_alias"]="" S["LIBS"]="-lXtst -lX11 -lgtk-x11-2.0 -lm " S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" S["DEFS"]="-DHAVE_CONFIG_H" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" S["libdir"]="${exec_prefix}/lib" S["psdir"]="${docdir}" S["pdfdir"]="${docdir}" S["dvidir"]="${docdir}" S["htmldir"]="${docdir}" S["infodir"]="${datarootdir}/info" S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" S["oldincludedir"]="/usr/include" S["includedir"]="${prefix}/include" S["runstatedir"]="${localstatedir}/run" S["localstatedir"]="${prefix}/var" S["sharedstatedir"]="${prefix}/com" S["sysconfdir"]="${prefix}/etc" S["datadir"]="${datarootdir}" S["datarootdir"]="${prefix}/share" S["libexecdir"]="${exec_prefix}/libexec" S["sbindir"]="${exec_prefix}/sbin" S["bindir"]="${exec_prefix}/bin" S["program_transform_name"]="s,x,x," S["prefix"]="/usr/local" S["exec_prefix"]="${prefix}" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="risujin@risujin.org" S["PACKAGE_STRING"]="CellWriter 1.3.6" S["PACKAGE_VERSION"]="1.3.6" S["PACKAGE_TARNAME"]="cellwriter" S["PACKAGE_NAME"]="CellWriter" S["PATH_SEPARATOR"]=":" S["SHELL"]="/bin/bash" _ACAWK cat >>"$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { D["PACKAGE_NAME"]=" \"CellWriter\"" D["PACKAGE_TARNAME"]=" \"cellwriter\"" D["PACKAGE_VERSION"]=" \"1.3.6\"" D["PACKAGE_STRING"]=" \"CellWriter 1.3.6\"" D["PACKAGE_BUGREPORT"]=" \"risujin@risujin.org\"" D["PACKAGE_URL"]=" \"\"" D["PACKAGE"]=" \"cellwriter\"" D["VERSION"]=" \"1.3.6\"" D["CELLWRITER_URL"]=" \"http://risujin.org/cellwriter\"" D["ICON_PATH"]=" \"/icons/hicolor/scalable/apps/\"" D["HAVE_LIBM"]=" 1" D["HAVE_LIBGTK_X11_2_0"]=" 1" D["HAVE_LIBX11"]=" 1" D["HAVE_LIBXTST"]=" 1" D["STDC_HEADERS"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_STRING_H"]=" 1" D["HAVE_MEMORY_H"]=" 1" D["HAVE_STRINGS_H"]=" 1" D["HAVE_INTTYPES_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["RETSIGTYPE"]=" void" D["HAVE_STDLIB_H"]=" 1" D["HAVE_MALLOC"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_REALLOC"]=" 1" D["HAVE_MEMMOVE"]=" 1" D["HAVE_MEMSET"]=" 1" D["HAVE_SQRT"]=" 1" D["HAVE_STRCASECMP"]=" 1" for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { line = $ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ac_datarootdir_hack=' s&@datadir@&${datarootdir}&g s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g s&@infodir@&${datarootdir}/info&g s&@localedir@&${datarootdir}/locale&g s&@mandir@&${datarootdir}/man&g s&\${datarootdir}&${prefix}/share&g' ;; esac ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// } :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 cellwriter-1.3.6/config.sub000077500000000000000000001046061311072664300156720ustar00rootroot00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011 Free Software Foundation, Inc. timestamp='2011-03-23' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile-* | tilegx-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze) basic_machine=microblaze-xilinx ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; # This must be matched before tile*. tilegx*) basic_machine=tilegx-unknown os=-linux-gnu ;; tile*) basic_machine=tile-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: cellwriter-1.3.6/configure000077500000000000000000005661371311072664300156310ustar00rootroot00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for CellWriter 1.3.6. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: risujin@risujin.org about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='CellWriter' PACKAGE_TARNAME='cellwriter' PACKAGE_VERSION='1.3.6' PACKAGE_STRING='CellWriter 1.3.6' PACKAGE_BUGREPORT='risujin@risujin.org' PACKAGE_URL='' ac_unique_file="src/main.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS EGREP GREP XMKMF GTKSTATUSICON_FALSE GTKSTATUSICON_TRUE GTK_LIBS GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC CELLWRITER_URL am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_dependency_tracking with_gtkstatusicon with_x ' ac_precious_vars='build_alias host_alias target_alias CELLWRITER_URL CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS XMKMF' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures CellWriter 1.3.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/cellwriter] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of CellWriter 1.3.6:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-gtkstatusicon use libegg status icon (GTK < 2.10) --with-x use the X Window System Some influential environment variables: CELLWRITER_URL URL for help website CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config XMKMF Path to xmkmf, Makefile generator for X Window System Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF CellWriter configure 1.3.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ---------------------------------- ## ## Report this to risujin@risujin.org ## ## ---------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by CellWriter $as_me 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='cellwriter' VERSION='1.3.6' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ac_config_headers="$ac_config_headers config.h" # URL launched when Help button is pressed if test "x${CELLWRITER_URL}" == "x"; then $as_echo "#define CELLWRITER_URL \"http://risujin.org/cellwriter\"" >>confdefs.h fi # Icon path for the program, installation paths are controlled in Makefile.am $as_echo "#define ICON_PATH \"/icons/hicolor/scalable/apps/\"" >>confdefs.h # Checks for programs ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Math library { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5 $as_echo_n "checking for atan2 in -lm... " >&6; } if ${ac_cv_lib_m_atan2+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char atan2 (); int main () { return atan2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_atan2=yes else ac_cv_lib_m_atan2=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5 $as_echo "$ac_cv_lib_m_atan2" >&6; } if test "x$ac_cv_lib_m_atan2" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBM 1 _ACEOF LIBS="-lm $LIBS" else as_fn_error $? "Math library not installed or invalid!" "$LINENO" 5 fi # GTK+2 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.8" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.8" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.8) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Only use GtkStatusIcon if we have it and want it # Check whether --with-gtkstatusicon was given. if test "${with_gtkstatusicon+set}" = set; then : withval=$with_gtkstatusicon; fi if test x$with_gtkstatusicon != xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_status_icon_new_from_file in -lgtk-x11-2.0" >&5 $as_echo_n "checking for gtk_status_icon_new_from_file in -lgtk-x11-2.0... " >&6; } if ${ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgtk-x11-2.0 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char gtk_status_icon_new_from_file (); int main () { return gtk_status_icon_new_from_file (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file=yes else ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file" >&5 $as_echo "$ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file" >&6; } if test "x$ac_cv_lib_gtk_x11_2_0_gtk_status_icon_new_from_file" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBGTK_X11_2_0 1 _ACEOF LIBS="-lgtk-x11-2.0 $LIBS" else with_gtkstatusicon=no fi fi if test x$with_gtkstatusicon = xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: using libegg tray icon" >&5 $as_echo "$as_me: using libegg tray icon" >&6;} $as_echo "#define USING_LIBEGG /**/" >>confdefs.h fi if test x$with_gtkstatusicon != xno; then GTKSTATUSICON_TRUE= GTKSTATUSICON_FALSE='#' else GTKSTATUSICON_TRUE='#' GTKSTATUSICON_FALSE= fi # Xlib and Xtest extension { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 $as_echo_n "checking for X... " >&6; } # Check whether --with-x was given. if test "${with_x+set}" = set; then : withval=$with_x; fi # $have_x is `yes', `no', `disabled', or empty when we do not yet know. if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabled else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. ac_x_includes=no ac_x_libraries=no rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' incroot: @echo incroot='${INCROOT}' usrlibdir: @echo usrlibdir='${USRLIBDIR}' libdir: @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl dylib la dll; do if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break fi done # Screen out bogus values from the imake configuration. They are # bogus both because they are the default anyway, and because # using them would break gcc on systems where it needs fixed includes. case $ac_im_incroot in /usr/include) ac_x_includes= ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /usr/lib64 | /lib | /lib64) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -f -r conftest.dir fi # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include /usr/X11R7/include /usr/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 /usr/include/X11R7 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include /usr/local/X11R7/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 /usr/local/include/X11R7 /usr/local/include/X11R6 /usr/local/include/X11R5 /usr/local/include/X11R4 /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 /usr/include /usr/local/include /usr/unsupported/include /usr/athena/include /usr/local/x11r5/include /usr/lpp/Xamples/include /usr/openwin/include /usr/openwin/share/include' if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi done fi rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { XrmInitialize () ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else LIBS=$ac_save_LIBS for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do if test -r "$ac_dir/libX11.$ac_extension"; then ac_x_libraries=$ac_dir break 2 fi done done fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no case $ac_x_includes,$ac_x_libraries in #( no,* | *,no | *\'*) # Didn't find X, or a directory has "'" in its name. ac_cv_have_x="have_x=no";; #( *) # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ ac_x_libraries='$ac_x_libraries'" esac fi ;; #( *) have_x=yes;; esac eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 $as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. test "x$x_includes" = xNONE && x_includes=$ac_x_includes test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XChangeKeyboardMapping in -lX11" >&5 $as_echo_n "checking for XChangeKeyboardMapping in -lX11... " >&6; } if ${ac_cv_lib_X11_XChangeKeyboardMapping+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XChangeKeyboardMapping (); int main () { return XChangeKeyboardMapping (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_X11_XChangeKeyboardMapping=yes else ac_cv_lib_X11_XChangeKeyboardMapping=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XChangeKeyboardMapping" >&5 $as_echo "$ac_cv_lib_X11_XChangeKeyboardMapping" >&6; } if test "x$ac_cv_lib_X11_XChangeKeyboardMapping" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBX11 1 _ACEOF LIBS="-lX11 $LIBS" else as_fn_error $? "X11 library not found or outdated! Please install the latest libx11-dev package." "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5 $as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; } if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXtst $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XTestFakeKeyEvent (); int main () { return XTestFakeKeyEvent (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_Xtst_XTestFakeKeyEvent=yes else ac_cv_lib_Xtst_XTestFakeKeyEvent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5 $as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; } if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBXTST 1 _ACEOF LIBS="-lXtst $LIBS" else as_fn_error $? "XTest library not found or outdated! Please install the latest libxtst-dev package." "$LINENO" 5 fi # Checks for header files { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # Checks for typedefs, structures, and compiler characteristics { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "#define const /**/" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi # Checks for library functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_type_signal=int else ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } if test $ac_cv_func_malloc_0_nonnull = yes; then : $as_echo "#define HAVE_MALLOC 1" >>confdefs.h else $as_echo "#define HAVE_MALLOC 0" >>confdefs.h case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac $as_echo "#define malloc rpl_malloc" >>confdefs.h fi for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } if ${ac_cv_func_realloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_realloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *realloc (); #endif int main () { return ! realloc (0, 0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_realloc_0_nonnull=yes else ac_cv_func_realloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } if test $ac_cv_func_realloc_0_nonnull = yes; then : $as_echo "#define HAVE_REALLOC 1" >>confdefs.h else $as_echo "#define HAVE_REALLOC 0" >>confdefs.h case " $LIBOBJS " in *" realloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; esac $as_echo "#define realloc rpl_realloc" >>confdefs.h fi for ac_func in memmove memset sqrt strcasecmp do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GTKSTATUSICON_TRUE}" && test -z "${GTKSTATUSICON_FALSE}"; then as_fn_error $? "conditional \"GTKSTATUSICON\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by CellWriter $as_me 1.3.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ CellWriter config.status 1.3.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi cellwriter-1.3.6/configure.ac000066400000000000000000000044061311072664300161720ustar00rootroot00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.64) AC_INIT([CellWriter], [1.3.6], [risujin@risujin.org]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADER([config.h]) # URL launched when Help button is pressed AC_ARG_VAR([CELLWRITER_URL], [URL for help website]) if test "x${CELLWRITER_URL}" == "x"; then AC_DEFINE(CELLWRITER_URL, "http://risujin.org/cellwriter", [URL launched when the Help button is clicked]) fi # Icon path for the program, installation paths are controlled in Makefile.am AC_DEFINE(ICON_PATH, ["/icons/hicolor/scalable/apps/"], [Path to icon directory (with trailing slash)]) # Checks for programs AC_PROG_CC AC_PROG_INSTALL AC_PROG_AWK AC_PROG_CPP AC_PROG_MKDIR_P # Math library AC_CHECK_LIB(m, atan2, [], [AC_ERROR(Math library not installed or invalid!)]) # GTK+2 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) # Only use GtkStatusIcon if we have it and want it AC_ARG_WITH(gtkstatusicon, AC_HELP_STRING([--without-gtkstatusicon], [use libegg status icon (GTK < 2.10)])) if test x$with_gtkstatusicon != xno; then AC_CHECK_LIB(gtk-x11-2.0, gtk_status_icon_new_from_file, [], [with_gtkstatusicon=no]) fi if test x$with_gtkstatusicon = xno; then AC_MSG_NOTICE([using libegg tray icon]) AC_DEFINE(USING_LIBEGG, [], [Using LibEgg tray icon instead of GtkStatusIcon]) fi AM_CONDITIONAL([GTKSTATUSICON], [test x$with_gtkstatusicon != xno]) # Xlib and Xtest extension AC_PATH_X AC_CHECK_LIB(X11, XChangeKeyboardMapping, [], [AC_ERROR(X11 library not found or outdated! Please install the latest libx11-dev package.)]) AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, [], [AC_ERROR(XTest library not found or outdated! Please install the latest libxtst-dev package.)]) # Checks for header files AC_HEADER_STDC # Checks for typedefs, structures, and compiler characteristics AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T # Checks for library functions AC_TYPE_SIGNAL AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([memmove memset sqrt strcasecmp]) AC_OUTPUT(Makefile) cellwriter-1.3.6/debian/000077500000000000000000000000001311072664300151225ustar00rootroot00000000000000cellwriter-1.3.6/debian/cellwriter.postinst.debhelper000066400000000000000000000002501311072664300230310ustar00rootroot00000000000000# Automatically added by dh_installmenu if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then update-menus fi # End automatically added section cellwriter-1.3.6/debian/cellwriter.postrm.debhelper000066400000000000000000000002171311072664300224750ustar00rootroot00000000000000# Automatically added by dh_installmenu if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi # End automatically added section cellwriter-1.3.6/debian/cellwriter.substvars000066400000000000000000000003041311072664300212510ustar00rootroot00000000000000shlibs:Depends=libc6 (>= 2.4), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.14.0), libpango1.0-0 (>= 1.14.0), libx11-6, libxtst6 misc:Depends= cellwriter-1.3.6/debian/changelog000066400000000000000000000052241311072664300167770ustar00rootroot00000000000000cellwriter (1.3.5-2) unstable; urgency=low * New upstream release. (Closes: #690214) * Switch to dpkg-source 3.0 (quilt) format. * Switch to debhelper 9. * debian/compat: update accordingly. * debian/control: + update debhlper versioned build-dep accordingly; + drop build-dep on cdbs, now useless; + add dep on librsvg2-common (Closes: #495976); + add Uploaders field; + bump Standards-Version to 3.9.4, no changes required. * debian/rules: modify to use debhelper 9. * debian/patches/: drop, not needed anymore. * debian/copyright: update according to DEP5. * debian/watch: add. -- Andrea Colangelo Thu, 15 Nov 2012 12:17:11 +0100 cellwriter (1.3.4-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS with binutils-gold": add patch from Ubuntu / Mahyuddin Susanto: + debian/patches/binutils-gold.patch: - fix FTBFS with ld --no-add-needed (LP: #696848) (Closes: #554047) * Fix "FTBFS: src/statusicon.c:215:17: error: format not a string literal and no format arguments [-Werror=format-security]": add patch fix-string-format-error.patch from Eric Alexander. (Closes: #643362) -- gregor herrmann Sun, 20 Nov 2011 14:40:26 +0100 cellwriter (1.3.4-1) unstable; urgency=low * New upstream release -- Michael Levin Thu, 9 Jun 2008 12:34:00 -0500 cellwriter (1.3.3-1) unstable; urgency=low * New upstream release -- Michael Levin Thu, 25 Jan 2008 12:25:00 -0500 cellwriter (1.3.2-1) unstable; urgency=low * New upstream release * Updated Standards-Version to 3.7.3 -- Michael Levin Thu, 24 Jan 2008 16:18:00 -0500 cellwriter (1.3.1-1) unstable; urgency=low * New upstream release -- Michael Levin Fri, 30 Oct 2007 0:28:00 -0500 cellwriter (1.3.0-1) unstable; urgency=low * New upstream release - Fixes problems under dark GTK themes (Closes: #446322) -- Michael Levin Fri, 29 Oct 2007 22:49:00 -0500 cellwriter (1.2.4-1) unstable; urgency=low * New upstream release * keyevent.c: Fixed warnings -- Michael Levin Mon, 8 Oct 2007 10:46:00 -0500 cellwriter (1.2.3-1) unstable; urgency=low * New upstream release -- Michael Levin Thu, 27 Sep 2007 11:12:00 -0500 cellwriter (1.2.2-1) unstable; urgency=low * New upstream release -- Michael Levin Sun, 23 Sep 2007 10:45:21 -0500 cellwriter (1.1.0-1) unstable; urgency=low * Initial release (Closes: #441087, #441088) -- Michael Levin Thu, 6 Sep 2007 13:12:44 -0500 cellwriter-1.3.6/debian/compat000066400000000000000000000000021311072664300163200ustar00rootroot000000000000009 cellwriter-1.3.6/debian/control000066400000000000000000000021041311072664300165220ustar00rootroot00000000000000Source: cellwriter Section: gnome Priority: optional Maintainer: Michael Levin Uploaders: Andrea Colangelo Build-Depends: debhelper (>= 9), autotools-dev, libgtk2.0-dev (>= 2.8), libgnome2-dev, libxtst-dev Standards-Version: 3.9.4 Homepage: http://risujin.org/cellwriter Package: cellwriter Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, librsvg2-common Description: grid-entry handwriting input panel CellWriter is a grid-entry natural handwriting input panel. As you write characters into the cells, your writing is instantly recognized at the character level. When you press 'Enter' on the panel, the input you entered is sent to the currently focused application as if typed on the keyboard. . * Writer-dependent, learns your handwriting for reliable recognition * Correcting preprocessor algorithms account for digitizer noise, differing stroke order, direction, and number of strokes * Unicode support enables you to write in your native language cellwriter-1.3.6/debian/copyright000066400000000000000000000025531311072664300170620ustar00rootroot00000000000000Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cellwriter Source: http://code.google.com/p/cellwriter/ Files: * Copyright: 2007 Michael Levin License: GPL-2+ Files: test/test.c Copyright: 2007 Michael Levin License: GPL-2+ Files: src/libegg/* Copyright: 2002 Anders Carlsson License: GPL-2+ Files: debian/* Copyright: 2007 Michael Levin 2012 Andrea Colangelo License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. cellwriter-1.3.6/debian/files000066400000000000000000000000541311072664300161460ustar00rootroot00000000000000cellwriter_1.3.5-1_amd64.deb gnome optional cellwriter-1.3.6/debian/menu000066400000000000000000000003161311072664300160110ustar00rootroot00000000000000?package(cellwriter): \ needs="X11" \ section="Applications/Accessibility" \ title="CellWriter" \ command="/usr/bin/cellwriter" \ icon="/usr/share/pixmaps/cellwriter.xpm" cellwriter-1.3.6/debian/rules000077500000000000000000000000651311072664300162030ustar00rootroot00000000000000#!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ cellwriter-1.3.6/debian/source/000077500000000000000000000000001311072664300164225ustar00rootroot00000000000000cellwriter-1.3.6/debian/source/format000066400000000000000000000000141311072664300176300ustar00rootroot000000000000003.0 (quilt) cellwriter-1.3.6/debian/stamp-autotools-files000066400000000000000000000000001311072664300213060ustar00rootroot00000000000000cellwriter-1.3.6/debian/stamp-makefile-build000066400000000000000000000000001311072664300210270ustar00rootroot00000000000000cellwriter-1.3.6/debian/watch000066400000000000000000000001451311072664300161530ustar00rootroot00000000000000version=3 http://code.google.com/p/cellwriter/downloads/list?can=1 .*/cellwriter-(\d[\d.]*)\.tar\.gz cellwriter-1.3.6/depcomp000077500000000000000000000422461311072664300152650ustar00rootroot00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2006-10-15.18 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: cellwriter-1.3.6/install-sh000077500000000000000000000316001311072664300157040ustar00rootroot00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-10-14.15 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" posix_glob= posix_mkdir= # Desired mode of installed file. mode=0755 chmodcmd=$chmodprog chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) mode=$2 shift shift case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac done if test $# -ne 0 && test -z "$dir_arg$dstarg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix=/ ;; -*) prefix=./ ;; *) prefix= ;; esac case $posix_glob in '') if (set -f) 2>/dev/null; then posix_glob=true else posix_glob=false fi ;; esac oIFS=$IFS IFS=/ $posix_glob && set -f set fnord $dstdir shift $posix_glob && set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dst"; then $doit $rmcmd -f "$dst" 2>/dev/null \ || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } } || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: cellwriter-1.3.6/missing000077500000000000000000000255771311072664300153170ustar00rootroot00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: cellwriter-1.3.6/share/000077500000000000000000000000001311072664300150025ustar00rootroot00000000000000cellwriter-1.3.6/share/cellwriter/000077500000000000000000000000001311072664300171565ustar00rootroot00000000000000cellwriter-1.3.6/share/cellwriter/profile000066400000000000000000000002551311072664300205430ustar00rootroot00000000000000bad_keycodes 108 111 115 116 121 122 129 130 135 138 144 151 153 158 159 160 161 162 164 165 166 174 176 178 188 192 204 223 227 229 230 231 232 233 234 235 236 237 245 248 cellwriter-1.3.6/share/cellwriter/wordfreq000066400000000000000000005721511311072664300207450ustar00rootroot00000000000000the 5578746 of 2728247 and 2313881 to 2289460 a 1926141 in 1687481 that 923054 is 886650 it 834407 was 801621 for 760425 's 631302 on 630343 be 601369 with 587786 I 566846 he 515154 as 481294 by 472843 you 465491 at 419039 are 417296 this 404074 not 401871 have 398043 had 387885 his 383379 from 373299 but 365051 they 338226 which 334524 or 321521 an 311625 were 284473 her 284055 she 281450 we 271165 there 257490 been 239429 their 238618 one 238482 has 232572 will 227224 n't 225940 can 223392 all 219584 would 218949 do 192828 if 188526 more 177946 when 177679 who 175699 what 170651 so 165482 about 164603 up 154913 its 152967 some 148904 into 147083 them 143642 could 142935 no 142074 him 139023 said 136984 time 135208 only 133840 two 131158 out 129815 other 128432 then 125682 my 124276 may 120535 like 116773 over 116422 also 115644 new 113566 these 112576 your 112521 any 109800 me 109788 now 109624 did 106833 people 106782 first 106363 very 102439 after 101478 should 98429 just 94076 than 93420 most 90901 where 88197 made 85581 between 84246 back 84013 way 83594 our 83033 many 81853 years 81836 work 81610 much 79826 know 79796 being 79636 those 78479 down 78163 how 77398 before 76496 see 74131 through 73756 such 71381 make 69608 get 69428 because 68122 us 68032 three 65450 year 65355 own 64884 good 64597 think 64461 still 64208 well 64137 must 63682 right 63587 even 63132 go 62597 both 62050 too 60340 last 59932 take 59755 used 59625 er 58052 government 57863 use 57707 however 56783 off 56482 under 55749 same 55427 Mr 55037 does 54748 're 54282 world 54169 here 54163 man 53499 day 52951 might 52942 got 52845 say 52611 going 51925 life 51523 come 50916 against 50778 'd 50595 another 50164 while 49663 need 48777 again 46990 each 46829 'll 46747 old 46696 never 46074 part 45642 long 45639 thought 45584 'm 45253 little 45083 since 44970 number 44828 put 44467 house 44122 end 43910 different 43875 found 43825 home 43808 place 43432 within 43015 local 42605 children 41863 system 41839 want 41833 great 41323 without 41181 set 40977 during 40665 left 40524 small 40236 few 40216 came 40117 something 40054 case 39973 around 39846 look 39784 always 39368 social 39079 although 38373 group 38205 went 37842 percent 37765 party 37217 company 37208 second 37089 given 37081 give 37044 find 36777 four 36702 important 36668 state 36608 next 36552 information 36313 until 35978 point 35898 women 35638 high 35164 later 35145 public 34827 often 34503 why 34409 every 34317 national 34311 men 34268 things 34181 far 33862 fact 33776 took 33769 really 33685 further 33675 help 33375 head 33241 seen 32821 quite 32699 British 32511 form 32353 business 32218 school 32168 possible 32083 away 32080 area 32007 less 31976 London 31874 taken 31848 general 31695 water 31593 large 31476 family 31367 five 31310 early 31245 whether 31241 hand 31216 told 30963 best 30932 money 30772 face 30739 already 30679 development 30467 looked 30144 having 30013 power 29794 young 29774 better 29724 night 29198 days 29173 country 29155 change 29084 asked 29034 side 28918 called 28868 yet 28659 says 28596 become 28329 almost 28271 political 28153 times 28043 enough 27874 perhaps 27859 mean 27811 support 27736 done 27671 service 27670 together 27626 whole 27614 himself 27506 John 27459 members 27411 nothing 27317 control 27274 market 27264 able 27199 council 27184 room 26731 major 26463 eyes 26398 though 26380 thing 26361 act 26328 open 26196 court 26169 problem 26116 week 25770 others 25763 towards 25743 available 25686 working 25682 war 25573 report 25432 law 25424 interest 25406 held 25278 following 25106 problems 25090 research 24884 making 24859 round 24793 full 24785 felt 24687 either 24537 yes 24207 policy 24148 level 24136 question 23964 six 23943 education 23921 labour 23899 half 23817 known 23782 show 23743 police 23687 once 23671 mind 23544 body 23487 main 23452 clear 23371 Britain 23362 period 23055 services 23044 voice 23008 person 22985 above 22915 tell 22902 saw 22864 name 22769 minister 22662 care 22652 keep 22636 anything 22609 office 22606 using 22603 feel 22595 past 22561 ever 22375 road 22369 health 22349 knew 22325 itself 22260 child 22236 mother 22216 months 22214 across 22206 several 22158 am 22120 effect 22113 areas 22094 book 22078 society 22063 words 22055 upon 22046 car 21938 themselves 21884 therefore 21884 likely 21881 looking 21757 economic 21658 turned 21602 million 21574 probably 21529 began 21495 process 21480 black 21445 kind 21300 view 21296 position 21268 white 21250 community 21210 seemed 21168 England 21154 among 21106 doing 21073 programme 21026 particular 21011 provide 21009 father 20981 today 20975 centre 20913 result 20908 south 20908 city 20886 English 20881 study 20875 future 20826 door 20813 present 20780 became 20718 behind 20600 international 20600 means 20559 staff 20384 evidence 20358 action 20347 line 20266 certain 20248 gave 20158 real 20142 woman 20132 sense 20101 including 20080 start 20031 top 20031 hard 20017 experience 19973 order 19968 management 19965 difficult 19900 yeah 19864 read 19847 special 19763 big 19743 age 19741 let 19716 particularly 19541 sure 19483 wanted 19429 idea 19372 west 19352 land 19337 north 19324 love 19297 job 19294 taking 19225 light 19155 run 19143 thus 19143 seems 19068 range 19054 actually 19027 close 19026 moment 18938 century 18921 third 18874 European 18769 training 18676 free 18671 cost 18604 church 18570 meeting 18533 pay 18512 believe 18455 outside 18425 death 18414 industry 18399 needs 18346 rather 18332 trade 18320 groups 18262 involved 18249 human 18241 matter 18241 play 18201 lot 18189 god 18113 individual 18095 brought 18068 turn 18018 history 17986 late 17981 central 17980 changes 17904 Mrs 17813 whose 17780 language 17727 united 17633 move 17535 sometimes 17445 try 17440 committee 17426 rate 17416 based 17398 course 17351 similar 17321 cases 17283 section 17248 building 17226 data 17222 role 17156 necessary 17146 word 17142 authority 17122 common 17111 food 17065 shall 17053 subject 17027 along 16990 Europe 16969 nature 16957 single 16951 air 16941 short 16889 leave 16880 sort 16874 else 16871 states 16863 ago 16849 heard 16739 lost 16719 street 16715 patients 16709 usually 16706 systems 16674 reason 16660 hands 16649 companies 16625 price 16524 hours 16509 member 16480 department 16454 table 16408 value 16407 practice 16374 class 16366 simply 16347 union 16318 team 16309 UK 16201 personal 16173 morning 16158 call 16084 indeed 16017 east 15992 total 15955 ask 15948 certainly 15919 true 15818 type 15803 required 15781 terms 15765 sir 15758 private 15749 someone 15669 countries 15667 bank 15588 increase 15548 former 15493 French 15474 town 15465 decision 15457 expected 15426 getting 15417 herself 15406 coming 15362 president 15357 low 15348 financial 15320 seem 15317 issue 15316 wife 15313 trying 15308 date 15251 friend 15230 return 15230 earlier 15223 minutes 15214 American 15209 ten 15188 stage 15117 hope 15095 paper 15083 higher 15052 approach 15039 especially 15018 concerned 14983 account 14953 live 14944 needed 14895 recent 14881 foreign 14878 figure 14829 provided 14823 cut 14797 university 14781 king 14768 started 14751 near 14743 gone 14728 makes 14706 remember 14675 offer 14656 conditions 14655 quality 14649 parents 14631 tax 14629 ground 14610 strong 14602 force 14589 greater 14577 results 14567 production 14563 situation 14546 various 14537 award 14461 everything 14426 march 14398 include 14387 lord 14383 amount 14375 club 14357 living 14327 soon 14324 hundred 14300 rest 14252 shown 14204 according_to 14203 secretary 14180 clearly 14174 final 14118 saying 14042 art 14040 led 14039 costs 14002 schools 13985 field 13977 organization 13935 deal 13926 yesterday 13919 talk 13886 described 13814 ways 13773 knowledge 13754 followed 13682 basis 13647 plan 13626 students 13609 understand 13605 music 13603 record 13538 workers 13522 chapter 13521 decided 13507 June 13505 royal 13487 paid 13436 planning 13432 added 13430 project 13413 seven 13349 April 13333 wrong 13287 series 13272 agreed 13264 current 13247 friends 13235 despite 13233 forward 13177 easy 13152 structure 13134 weeks 13124 studies 13112 month 13079 below 13069 eight 13051 lead 13049 comes 13038 poor 13012 & 12981 board 12978 mm 12961 bring 12958 allowed 12950 works 12948 tried 12943 points 12939 questions 12923 bed 12888 moved 12868 natural 12866 simple 12860 attention 12851 answer 12845 sound 12813 hospital 12810 security 12792 anyone 12786 met 12783 oh 12781 material 12727 girl 12703 game 12683 front 12669 agreement 12662 red 12648 David 12645 considered 12637 capital 12627 analysis 12620 carried 12620 heart 12609 computer 12603 test 12601 news 12595 instead 12565 movement 12518 share 12517 meet 12506 feet 12499 written 12433 population 12432 kept 12395 per 12381 hair 12380 success 12347 rights 12310 design 12309 green 12299 story 12299 St 12293 model 12272 inside 12268 theory 12259 manager 12253 legal 12245 increased 12238 received 12231 environment 12213 running 12132 relationship 12118 modern 12117 authorities 12111 performance 12091 evening 12090 parties 12090 produced 12083 growth 12078 sent 12064 died 12044 whom 12043 cause 12010 letter 12008 sea 11976 finally 11919 stop 11865 property 11858 built 11830 complete 11797 standard 11785 dark 11781 bad 11780 press 11771 developed 11716 example 11716 books 11707 fire 11705 bill 11693 behaviour 11647 stood 11642 happened 11617 size 11593 son 11564 list 11563 included 11561 continued 11557 alone 11532 hold 11525 energy 11505 significant 11497 visit 11494 feeling 11480 treatment 11479 previous 11447 space 11430 term 11419 throughout 11414 lower 11381 chance 11368 levels 11329 issues 11328 recently 11325 established 11319 middle 11299 prime 11287 key 11262 July 11259 reported 11258 reached 11246 thinking 11242 worked 11224 firm 11222 France 11191 giving 11173 risk 11169 forces 11164 choice 11127 technology 11125 hear 11122 everyone 11106 contract 11086 Soviet 11041 quickly 11038 serious 11033 fine 11027 director 11014 beginning 11001 wide 10974 activity 10968 pressure 10968 produce 10967 activities 10944 normal 10926 direct 10916 forms 10900 consider 10891 details 10843 nor 10828 income 10821 continue 10820 loss 10820 military 10817 parts 10807 myself 10798 specific 10794 generally 10792 Scotland 10779 defence 10777 beyond 10735 scheme 10714 original 10709 attempt 10675 appropriate 10666 boy 10657 association 10642 relations 10625 allow 10612 rates 10606 wish 10597 shows 10587 writing 10569 hon. 10535 claim 10518 dead 10500 teachers 10481 army 10463 wall 10463 hotel 10454 worth 10443 leading 10439 industrial 10429 suddenly 10410 plans 10402 potential 10399 hall 10395 sun 10387 Dr 10374 spent 10361 reports 10351 numbers 10345 takes 10345 basic 10341 twenty 10337 whatever 10337 male 10318 figures 10300 stay 10299 product 10285 Peter 10278 effects 10266 professional 10259 appeal 10252 access 10244 goes 10227 appear 10226 village 10219 suggested 10189 ideas 10187 changed 10170 reasons 10160 difference 10157 rules 10157 summer 10146 demand 10138 chief 10127 colour 10123 sat 10118 cover 10101 published 10079 chairman 10064 successful 10055 independent 10037 miss 10027 German 10026 opened 10025 unit 10019 cup 10018 benefit 10017 influence 10015 mark 10009 cold 9989 October 9988 employment 9983 northern 9979 talking 9977 arms 9974 couple 9964 aware 9944 resources 9937 fall 9930 floor 9925 won 9925 interests 9911 pounds 9904 garden 9896 products 9861 husband 9856 circumstances 9828 style 9827 application 9816 happy 9812 county 9775 limited 9766 played 9766 science 9764 popular 9756 reading 9749 nine 9748 investment 9747 concern 9739 events 9732 commission 9731 buy 9727 ensure 9720 offered 9720 season 9713 rise 9706 advice 9695 follows 9664 bit 9654 September 9653 meant 9640 event 9631 announced 9618 nearly 9618 prepared 9615 immediately 9600 passed 9597 fish 9576 note 9576 extent 9573 appeared 9551 economy 9548 miles 9544 America 9531 effective 9518 stand 9512 Germany 9511 showed 9473 opportunity 9469 please 9459 designed 9436 deep 9430 useful 9423 contact 9419 goods 9405 George 9400 park 9397 degree 9387 January 9351 returned 9335 page 9330 picture 9329 raised 9316 lack 9314 sales 9303 charge 9301 rose 9299 gives 9297 expect 9293 conference 9292 doctor 9291 Paul 9290 lives 9286 lines 9276 oil 9266 write 9258 importance 9250 hour 9233 response 9232 college 9212 trust 9211 majority 9206 software 9206 blood 9201 fell 9190 statement 9190 existing 9186 yourself 9160 easily 9134 prices 9123 traditional 9112 considerable 9103 western 9099 film 9097 title 9086 m. 9080 ones 9078 standards 9063 region 9054 playing 9053 accept 9035 species 9031 review 9028 operation 9025 window 9019 York 9012 lay 9011 election 8983 Ireland 8971 unless 8951 physical 8925 married 8924 supply 8918 parliament 8915 understanding 8904 complex 8899 average 8887 houses 8871 win 8860 purpose 8855 standing 8853 looks 8848 carry 8826 blue 8813 wrote 8810 television 8807 associated 8806 obviously 8803 station 8792 site 8783 primary 8759 glass 8758 places 8756 December 8721 responsible 8713 leaving 8712 river 8711 exactly 8709 medical 8693 caused 8671 rule 8668 James 8645 surface 8644 opposition 8642 responsibility 8637 task 8634 pattern 8620 earth 8616 official 8612 growing 8611 skills 8603 separate 8595 method 8592 ability 8587 housing 8582 source 8563 follow 8558 closed 8557 disease 8557 November 8554 methods 8542 moving 8514 shop 8514 learning 8510 highly 8504 walk 8492 Wales 8487 remain 8482 competition 8479 daughter 8475 failed 8472 types 8463 eye 8462 remained 8444 interesting 8441 remains 8432 waiting 8427 attack 8426 ready 8417 speaker 8410 provision 8396 base 8389 accepted 8368 Charles 8360 features 8360 jobs 8353 campaign 8350 claims 8307 fully 8304 factors 8301 leader 8297 heavy 8292 variety 8284 no-one 8282 essential 8270 directly 8261 related 8259 policies 8254 matters 8244 notice 8244 Richard 8243 equipment 8232 mouth 8232 eventually 8226 created 8224 context 8218 status 8211 teaching 8211 suggest 8208 match 8195 stopped 8171 hit 8168 officer 8161 lady 8146 develop 8110 arm 8099 direction 8098 older 8098 animals 8097 extra 8095 fear 8091 break 8080 alternative 8078 exercise 8078 sector 8069 balance 8057 peace 8053 culture 8047 girls 8047 discussion 8028 exchange 8005 slightly 8001 piece 7984 speak 7981 placed 7979 function 7976 step 7964 windows 7959 thousand 7958 walked 7957 suppose 7943 introduced 7942 compared 7939 shares 7928 officers 7926 character 7924 obvious 7898 sale 7898 proposed 7891 arrived 7890 division 7868 civil 7856 machine 7850 provides 7845 weight 7828 patient 7823 teacher 7819 damage 7785 principle 7753 doubt 7751 interested 7749 nuclear 7747 Michael 7745 argument 7736 post 7730 version 7728 condition 7725 killed 7722 Scottish 7720 hardly 7719 safety 7704 aid 7695 families 7690 drive 7686 recognized 7685 organizations 7649 presence 7637 increasing 7636 individuals 7635 apply 7619 completely 7617 otherwise 7615 relevant 7611 create 7601 positive 7594 trees 7589 courses 7578 beautiful 7576 happen 7575 sold 7571 ran 7567 February 7561 library 7560 radio 7559 environmental 7548 protection 7544 baby 7541 trouble 7526 female 7523 William 7523 progress 7517 media 7503 latter 7500 sex 7500 hot 7489 caught 7487 born 7477 believed 7475 avoid 7470 cells 7470 relatively 7469 truth 7466 achieved 7460 duty 7459 differences 7457 brown 7434 add 7432 collection 7430 claimed 7428 meaning 7428 transport 7425 covered 7418 reduced 7418 straight 7417 August 7415 pupils 7414 Africa 7410 learn 7404 reach 7399 sign 7395 holding 7389 cash 7386 sorry 7385 studio 7380 annual 7374 thank 7374 senior 7370 fair 7369 reference 7369 agree 7368 stone 7364 anyway 7357 presented 7355 Sunday 7349 plant 7330 okay 7329 lived 7327 Oxford 7315 subjects 7306 flat 7296 forced 7296 text 7285 overall 7278 sitting 7275 commercial 7270 failure 7264 district 7249 fit 7249 executive 7247 survey 7245 larger 7239 determined 7231 brother 7229 marriage 7218 league 7200 appears 7197 watch 7194 maybe 7192 neither 7191 intended 7187 players 7178 practical 7177 explain 7164 except 7157 realized 7153 normally 7140 values 7138 applied 7134 speech 7131 benefits 7126 box 7121 decisions 7120 career 7116 records 7116 regional 7108 budget 7104 facilities 7102 becomes 7100 memory 7097 merely 7086 effort 7085 queen 7076 slowly 7072 telephone 7072 letters 7068 expression 7066 shot 7057 nice 7051 student 7038 Robert 7029 huge 7025 opinion 7010 train 7004 firms 7000 none 6985 scale 6982 politics 6976 additional 6974 affairs 6971 regular 6963 stock 6955 knows 6953 bought 6940 impact 6938 grant 6932 finished 6928 drawn 6927 image 6911 speed 6911 receive 6902 begin 6900 gold 6900 views 6900 etc. 6897 daily 6896 setting 6876 largely 6858 kitchen 6851 aspects 6839 mass 6831 race 6828 advantage 6822 helped 6814 finance 6805 opening 6802 powerful 6792 justice 6788 debate 6787 active 6783 Christmas 6779 plants 6778 wants 6778 edge 6769 network 6768 expressed 6767 leaders 6764 boys 6761 names 6761 accounts 6757 examples 6719 smaller 6719 horse 6702 length 6701 ended 6698 afternoon 6691 bar 6689 due 6684 wind 6677 regarded 6673 possibility 6672 apparently 6670 nevertheless 6667 travel 6659 providing 6656 minute 6648 smile 6644 fast 6642 strength 6640 forest 6639 send 6631 managed 6624 legislation 6615 units 6611 formed 6605 require 6596 reduce 6579 smiled 6579 railway 6578 becoming 6568 credit 6561 holiday 6560 join 6548 pass 6540 build 6524 pain 6521 sell 6521 wood 6510 chair 6509 solution 6504 carefully 6497 joint 6497 discussed 6489 joined 6488 museum 6486 quarter 6470 measures 6455 materials 6453 bodies 6447 transfer 6447 assessment 6436 sexual 6434 draw 6430 proved 6427 impossible 6423 dog 6406 longer 6404 sister 6404 entirely 6402 conservative 6395 cars 6388 difficulties 6388 double 6387 treated 6385 winter 6385 wait 6378 prevent 6377 previously 6376 ministers 6373 powers 6373 drink 6368 currently 6364 confidence 6359 thirty 6358 achieve 6350 domestic 6348 spend 6348 sleep 6347 pretty 6333 skin 6333 sources 6332 existence 6321 steps 6320 buildings 6318 check 6318 proposals 6316 banks 6307 technical 6302 administration 6300 plus 6298 gas 6287 tea 6286 insurance 6283 mainly 6281 cross 6280 inc 6278 broken 6272 increasingly 6271 users 6261 crime 6258 island 6254 animal 6251 sit 6249 mentioned 6247 message 6245 initial 6243 article 6239 challenge 6239 clothes 6235 kingdom 6235 address 6223 choose 6222 includes 6214 vote 6212 foot 6204 judge 6204 release 6199 Henry 6196 appointed 6195 corner 6193 hill 6192 target 6190 introduction 6187 equally 6175 scene 6175 Christian 6173 institutions 6172 band 6168 items 6160 internal 6158 religious 6152 suggests 6138 actual 6130 TV 6124 cultural 6123 elements 6120 extremely 6120 concept 6114 shape 6114 worse 6110 Japan 6109 Thomas 6103 tomorrow 6102 ball 6098 decide 6097 detailed 6081 explained 6081 possibly 6076 distance 6075 farm 6074 putting 6073 bottom 6067 reality 6067 fresh 6066 spoke 6064 fight 6062 argued 6060 cabinet 6056 obtained 6053 famous 6044 measure 6034 relief 6032 fifty 6029 Mary 6027 proportion 6023 recorded 6022 excellent 6019 aim 6018 ordinary 6013 spirit 6012 applications 6001 formal 5996 distribution 5994 Saturday 5994 safe 5992 finding 5990 warm 5990 waste 5990 programmes 5979 object 5976 Edward 5973 customers 5971 sight 5971 rich 5967 correct 5964 construction 5960 square 5953 rock 5952 leaves 5944 phone 5939 showing 5939 pulled 5938 difficulty 5934 notes 5934 fairly 5924 dear 5922 aircraft 5921 rural 5921 feature 5918 talks 5911 factor 5907 latest 5904 contrast 5886 served 5884 EC 5881 fixed 5872 save 5869 enjoy 5853 grounds 5846 referred 5840 user 5840 substantial 5838 gets 5836 search 5833 identified 5827 unemployment 5827 net 5823 developing 5816 turning 5813 unable 5813 usual 5812 dry 5810 trial 5809 pp. 5808 organized 5807 touch 5804 spread 5791 fund 5779 requirements 5774 client 5773 spending 5773 communication 5770 discovered 5761 papers 5758 changing 5757 refused 5756 detail 5752 master 5752 star 5743 pointed 5741 selection 5739 Japanese 5725 noted 5716 strategy 5714 path 5712 prison 5707 suitable 5706 relationships 5704 sides 5701 courts 5696 watched 5696 tour 5693 background 5692 elections 5691 improve 5688 Ltd. 5688 rain 5683 immediate 5682 battle 5667 content 5665 proper 5661 bridge 5655 techniques 5654 sufficient 5648 manner 5644 charges 5640 starting 5635 purposes 5634 defined 5614 focus 5607 officials 5607 patterns 5604 funds 5603 guide 5593 Paris 5590 welcome 5590 affected 5587 lose 5585 tend 5584 completed 5579 reasonable 5577 eastern 5572 accident 5571 strange 5568 display 5566 file 5564 football 5564 signed 5557 raise 5552 agency 5550 legs 5550 eat 5549 tree 5541 democratic 5535 freedom 5535 recognition 5535 operations 5528 track 5526 video 5523 equal 5518 conflict 5514 capacity 5513 chosen 5509 traffic 5505 reform 5504 educational 5502 classes 5498 entered 5495 largest 5493 birds 5490 removed 5487 ring 5487 absence 5486 frequently 5480 procedure 5480 walls 5478 copy 5477 attitude 5476 wine 5471 opportunities 5465 ahead 5461 homes 5459 danger 5455 offers 5453 onto 5448 principles 5440 fourth 5426 sites 5426 calls 5425 demands 5423 scientific 5420 whereas 5409 profit 5404 heat 5403 crisis 5402 arrangements 5397 walking 5396 watching 5394 managers 5388 employees 5385 mental 5381 fields 5378 opposite 5376 widely 5372 respect 5368 whilst 5364 operating 5363 markets 5358 clean 5357 prince 5356 seat 5356 marked 5338 cell 5336 somewhere 5328 occur 5326 recognize 5326 laid 5324 driving 5323 replaced 5322 sentence 5318 coffee 5317 familiar 5314 package 5307 discipline 5300 twice 5300 games 5298 elsewhere 5295 seeing 5291 unlikely 5289 critical 5287 Irish 5284 prove 5282 planned 5280 element 5276 commitment 5274 necessarily 5274 dealing 5270 theatre 5270 supported 5262 soft 5259 keeping 5255 output 5254 asking 5248 historical 5248 understood 5243 picked 5242 spring 5233 threat 5229 profits 5224 secret 5221 experienced 5220 pair 5220 carrying 5215 easier 5213 issued 5208 closely 5201 southern 5200 quiet 5199 partly 5193 realize 5192 expenditure 5191 efforts 5187 consideration 5182 corp 5178 projects 5174 Roman 5163 reaction 5161 emphasis 5159 route 5159 silence 5156 beside 5151 exist 5149 ideal 5142 assembly 5141 processes 5133 maintain 5131 debt 5130 seek 5127 dangerous 5122 occurred 5115 adopted 5114 discuss 5110 strike 5108 violence 5107 congress 5105 china 5098 audience 5097 fingers 5094 wonder 5092 curriculum 5090 expensive 5090 payment 5087 bear 5078 supposed 5077 afraid 5073 appearance 5073 imagine 5070 goal 5068 option 5067 castle 5065 extended 5060 volume 5059 apparent 5056 rooms 5056 surely 5053 urban 5053 models 5045 colleagues 5037 drawing 5032 heads 5030 seriously 5029 totally 5024 p.m. 5022 perfect 5022 desire 5020 contribution 5019 requires 5018 elected 5017 fighting 5007 sought 5004 learned 5003 uses 4999 represented 4997 happens 4991 exhibition 4988 establish 4986 ought 4986 Russian 4979 least 4975 player 4973 remaining 4971 procedures 4966 murder 4959 dropped 4958 meetings 4957 grow 4953 upper 4952 wild 4952 Edinburgh 4945 grey 4943 serve 4942 enter 4918 code 4915 feelings 4911 victory 4910 literature 4908 slow 4907 pieces 4906 continuing 4905 functions 4904 properly 4903 facts 4896 forget 4896 stated 4891 gentleman 4890 attempts 4888 institute 4886 estate 4885 lies 4883 centres 4882 belief 4878 link 4877 speaking 4877 weather 4875 pictures 4868 committed 4865 occasion 4863 entry 4862 flowers 4861 youth 4858 birth 4855 dinner 4855 weekend 4851 arts 4844 brief 4842 thousands 4841 description 4840 telling 4840 neck 4839 conclusion 4830 developments 4830 drugs 4826 sounds 4819 membership 4807 admitted 4806 tradition 4806 attractive 4805 greatest 4804 comment 4800 boat 4791 bright 4791 broad 4790 gain 4789 employed 4787 tiny 4787 liked 4786 suffered 4784 document 4781 branch 4778 moral 4775 orders 4772 hearing 4771 revealed 4770 marketing 4769 liberal 4768 runs 4759 selling 4757 flight 4755 observed 4754 twelve 4752 protect 4749 adult 4747 institution 4745 effectively 4744 pleasure 4740 flow 4738 investigation 4731 ancient 4721 shared 4720 maximum 4719 encourage 4715 faith 4706 younger 4705 pick 4704 beat 4699 tests 4698 treaty 4697 identify 4693 tonight 4692 constant 4690 owner 4686 generation 4685 remembered 4684 schemes 4684 offering 4682 card 4678 sets 4678 trading 4674 USA 4674 acid 4671 let's 4665 entitled 4664 quick 4657 lie 4653 die 4649 criminal 4648 drug 4642 vital 4641 beneath 4639 captain 4638 shook 4636 palace 4632 Italy 4625 advanced 4624 released 4622 definition 4617 minimum 4611 partner 4601 principal 4601 filled 4600 ministry 4599 ordered 4597 express 4590 contained 4588 empty 4588 clients 4585 Jack 4585 farmers 4583 wider 4583 actions 4577 external 4574 capable 4570 limit 4570 engineering 4568 surprise 4565 stuff 4562 hoped 4557 driver 4553 crown 4550 conversation 4548 elderly 4546 estimated 4544 enable 4539 attitudes 4537 shops 4533 entire 4530 examination 4529 breath 4526 reduction 4525 leadership 4523 forty 4522 drew 4513 thin 4502 approved 4501 advance 4500 lips 4500 relative 4500 rising 4500 enjoyed 4499 coal 4497 significance 4497 silver 4495 troops 4494 creation 4492 newspaper 4491 noticed 4488 Australia 4482 Italian 4482 sky 4472 careful 4467 intention 4465 affect 4462 welfare 4460 explanation 4459 nodded 4457 atmosphere 4456 Tom 4454 engine 4450 narrow 4449 secondary 4443 laws 4442 governments 4439 worry 4438 suit 4437 armed 4433 criticism 4426 granted 4423 improved 4422 readers 4422 kinds 4420 typical 4420 Martin 4418 screen 4418 surprised 4412 academic 4411 nobody 4411 obtain 4405 co. 4398 machines 4394 valley 4394 stress 4392 somebody 4391 leg 4390 streets 4388 visitors 4388 vast 4385 highest 4383 dress 4382 fun 4377 acting 4376 drop 4368 escape 4365 passing 4363 technique 4363 settlement 4360 confirmed 4356 accused 4352 corporate 4348 decline 4348 controlled 4341 Manchester 4341 catch 4338 broke 4337 pushed 4336 sections 4334 loved 4333 Dec. 4332 acts 4330 lunch 4330 minor 4329 seats 4321 professor 4320 index 4319 India 4319 contain 4316 cos 4315 rare 4314 rapidly 4311 phase 4307 implications 4303 Leeds 4303 sample 4302 represent 4300 stories 4300 Jan 4298 journey 4297 meanwhile 4297 severe 4297 sharp 4297 practices 4292 horses 4290 signs 4289 encouraged 4288 contains 4286 causes 4285 strongly 4279 favourite 4278 laughed 4277 revolution 4276 ship 4273 absolutely 4271 structures 4269 somewhat 4268 brain 4263 seeking 4259 Liverpool 4255 bringing 4254 objects 4253 secure 4251 worst 4247 depends 4246 coast 4245 fundamental 4245 closer 4240 contemporary 4240 purchase 4236 magazine 4235 similarly 4234 motor 4231 mine 4228 request 4227 Ian 4226 consequences 4215 objective 4213 spot 4212 row 4210 combination 4209 independence 4205 metal 4200 pound 4198 named 4197 pleased 4192 doors 4190 ill 4190 flying 4186 chemical 4184 goals 4183 crucial 4181 Unix 4181 wearing 4179 aged 4177 cities 4177 bound 4173 payments 4168 et_al 4165 motion 4165 subsequent 4162 bishop 4161 interview 4160 amongst 4159 combined 4155 mention 4154 grew 4153 prior 4152 movements 4151 interpretation 4146 negative 4146 documents 4145 faced 4145 inner 4145 permanent 4145 Alan 4143 thoughts 4140 divided 4139 teeth 4139 temperature 4135 all_right 4134 contracts 4134 bus 4133 injury 4131 iron 4129 everybody 4128 wondered 4124 unions 4121 faces 4120 biggest 4118 assistance 4117 falling 4114 religion 4114 knowing 4112 via 4112 author 4111 charged 4111 assumed 4105 gallery 4104 wear 4104 inflation 4100 proceedings 4098 directors 4093 unknown 4093 unlike 4093 sport 4090 sequence 4089 billion 4088 republic 4087 unique 4087 shoulder 4085 aspect 4082 African 4076 dream 4076 societies 4073 nation 4072 indicated 4071 accommodation 4070 fashion 4070 linked 4069 launched 4068 replied 4064 busy 4063 bag 4061 industries 4061 originally 4060 provisions 4058 pool 4057 consumer 4056 Spain 4055 departments 4052 controls 4051 agent 4050 wonderful 4043 thanks 4039 equivalent 4038 colours 4037 ourselves 4037 sum 4037 customer 4035 hence 4035 moreover 4035 assets 4028 objectives 4027 links 4026 premises 4016 appointment 4015 regions 4013 afterwards 4008 conduct 4007 session 4004 unfortunately 4003 perfectly 4002 describe 4001 pages 3999 factory 3998 significantly 3996 ends 3995 noise 3993 fig. 3992 fellow 3990 trip 3979 offices 3977 hole 3976 advertising 3975 representatives 3971 doctors 3970 listen 3965 selected 3965 distinction 3962 grand 3961 visited 3960 involve 3955 stared 3954 milk 3953 Russia 3953 involvement 3952 Tony 3952 expert 3950 allowing 3944 lying 3943 tall 3940 proposal 3939 declared 3937 struggle 3936 parliamentary 3934 rarely 3934 communities 3933 virtually 3933 employers 3931 indicate 3931 aims 3929 statements 3928 begun 3924 thick 3924 soil 3917 extensive 3915 vision 3915 allows 3914 comments 3912 painting 3912 argue 3907 increases 3902 funding 3900 Anne 3899 towns 3898 plenty 3896 involves 3893 regard 3891 pension 3890 properties 3887 worried 3880 Friday 3878 communist 3875 impression 3874 massive 3873 involving 3869 reply 3868 specialist 3868 ref 3866 fat 3864 novel 3862 acquired 3861 stages 3861 buying 3860 cancer 3860 command 3859 grown 3858 revenue 3853 persons 3852 warning 3850 promised 3849 somehow 3847 licence 3846 nations 3846 democracy 3845 dogs 3837 formation 3837 pollution 3835 suffering 3830 reader 3827 badly 3826 calling 3821 stayed 3821 assume 3819 beauty 3819 location 3818 periods 3816 agricultural 3815 desk 3812 happening 3805 lovely 3805 lights 3801 marks 3801 hell 3797 Yorkshire 3797 mum 3795 fifteen 3793 manufacturing 3793 kill 3791 regulations 3789 artist 3788 settled 3788 diet 3782 paying 3781 shoulders 3781 passage 3779 vehicle 3779 radical 3776 till 3775 establishment 3774 containing 3773 block 3772 hopes 3771 video-taped 3771 conservation 3770 liability 3769 talked 3762 dance 3761 determine 3759 mixed 3759 maintenance 3758 heavily 3753 performed 3753 sheet 3753 considering 3752 invited 3752 improvement 3750 crowd 3749 tone 3749 count 3748 identity 3748 struck 3746 sports 3745 tears 3745 enterprise 3744 unusual 3744 positions 3743 criteria 3739 meal 3737 enormous 3735 operate 3735 conventional 3734 missing 3734 producing 3734 repeated 3734 efficient 3731 alive 3730 angry 3730 guilty 3730 concentration 3729 store 3728 fuel 3725 constitution 3724 Christ 3721 weapons 3721 candidates 3716 framework 3716 dad 3713 countryside 3709 leads 3706 lift 3706 quietly 3706 shift 3706 lake 3704 cast 3702 naturally 3702 yellow 3702 approval 3700 seconds 3699 Monday 3698 artists 3697 maintained 3697 firmly 3686 remove 3682 breakfast 3681 partners 3680 household 3677 shock 3675 roof 3670 helping 3668 afford 3667 catholic 3667 lifespan 3667 map 3666 channel 3659 fruit 3658 grass 3657 Andrew 3654 threatened 3654 duties 3649 situations 3648 arranged 3646 steel 3645 reflect 3644 valuable 3640 odd 3638 Indian 3631 terrible 3630 arguments 3628 border 3628 dramatic 3622 listening 3622 gently 3621 eating 3619 characteristics 3615 finish 3615 studied 3615 Philip 3613 statutory 3613 wealth 3611 regularly 3610 cuts 3607 winning 3605 continues 3604 stars 3604 hurt 3600 theme 3599 believes 3598 Simon 3597 nose 3595 pull 3593 voluntary 3593 occasionally 3592 autumn 3591 concerns 3590 cope 3588 informed 3588 error 3586 rejected 3586 parish 3585 agriculture 3583 sudden 3582 characters 3581 abroad 3579 score 3579 occasions 3578 reflected 3573 mountain 3572 manage 3569 Chinese 3567 fallen 3566 sick 3565 foundation 3559 emergency 3557 lane 3555 loan 3553 relating 3547 ice 3546 plain 3544 processing 3541 dependent 3540 Harry 3540 willing 3540 writer 3540 comfortable 3539 publication 3537 promise 3535 bird 3523 taste 3522 attached 3518 losses 3518 outcome 3517 recommended 3515 examine 3514 initially 3514 editor 3513 height 3512 specifically 3512 subsequently 3509 lots 3508 offence 3507 plastic 3507 refer 3507 decade 3506 options 3503 forgotten 3502 resolution 3496 reputation 3493 hundreds 3491 nineteen 3491 panel 3490 recording 3485 shortly 3481 tasks 3479 owners 3478 notion 3475 Brian 3474 bush 3473 van 3472 beach 3471 bedroom 3469 emerged 3467 agents 3466 stations 3466 song 3465 victim 3464 accounting 3463 teams 3463 recovery 3462 representation 3462 warned 3462 efficiency 3461 Mike 3456 Glasgow 3454 item 3454 representative 3453 waited 3448 electricity 3441 centuries 3435 federal 3435 extreme 3434 shut 3432 deputy 3431 gradually 3431 theories 3428 stick 3427 agencies 3426 frank 3424 chain 3423 empire 3421 overseas 3420 temporary 3418 taught 3416 Chris 3415 parent 3415 sensitive 3415 roads 3410 split 3410 anger 3407 friendly 3407 deeply 3405 islands 3404 clause 3402 co-operation 3402 candidate 3398 plate 3398 gained 3397 recession 3397 Nov. 3394 rail 3394 lifted 3388 anybody 3385 emotional 3382 Belfast 3376 facing 3374 commons 3372 awareness 3370 missed 3370 fitted 3366 acceptable 3364 clubs 3364 fly 3364 essentially 3360 adequate 3359 limits 3359 bob 3358 competitive 3358 golden 3358 images 3358 anywhere 3357 bottle 3355 Graham 3355 currency 3353 resistance 3352 Steve 3350 consent 3349 convention 3348 worker 3347 administrative 3346 regime 3346 smoke 3346 gardens 3344 demanded 3343 negotiations 3343 prefer 3343 handle 3342 initiative 3342 turns 3342 cook 3341 expansion 3340 Joe 3340 cutting 3339 a.m. 3338 mostly 3338 treat 3338 rapid 3337 wished 3335 mirror 3334 scientists 3334 Stephen 3334 Cambridge 3327 global 3326 writers 3326 starts 3323 supporters 3323 denied 3321 instructions 3317 Lewis 3317 trained 3317 examined 3313 mistake 3313 lords 3312 consequence 3311 Jim 3310 remarkable 3310 drama 3308 attempted 3305 silent 3303 eggs 3298 connection 3293 attend 3292 chest 3292 aside 3291 admit 3288 corporation 3286 Greek 3286 comprehensive 3285 communications 3283 answers 3282 depend 3280 port 3280 scope 3278 surprising 3278 nearby 3277 churches 3274 lucky 3274 owned 3274 assistant 3272 minority 3271 stands 3271 glad 3270 skill 3270 database 3266 fill 3266 creating 3261 thinks 3261 delivery 3260 wages 3258 welsh 3258 cards 3257 aimed 3254 healthy 3254 kids 3254 computers 3252 introduce 3252 DNA 3251 keen 3251 survive 3250 moves 3248 respond 3248 sons 3245 copies 3244 tired 3244 visual 3243 bid 3240 experiences 3240 philosophy 3239 intelligence 3237 extension 3236 directed 3235 Elizabeth 3234 businesses 3231 spoken 3229 answered 3227 brothers 3225 specified 3217 Rome 3212 defendant 3209 partnership 3208 arrival 3206 yards 3202 soldiers 3201 i.e. 3200 medium 3199 precisely 3199 guy 3195 sees 3195 bloody 3189 attended 3188 wooden 3187 newspapers 3184 dealt 3183 supreme 3182 metres 3181 registered 3181 spokesman 3178 ruling 3176 solid 3176 successfully 3175 suffer 3174 arise 3170 comparison 3170 cheap 3169 false 3169 concerning 3167 categories 3166 imposed 3160 weak 3160 cool 3159 parallel 3159 self 3159 tells 3159 wave 3158 yours 3156 Oct. 3153 electronic 3149 tape 3149 literary 3148 bath 3144 supplied 3144 furniture 3142 guests 3141 occurs 3141 cat 3140 derived 3140 plays 3138 judgment 3136 films 3135 greatly 3132 testing 3132 plane 3131 retirement 3130 findings 3129 gate 3127 module 3127 Wednesday 3127 apart 3124 paintings 3124 sugar 3123 handed 3121 replace 3121 landscape 3119 smell 3118 category 3116 dressed 3115 gun 3115 languages 3115 mere 3115 stable 3112 accompanied 3111 classic 3110 approaches 3107 nineteenth 3107 incident 3106 circle 3102 tank 3102 attacks 3100 bay 3100 camp 3100 restaurant 3099 fifth 3097 laugh 3097 requirement 3097 widespread 3095 pale 3093 citizens 3092 preparation 3092 satisfied 3092 mixture 3090 fail 3089 gap 3088 absolute 3087 priority 3084 tension 3083 core 3080 personnel 3080 expectations 3079 councils 3077 protest 3076 drove 3075 mothers 3075 inquiry 3073 defeat 3071 rent 3071 gulf 3069 charity 3066 fears 3065 golf 3065 guidance 3064 numerous 3062 represents 3061 Spanish 3061 o'clock 3060 Lee 3057 chancellor 3056 adults 3054 Birmingham 3053 arrangement 3052 collected 3052 measured 3052 distinct 3051 wet 3051 genuine 3050 illness 3050 darkness 3049 meat 3048 returning 3041 listed 3039 sixty 3038 stones 3035 symptoms 3033 Washington 3033 mail 3032 politicians 3031 residents 3031 ages 3028 electric 3028 favour 3028 insisted 3028 intervention 3028 losing 3025 Margaret 3025 abuse 3024 alongside 3019 earnings 3014 briefly 3013 mill 3013 snow 3013 shopping 3011 exists 3007 classical 3004 Iraq 3002 resulting 3000 components 2999 Israel 2997 paint 2997 fans 2995 push 2995 convinced 2993 enemy 2991 travelling 2990 alliance 2989 discover 2988 affair 2986 consumption 2986 ignored 2985 pub 2985 receiving 2979 promote 2975 shoes 2975 championship 2974 connected 2974 perform 2974 stairs 2973 rough 2970 uncle 2970 branches 2967 drinking 2966 Jane 2966 plaintiff 2963 presentation 2963 begins 2961 rugby 2961 shareholders 2961 assumption 2960 Sept. 2959 cycle 2958 ownership 2955 primarily 2955 breach 2953 hidden 2953 register 2952 territory 2952 pure 2949 tower 2948 bread 2947 delay 2947 tools 2947 Asia 2944 consistent 2944 pop 2943 survival 2943 experts 2941 prospect 2939 socialist 2936 tight 2935 supplies 2933 exciting 2932 respectively 2932 arrested 2931 achievement 2929 managing 2928 preferred 2927 discussions 2926 routine 2926 extend 2922 finds 2921 no. 2921 ride 2919 employee 2918 perspective 2917 clinical 2914 photographs 2914 cricket 2913 helpful 2913 promotion 2913 comfort 2912 inevitably 2911 profession 2910 driven 2908 hoping 2908 occupied 2908 mood 2907 ward 2907 concluded 2905 fault 2905 pack 2905 frame 2903 brings 2902 e.g. 2902 duke 2901 interior 2901 racing 2900 votes 2900 bigger 2898 cry 2898 experiment 2897 pocket 2894 pilot 2893 feels 2892 beer 2891 recall 2890 vary 2890 dominant 2889 fishing 2888 employer 2886 sad 2884 moments 2881 permission 2877 print 2876 input 2875 characteristic 2874 causing 2873 phrase 2873 raising 2872 publishing 2871 amounts 2870 contents 2870 altogether 2869 depth 2868 hills 2867 breaking 2866 repeat 2866 aids 2865 adding 2864 covering 2864 restricted 2864 solicitor 2862 surrounding 2862 theoretical 2862 Luke 2861 coach 2860 confident 2859 destroyed 2857 feed 2856 suggestion 2855 wedding 2850 yard 2850 disappeared 2849 helps 2849 poverty 2848 compensation 2847 holder 2847 magic 2846 constantly 2845 fewer 2844 truly 2844 visits 2844 Feb. 2841 bell 2838 Tory 2837 select 2836 conducted 2828 intellectual 2828 abandoned 2826 proud 2824 Aug. 2815 pressed 2815 anxious 2812 smooth 2811 degrees 2810 experiments 2809 dispute 2808 wage 2807 statistics 2806 strategic 2805 concentrate 2804 throat 2802 constitutional 2801 files 2801 switch 2801 articles 2800 falls 2800 protein 2800 delivered 2798 mechanism 2794 wishes 2791 printed 2789 boss 2787 conscious 2786 tendency 2786 advantages 2784 exception 2784 origin 2784 reasonably 2784 supporting 2782 painted 2779 finger 2775 furthermore 2774 ninety 2774 Nigel 2772 underlying 2769 tough 2768 entrance 2767 pace 2767 mile 2765 alcohol 2763 alleged 2763 injured 2761 varied 2761 storage 2760 dismissed 2756 guarantee 2756 implementation 2755 prepare 2755 disabled 2754 rocks 2754 impressive 2753 sweet 2753 nurse 2752 throw 2751 considerably 2750 fee 2749 prisoners 2749 visible 2749 resulted 2748 fees 2747 host 2746 residential 2746 accurate 2745 savings 2745 precise 2744 winner 2742 sand 2741 architecture 2734 eighty 2734 nursing 2733 soul 2729 transferred 2724 launch 2723 instruments 2722 device 2721 turnover 2721 Moscow 2718 champion 2717 enthusiasm 2716 handling 2715 neighbours 2715 servants 2715 nervous 2714 brilliant 2713 certificate 2712 reducing 2711 ladies 2710 musical 2710 prize 2709 vehicles 2709 ratio 2706 relation 2702 chances 2701 chamber 2700 outstanding 2700 pink 2698 presumably 2698 reaching 2698 blame 2697 designs 2697 illustrated 2697 cottage 2696 hospitals 2696 crossed 2693 Sarah 2693 killing 2692 possession 2691 ease 2690 MP 2690 evaluation 2689 stuck 2689 whenever 2689 everywhere 2687 readily 2687 slight 2687 distant 2686 responsibilities 2685 fought 2682 variable 2682 ultimately 2681 sentences 2679 visiting 2678 summary 2677 blow 2673 ban 2671 sake 2669 approached 2668 funny 2668 crew 2667 holy 2667 signal 2667 luck 2666 confusion 2665 coat 2663 observation 2663 childhood 2661 Canada 2660 Joseph 2660 personality 2660 complicated 2658 contributions 2657 Tim 2655 mountains 2654 concentrated 2653 sheep 2652 satisfaction 2650 wore 2650 samples 2649 climate 2645 remote 2644 extraordinary 2642 saved 2641 villages 2641 applies 2640 threw 2638 roll 2636 arrive 2635 stomach 2635 draft 2634 festival 2633 psychological 2633 gift 2632 modules 2632 touched 2631 faster 2630 peak 2628 column 2626 infection 2625 boards 2624 steam 2623 roles 2622 discovery 2621 encouraging 2616 undertaken 2614 Latin 2613 thrown 2612 eleven 2610 determination 2609 monetary 2609 gentle 2608 percentage 2608 attacked 2607 bills 2606 glanced 2606 automatically 2605 ears 2602 minds 2602 cream 2601 attracted 2599 airport 2597 bearing 2593 strategies 2592 victims 2592 Bristol 2589 concepts 2588 manufacturers 2587 smiling 2587 inevitable 2586 judges 2586 salt 2586 unity 2586 hanging 2585 reforms 2585 chose 2584 Patrick 2582 lists 2581 variation 2580 laboratory 2579 princess 2579 guard 2575 guitar 2575 restrictions 2574 shadow 2574 songs 2573 Americans 2569 suspect 2569 structural 2568 wing 2568 mode 2567 committees 2566 Thursday 2565 rely 2562 newly 2560 Adam 2559 Ruth 2559 serving 2559 frequency 2558 assess 2557 participation 2557 agreements 2556 taxes 2556 hung 2555 distributed 2551 exposed 2551 hat 2551 bond 2550 Hong Kong 2549 tables 2548 joy 2547 heading 2546 poetry 2546 retired 2546 dominated 2544 deliberately 2543 medicine 2541 investors 2540 matches 2540 addressed 2539 demonstrated 2536 staring 2535 waves 2534 expense 2533 stepped 2532 covers 2530 tended 2530 acquisition 2529 isolated 2524 acceptance 2523 landlord 2523 giant 2521 harm 2521 sounded 2520 Ken 2519 tennis 2519 disk 2518 jacket 2517 smoking 2517 secondly 2516 ear 2515 monitoring 2515 aunt 2514 loans 2514 boots 2513 instrument 2513 leisure 2513 approximately 2512 blind 2512 contribute 2511 calculated 2509 evident 2509 string 2509 calm 2508 Scott 2506 survived 2506 engaged 2504 founded 2503 qualified 2503 evil 2502 pride 2502 upset 2501 integrated 2497 disaster 2494 mad 2494 mortgage 2493 critics 2492 guess 2492 Norman 2492 anxiety 2489 tenant 2489 violent 2488 thereby 2486 consciousness 2484 pressures 2484 binding 2480 dates 2479 responses 2479 reveal 2476 reserve 2475 locked 2474 dying 2473 estimate 2471 inspector 2471 tested 2470 unemployed 2470 deaf 2469 export 2469 Tuesday 2468 moon 2465 trend 2465 teach 2464 holidays 2462 component 2461 universities 2460 expertise 2459 so-called 2459 native 2455 puts 2453 ships 2453 concrete 2449 complaints 2448 returns 2448 opposed 2447 continuous 2445 grateful 2445 resource 2445 mix 2444 Zealand 2444 occasional 2443 relatives 2441 succeeded 2440 relate 2439 proof 2437 sensible 2437 collective 2435 commonly 2435 buyer 2432 solutions 2432 confirm 2430 headquarters 2428 replacement 2428 universe 2428 solicitors 2426 summit 2425 clock 2424 authors 2423 formula 2422 researchers 2421 variations 2420 bits 2419 nights 2419 consists 2417 surgery 2414 holds 2413 junior 2413 surprisingly 2413 tied 2411 excitement 2410 assist 2409 collect 2409 striking 2409 marry 2405 tail 2405 universal 2404 medieval 2401 millions 2400 sorts 2400 located 2396 stronger 2394 Neil 2393 dozen 2391 holes 2391 paragraph 2391 tie 2389 evolution 2386 permitted 2386 cattle 2385 linguistic 2385 mission 2385 imagination 2383 retain 2383 quoted 2382 appreciate 2379 generated 2379 sufficiently 2379 recommendations 2378 burden 2376 devoted 2375 assumptions 2372 regulation 2372 completion 2369 existed 2369 bomb 2368 layer 2367 targets 2367 decades 2364 distinguished 2363 describes 2362 estimates 2362 Sam 2361 camera 2360 Kent 2358 adopt 2357 headed 2355 produces 2355 spare 2355 treasury 2355 risks 2352 judicial 2351 birthday 2348 consequently 2347 attract 2346 carbon 2346 edition 2346 purely 2346 scored 2346 colleges 2345 shirt 2345 displayed 2344 improving 2343 pleasant 2343 burning 2340 roots 2340 singing 2340 collapse 2338 integration 2338 judgement 2338 stream 2337 ultimate 2335 perceived 2332 closing 2330 apple 2327 honour 2325 Howard 2323 circuit 2322 zone 2320 Berlin 2319 memories 2319 qualities 2319 penalty 2316 platform 2316 cooking 2313 preparing 2313 stretch 2313 uniform 2310 possibilities 2309 taxation 2309 hate 2308 sophisticated 2308 honest 2307 passengers 2307 beliefs 2306 relaxed 2306 swimming 2306 regarding 2304 poll 2301 personally 2300 protected 2300 Alexander 2298 steady 2298 definitely 2296 loose 2294 multiple 2292 curve 2291 vulnerable 2291 staying 2290 creative 2288 shouted 2286 define 2284 dust 2284 potentially 2281 pitch 2280 considerations 2278 imperial 2276 psychology 2276 rear 2276 Francis 2275 liquid 2275 cleared 2274 ford 2274 conclusions 2273 nurses 2273 constructed 2272 retained 2272 Victorian 2271 knife 2270 advised 2269 poem 2269 suggesting 2269 coalition 2268 cried 2267 landing 2267 outer 2266 topic 2266 Victoria 2266 basically 2264 load 2264 sending 2263 boundaries 2262 versions 2260 leather 2259 wheel 2259 schedule 2258 angle 2257 separated 2257 publicity 2256 Ulster 2255 composition 2254 engineers 2254 gathered 2254 sharply 2254 demonstrate 2253 boxes 2251 deals 2251 overcome 2251 slipped 2251 wake 2251 drivers 2248 refuse 2248 dreams 2244 economics 2242 influenced 2240 destruction 2239 wings 2239 frequent 2238 revolutionary 2238 grants 2237 tends 2232 demanding 2231 excluded 2231 flesh 2230 criticized 2228 strain 2228 babies 2227 Ben 2227 stupid 2227 informal 2226 manual 2225 justifies 2224 transition 2222 journal 2221 softly 2221 texts 2221 Australian 2220 delighted 2220 Earl 2220 exposure 2220 experimental 2219 knees 2219 interaction 2217 settle 2216 sharing 2214 surrounded 2214 opera 2213 undoubtedly 2213 lawyers 2212 awful 2211 deaths 2211 grammar 2211 sergeant 2211 hotels 2210 drawings 2209 desperate 2208 interviews 2208 machinery 2208 nick 2207 attempting 2203 flexible 2203 likes 2203 riding 2203 transaction 2203 confused 2202 mortality 2202 equation 2201 indication 2201 reception 2201 Roger 2201 accordingly 2199 damaged 2199 guidelines 2199 writes 2198 consultation 2197 illegal 2197 Keith 2195 bone 2194 ignore 2194 professionals 2194 innocent 2192 catalogue 2189 discourse 2188 intense 2188 qualifications 2188 quantity 2188 departure 2187 improvements 2187 cathedral 2186 valid 2186 ruled 2184 gains 2183 excuse 2181 pupil 2180 acute 2179 prominent 2179 backed 2176 checked 2175 climbed 2175 raw 2175 coloured 2173 liable 2173 sleeping 2173 cake 2170 hide 2170 paused 2170 bitter 2169 announcement 2167 hers 2166 orange 2165 inadequate 2164 instruction 2164 witness 2164 ending 2162 MPs 2162 hunt 2161 deficit 2159 Dublin 2159 indicates 2159 meals 2156 studying 2156 Germans 2155 province 2155 converted 2154 impressed 2154 rational 2153 stolen 2153 kiss 2152 reporting 2151 rivers 2151 timber 2151 awarded 2150 rival 2149 sixth 2148 besides 2147 packed 2147 modest 2145 bands 2144 bars 2144 tongue 2144 buried 2143 aye 2141 harder 2141 Newcastle 2141 depression 2140 suspended 2139 tickets 2139 consumers 2138 explore 2138 Arthur 2136 obligation 2135 squad 2133 logical 2132 eighteen 2130 hunting 2130 voices 2130 Diana 2129 acted 2128 explains 2127 feeding 2125 photograph 2122 waters 2120 Dutch 2119 ethnic 2119 flew 2119 fourteen 2119 sectors 2119 tunnel 2119 injuries 2118 males 2116 customs 2114 logic 2113 presents 2113 spiritual 2113 dancing 2112 admission 2111 implied 2111 generous 2110 premier 2110 justified 2109 plates 2109 frightened 2107 tool 2107 historic 2106 pipe 2106 weekly 2106 reminded 2104 wholly 2104 arising 2103 compare 2103 identification 2103 phenomenon 2102 breathing 2101 reliable 2101 councillor 2100 occupation 2100 underground 2100 loud 2099 contributed 2098 crossing 2097 pope 2096 avoided 2095 sheets 2095 preference 2094 Atlantic 2093 divisions 2093 mutual 2093 participants 2091 agenda 2090 damages 2090 passion 2090 grace 2089 rang 2089 barely 2088 egg 2088 bent 2087 punishment 2087 Essex 2085 coverage 2084 hero 2084 offences 2083 libraries 2082 sole 2081 inches 2080 bones 2079 Lucy 2079 variables 2079 deny 2076 registration 2076 classroom 2075 Helen 2075 uncertainty 2074 California 2071 capitalist 2071 entering 2071 Egypt 2070 Terry 2069 argues 2068 Matthew 2068 Nicholas 2068 perception 2068 vat 2067 guest 2066 profile 2066 devices 2065 electrical 2064 emperor 2064 rush 2064 substance 2064 cheese 2063 glance 2062 habit 2060 heaven 2060 facility 2059 observations 2058 confined 2057 counter 2056 exports 2056 hang 2056 electoral 2055 automatic 2054 arrange 2053 interpreted 2053 slip 2053 claiming 2052 distinctive 2051 wondering 2051 Alice 2050 gastric 2050 seventy 2050 conservatives 2049 lawyer 2049 persuade 2049 submitted 2049 ceiling 2047 welcomed 2047 exact 2046 identical 2046 investigate 2046 jumped 2045 keeps 2045 monitor 2045 remarks 2045 representing 2045 voted 2045 oral 2044 charter 2042 Andy 2040 cleaning 2040 formally 2037 humour 2036 jump 2035 cotton 2034 Jewish 2034 awards 2032 resort 2032 viewed 2032 audit 2030 listened 2030 worldwide 2030 canal 2029 directions 2029 fate 2029 concentrations 2028 storm 2028 bare 2026 pulling 2026 roughly 2026 fabric 2023 dirty 2022 saving 2022 urged 2022 mystery 2021 resignation 2021 beaten 2020 assured 2018 desirable 2018 marginal 2018 rid 2017 titles 2017 lease 2016 presidential 2016 jury 2015 nowhere 2015 prospects 2015 lesson 2014 visitor 2014 travelled 2013 genes 2012 restored 2012 enables 2011 generations 2011 Oliver 2011 wanting 2011 poet 2010 stability 2010 lessons 2009 stressed 2009 trends 2009 whispered 2009 conversion 2008 voting 2008 satisfactory 2004 succeed 2004 curious 2003 climb 2002 farming 2002 effectiveness 2001 engineer 2001 governor 2001 disposal 2000 allowance 1998 lit 1998 maintaining 1997 pushing 1996 silk 1996 trace 1996 fleet 1995 posts 1995 assessed 1994 connections 1994 gross 1994 routes 1994 sciences 1994 mayor 1993 organic 1991 shrugged 1991 bowl 1990 reflects 1989 responded 1988 gaze 1987 stores 1987 zero 1987 removal 1985 abstract 1984 errors 1984 Anthony 1983 Poland 1983 reverse 1983 temple 1982 format 1981 bathroom 1980 gene 1980 corresponding 1979 alright 1978 climbing 1978 federation 1978 foods 1978 resolved 1978 emerge 1976 laughter 1976 proceed 1976 addition 1972 statistical 1971 resident 1970 graphics 1969 farmer 1968 trials 1968 washing 1968 lock 1966 ideology 1965 notably 1964 Anna 1962 glasses 1962 practitioners 1962 asleep 1961 blocks 1961 reactions 1961 cm. 1960 era 1960 hardware 1960 pointing 1960 transactions 1960 wire 1960 tale 1959 Owen 1958 Westminster 1958 turkey 1956 Louis 1955 accordance 1954 landed 1954 lands 1954 acknowledged 1953 scientist 1953 sixteen 1953 creatures 1952 learnt 1952 shooting 1952 yield 1952 operated 1951 fed 1950 clothing 1949 guardian 1947 prosecution 1946 tissue 1945 gates 1943 declaration 1942 mechanisms 1942 trains 1942 Colin 1941 adds 1940 full-time 1940 ocean 1939 sessions 1939 speakers 1939 establishing 1937 references 1937 acquire 1936 controversial 1936 upstairs 1936 humans 1935 keys 1934 persuaded 1933 thoroughly 1931 recovered 1929 Laura 1928 silly 1928 suggestions 1928 exclusive 1927 flower 1926 pregnant 1926 grade 1925 asset 1924 chemicals 1924 unexpected 1921 assault 1920 contacts 1920 joining 1920 ah 1918 prayer 1917 talent 1917 everyday 1916 lighting 1916 suspected 1916 sympathy 1915 boundary 1914 carpet 1914 traditionally 1914 advise 1913 daughters 1913 dawn 1913 resigned 1912 justify 1909 woods 1909 burst 1907 strict 1907 declined 1906 laughing 1906 associations 1904 failing 1904 pairs 1904 privatization 1904 rescue 1904 eighteenth 1903 emphasized 1903 intend 1903 withdrawal 1903 album 1902 bulk 1902 discrimination 1902 favoured 1902 scenes 1900 conviction 1899 diplomatic 1899 deliver 1898 expenses 1898 forests 1898 wherever 1897 distinguish 1895 petrol 1895 stored 1895 urgent 1894 rows 1892 sustained 1892 typically 1892 beds 1891 belong 1891 romantic 1891 cheaper 1890 grave 1890 mining 1890 estates 1889 warmth 1889 priest 1888 cigarette 1887 kick 1887 biological 1886 sheer 1886 banking 1884 generate 1884 Lawrence 1884 Arab 1883 enjoying 1880 wash 1880 situated 1878 superb 1878 uncertain 1878 arrest 1877 Sheffield 1877 deeper 1876 Maria 1876 muscles 1876 repair 1876 compromise 1875 nonetheless 1875 surplus 1874 drinks 1873 cloud 1872 installed 1871 actor 1867 caring 1867 institutional 1867 instant 1866 letting 1866 PC 1865 Rachel 1865 craft 1864 styles 1864 magnificent 1863 computing 1861 constable 1861 knocked 1861 horror 1860 publications 1860 females 1859 fortune 1859 lowest 1859 mounted 1859 equity 1858 inspired 1858 belt 1857 gender 1857 convenient 1856 enhanced 1856 Iran 1856 wildlife 1856 reflection 1855 restoration 1855 constraints 1854 marine 1854 wound 1854 altered 1851 crystal 1851 applying 1848 inspection 1848 tube 1848 availability 1847 expecting 1847 pressing 1846 bonds 1844 breeding 1844 corridor 1844 jurisdiction 1844 organizational 1844 clever 1843 composed 1843 fox 1843 pursue 1843 sue 1843 villa 1843 and/or 1842 reluctant 1842 tap 1842 spectacular 1841 discussing 1840 fiction 1840 doubts 1838 entertainment 1837 Pacific 1837 anniversary 1836 flexibility 1836 invasion 1836 gesture 1834 Korea 1834 digital 1833 strictly 1833 swept 1833 lightly 1832 passes 1832 chapters 1831 educated 1831 worn 1831 priorities 1829 resist 1829 clerk 1828 legislative 1828 straightforward 1828 funeral 1827 chapel 1826 mechanical 1826 therapy 1826 weapon 1826 excess 1825 outlined 1825 mathematics 1824 Hugh 1823 navy 1823 obligations 1823 shapes 1823 discretion 1821 friendship 1820 artificial 1819 folk 1818 boats 1816 controlling 1815 exercises 1815 explicit 1815 nearest 1815 drunk 1814 ensuring 1814 rolling 1814 breed 1812 destroy 1812 functional 1811 initiatives 1811 seller 1811 superior 1810 chemistry 1809 implies 1808 bench 1807 networks 1807 tourist 1807 Dave 1806 virtue 1806 trousers 1805 mentally 1804 refusal 1803 capitalism 1802 ticket 1802 controversy 1801 heritage 1801 sailing 1800 asks 1798 impose 1797 emotions 1795 aggressive 1794 leaned 1794 voters 1794 comparable 1792 retail 1792 Clare 1791 part-time 1791 spell 1791 topics 1791 crash 1790 tracks 1790 isolation 1789 naked 1788 policeman 1788 messages 1787 bible 1786 dollar 1785 ray 1785 root 1783 alarm 1781 refugees 1781 printing 1780 quantities 1780 stake 1780 salary 1779 tenants 1779 approaching 1778 Bernard 1778 purchaser 1777 wives 1777 origins 1776 oxygen 1776 physically 1776 separation 1776 compete 1773 disappointed 1773 securities 1773 succession 1773 cloth 1772 earn 1772 Gary 1771 whereby 1771 OK 1770 conception 1769 Nottingham 1769 Vietnam 1769 Asian 1768 divorce 1768 debts 1766 stretched 1766 accidents 1765 panic 1765 threatening 1765 sisters 1764 tip 1763 abbey 1762 backing 1762 bags 1762 monthly 1762 designer 1761 organize 1761 carriage 1760 correctly 1760 duration 1760 Billy 1759 describing 1757 alter 1756 namely 1756 winners 1755 reserves 1754 imagined 1753 economies 1752 venture 1752 balanced 1751 commander 1751 specially 1751 spirits 1751 influential 1749 counts 1748 democrats 1748 overnight 1748 Albert 1747 RAF 1747 reward 1747 circular 1746 creature 1746 limitations 1746 sighed 1746 wars 1746 expanded 1743 joke 1742 fails 1741 knee 1740 painful 1740 DC 1739 earliest 1739 instance 1739 polish 1739 constituency 1738 harbour 1737 cinema 1736 rolled 1735 secured 1734 differ 1733 Kevin 1733 producers 1733 Russell 1733 Stewart 1732 switched 1732 diseases 1731 jews 1731 deciding 1730 earned 1730 Kate 1730 unhappy 1730 heating 1729 prevented 1729 tries 1729 Douglas 1728 Kelly 1728 dare 1727 fired 1727 tonnes 1727 manor 1726 cable 1725 correspondent 1724 essence 1724 passenger 1724 collections 1723 searching 1723 cap 1722 gathering 1722 guaranteed 1722 productivity 1722 desperately 1721 lifetime 1721 sadly 1720 surveys 1720 Charlie 1719 courage 1719 shell 1719 successive 1718 achieving 1717 allocation 1717 guns 1717 channels 1716 Sussex 1716 wise 1716 brush 1715 necessity 1715 reign 1715 defend 1714 diary 1714 Jackson 1714 butter 1712 twentieth 1712 unnecessary 1712 genetic 1711 republican 1711 tackle 1711 intent 1710 Clarke 1709 Fred 1709 predicted 1709 skilled 1709 Miller 1707 mud 1706 rape 1705 Harris 1704 requiring 1704 consensus 1703 engines 1702 strip 1702 arises 1701 farms 1701 swing 1701 Tories 1701 liberation 1700 pensions 1700 picking 1700 refers 1699 subtle 1699 complexity 1698 enabled 1697 invitation 1697 mills 1697 intelligent 1696 varying 1696 allied 1695 autonomy 1695 closure 1695 programs 1695 unfair 1694 imports 1693 interface 1692 lesser 1692 planet 1691 filling 1690 deposits 1689 flats 1688 frozen 1687 mm. 1687 Stuart 1687 undertake 1686 merchant 1685 realistic 1685 recover 1684 banned 1683 signals 1683 complaint 1682 masters 1682 Cardiff 1680 curtains 1680 explaining 1679 producer 1679 scheduled 1679 incorporated 1678 justification 1678 fancy 1677 forum 1677 Pakistan 1676 tin 1676 diagnosis 1675 gear 1675 grain 1674 attendance 1673 commonwealth 1673 forming 1673 kings 1673 preliminary 1673 terminal 1673 commented 1672 desert 1672 Durham 1672 dealers 1671 random 1671 analysed 1670 struggling 1670 twin 1670 feared 1668 households 1668 locally 1668 chairs 1667 crying 1667 directive 1667 districts 1667 escaped 1667 recommend 1667 beings 1666 choices 1666 incidence 1666 piano 1666 volunteers 1666 complained 1665 partial 1665 tropical 1665 advisers 1664 Iraqi 1664 simultaneously 1664 feminist 1663 USSR 1663 assurance 1662 movie 1662 subsidiary 1662 demonstration 1661 dealer 1660 ace 1659 entries 1657 governing 1657 elegant 1656 champagne 1655 separately 1655 dedicated 1654 encountered 1652 vertical 1651 attending 1650 satisfy 1650 carries 1649 muscle 1649 Thames 1649 opinions 1648 participate 1648 physics 1647 magistrates 1646 manufacturer 1646 residence 1646 radiation 1645 transformation 1645 miners 1644 workshop 1644 doctrine 1643 shocked 1643 thrust 1643 sizes 1642 intensive 1641 tremendous 1641 colonel 1640 rises 1640 sums 1640 Evans 1639 occupational 1639 recalled 1639 copper 1638 focused 1638 Jean 1637 narrative 1637 suppliers 1637 domain 1636 finest 1636 stance 1636 expand 1635 symbol 1635 washed 1635 brick 1632 dictionary 1632 edges 1632 fraud 1632 terrace 1631 questioned 1630 continental 1629 discount 1629 rank 1629 referring 1628 boost 1627 cheque 1627 journalists 1627 railways 1627 exclusively 1625 appendix 1623 mouse 1623 weakness 1623 inland 1622 introducing 1621 Morgan 1621 wool 1621 hierarchy 1619 instances 1619 substantially 1619 accuracy 1618 beating 1618 influences 1618 plot 1617 servant 1617 shorter 1617 alternatively 1616 bull 1616 chronic 1616 supports 1616 allegations 1615 Ross 1615 happily 1614 coup 1613 midnight 1613 placing 1613 affecting 1612 delight 1612 casual 1611 delicate 1611 kit 1611 luxury 1611 pot 1611 systematic 1611 forever 1610 thirteen 1610 infant 1609 remainder 1609 tide 1609 implemented 1608 innovation 1608 bass 1607 investigations 1607 payable 1605 solve 1605 cheek 1604 Christopher 1604 concert 1604 fitting 1604 literally 1604 Walter 1604 pan 1603 captured 1601 defeated 1600 severely 1600 supervision 1600 Susan 1600 officially 1599 classification 1598 exceptional 1598 relevance 1598 virgin 1598 enquiry 1597 mess 1597 robin 1597 snapped 1596 interim 1595 label 1595 scores 1595 rubbish 1594 displays 1593 Greece 1593 shots 1593 celebrated 1592 dialogue 1592 encounter 1592 printer 1591 swung 1591 dried 1589 safely 1589 shaking 1589 vegetables 1589 measurement 1588 modified 1586 formerly 1585 knitting 1585 desired 1583 risen 1583 lover 1582 delayed 1581 dull 1581 Jimmy 1581 pen 1581 disorder 1580 intervals 1580 arguing 1579 politically 1578 seized 1578 metropolitan 1577 timing 1577 allocated 1576 Ira 1576 obliged 1576 relax 1576 accessible 1575 habits 1575 re 1575 neighbour 1574 tightly 1574 judged 1573 particles 1573 alternatives 1572 excessive 1572 explanations 1571 divide 1570 remedy 1570 accepting 1569 foster 1569 behave 1568 kissed 1568 breaks 1567 Morris 1567 chip 1566 contrary 1566 murmured 1566 PLC 1566 quarters 1566 strikes 1566 damp 1565 observe 1565 withdrawn 1565 solely 1564 ceremony 1563 hypothesis 1563 constitute 1562 Allen 1561 bet 1561 Canadian 1561 cultures 1561 monopoly 1561 outline 1561 adjacent 1560 backwards 1560 dose 1560 undertaking 1560 ad 1559 bottles 1559 darling 1558 density 1558 permit 1558 post-war 1558 suicide 1558 enterprises 1557 deposit 1556 Mexico 1556 progressive 1556 compulsory 1555 Hollywood 1555 intensity 1555 maps 1555 pond 1555 purchased 1555 tragedy 1555 circles 1554 traditions 1554 cousin 1553 crimes 1553 enquiries 1553 pause 1553 substitute 1552 taxi 1552 competing 1551 guilt 1551 magazines 1551 portrait 1551 speculation 1551 assuming 1550 gifts 1550 ideological 1550 neat 1548 broadcasting 1547 choosing 1547 forth 1547 technological 1547 lonely 1545 short-term 1545 steadily 1545 decent 1544 liver 1543 soldier 1543 sooner 1543 combine 1542 detected 1542 determining 1542 dimension 1542 obtaining 1542 Sweden 1542 walks 1542 catering 1541 consistently 1541 hungry 1541 premium 1541 sing 1541 Brazil 1540 triumph 1540 employ 1539 Eric 1539 advisory 1538 anticipated 1538 happiness 1538 poured 1538 provincial 1538 insist 1536 observer 1536 Malcolm 1535 relieved 1535 councillors 1534 shed 1534 borough 1533 Midlands 1533 fascinating 1532 manufacture 1532 geographical 1531 grinned 1531 privilege 1531 debut 1530 chocolate 1529 loyalty 1529 seeds 1529 volumes 1529 Barry 1527 notable 1527 winds 1527 hostile 1525 clearing 1524 historians 1524 restore 1522 signing 1522 halt 1521 companion 1520 inch 1520 pit 1519 socialism 1519 competitors 1518 disc 1518 governors 1517 technologies 1517 Christians 1515 owed 1515 statute 1515 actors 1514 attributed 1513 dressing 1513 Emily 1513 ranks 1512 Roy 1512 singer 1512 themes 1512 amazing 1511 geography 1511 HIV 1511 junction 1511 licensing 1511 allies 1509 scarcely 1509 acres 1508 amendment 1507 careers 1507 commerce 1507 contest 1507 sensitivity 1507 spectrum 1507 dynamic 1506 dangers 1505 defendants 1505 Lancashire 1505 explosion 1504 lecture 1503 remarked 1503 ridiculous 1503 restaurants 1502 suspicion 1502 tribunal 1502 emerging 1501 equilibrium 1501 primitive 1501 sail 1501 slept 1501 forthcoming 1500 opponents 1500 pregnancy 1500 crazy 1499 prey 1499 probability 1499 lad 1498 prisoner 1498 buyers 1497 factories 1496 breast 1495 handsome 1495 performances 1495 precious 1495 promises 1495 serves 1495 extending 1494 satellite 1494 characterized 1493 Clark 1493 publicly 1493 grip 1492 splendid 1492 throwing 1492 architect 1491 Derek 1491 indirect 1491 freely 1490 remind 1490 senses 1490 shoot 1490 operational 1489 opens 1487 brave 1486 compact 1486 Surrey 1486 theft 1486 consultant 1485 crops 1485 illustrate 1485 bases 1484 clouds 1484 arose 1483 burn 1483 possessed 1483 equipped 1482 transformed 1482 adoption 1481 continent 1481 peasants 1481 Scots 1481 Dean 1480 columns 1479 Joan 1479 peaceful 1479 archbishop 1478 inhabitants 1477 recruitment 1477 travellers 1477 firstly 1475 wounded 1475 bedrooms 1474 delegation 1474 invariably 1474 wrapped 1474 surviving 1473 handled 1472 slide 1472 steep 1472 Benjamin 1471 christianity 1471 hitherto 1469 regret 1469 spotted 1468 possess 1467 preserved 1467 colleague 1466 penny 1466 races 1466 dragged 1465 knock 1465 magnetic 1465 mount 1465 poems 1465 ate 1464 broadly 1464 publishers 1464 youngsters 1464 portfolio 1463 devil 1462 garage 1462 respects 1462 specimens 1462 challenged 1460 stocks 1460 marvellous 1459 gay 1458 glory 1458 vessels 1457 counties 1456 Caroline 1455 chaos 1455 inherited 1455 resolve 1455 chart 1454 ties 1454 dollars 1453 endless 1453 menu 1452 barrier 1451 nursery 1451 reveals 1451 smart 1451 pockets 1449 correspondence 1447 empirical 1447 juice 1447 sterling 1447 chicken 1445 dining 1445 Hughes 1445 lamb 1445 collapsed 1443 instantly 1443 colonial 1442 crop 1442 delegates 1442 investigated 1442 pity 1442 ambitious 1441 couples 1441 essay 1441 sociology 1441 fluid 1440 pile 1440 proportions 1440 receiver 1440 competence 1439 molecules 1439 cheeks 1438 handicapped 1438 invest 1438 processor 1438 upwards 1438 floating 1437 pursued 1437 reaches 1437 definite 1436 oak 1436 doorway 1435 requested 1435 shaped 1435 vendor 1434 artistic 1433 Marie 1433 intentions 1432 peoples 1432 dated 1430 descriptions 1430 eaten 1430 seeks 1430 suited 1429 tournament 1429 unfortunate 1429 communicate 1428 consultants 1428 differently 1428 dismissal 1428 dramatically 1428 identifying 1428 prompted 1428 replacing 1428 varieties 1428 circulation 1427 fierce 1427 fortunately 1427 harsh 1424 scattered 1424 excited 1423 mistakes 1423 publisher 1423 ceased 1422 directory 1422 motivation 1422 exploration 1421 widow 1421 wisdom 1421 adviser 1420 fitness 1420 operator 1420 virus 1420 bronze 1419 flows 1419 bother 1418 expanding 1418 arriving 1417 exclusion 1417 organizing 1417 performing 1417 treatise 1417 adventure 1416 elite 1416 integrity 1416 promising 1416 socially 1416 matrix 1415 populations 1415 scales 1414 underneath 1414 actively 1413 amateur 1413 chin 1413 rope 1413 fibre 1412 naval 1412 hopefully 1411 shame 1411 shouting 1411 investments 1410 nasty 1410 verbal 1409 stimulus 1408 emotion 1407 fence 1407 indicating 1407 orchestra 1407 republics 1407 stranger 1407 achievements 1406 leaf 1406 mature 1406 peasant 1405 acknowledge 1404 mobility 1404 corners 1403 Km 1403 Holland 1402 packages 1402 sympathetic 1402 environments 1401 whisky 1401 appeals 1400 desktop 1400 Kuwait 1400 regardless 1400 attraction 1399 gather 1399 absorbed 1398 checking 1398 Israeli 1398 crack 1397 promoting 1397 reportedly 1397 mild 1396 stops 1396 server 1395 appreciated 1394 equality 1394 inn 1394 lip 1394 neutral 1393 Hungary 1392 prevention 1392 seldom 1392 alert 1391 imply 1391 nowadays 1391 Ph 1391 Switzerland 1391 chips 1390 combat 1390 examining 1390 remarkably 1390 sequences 1390 damaging 1389 faint 1389 proceeds 1389 seed 1389 shadows 1389 sink 1389 clay 1388 conclude 1388 electronics 1388 rubber 1388 vol. 1388 absent 1387 inform 1387 locations 1387 Phil 1387 reject 1387 Derby 1386 lacking 1386 legitimate 1386 ritual 1386 underway 1386 favourable 1385 translation 1385 appointments 1384 Netherlands 1384 wheels 1384 disability 1383 Barbara 1382 observers 1382 commissioner 1380 conflicts 1378 encouragement 1377 specialized 1377 button 1376 wells 1376 distress 1375 relates 1375 Alex 1374 disappointment 1374 operates 1374 trap 1374 vague 1374 custom 1373 meanings 1373 tanks 1373 barriers 1372 cab 1372 Campbell 1372 cats 1372 imprisonment 1372 applicable 1371 thereafter 1370 twisted 1370 coastal 1369 successor 1369 tourists 1367 roses 1366 grandfather 1365 grasp 1365 margin 1365 shore 1365 tribute 1365 eve 1364 exceptions 1364 flag 1364 odds 1363 suits 1363 lifting 1362 linking 1361 Norway 1361 discharge 1360 shortage 1360 dioxide 1359 dish 1359 seventeen 1358 strings 1358 emphasize 1357 enhance 1357 wishing 1357 rings 1356 spaces 1356 accurately 1355 ambulance 1355 bike 1355 blank 1355 cited 1355 examinations 1355 futures 1355 temperatures 1355 demonstrations 1354 reflecting 1354 cliff 1353 hire 1353 profound 1351 ranging 1350 shake 1350 witnesses 1350 Brussels 1349 pat 1349 representations 1349 rivals 1349 terror 1349 alike 1348 bureau 1348 oldest 1348 wins 1348 corruption 1347 mines 1347 opponent 1347 diversity 1346 referendum 1346 transmission 1346 disturbed 1345 evidently 1345 neighbourhood 1344 rice 1344 suspension 1344 correlation 1343 insight 1343 worthwhile 1342 emissions 1341 enemies 1341 hurry 1341 kicked 1341 lively 1341 incomes 1340 borrowing 1339 reviewed 1339 structured 1339 adjustment 1338 applicant 1338 Bruce 1338 Catherine 1338 dividend 1338 incidents 1338 racial 1338 rhythm 1338 cure 1337 collecting 1336 museums 1336 surfaces 1336 territories 1336 assessing 1335 depressed 1335 proposition 1335 Protestant 1335 Midland 1333 flavour 1332 clinic 1331 scandal 1330 adapted 1329 awkward 1329 blacks 1329 brass 1329 creates 1329 patch 1329 tobacco 1329 avoiding 1328 deck 1328 exercised 1328 fool 1328 myth 1328 rigid 1327 immense 1326 aggregate 1325 Easter 1325 measurements 1325 rejection 1325 interference 1324 lectures 1324 operators 1324 appearing 1323 breakdown 1323 offensive 1323 propose 1322 boom 1320 labelled 1320 sensation 1320 dimensions 1319 Kenneth 1318 NATO 1318 insects 1317 pays 1317 fan 1315 rightly 1315 expressing 1314 fraction 1314 mid 1314 broader 1313 exhausted 1313 independently 1313 makers 1313 onwards 1312 rushed 1312 workforce 1312 coins 1311 Daniel 1311 don 1311 minimal 1311 raises 1310 workshops 1310 clergy 1309 downstairs 1308 shipping 1308 evenings 1307 guards 1307 accounted 1306 gang 1306 memorial 1306 Yugoslavia 1306 academy 1305 disputes 1305 journalist 1305 validity 1304 enthusiastic 1303 beneficial 1302 championships 1302 convicted 1302 Ann 1301 expects 1301 layers 1301 programming 1301 affects 1300 belonged 1300 genuinely 1300 merger 1300 sexuality 1300 shade 1300 finishing 1299 shallow 1299 Chelsea 1298 loving 1298 Milton 1298 revised 1298 tactics 1298 belonging 1297 deemed 1297 hostility 1297 enforcement 1296 hearts 1296 honey 1296 molecular 1296 parks 1296 Swiss 1296 eager 1295 interviewed 1295 quote 1295 slid 1295 tourism 1295 certainty 1294 execution 1293 mobile 1292 ms 1292 trick 1292 foundations 1291 grabbed 1291 remembering 1290 commissioned 1289 Donald 1289 waist 1289 detective 1288 promoted 1288 refusing 1288 stopping 1288 historian 1287 reviews 1287 collaboration 1286 serum 1286 specialists 1286 dating 1285 lifestyle 1285 burned 1284 comparative 1284 greeted 1284 productive 1284 semantic 1284 vessel 1284 custody 1283 paths 1283 believing 1282 accommodate 1281 predict 1281 enabling 1279 Johnny 1279 nonsense 1279 abilities 1278 campaigns 1278 exclude 1278 Hamilton 1278 substances 1278 balls 1277 neighbouring 1276 threats 1276 bore 1275 unconscious 1275 Brighton 1274 irrelevant 1274 potatoes 1274 renewed 1274 senate 1274 yer 1274 citizen 1273 maturity 1273 peculiar 1273 eh 1272 migration 1272 removing 1272 frustration 1271 kid 1271 Turkish 1271 Geoffrey 1270 nationalist 1270 Norwich 1270 passive 1270 seventh 1270 stiff 1270 hated 1268 meantime 1268 handful 1267 implication 1267 interpret 1267 matching 1266 sculpture 1266 specification 1266 withdraw 1266 crowded 1265 filter 1265 liberty 1265 speaks 1265 symbolic 1265 bonus 1264 executives 1264 faded 1264 Gen. 1264 Karen 1264 middle-class 1264 recommendation 1264 sword 1264 affection 1263 disappear 1263 inspiration 1263 rats 1263 slope 1263 avenue 1262 celebrate 1262 criterion 1262 definitions 1261 fragments 1261 linear 1261 praise 1261 supplier 1261 breeze 1260 diverse 1260 killer 1260 preserve 1260 worrying 1260 implement 1259 popularity 1259 presenting 1259 behalf 1258 horizon 1258 secrets 1258 worship 1258 counselling 1257 Duncan 1257 interval 1257 chase 1256 explicitly 1256 wealthy 1256 charming 1255 Julia 1255 overwhelming 1255 phenomena 1255 comedy 1254 nest 1254 trusts 1254 relied 1253 shelf 1253 honours 1252 moderate 1252 parental 1252 meets 1251 swim 1251 Vienna 1251 bias 1250 forcing 1250 muttered 1250 sauce 1249 settlements 1249 rabbit 1248 appealed 1247 beef 1247 compliance 1247 conscience 1247 hull 1247 insufficient 1246 pray 1246 supper 1246 civilization 1245 continually 1245 expressions 1245 importantly 1245 verdict 1245 devised 1244 ridge 1244 scoring 1244 condemned 1243 dishes 1243 hesitated 1243 loch 1243 shifted 1243 bureaucracy 1242 hint 1242 inherent 1242 measuring 1242 profitable 1242 rod 1242 elaborate 1241 supplement 1241 Denmark 1240 drops 1240 loyal 1240 make-up 1240 blamed 1239 champions 1239 commit 1239 curtain 1239 eligible 1239 ambition 1238 bears 1238 elder 1238 mysterious 1238 expectation 1237 fix 1237 fled 1237 jet 1237 managerial 1237 proteins 1237 selective 1237 grief 1236 planting 1236 uncomfortable 1236 isle 1235 drives 1234 shelter 1234 installation 1233 collar 1232 leaning 1232 analyse 1231 backs 1231 bacon 1231 nightmare 1231 angel 1230 appreciation 1230 drank 1230 analyses 1229 clauses 1229 extract 1229 imported 1229 Norfolk 1229 episode 1228 forwards 1228 positively 1228 prospective 1228 super 1228 tray 1228 urge 1228 fiscal 1227 practically 1227 publish 1227 exploitation 1226 marble 1226 pole 1226 authorized 1225 bacteria 1225 bowel 1225 butler 1225 negligence 1225 philosophical 1225 Somerset 1225 addresses 1224 crude 1224 murdered 1224 neatly 1223 commitments 1222 lodge 1222 ozone 1222 respected 1222 touching 1222 reductions 1221 specify 1221 varies 1221 partially 1220 posed 1220 calcium 1219 Mediterranean 1218 objection 1218 tune 1218 lasted 1217 masses 1217 ye 1217 Louise 1216 trips 1215 comply 1214 gentlemen 1214 receives 1214 grandmother 1213 dependence 1212 exhibitions 1212 incentive 1211 continuity 1210 fatal 1210 organ 1210 revenues 1210 symbols 1210 brand 1209 grows 1209 lads 1209 treating 1209 boot 1208 shower 1208 Ali 1207 heath 1207 screening 1207 Churchill 1206 emergence 1206 Isabel 1206 lasting 1206 tender 1206 Jordan 1205 Belgium 1204 chains 1204 deliberate 1203 olympic 1203 reinforced 1203 sporting 1201 ham 1200 despair 1199 embassy 1199 diameter 1198 Islamic 1198 qualification 1198 solar 1198 construct 1197 ghost 1197 reckon 1197 arsenal 1196 pursuit 1196 straw 1196 cared 1195 lengths 1195 occurring 1195 cruel 1194 intermediate 1194 lounge 1194 noble 1194 comparisons 1193 fantasy 1193 sponsored 1193 codes 1192 rounded 1192 apartment 1191 architectural 1191 eagle 1191 misleading 1191 requests 1191 embarrassment 1190 faculty 1190 ingredients 1190 nerve 1190 parking 1190 surroundings 1190 telecommunications 1190 negotiating 1189 recognizing 1189 wasted 1189 gods 1188 spatial 1188 struggled 1188 competent 1187 consist 1187 dignity 1187 contempt 1186 hits 1186 Newton 1186 lending 1185 shout 1185 aggression 1184 cooperation 1184 Devon 1184 mathematical 1184 phrases 1184 sacred 1184 Cornwall 1183 fortunate 1183 novels 1183 skirt 1183 accountants 1182 Austria 1182 Guinness 1182 unpleasant 1182 centred 1181 complain 1181 Dennis 1181 designated 1181 featured 1180 palm 1180 qualify 1180 realization 1180 dreadful 1179 handicap 1179 inclined 1179 sanctions 1179 sphere 1179 burns 1178 budgets 1177 poles 1177 react 1177 creditors 1176 explored 1176 repeatedly 1176 auction 1175 bishops 1175 inheritance 1175 interrupted 1175 protective 1175 respective 1175 follow-up 1174 furious 1174 hunter 1174 intact 1174 Jonathan 1174 testament 1174 restriction 1173 thesis 1173 vocabulary 1173 boring 1172 consisted 1172 temporarily 1172 angles 1171 applicants 1171 divine 1171 documentation 1171 Jenny 1171 Rover 1171 auditors 1170 charm 1170 morality 1170 consisting 1169 fertility 1169 layout 1169 minus 1169 modes 1169 pavement 1169 caution 1168 erosion 1168 suspicious 1168 verse 1168 Wimbledon 1168 basin 1167 evolved 1167 investigating 1167 needle 1167 considers 1166 keeper 1166 envisaged 1165 throne 1164 diesel 1163 envelope 1163 hired 1163 Kim 1163 predominantly 1163 sandy 1163 scrutiny 1163 sovereignty 1163 synthesis 1163 barn 1162 Mick 1162 persistent 1162 valued 1162 challenging 1161 harmony 1161 mineral 1161 musicians 1161 rumours 1161 sixties 1161 soccer 1161 utterly 1161 bile 1160 preventing 1160 ageing 1159 legend 1159 crowds 1158 pet 1158 Samuel 1158 Stanley 1158 abortion 1157 Canterbury 1157 conventions 1157 script 1157 sunlight 1157 capture 1156 cafe 1155 depended 1155 fusion 1155 induced 1154 lap 1154 carrier 1153 mainstream 1153 raid 1153 worthy 1153 catching 1152 debates 1152 forehead 1152 guided 1152 objections 1152 bend 1151 contexts 1151 counted 1151 engagement 1151 remark 1151 Russians 1151 alien 1150 deserve 1150 powder 1150 detect 1149 gravel 1149 Maxwell 1149 painter 1149 convincing 1148 diagram 1148 funded 1148 gaining 1148 lakes 1148 likelihood 1148 lowered 1148 permanently 1148 swallowed 1148 doubtful 1147 humanity 1147 Saudi 1147 striker 1147 allowances 1146 fathers 1146 inappropriate 1146 lamp 1146 revealing 1146 toxic 1146 entity 1145 matched 1145 pubs 1145 ugly 1145 negotiated 1144 stroke 1144 submit 1144 tales 1144 accountability 1143 blew 1143 borders 1142 celebration 1141 flights 1141 hydrogen 1141 integral 1141 openly 1141 Santa 1141 torn 1141 prescribed 1140 conferences 1139 spots 1139 waved 1139 healing 1138 invested 1138 misery 1138 petition 1138 territorial 1138 up-to-date 1138 nails 1137 sunshine 1137 carers 1136 preceding 1136 reserved 1136 trapped 1136 beans 1135 ma 1135 seal 1135 galleries 1134 practise 1134 beautifully 1133 bored 1133 cow 1133 gravity 1133 woke 1133 accent 1132 polytechnic 1132 subjected 1132 swiftly 1132 Edwards 1131 import 1131 toward 1131 engage 1130 fortnight 1130 monster 1130 salmon 1130 Betty 1129 Carter 1129 Korean 1129 precision 1129 swift 1129 bold 1128 ballet 1127 comparatively 1127 pig 1127 seemingly 1127 trustees 1127 upright 1127 causal 1126 decisive 1126 oven 1126 bargaining 1125 flood 1125 folded 1125 ash 1124 embarrassed 1124 mate 1124 trophy 1124 dick 1123 founder 1123 privately 1123 abruptly 1122 chap 1122 defensive 1122 orthodox 1122 toilet 1122 blues 1121 regulatory 1121 update 1121 willingness 1121 battery 1120 blocked 1120 cognitive 1120 communists 1120 initiated 1120 instructed 1120 lined 1120 probable 1120 traders 1120 buses 1119 disturbing 1118 kindly 1118 marxist 1118 inclusion 1117 presidency 1117 protests 1117 seasons 1117 viewing 1117 intake 1116 pensioners 1116 rolls 1116 squadron 1116 basket 1115 BC 1115 compatible 1115 deputies 1115 doubled 1115 EEC 1115 horizontal 1115 revival 1115 breasts 1114 eighth 1114 ours 1114 outlook 1114 adverse 1113 borrow 1113 usage 1113 worries 1113 invented 1112 reproduction 1112 retreat 1112 consult 1111 questionnaire 1111 seventeenth 1111 implicit 1110 Liz 1110 loaded 1110 protecting 1110 suite 1110 Harold 1108 calculations 1107 Julie 1107 syndrome 1107 array 1106 cows 1106 punch 1106 lion 1105 panels 1105 rebels 1105 useless 1105 fame 1104 fires 1104 Juliet 1104 unacceptable 1104 consulted 1103 developers 1103 sickness 1103 lend 1102 policemen 1102 advances 1101 criticisms 1101 frowned 1101 Virginia 1101 offenders 1100 gothic 1099 guessed 1099 hut 1099 invisible 1099 rage 1099 trail 1099 chambers 1098 Willie 1098 cigarettes 1097 convey 1096 questioning 1096 civilian 1095 floors 1095 margins 1095 relaxation 1095 tragic 1094 Christie 1093 scholars 1093 admits 1092 advertisement 1092 decorated 1092 perceptions 1092 albeit 1091 Harriet 1091 jewellery 1091 adequately 1090 booking 1090 disadvantage 1090 dropping 1090 optimistic 1090 zones 1090 architects 1089 assigned 1089 likewise 1089 rally 1088 rewards 1088 Robyn 1088 valuation 1088 holdings 1087 passages 1087 soup 1087 unaware 1087 headmaster 1086 highlight 1086 holders 1086 resting 1086 Ron 1085 confirmation 1084 sponsorship 1084 spreading 1084 belongs 1083 coupled 1083 financing 1083 Indians 1083 laying 1083 recipe 1083 attributes 1082 sincerely 1082 coffin 1081 coin 1081 feedback 1081 parameters 1081 theology 1081 Alison 1080 assignment 1080 confronted 1080 purchasing 1080 assessments 1079 owl 1079 prints 1079 width 1079 Hampshire 1078 renaissance 1078 shining 1078 takeover 1078 indicators 1077 pronounced 1077 abolition 1076 checks 1076 ignoring 1076 pretend 1075 priests 1075 static 1075 troubled 1075 whoever 1075 critic 1074 fashionable 1074 negotiation 1074 redundant 1074 Sara 1074 telegraph 1074 broadcast 1073 enclosed 1073 incurred 1073 ladder 1073 lengthy 1073 old-fashioned 1073 planted 1073 provinces 1073 soap 1073 amnesty 1071 ethical 1071 fits 1071 sin 1071 licensed 1070 propaganda 1070 shifts 1070 bunch 1069 disciplines 1069 practitioner 1069 appearances 1068 cabin 1068 Constance 1068 respectable 1068 borne 1066 incorporate 1066 lean 1066 patience 1066 silently 1066 youngest 1066 corps 1065 flies 1065 jeans 1065 marking 1065 prosperity 1065 defender 1064 safer 1064 leaflet 1063 restrict 1063 rounds 1063 subjective 1063 convince 1062 destination 1062 ignorance 1062 mistaken 1062 temper 1062 deserted 1061 goodbye 1061 horrible 1061 strengths 1061 camps 1060 imposing 1060 legally 1060 Phillips 1060 saint 1060 stare 1060 tons 1060 aesthetic 1059 dominance 1059 exotic 1059 invite 1059 photography 1059 concentrating 1058 Emma 1058 Harvey 1058 reconstruction 1058 corn 1057 lemon 1057 preservation 1057 ranges 1057 Romania 1057 shelves 1057 sits 1057 restraint 1056 Charlotte 1055 comic 1055 executed 1055 receipt 1055 seminar 1055 Darwin 1054 lace 1054 pigs 1054 pipes 1054 reduces 1054 declining 1053 illustration 1053 renewal 1053 collector 1052 Herbert 1052 Los_Angeles 1052 atomic 1051 defences 1051 lovers 1051 slim 1051 venue 1051 Craig 1050 forgot 1050 tips 1050 costly 1049 pricing 1049 Alfred 1048 ambassador 1048 colony 1048 labels 1048 responding 1048 revision 1048 comparing 1047 Czechoslovakia 1046 efficiently 1046 jointly 1046 modelling 1046 heels 1045 Suffolk 1045 Aberdeen 1044 cooked 1044 flames 1044 lexical 1044 portion 1044 serial 1044 subsidies 1044 awake 1043 canvas 1043 cautious 1043 cupboard 1043 inability 1043 Lebanon 1043 apparatus 1042 ideally 1042 scarlet 1042 Cooper 1041 drain 1040 guys 1040 pilots 1040 Caribbean 1039 evolutionary 1039 grid 1039 intends 1039 Maastricht 1039 thorough 1039 analysts 1038 annually 1038 kilometres 1038 nearer 1038 colourful 1037 fond 1037 bombs 1035 ft. 1034 trades 1034 realizing 1033 carved 1032 interactions 1032 occurrence 1032 recordings 1032 tiles 1032 earning 1031 protested 1031 proving 1031 submission 1031 curiosity 1030 disastrous 1030 Eleanor 1030 incredible 1030 majesty 1030 switching 1030 Tokyo 1030 arbitrary 1029 coherent 1029 immigration 1029 reporter 1029 provoked 1028 clarity 1027 minerals 1027 miserable 1027 nerves 1027 porter 1027 respondents 1027 Shah 1027 witnessed 1027 appealing 1026 cheerful 1026 depths 1026 forgive 1026 individually 1026 lorry 1026 racism 1026 timetable 1026 drift 1025 foolish 1025 infected 1025 penalties 1025 electorate 1024 sang 1024 sustain 1024 warn 1024 wines 1024 editorial 1023 highlights 1023 prejudice 1023 screaming 1023 writings 1023 concessions 1022 vice 1022 negotiate 1021 boxing 1020 descent 1020 needles 1020 rode 1020 solidarity 1020 counting 1019 hunger 1019 insofar_as 1019 ports 1019 psychiatric 1019 realm 1019 Sally 1019 sovereign 1019 anonymous 1018 cameras 1018 cancelled 1018 goodness 1018 heated 1018 oz. 1018 pact 1018 redundancy 1018 specimen 1018 aha 1017 compound 1017 modification 1017 regiment 1017 Cleveland 1016 fry 1016 highlighted 1016 intimate 1016 mercury 1016 brigade 1015 Murray 1015 dilemma 1014 dual 1014 photographer 1014 tempted 1014 dock 1013 fax 1013 forecast 1013 Gabriel 1013 hiding 1013 admired 1012 crashed 1012 formidable 1012 owe 1012 pin 1012 politician 1012 vegetation 1012 cave 1011 decrease 1010 differing 1010 sticks 1010 angrily 1009 instinct 1009 tutor 1009 wiped 1009 Chicago 1008 clash 1008 interpretations 1008 pose 1008 temptation 1008 adjust 1007 bastard 1007 draws 1007 protocol 1007 sentenced 1007 flash 1006 illustrates 1006 max 1006 remedies 1006 repairs 1006 reversed 1006 signature 1006 charts 1005 databases 1005 gradual 1005 damn 1004 stem 1004 Trent 1004 airline 1003 exceed 1003 graduates 1003 terribly 1003 thumb 1003 expedition 1001 mainland 1001 polls 1001 axis 1000 calculation 1000 delightful 1000 dot 1000 Joyce 1000 prizes 1000 tent 1000 twins 1000 journals 999 laboratories 999 pools 999 confidential 998 organisms 998 appraisal 997 Coventry 997 gospel 997 legacy 997 photo 997 polite 997 bitterly 996 genius 996 hello 996 sigh 996 unchanged 996 flown 995 mistress 995 priced 995 blown 994 closest 994 delicious 994 glorious 994 hollow 994 orientation 994 Palestinian 994 winding 994 fury 993 indirectly 993 practising 993 addressing 992 failures 992 overhead 992 pains 992 truck 992 autonomous 991 challenges 991 contacted 991 heroes 991 mist 991 occupy 991 bride 990 disciplinary 990 ordering 990 listing 989 rested 989 stretching 989 sweeping 989 assembled 988 biology 988 ferry 988 medal 988 wartime 988 grin 987 jersey 987 reluctance 987 bothered 986 hay 986 omitted 986 organs 986 acids 985 diamond 984 fever 984 invention 984 gaps 982 gazed 982 Portugal 982 shepherd 982 practised 981 projected 981 retire 981 beam 980 blanket 980 calendar 980 exchanges 980 searched 980 strengthened 980 breathe 979 census 979 corporations 979 lighter 979 obscure 979 conspiracy 978 jaw 978 mask 978 smallest 978 teenage 978 Trevor 978 ulcer 978 answering 977 configuration 977 log 977 parked 977 strengthen 977 utility 977 warming 977 bladder 976 conceived 976 cups 976 halfway 976 shit 976 actress 975 conceptual 975 limbs 975 neglected 975 outdoor 975 tenth 975 armies 974 eventual 974 laser 974 accompanying 973 atoms 973 gall 973 geological 973 sank 973 amid 972 constitutes 972 HP 972 jokes 972 loves 972 Marcus 972 movies 972 pulse 972 woodland 971 ashamed 970 Eddie 970 privacy 970 vocational 970 emailinc ### emailing? 969 mice 969 purple 969 aluminium 968 shy 968 solved 967 elbow 966 settings 966 slopes 966 stems 966 missiles 965 salvation 965 bankruptcy 964 enjoyment 964 ensured 964 monarchy 964 bite 963 fur 963 pour 963 reorganization 963 scared 963 toys 963 assumes 962 commentators 962 jail 962 lump 962 pencil 962 rabbits 962 associate 961 colonies 961 dominate 961 girlfriend 961 nationalism 961 plea 961 resentment 961 followers 960 helicopter 960 mercy 960 motorway 960 referee 960 abandon 959 chat 958 ha 958 merchants 958 pursuing 958 blade 957 comprising 957 phases 957 worlds 957 imaginative 956 incentives 956 motives 956 outset 956 rob 956 strongest 956 Venice 956 calculate 955 disclosure 955 classified 954 constituted 954 Gilbert 954 traced 954 burnt 953 innovative 953 stating 953 audiences 952 fort 952 plasma 952 poorly 952 cease 951 flame 951 injection 951 Lea 951 Lisa 951 manufactured 951 organizers 951 simplest 951 spelling 951 Sydney 951 advertisements 950 eldest 950 fantastic 950 grim 950 motive 950 preparations 950 skull 950 rebellion 949 warrant 949 bizarre 948 extends 948 flour 948 mounting 948 speeches 948 tours 948 Ted 947 hatred 946 vivid 946 Collins 945 Pete 945 rat 945 crushed 944 lacked 944 planes 944 prolonged 944 spontaneous 944 surgeon 944 Texas 944 drainage 943 ministerial 943 vanished 943 absorption 942 Athens 942 CD 942 Geneva 942 prevalence 942 develops 941 hardy 941 preferences 941 sacrifice 941 Sophie 941 stamp 941 tapes 941 tear 941 ambitions 940 surrender 940 tensions 940 unusually 940 infrastructure 939 metals 939 shoe 939 sweat 939 yacht 938 copyright 937 jazz 936 knight 936 satisfying 936 Br. 935 ego 935 heir 935 meaningful 935 aspirations 934 exile 934 fulfil 934 honestly 934 immune 934 pint 934 ringing 934 supplementary 934 Al 933 defining 933 flowing 933 equations 932 grammatical 932 mixing 932 shield 932 unwilling 932 amendments 931 flung 930 loudly 930 right-wing 930 trusted 930 economically 929 folly 929 hitting 929 illustrations 929 Kenya 929 Maurice 929 miracle 929 confrontation 928 maker 928 noting 928 participating 928 solo 928 fruits 927 Newman 927 prayers 927 resisted 927 revenge 927 courtesy 926 dug 926 echo 926 exploring 926 aviation 925 electron 925 indigenous 925 Telecom 925 chopped 924 exploit 924 peaks 924 recognizes 924 recycling 924 reminder 924 threshold 924 unsuccessful 924 abolished 923 dividends 923 Prague 923 vigorous 923 Arabia 922 heights 922 researcher 922 salad 922 sorted 922 booklet 921 designers 921 Leonard 921 ml. 921 offshore 921 withdrew 921 credibility 920 crews 920 employing 920 offspring 920 prestige 920 pump 920 reasoning 920 beaches 919 defended 919 heather 919 reservations 919 rocky 919 duly 918 termed 918 wrist 918 aloud 917 co-operative 917 duck 917 graph 917 wounds 917 Ed 916 Egyptian 916 secular 916 unreasonable 916 exchanged 915 exemption 915 methodology 915 puzzled 915 sixteenth 915 delays 914 merits 914 cage 913 clue 913 commands 913 generating 913 guides 913 mammals 913 strangely 913 allegedly 912 combining 912 deprived 912 Ellen 912 guarantees 912 promptly 912 videos 912 Americas 911 behavioural 911 default 911 emerges 911 faithful 911 lid 911 outcomes 911 presently 911 rhetoric 911 daylight 910 trainer 910 hip 909 horn 909 hurried 909 lawn 909 Meredith 909 momentum 909 naive 909 sexually 909 spine 909 arrow 908 husbands 908 liaison 908 multimedia 907 bleeding 906 hook 906 weaknesses 906 activists 905 outbreak 905 tel 905 amusement 904 Denis 904 echoed 904 privileges 904 texture 904 vendors 904 privileged 903 toes 903 tubes 903 unclear 903 Clive 902 habitat 902 aboard 901 appalling 901 combinations 901 communism 901 composer 901 limitation 900 smoothly 900 steering 900 patent 899 romance 899 boyfriend 898 fighter 898 fortunes 898 magnitude 898 notions 898 Swedish 898 wheat 898 constructive 897 Jacques 897 swan 897 Claudia 896 hemisphere 896 consistency 895 keyboard 895 literacy 895 refuge 895 RNA 895 simpler 895 stir 895 Windsor 895 capabilities 894 casualties 894 Christine 894 firing 894 parade 894 provisional 894 unionists 894 peripheral 893 rating 893 reads 893 admiration 892 asylum 892 exit 892 GP 892 marsh 892 restructuring 892 transmitted 892 analogy 891 dies 891 uneasy 891 vaguely 891 greenhouse 890 Gregory 890 homeless 890 Jerusalem 890 opposing 890 packet 890 derive 889 seated 889 decoration 888 pine 888 predictable 888 supermarket 888 dense 887 insists 887 irony 887 intercourse 886 brochure 885 carol 885 cylinder 885 drag 885 embarrassing 885 successes 885 tumour 885 decorative 884 dirt 884 liberals 884 needing 884 Nelson 884 shells 884 translated 884 Argentina 883 assisted 883 bow 883 declare 883 linen 883 lobby 883 norm 883 viable 883 absurd 882 governed 882 optical 882 Cheshire 881 cleaned 881 covenant 881 flora 881 forestry 881 jungle 881 Milan 881 quantitative 881 stakes 881 strangers 881 unrest 881 bang 880 simplicity 880 technically 880 daddy 879 incidentally 879 morale 879 nuisance 879 aiming 878 controller 878 sealed 877 slower 877 sofa 877 whites 877 assure 876 liabilities 876 dairy 875 frames 875 quarry 875 enforce 874 gloom 874 reckoned 874 scent 874 commissioners 873 ironically 873 prevailing 873 bucket 872 builder 872 builders 872 chorus 872 stresses 872 Indies 871 mighty 871 predecessor 871 troubles 871 vegetable 871 ancestors 870 attainment 870 deer 870 evaluate 870 motivated 870 Ralph 870 revelation 870 securing 870 syntactic 870 stimuli 869 sunny 869 balcony 868 ballot 868 civic 868 conflicting 868 pots 868 reluctantly 868 Bosnia 867 Hungarian 867 memorandum 867 reinforce 867 businessmen 866 cliffs 866 counterparts 866 illusion 866 weekends 866 attacking 865 bells 865 cleaner 865 instrumental 865 metaphor 865 peat 865 pottery 865 Iranian 864 loads 864 pepper 864 photographic 864 salaries 864 fist 863 fossil 863 ram 863 burial 862 cracked 862 occupations 862 repetition 862 swinging 862 Arnold 861 saints 861 endorsed 860 enforced 860 Singapore 860 sodium 860 squeeze 860 squeezed 860 agony 859 congregation 859 contractual 859 gardening 859 madame 859 domination 858 eliminate 858 inspectors 858 judgements 858 lecturer 858 merit 858 scholarship 858 announce 857 energies 857 facilitate 857 forbidden 857 foreigners 857 membrane 857 ruined 857 seasonal 857 veteran 857 conceded 856 disappointing 856 Florence 856 loop 856 motif 856 pence 856 innocence 855 pie 855 principally 855 restrictive 855 shifting 855 businessman 854 chiefs 854 convenience 854 municipal 854 stepping 854 trustee 854 yields 854 bureaucratic 853 constituent 853 hood 853 lone 853 prisons 853 reed 853 accountant 852 agrees 852 infinite 852 interfere 852 intervene 852 probe 852 stunning 852 completing 851 curiously 851 detection 851 perceive 851 critique 850 debtor 850 fringe 850 harvest 850 heroin 850 screens 850 statue 850 yarn 850 armour 849 dared 849 hospitality 849 selecting 849 summoned 849 theirs 849 contemporaries 848 feminists 848 secretion 848 unexpectedly 848 attractions 847 exceeded 847 fucking 847 per_annum 847 planners 847 ruler 847 Ukraine 847 voltage 847 aquarium 846 archaeological 846 exceptionally 846 Syria 846 velocity 846 verb 846 wandered 846 comfortably 845 deadline 845 fragment 845 reliance 845 riot 845 adjusted 844 commodity 844 demonstrates 844 differentiation 844 nitrogen 844 patches 844 similarities 844 sleeve 844 Whitehall 844 clerical 843 formulation 843 hammer 843 comprises 842 continuously 842 departmental 842 extensively 842 housed 842 lung 842 marathon 842 Palestine 842 conversations 841 delivering 841 distances 841 enjoyable 841 ensures 841 Muslim 841 professions 841 shades 841 summarized 841 versus 841 convert 840 gases 840 notorious 840 owns 840 paradise 840 bourgeois 839 brains 839 canon 839 citizenship 839 cult 839 noisy 839 plaintiffs 839 proportional 839 rainbow 839 bargain 838 dealings 838 deserves 838 passionate 838 supplying 838 casting 837 choir 837 compounds 837 eyebrows 837 freight 837 resign 837 whatsoever 837 airlines 836 functioning 836 proceeded 836 blowing 835 brushed 835 headings 835 highway 835 metre 835 patronage 835 prose 835 viewpoint 835 charities 834 frightening 834 par 834 pouring 834 rangers 834 realism 834 shields 834 tucked 834 frontier 833 ninth 833 poets 833 psychologists 833 stained 833 viewers 833 detached 832 disadvantages 832 missile 832 precedent 832 towers 832 vacuum 832 appropriately 831 borrowed 831 mechanics 831 policing 831 stitches 831 ankle 830 featuring 830 Indonesia 830 jealous 830 neglect 830 savage 830 supposedly 830 tense 830 warehouse 830 accord 829 consortium 829 curves 829 licences 829 rider 829 stirred 829 threaten 829 appetite 828 papal 828 poorer 828 sliding 828 maid 827 norms 827 slave 827 appoint 826 clearer 826 fifties 826 intestinal 826 ambiguity 825 glimpse 825 squares 825 Thailand 825 packing 824 riots 824 streams 824 talents 824 altar 823 Amsterdam 823 arrives 823 clues 822 cries 822 gloves 822 commentary 821 livestock 821 seventies 821 stadium 821 teenagers 821 manipulation 820 sampling 820 administered 819 chalk 819 clearance 819 defects 819 documentary 819 ethics 819 Francisco 819 frost 819 interactive 819 overview 819 costing 818 differential 818 implementing 818 slightest 818 staircase 817 transit 817 treatments 817 bombing 816 capability 816 fined 816 trivial 816 unprecedented 816 virtual 816 dolphins 815 lieutenant 815 sells 815 staged 815 unlawful 815 decides 814 herbs 814 noises 814 Romans 814 Serbian 814 subordinate 814 urgency 814 bankers 813 footsteps 813 recreation 813 accomplished 812 blast 812 booked 812 offset 812 pleaded 812 aroused 811 maintains 811 quantum 811 assertion 810 cart 810 manpower 810 recruit 810 beast 809 carpets 809 happier 809 joints 809 wee 809 battles 808 dwellings 808 pits 808 retaining 808 amounted 807 approve 807 cakes 807 Celtic 807 contributing 807 cottages 807 deprivation 807 disorders 807 modifications 807 traveller 807 constituents 806 detention 806 quicker 806 updated 806 acquiring 805 disruption 805 frustrated 805 infants 805 litigation 805 tones 805 gazing 804 oppose 804 solving 804 weights 804 advocated 803 complications 803 exclaimed 803 possessions 803 alterations 802 ambiguous 802 analysing 802 economists 802 Florida 802 shaft 802 sweep 802 workstations 802 associates 801 drum 801 filed 801 refugee 801 retention 801 scream 801 tops 801 velvet 801 fundamentally 800 portable 800 smiles 800 arena 799 lotus 799 solitary 799 speeds 799 exchequer 798 microsystems 798 stimulate 798 twelfth 798 fragile 797 resumed 797 experiencing 796 feast 796 graduate 796 locks 796 mains 796 optimism 796 wicked 796 bricks 795 complementary 795 dragon 795 embedded 795 immigrants 795 rehabilitation 795 bleak 794 Danish 794 embrace 794 exaggerated 794 excluding 794 fiercely 794 irrespective_of 794 lining 794 promoter 794 tiger 794 dependency 793 printers 793 weird 793 adapt 792 arctic 792 cork 792 faults 792 leap 792 stripped 792 counsel 791 honourable 791 manuscript 791 trembling 791 weaving 791 criminals 790 enters 790 frankly 790 holly 790 nationwide 790 cheques 789 coincidence 789 moor 789 vicar 789 certificates 788 decay 788 establishments 788 Madrid 788 memorable 788 stimulation 788 mandatory 787 Rev 787 strands 787 treasure 787 villagers 787 creativity 786 inhibition 786 libel 786 bulletin 785 defending 785 eased 785 erected 785 lets 785 onset 785 inferior 784 cargo 783 colon 783 courtyard 783 Croatia 783 feasible 783 tissues 783 disturbance 782 elephant 782 hastily 782 inserted 782 lungs 782 nicely 782 doubtless 781 eighties 781 injunction 781 insistence 781 loses 781 realities 781 replies 781 treasurer 781 similarity 780 attach 779 barrel 779 companions 779 container 779 magical 779 analytical 778 celebrations 778 contractors 778 incapable 778 biopsy 777 legislature 777 posters 777 seas 777 sulphur 777 vicious 777 grades 776 cluster 775 customary 775 hedge 775 indicator 775 noticeable 775 skipper 775 urgently 775 Vincent 775 void 775 awaiting 774 torch 774 unfamiliar 774 utterance 774 investor 773 isles 773 limestone 773 nominal 773 vitamin 773 workplace 773 Catholics 772 decree 772 ivory 772 nationally 772 rewarded 772 talented 772 wording 772 brandy 771 dumped 771 fetch 771 financially 771 pending 771 predictions 771 accumulation 770 invaluable 770 tablets 770 travels 770 valleys 770 boiling 769 gossip 769 astonishing 768 encourages 768 exploded 768 limiting 768 lions 768 plausible 768 studios 768 transfers 768 adopting 767 greens 767 landowners 767 proposing 767 rotation 767 theorists 767 understandable 767 ample 766 antibodies 766 mankind 766 minorities 766 denying 765 disclosed 765 distinctly 765 dozens 765 indoor 765 peered 765 slice 765 symmetry 765 toy 765 urine 765 biography 764 prone 764 rude 764 Boston 763 halls 763 radioactive 763 touring 763 accepts 762 calories 762 locals 762 longest 762 observing 762 recruited 762 rendered 762 Taiwan 762 creditor 761 harmful 761 miniature 761 packaging 761 plaster 761 platforms 761 administrators 760 advent 760 complaining 760 curved 760 eternal 760 judging 760 mainframe 760 oils 760 segments 760 slipping 760 wardrobe 760 agreeing 759 cycles 759 entertaining 759 hips 759 tastes 759 accountancy 758 contradiction 758 kin 758 monks 758 shone 758 token 758 amazed 757 favourites 757 ink 757 outlets 757 sociological 757 socks 757 souls 757 Greeks 756 inquiries 756 siege 756 vested 756 abnormal 755 amused 755 constituencies 755 essays 755 GDP 755 minimize 755 profitability 755 sideways 755 specifications 755 academics 754 bridges 754 dancers 754 enquired 754 feathers 754 organism 754 peers 754 reactor 754 heavier 753 indications 753 wonders 753 buttons 752 commissions 752 conversely 752 deceased 752 detectives 752 fork 752 gut 752 historically 752 ratios 752 rebel 752 anticipation 751 butcher 751 dig 751 disagreement 751 ecclesiastical 751 enormously 751 helpless 751 lightning 751 phoned 751 basement 750 continuation 750 cultivation 750 cycling 750 goodwill 750 stool 750 adaptation 749 editors 749 finals 749 qualifying 749 remembers 749 placement 748 thread 748 ulcerative 748 baron 747 bilateral 747 bosses 747 consequent 747 contrasts 747 democrat 747 differs 747 imminent 747 Peru 747 predators 747 quest 747 surgical 747 wildly 747 authentic 746 left-wing 746 outfit 746 compensate 745 stealing 745 veins 745 bicycle 744 chartered 744 fittings 744 marriages 744 permits 744 supportive 744 wolf 744 dissolution 743 p.c. 743 potent 743 reliability 743 shattered 743 attachment 742 blonde 742 trigger 742 arranging 741 descended 741 insights 741 quota 741 screamed 741 settling 741 springs 741 wary 741 belly 740 justices 740 molecule 740 moss 740 amended 739 glow 739 histories 739 paragraphs 739 apples 738 runners 738 secretaries 738 sticking 738 tipped 738 vacant 738 analyst 737 civilians 737 coaches 737 towel 737 destructive 736 distorted 736 longing 736 mould 736 nuts 736 slaves 736 biblical 735 coaching 735 developer 735 focusing 735 librarian 735 recovering 735 unwanted 735 beard 734 bodily 734 clarify 734 financed 734 fluctuations 734 purchases 734 radically 734 slowed 734 surveillance 734 batch 733 conspicuous 733 drawer 733 hazard 733 premature 733 progressively 733 ventures 733 lacks 732 hectares 731 cherry 730 complement 730 disks 730 dislike 730 gown 730 patron 730 praised 730 teenager 730 terrified 730 warfare 730 destroying 729 enzyme 729 fog 729 node 729 parted 729 riders 729 subscription 729 symphony 729 Vietnamese 729 devastating 728 heel 728 ideals 728 inviting 728 postgraduate 728 prediction 728 superficial 728 behaved 727 candle 727 consultancy 727 debris 727 destined 727 episodes 727 insect 727 mosaic 727 petty 727 proven 727 sights 727 vein 727 wit 727 would-be 727 counterpart 726 deadly 726 grazing 726 pragmatic 726 tricks 726 charging 725 correspond 725 divisional 725 madness 725 tightened 725 toast 725 workstation 725 discharged 724 lamps 724 proliferation 724 extracts 723 queue 723 sandwich 723 seminars 723 stern 723 thirdly 723 weighed 723 wickets 723 calmly 722 ceasefire 722 duchess 722 Georgian 722 inequality 722 valve 722 additions 721 co-ordination 721 edited 721 proves 721 recalls 721 startled 721 whichever 721 admire 720 biscuits 720 distinctions 720 fare 720 leapt 720 releases 720 scenery 720 contracting 719 scratch 719 shorts 719 coping 718 corpse 718 docks 718 Georgia 718 handy 718 inquest 718 strips 718 systematically 718 triangle 718 civilized 717 dividing 717 equals 717 synthetic 717 welcoming 717 clinics 716 marched 716 monarch 716 portraits 716 preceded 716 sack 716 shareholder 716 fold 715 MIPS 715 optimal 715 providers 715 traces 715 unsatisfactory 715 youths 715 cruise 714 forecasts 714 freezing 714 hazards 714 plunged 714 poison 714 reckons 714 spray 714 cellular 713 innovations 713 locomotive 713 lordship 713 trinity 713 umbrella 713 announcing 712 drying 712 levy 712 PLO 712 progression 712 rents 712 theological 712 Cuba 711 knit 711 leaflets 711 maxim 711 optional 711 problematic 711 raids 711 reconciliation 711 sadness 711 severity 711 bowed 710 consultative 710 fuss 710 glowing 710 religions 710 reservoir 710 bushes 709 fisheries 709 franchise 709 garlic 709 incorporating 709 infinitive 709 nobility 709 obstacles 709 thigh 709 trunk 709 warnings 709 cape 708 chasing 708 incredibly 708 journeys 708 knocking 708 manners 708 passport 708 sceptical 708 brightly 707 destiny 707 hats 707 marxism 707 singles 707 superiority 707 backgrounds 706 concerts 706 fellowship 706 hygiene 706 kicking 706 lunchtime 706 manifesto 706 procedural 706 bat 705 confusing 705 convictions 705 terrorist 705 violently 705 workings 705 ally 704 benefited 704 brow 704 diagnostic 704 Europeans 704 overlooking 704 tapped 704 diarrhoea 703 factual 703 foliage 703 gratitude 703 icing 703 murderer 703 segment 703 suffers 703 cholesterol 702 demonstrating 702 headlines 702 humble 702 Nigeria 702 notebook 702 refuses 702 toll 702 angels 701 concealed 701 dreamed 701 exam 701 jumping 701 potato 701 repayment 701 conducting 700 denial 700 pretending 700 coral 699 demonstrators 699 easiest 699 faintly 699 sheriff 699 testimony 699 impulse 698 narrowed 698 Nazi 698 accustomed 697 containers 697 facade 697 sufferers 697 taxpayer 697 deserved 696 monitored 696 ratings 696 sanctuary 696 slender 696 weaker 696 editing 695 fairy 695 formulated 695 insider 695 maternal 695 painters 695 brands 694 collectors 694 dietary 694 disagree 694 tolerance 694 tribe 694 arch 693 casually 693 deterioration 693 editions 693 lanes 693 staffing 693 births 692 candles 692 currencies 692 fabrics 692 patrol 692 shaken 692 enjoys 691 geology 691 grand_prix 691 inputs 691 originated 691 recorder 691 recurrent 691 smashed 691 Sri_Lanka 691 consecutive 690 discs 690 evenly 690 frequencies 690 guitars 690 legitimacy 690 personalities 690 Philippines 690 photos 690 archaeology 689 demographic 689 honorary 689 soils 689 steward 689 supporter 689 blessing 688 commanded 688 concludes 688 issuing 688 landlords 688 lately 688 lent 688 pastoral 688 platelet 688 sticky 688 mergers 687 prevents 687 progressed 687 sewage 687 vigorously 687 vocal 687 zoo 687 depot 686 divorced 686 emphasizes 686 irregular 686 stole 686 supervisor 686 communal 685 cynical 685 faction 685 fibres 685 magistrate 685 amusing 684 bail 684 beginnings 684 dolphin 684 well-being 684 arisen 683 breathed 683 cruelty 683 infections 683 lb. 683 polymer 683 rests 683 thighs 683 bees 682 diploma 682 outright 682 sandwiches 682 superintendent 682 anthropology 681 guild 681 lazy 681 perspectives 681 readings 681 cumulative 680 Czech 680 flooding 680 insert 680 Persian 680 Plymouth 680 reproductive 680 revolt 680 thirties 680 Zambia 680 exhibited 679 feminine 679 preferable 679 Barcelona 678 connect 678 denies 678 economist 678 forgetting 678 politely 678 thickness 678 transcription 678 volcanic 678 favours 677 grab 677 handing 677 marital 677 oneself 677 touches 677 plainly 676 transitional 676 whales 676 widened 676 beg 675 glared 675 penal 675 purity 675 shirts 675 transparent 675 tribal 675 trio 675 unification 675 waving 675 bury 674 exploited 674 kettle 674 stitch 674 urging 674 veterinary 674 currents 673 explosive 673 ignorant 673 moisture 673 sponsors 673 survivors 673 accompany 672 asserted 672 coats 672 dumb 672 hamlet 672 headache 672 textile 672 caravan 671 desires 671 excellence 671 maths 671 perfection 671 robbery 671 antique 670 chiefly 670 downwards 670 Englishman 670 gardener 670 granting 670 Libya 670 monument 670 tutors 670 compiled 669 contradictions 669 jam 669 nephew 669 notwithstanding 669 surveyor 669 terminals 669 unstable 669 brewery 668 inflammatory 668 mornings 668 narrowly 668 numerical 668 oppression 668 slammed 668 acquisitions 667 aftermath 667 celebrating 667 classics 667 corridors 667 impressions 667 particle 667 predecessors 667 resistant 667 sore 667 suitably 667 tweed 667 alteration 666 crisp 666 designing 666 drained 666 incomplete 666 retailers 666 spends 666 adjustments 665 bitch 665 contradictory 665 defective 665 doses 665 ecological 665 fighters 665 oddly 665 overlap 665 retrieval 665 undermine 665 arbitration 664 darker 664 factions 664 relying 664 rulers 664 sensed 664 thieves 664 censorship 663 nationality 663 procession 663 servers 663 unlimited 663 casualty 662 contracted 662 halted 662 insisting 662 ironic 662 poetic 662 scholar 662 therapist 662 airways 661 armchair 661 hazardous 661 lesbian 661 retains 661 rushing 661 thief 661 eagerly 660 finely 660 processors 660 rooted 660 Sundays 660 terrorists 660 BA 659 bitterness 659 blessed 659 comprise 659 energetic 659 feminism 659 locate 659 oracle 659 R&D 659 ruins 659 topped 659 brutal 658 contractor 658 donations 658 prosperous 658 surge 658 demise 657 dubious 657 fastest 657 internationally 657 investigators 657 strains 657 terminology 657 waiter 657 adjoining 656 compelled 656 dusty 656 heap 656 kite 656 lifts 656 robust 656 tendencies 656 wires 656 binary 655 elementary 655 impatient 655 Khan 655 Malaysia 655 pardon 655 regression 655 ruin 655 sexes 655 snake 655 tyres 655 fearful 654 finances 654 repression 654 residual 654 subsidy 654 exercising 653 partnerships 653 referral 653 socialists 653 alcoholic 652 disabilities 652 discomfort 652 disguise 652 framed 652 prestigious 652 releasing 652 accumulated 651 attorney 651 deficiency 651 dementia 651 duodenal 651 imposition 651 odour 651 Oriental 651 susceptible 651 aerospace 650 archives 650 dismiss 650 fairness 650 garment 650 rug 650 vector 650 virtues 650 administrator 649 contention 649 exterior 649 mates 649 nylon 649 polished 649 proclaimed 649 relieve 649 rugs 649 secretly 649 tumours 649 unpredictable 649 admiral 648 descriptive 648 examines 648 imaginary 648 linguistics 648 maternity 648 painfully 648 torture 648 trout 648 clashes 647 enlarged 647 housework 647 locality 647 resemblance 647 contingent 646 honesty 646 induction 646 kindness 646 min. 646 senator 646 thoughtfully 646 transferring 646 accusations 645 delta 645 drill 645 imprisoned 645 reassuring 645 recipient 645 scenario 645 substitution 645 assistants 644 interestingly 644 pudding 644 sailors 644 Cambodia 643 discoveries 643 gel 643 loading 643 Palestinians 643 resolutions 643 uneven 643 unsuitable 643 chill 642 interpreting 642 markedly 642 nets 642 receipts 642 spurs 642 vice_versa 642 treaties 641 voyage 641 artillery 640 cassette 640 circus 640 jockey 640 packs 640 uncommon 640 allegiance 639 buffer 639 incorrect 639 learners 639 plight 639 positioned 639 proximity 639 therapeutic 639 thunder 639 affinity 638 cautiously 638 charitable 638 concession 638 crosses 638 doubted 638 gasped 638 lateral 638 Warsaw 638 grouping 637 indemnity 637 intellectuals 637 objected 637 pledged 637 suspects 637 tenure 637 amp 636 entitlement 636 Finland 636 gauge 636 goalkeeper 636 graphic 636 outsiders 636 pearl 636 poster 636 scarce 636 terrorism 636 twist 636 wilderness 636 clutching 635 flushed 635 freshly 635 half-way 635 handles 635 orbit 635 polar 635 relaxing 635 accidental 634 cemetery 634 deed 634 giants 634 in-house 634 paradox 634 postal 634 secrecy 634 tariff 634 waking 634 discovering 633 drowned 633 lens 633 wandering 633 Belgian 632 catalogues 632 instincts 632 Morse 632 relational 632 rotten 632 skiing 632 stays 632 struggles 632 consulting 631 Cyprus 631 dale 631 fireplace 631 quotation 631 renowned 631 slumped 631 commenced 630 confidentiality 630 documented 630 flashed 630 ineffective 630 tomatoes 630 constraint 629 cracks 629 dome 629 fulfilled 629 jealousy 629 radius 629 shiny 629 subsection 629 yelled 629 Beirut 628 damned 628 nervously 628 nucleus 628 parcel 628 premiums 628 reviewing 628 sinister 628 strode 628 suburbs 628 transform 628 wholesale 628 crust 627 daring 627 detained 627 diabetes 627 fascism 627 horns 627 mansion 627 preferably 627 proceeding 627 retailer 627 worms 627 breakthrough 626 curled 626 disposition 626 inequalities 626 mg 626 singers 626 tore 626 hopeless 625 ongoing 625 richer 625 rubbed 625 schooling 625 emotionally 624 jailed 624 radar 624 rigorous 624 attendant 623 discarded 623 irritation 623 Neville 623 rays 623 regimes 623 roofs 623 Serbs 623 swear 623 variance 623 bolt 622 cloak 622 commercially 622 cord 622 dissolved 622 enthusiasts 622 entities 622 hedges 622 hierarchical 622 navigation 622 Panama 622 runner 622 taxpayers 622 wards 622 landscapes 621 latent 621 Afghanistan 620 cocktail 620 drastic 620 drifted 620 farmhouse 620 jolly 620 monuments 620 dragging 619 gloomy 619 graphical 619 legendary 619 risky 619 sacked 619 spacious 619 spectators 619 Sutherland 619 baths 618 fellows 618 midst 618 scotch 618 spouse 618 emphasizing 617 flooded 617 marker 617 rifle 617 watt 617 weary 617 centrally 616 disturbances 616 eliminated 616 globe 616 hardship 616 litter 616 mug 616 persisted 616 proposes 616 rovers 616 statutes 616 ashore 615 atmospheric 615 centralized 615 conform 615 determines 615 distortion 615 mint 615 prescription 615 strand 615 tenancy 615 twenties 615 Cairo 614 coroner 614 fifteenth 614 guerrillas 614 homosexual 614 impetus 614 noon 614 ribs 614 Salvador 614 skins 614 tactical 614 famine 613 float 613 header 613 reservation 613 stabbed 613 sunk 613 surveyed 613 warden 613 chemist 612 cocaine 612 defect 612 learner 612 fabulous 611 fountain 611 fridge 611 hopeful 611 knot 611 responsive 611 switches 611 thermal 611 bullet 610 inconsistent 610 intrinsic 610 MS-DOS 610 prototype 610 registrar 610 relies 610 suburban 610 swollen 610 trainees 610 trainers 610 dim 609 fascination 609 foam 609 handkerchief 609 pillow 609 admittedly 608 bundle 608 freed 608 labourers 608 novelist 608 obedience 608 retiring 608 rumour 608 shortages 608 apartments 607 corrected 607 dreaming 607 guitarist 607 incompatible 607 obstacle 607 philosophers 607 queries 607 rails 607 scepticism 607 snatched 607 tribes 607 abundance 606 clusters 606 confirms 606 connecting 606 insulin 606 reformers 606 regards 606 stretches 606 summons 606 unpopular 606 constrained 605 evaluated 605 extensions 605 fines 605 focuses 605 newsletter 605 propositions 605 recipes 605 understands 605 fishermen 604 helmet 604 immunity 604 luggage 604 meaningless 604 Mexican 604 mob 604 variants 604 wears 604 accountable 603 conquest 603 deception 603 GPs 603 overlooked 603 parishes 603 skies 603 temples 603 wander 603 arc 602 correction 602 countless 602 emission 602 limb 602 probation 602 absorb 601 ale 601 cancel 601 consciously 601 consumed 601 monastery 601 mutually 601 obsession 601 spun 601 stall 601 supplements 601 tidy 601 Austrian 600 betrayed 600 olive 600 physiological 600 Zimbabwe 600 beforehand 599 competitions 599 cosy 599 electrons 599 elusive 599 GMT 599 governmental 599 hostages 599 immensely 599 recognizable 599 reminds 599 skeleton 599 freeze 598 interruption 598 oval 598 saddle 598 AC 597 bloke 597 discontent 597 drought 597 investing 597 loosely 597 peninsula 597 stimulating 597 unified 597 contamination 596 diagnosed 596 exhibit 596 foul 596 hypotheses 596 imagery 596 playground 596 brackets 595 disco 595 flock 595 glossy 595 Oscar 595 pad 595 performers 595 acceleration 594 climax 594 drilling 594 masculine 594 princes 594 pro 594 sensory 594 speculative 594 dame 593 defenders 593 depressing 593 extremes 593 herd 593 launching 593 postponed 593 simultaneous 593 steal 593 stuffed 593 Baltic 592 counsellor 592 Eden 592 enclosure 592 grasped 592 hesitation 592 inspectorate 592 noun 592 pasture 592 restless 592 ruthless 592 salon 592 breeds 591 developmental 591 drafting 591 finite 591 gestures 591 mandate 591 Serbia 591 spiral 591 apology 590 clerks 590 furnished 590 glancing 590 manages 590 rack 590 rented 590 ribbon 590 upgrade 590 authoritative 589 contaminated 589 disgust 589 earnest 589 explanatory 589 impaired 589 outrage 589 tempting 589 coarse 588 consolidated 588 costume 588 dynamics 588 glucose 588 harmless 588 hosts 588 LP 588 mummy 588 outgoing 588 signalled 588 slate 588 anxiously 587 balloon 587 blows 587 carriers 587 herald 587 piled 587 stalls 587 sufferer 587 beloved 586 boiler 586 dumping 586 expressly 586 lethal 586 palms 586 prohibition 586 Romanian 586 selfish 586 sprang 586 tens 586 victories 586 Yugoslav 586 conveniently 585 donor 585 homework 585 homosexuality 585 Italians 585 processed 585 rim 585 schedules 585 socio-economic 585 admissions 584 calf 584 knights 584 proudly 584 sustainable 584 tomato 584 tomb 584 apt 583 cousins 583 dedication 583 dresses 583 filing 583 liking 583 moors 583 omission 583 spoon 583 bidding 582 bowler 582 compassion 582 defines 582 deposited 582 motions 582 rejecting 582 undergraduate 582 attacker 581 competitor 581 excise 581 planets 581 reporters 581 ripe 581 routines 581 shillings 581 torque 581 wolves 581 cellar 580 injustice 580 muscular 580 photographers 580 prominence 580 residues 580 spreadsheet 580 comprehension 579 fertile 579 genre 579 icy 579 melting 579 reg. 579 triggered 579 wasting 579 abundant 578 gravitational 578 median 578 projection 578 suspicions 578 terrain 578 thy 578 displaying 577 galaxy 577 para 577 rationality 577 undesirable 577 weigh 577 advancing 576 assignments 576 beams 576 cables 576 Munich 576 sentiment 576 typing 576 annoyed 575 conductor 575 declaring 575 downs 575 drums 575 geometric 575 industrialized 575 intending 575 particulars 575 picturesque 575 presidents 575 stark 575 algae 574 arguably 574 craftsmen 574 discretionary 574 Fascist 574 onion 574 quotes 574 sediment 574 shrubs 574 silicon 574 sleeves 574 spectacle 574 summed 574 thoughtful 574 circumstance 573 generic 573 imitation 573 lorries 573 spinning 573 tackling 573 trolley 573 axe 572 bowling 572 broadcasts 572 chooses 572 derives 572 devotion 572 Heathrow 572 housewife 572 journalism 572 madam 572 per_capita 572 purse 572 rehearsal 572 solvent 572 trailing 572 woven 572 barracks 571 danced 571 doll 571 hybrid 571 reminiscent 571 acquaintance 570 arrogant 570 combines 570 distal 570 ghosts 570 indifference 570 instinctively 570 labs 570 Madonna 570 mildly 570 parameter 570 profoundly 570 purchasers 570 cardinal 569 embarked 569 expresses 569 integrate 569 musician 569 readiness 569 specialization 569 unsure 569 vintage 569 abbot 568 caps 568 foremost 568 presentations 568 proprietary 568 tangible 568 thee 568 undertakings 568 ventilation 568 audio 567 ducks 567 jaws 567 predator 567 theatrical 567 alley 566 definitive 566 disbelief 566 fists 566 microscope 566 owes 566 petroleum 566 resume 566 sexy 566 tricky 566 unmarried 566 upheld 566 credits 565 distinguishing 565 furiously 565 librarians 565 muddy 565 nut 565 qualitative 565 repeating 565 sheltered 565 sucked 565 volunteer 565 wrongly 565 asthma 564 blazing 564 chimney 564 curls 564 ecology 564 regeneration 564 sends 564 strokes 564 airfield 563 bowls 563 cheer 563 continual 563 doorstep 563 employs 563 innings 563 interact 563 judgments 563 modify 563 racist 563 slot 563 targeted 563 thou 563 astonished 562 behaving 562 compass 562 equitable 562 industrialization 562 ingredient 562 install 562 murders 562 pioneer 562 poised 562 raced 562 shivered 562 x-ray 562 bin 561 cement 561 composite 561 deterrent 561 expectancy 561 "Hague, The" 561 larvae 561 syntax 561 undertook 561 attributable 560 Chile 560 committing 560 corrupt 560 deeds 560 generosity 560 hid 560 marshal 560 modular 560 Norwegian 560 pleasures 560 sketch 560 archive 559 bald 559 Bulgaria 559 digging 559 ecstasy 559 joins 559 practicable 559 terraces 559 trainee 559 bourgeoisie 558 co-operate 558 drunken 558 goat 558 internally 558 redemption 558 subsidiaries 558 verge 558 alarming 557 crystals 557 disappearance 557 garments 557 inefficient 557 Islam 557 overt 557 confession 556 crane 556 intriguing 556 socket 556 unofficial 556 castles 555 climbers 555 fourteenth 555 fulfilment 555 imperative 555 kitchens 555 Lebanese 555 shine 555 survives 555 t-shirt 555 compression 554 diocese 554 insulation 554 universally 554 whisper 554 algorithm 553 circuits 553 dental 553 hauled 553 indifferent 553 invalid 553 knives 553 long-standing 553 Somalia 553 extracted 552 fender 552 indoors 552 liquor 552 massacre 552 optimum 552 proprietor 552 recruiting 552 recruits 552 web 552 bending 551 complexes 551 coronation 551 dissatisfaction 551 GNP 551 graves 551 hobby 551 hunters 551 loneliness 551 pony 551 syllabus 551 bomber 550 chess 550 conditioning 550 creole 550 crises 550 dusk 550 markers 550 medicines 550 reproduced 550 ski 550 stove 550 conditional 549 disputed 549 floated 549 nationalists 549 organizer 549 persuading 549 precautions 549 batteries 548 boil 548 breadth 548 chord 548 compares 548 drafted 548 elephants 548 gardeners 548 hillside 548 Lithuania 548 philosopher 548 symptom 548 undergoing 548 advising 547 arrows 547 attracting 547 extraction 547 nail 547 ripped 547 sailed 547 unpaid 547 visually 547 assassination 546 Berkeley 546 descending 546 filthy 546 hints 546 humiliation 546 idle 546 Malta 546 nomination 546 obey 546 outlet 546 sparkling 546 whip 546 bacterial 545 collision 545 confessed 545 feudal 545 infinitely 545 instability 545 introduces 545 luckily 545 pathetic 545 sour 545 validation 545 butterfly 544 calculating 544 endorsement 544 extinction 544 granite 544 lenders 544 pipeline 544 profiles 544 registers 544 vicinity 544 benches 543 coupon 543 dwarf 543 eleventh 543 exceeds 543 handwriting 543 heroic 543 intimacy 543 momentarily 543 multinational 543 productions 543 stables 543 theoretically 543 tougher 543 trucks 543 weighing 543 arrears 542 bedside 542 crept 542 missionary 542 mouths 542 outlines 542 refined 542 surgeons 542 artefacts 541 attribute 541 battered 541 conceal 541 identifier 541 listeners 541 portrayed 541 resemble 541 tract 541 uncovered 541 unrelated 541 walkers 541 additionally 540 ammunition 540 Aquitaine 540 bankrupt 540 barley 540 copied 540 dancer 540 Delhi 540 fascinated 540 gradient 540 Harvard 540 Jamaica 540 offender 540 preoccupation 540 rhythms 540 substantive 540 tentative 540 bids 539 chaired 539 deployment 539 effected 539 flourish 539 Kurdish 539 outskirts 539 unveiled 539 basal 538 communion 538 compartment 538 diplomacy 538 donation 538 impatiently 538 invaded 538 Mercedes 538 preoccupied 538 punished 538 redundancies 538 transported 538 wretched 538 activation 537 addictive 537 Baghdad 537 boredom 537 interfaces 537 motors 537 opted 537 rationale 537 rectangular 537 SA 537 stack 537 warmly 537 beads 536 canteen 536 dangerously 536 fares 536 genesis 536 jar 536 penetration 536 seriousness 536 sweater 536 tooth 536 deployed 535 exams 535 identifiable 535 installations 535 ions 535 slices 535 ants 534 epic 534 gateway 534 mantle 534 succeeding 534 crest 533 dam 533 directing 533 grandson 533 guiding 533 picnic 533 piles 533 reacted 533 sorting 533 strained 533 thirteenth 533 tolerate 533 departed 532 gig 532 maritime 532 slides 532 spider 532 stripes 532 theses 532 arrests 531 critically 531 criticize 531 sculptures 531 span 531 teddy 531 wagon 531 commodities 530 compost 530 grimly 530 outrageous 530 participant 530 pill 530 undergone 530 alliances 529 auditor 529 bounds 529 campaigning 529 composers 529 detachment 529 directives 529 informative 529 quotas 529 seamen 529 unrealistic 529 builds 528 cooperative 528 grains 528 grove 528 killings 528 knots 528 obsessed 528 pistol 528 poorest 528 ropes 528 smoked 528 stocking 528 acknowledgement 527 cares 527 farewell 527 frustrating 527 glamorous 527 grouped 527 intensely 527 ministries 527 addiction 526 beats 526 blinked 526 chef 526 Finn 526 loft 526 logically 526 missions 526 moist 526 periodic 526 warrior 526 witch 526 behaviours 525 cheerfully 525 coronary 525 drawers 525 elimination 525 Frankfurt 525 manuscripts 525 Muslims 525 myths 525 Normandy 525 piers 525 reminding 525 repertoire 525 saloon 525 alas 524 banker 524 congressional 524 corresponds 524 environmentally 524 insured 524 in_vitro 524 newcomers 524 ragged 524 sketches 524 skirts 524 strengthening 524 terrific 524 tribunals 524 campus 523 distributor 523 environmentalists 523 guerrilla 523 Luxembourg 523 receptor 523 stewards 523 temporal 523 wheelchair 523 Frenchman 522 incorporates 522 incorporation 522 searches 522 sweets 522 verses 522 Anglican 521 cavalry 521 coldly 521 competitiveness 521 disclose 521 drifting 521 embraced 521 goddess 521 headline 521 judiciary 521 juvenile 521 kidney 521 lime 521 Mars 521 outsider 521 rebuilding 521 satisfactorily 521 scrap 521 shores 521 toe 521 vet 521 assert 520 boiled 520 diagrams 520 excuses 520 interviewer 520 ordeal 520 plots 520 set-up 520 sober 520 theatres 520 whale 520 accessories 519 atom 519 cockpit 519 cultivated 519 infantry 519 sounding 519 sworn 519 treasures 519 uranium 519 warriors 519 acre 518 evaluating 518 hairs 518 mahogany 518 morally 518 nationals 518 nodes 518 oath 518 reversal 518 spectacles 518 tariffs 518 tyre 518 bookings 517 Colombia 517 discounts 517 forecasting 517 melt 517 Portuguese 517 wallet 517 wax 517 accession 516 converting 516 modernisation 516 persist 516 pleasing 516 registry 516 repay 516 sorrow 516 vulnerability 516 baroque 515 deviation 515 frail 515 introductory 515 lavatory 515 signalling 515 sunset 515 upward 515 yielded 515 advisable 514 computerized 514 diversion 514 impress 514 instructor 514 knitted 514 lodged 514 undermined 514 vigour 514 whistle 514 edged 513 entertained 513 haven 513 moustache 513 reef 513 successors 513 supplemented 513 abused 512 anguish 512 contributes 512 fuller 512 gastrointestinal 512 insurers 512 lab 512 reshuffle 512 spheres 512 demolition 511 discreet 511 fuels 511 goats 511 motorists 511 rocket 511 turf 511 briefing 510 demolished 510 eccentric 510 fences 510 frantic 510 handbook 510 inmates 510 lordships 510 mortgages 510 nutrients 510 persuasive 510 scum 510 seals 510 seaside 510 traits 510 warns 510 anal 509 armoured 509 belts 509 biased 509 bulbs 509 inward 509 rebuilt 509 rub 509 semi-final 509 worm 509 commanding 508 descendants 508 ditch 508 implicitly 508 paradigm 508 prevalent 508 rubbing 508 sociologists 508 spy 508 bred 507 cancellation 507 convergence 507 delegated 507 maiden 507 marrying 507 neutrality 507 patriotic 507 reassurance 507 regulated 507 shrine 507 sins 507 threatens 507 back-up 506 contraction 506 fossils 506 identifies 506 junctions 506 pills 506 spin 506 violin 506 crusade 505 insignificant 505 kinship 505 postcard 505 posted 505 sediments 505 status_quo 505 versatile 505 chemists 504 diaries 504 diplomats 504 dismay 504 efficacy 504 generates 504 inventory 504 lambs 504 Morocco 504 applause 503 baseline 503 CIA 503 desperation 503 generalized 503 grandparents 503 induce 503 kissing 503 militant 503 mortar 503 aerial 502 analogous 502 collectively 502 exquisite 502 extraordinarily 502 overs 502 paramount 502 rituals 502 second-hand 502 uniquely 502 barrels 501 buffet 501 buzz 501 confidently 501 Moslem 501 needless 501 peasantry 501 pets 501 radicals 501 sophistication 501 thanked 501 warmer 501 astonishment 500 banner 500 binoculars 500 familiarity 500 fantasies 500 hockey 500 influencing 500 intricate 500 nuns 500 overwhelmingly 500 pier 500 posture 500 PR 500 reassure 500 suitcase 500 tag 500 adventures 499 blend 499 bolts 499 confront 499 disposed 499 housekeeper 499 nominated 499 render 499 rescued 499 retorted 499 royalty 499 assurances 498 careless 498 clinging 498 clung 498 constructing 498 construed 498 finer 498 harassment 498 roar 498 trader 498 transportation 498 arches 497 arithmetic 497 disgusting 497 jackets 497 lesions 497 peering 497 syrian 497 Anglo-Saxon 496 brokers 496 concluding 496 confirming 496 creator 496 diamonds 496 downward 496 en_route 496 estuary 496 junk 496 microphone 496 Petersburg 496 republicans 496 supermarkets 496 turbulent 496 Burma 495 commenting 495 prevailed 495 referrals 495 cannon 494 caves 494 neural 494 pasta 494 recurrence 494 regain 494 stunned 494 underwent 494 watches 494 apprehension 493 ashes 493 dwelling 493 focal 493 paints 493 pillars 493 pre-war 493 staging 493 temperament 493 textiles 493 thirds 493 abdominal 492 amenities 492 aristocracy 492 blades 492 buys 492 domains 492 doomed 492 gangs 492 horrified 492 pensioner 492 picks 492 plateau 492 regulate 492 specificity 492 stimulated 492 unaffected 492 bewildered 491 contrasting 491 debated 491 detector 491 engagements 491 enlightenment 491 facial 491 fumes 491 handbag 491 stereo 491 Africans 490 forgiven 490 gin 490 incoming 490 insolvency 490 inspect 490 notation 490 novelty 490 peas 490 pronunciation 490 reckless 490 richest 490 stamped 490 startling 490 utilities 490 anticipate 489 Beijing 489 closures 489 consume 489 groaned 489 persuasion 489 slump 489 stylistic 489 tearing 489 wireless 489 ads 488 coincided 488 differed 488 dipped 488 fuck 488 idiot 488 laundry 488 lightweight 488 physician 488 plains 488 wastes 488 assemblies 487 co-ordinated 487 coincide 487 honeymoon 487 mutant 487 mysteries 487 stationed 487 Venus 487 aristocratic 486 endowment 486 Euro 486 exceeding 486 expressive 486 geared 486 lasts 486 pesticides 486 pins 486 tails 486 turmoil 486 convent 485 derelict 485 disadvantaged 485 inspected 485 metabolism 485 monkeys 485 perfume 485 proximal 485 reunion 485 scattering 485 anxieties 484 brakes 484 conditioned 484 disapproval 484 dots 484 eruption 484 liquidity 484 Nancy 484 pants 484 pointless 484 pyramid 484 smokers 484 striped 484 tedious 484 trench 484 weeds 484 wicket 484 articulate 483 cans 483 contemplate 483 conveyed 483 heavens 483 misunderstanding 483 multiparty 483 occupants 483 patiently 483 recreational 483 rivalry 483 rods 483 troop 483 adjective 482 badge 482 digestion 482 exempt 482 flux 482 glue 482 liberalism 482 messenger 482 mirrors 482 restrained 482 roared 482 termination 482 altitude 481 blankets 481 broker 481 comprised 481 overwhelmed 481 peer 481 polo 481 preserving 481 quoting 481 reciprocal 481 acoustic 480 await 480 cheers 480 embryo 480 enzymes 480 inference 480 lucrative 480 ooh 480 penis 480 respiratory 480 Sierra 480 spines 480 spokeswoman 480 staining 480 suppression 480 tossed 480 adjusting 479 advancement 479 ascent 479 classrooms 479 contemplated 479 dashed 479 diabetic 479 diets 479 eagles 479 groupings 479 canopy 478 charcoal 478 concentrates 478 confederation 478 contrasted 478 daytime 478 hostel 478 implying 478 inclination 478 lawful 478 nutrition 478 ranged 478 sipped 478 sq.km. 478 wonderfully 478 capitals 477 discrete 477 louder 477 privy 477 reactors 477 respondent 477 stumbled 477 trauma 477 weakened 477 writ 477 barrister 476 elegance 476 possessing 476 satellites 476 ulcers 476 undue 476 usefulness 476 youthful 476 Algeria 475 ascertain 475 bursting 475 complexities 475 conceptions 475 dances 475 escort 475 illegally 475 indefinitely 475 jaguar 475 midday 475 psychologist 475 pulls 475 triple 475 Ukrainian 475 unanimously 475 viruses 475 beneficiary 474 Brazilian 474 chatting 474 consolation 474 entrants 474 epidemic 474 expelled 474 gallons 474 nod 474 rewarding 474 rides 474 accidentally 473 brilliantly 473 butterflies 473 devaluation 473 excavation 473 homogeneous 473 listener 473 mins 473 speedy 473 tunnels 473 admitting 472 assay 472 covenants 472 depicted 472 depreciation 472 entails 472 joking 472 mystical 472 newer 472 runway 472 settlers 472 throws 472 utterances 472 abandonment 471 anglers 471 brighter 471 hissed 471 mapping 471 orderly 471 renal 471 uttered 471 compounded 470 disturb 470 elbows 470 finishes 470 granny 470 hurricane 470 literal 470 martial 470 preferring 470 questionnaires 470 rhythmic 470 sellers 470 textbooks 470 adventurers 469 altering 469 crafts 469 dash 469 incumbent 469 irresistible 469 kills 469 meditation 469 obstruction 469 perpetual 469 lenses 468 luxurious 468 monopolies 468 ore 468 porch 468 pork 468 stylish 468 taller 468 adjectives 467 KGB 467 medals 467 provoke 467 quartet 467 recourse 467 vapour 467 amidst 466 boroughs 466 brewing 466 curator 466 envy 466 fatigue 466 faulty 466 illnesses 466 infusion 466 jerked 466 nationalized 466 Nicaragua 466 straightened 466 taxed 466 unseen 466 volatile 466 antiques 465 instinctive 465 notoriously 465 puzzle 465 reflux 465 repeats 465 shocking 465 stirring 465 tbsp 465 triumphant 465 tsar 465 workmen 465 congratulations 464 dispersed 464 dotted 464 embodied 464 groove 464 institutes 464 outward 464 pilgrimage 464 pinned 464 servicing 464 statistically 464 swore 464 tackled 464 athletics 463 bookshop 463 churchyard 463 flashing 463 gran 463 legion 463 liberties 463 mosaics 463 packets 463 pal 463 suppress 463 Wellington 463 yourselves 463 apprenticeship 462 Bangladesh 462 canals 462 cancers 462 cerebral 462 commonplace 462 disasters 462 flags 462 inexperienced 462 miracles 462 plague 462 recommends 462 remuneration 462 assisting 461 bureaucrats 461 cartoon 461 festivals 461 friction 461 intervened 461 jug 461 memoirs 461 professionally 461 rector 461 seize 461 uniforms 461 arrogance 460 attic 460 build-up 460 forefront 460 guardians 460 logo 460 mentioning 460 oceans 460 offerings 460 offline 460 Reverend 460 underlined 460 understandably 460 abolish 459 acknowledges 459 amiss 459 antibiotics 459 dispose 459 economical 459 nodding 459 nostalgia 459 restricting 459 Rio 459 sentimental 459 brisk 458 circulated 458 contentious 458 diminished 458 entertain 458 gleaming 458 highland 458 intolerable 458 manslaughter 458 mat 458 newcomer 458 onions 458 scarf 458 sometime 458 vastly 458 verbs 458 awe 457 bullets 457 coastline 457 contingency 457 devote 457 dynasty 457 earthquake 457 elevated 457 jargon 457 mutation 457 possesses 457 pumps 457 splitting 457 thereof 457 untouched 457 venues 457 Albania 456 authoritarian 456 bind 456 chairmen 456 cheapest 456 cocoa 456 conformity 456 cyclists 456 hinted 456 medication 456 poses 456 rated 456 sails 456 scholarly 456 statues 456 alpine 455 ankles 455 Bosnian 455 budgetary 455 consolidation 455 credited 455 cuttings 455 deepest 455 deter 455 distribute 455 eminent 455 fatty 455 glamour 455 irrational 455 projections 455 promotional 455 schoolboy 455 sherry 455 simulation 455 tins 455 tractor 455 visibility 455 wearily 455 aeroplane 454 amazement 454 breathless 454 cracking 454 deposition 454 infectious 454 microwave 454 mound 454 online 454 parlour 454 pharmaceutical 454 presumption 454 prudent 454 reflections 454 submarine 454 violation 454 visions 454 donated 453 greed 453 hey 453 Kg 453 mare 453 receptors 453 revive 453 woollen 453 abrupt 452 accelerated 452 conservatism 452 coordination 452 erect 452 floppy 452 grapes 452 monkey 452 Noel 452 vividly 452 athletic 451 avoidance 451 centenary 451 comeback 451 daft 451 dissent 451 exhaustion 451 fortress 451 glare 451 inverted 451 professionalism 451 resurrection 451 telephoned 451 colouring 450 compatibility 450 devise 450 emancipation 450 knelt 450 merry 450 owls 450 pavilion 450 recipients 450 reconcile 450 reproduce 450 resembles 450 retrospective 450 sliced 450 viewer 450 voluntarily 450 borrowers 449 Edwardian 449 ensuing 449 lava 449 mock 449 pathway 449 pioneering 449 ponds 449 Sudan 449 Turks 449 unduly 449 vibration 449 yep 449 activated 448 agitation 448 apprentice 448 formats 448 goose 448 hypothetical 448 phosphate 448 Rochester 448 sensations 448 suburb 448 unused 448 appliances 447 bombers 447 briskly 447 collaborative 447 degradation 447 frontiers 447 geometry 447 manipulate 447 performer 447 persistence 447 prefers 447 psychic 447 sinking 447 surrendered 447 anthropologists 446 emptied 446 fictional 446 heater 446 hereditary 446 orchard 446 outing 446 prosecutions 446 resorts 446 revelations 446 admirable 445 anatomy 445 Arabs 445 daunting 445 dazzling 445 elites 445 faecal 445 humanities 445 marshes 445 multitude 445 mutations 445 notices 445 noticing 445 notified 445 permitting 445 punk 445 sizeable 445 stride 445 translate 445 appalled 444 blouse 444 carer 444 cohesion 444 gripped 444 habitats 444 hurdle 444 litre 444 mast 444 menace 444 microcomputer 444 pike 444 pledge 444 quotations 444 spectator 444 conferred 443 feasibility 443 mushrooms 443 pastry 443 pest 443 plump 443 stamps 443 unreliable 443 advocate 442 appellant 442 baggage 442 citation 442 explosions 442 lager 442 line-up 442 localities 442 ma'am 442 monk 442 o' 442 protestants 442 sentiments 442 stringent 442 unskilled 442 abandoning 441 anchor 441 bee 441 chords 441 costumes 441 embryos 441 Guinea 441 parcels 441 promoters 441 questionable 441 sung 441 unbeaten 441 allocations 440 consuming 440 couch 440 filters 440 modelled 440 afternoons 439 athletes 439 attained 439 beers 439 benign 439 cough 439 cupboards 439 deliveries 439 dissatisfied 439 Ethiopia 439 gifted 439 outwards 439 sultan 439 utter 439 vale 439 advocates 438 infirmary 438 inflammation 438 melody 438 monastic 438 negligible 438 opt 438 plutonium 438 polling 438 psychoanalysis 438 stressing 438 unwelcome 438 vitamins 438 apron 437 elders 437 forties 437 indicative 437 Massachusetts 437 pavements 437 slavery 437 warranty 437 Auckland 436 bait 436 chromosome 436 chronicle 436 communicative 436 Croatian 436 dire 436 donors 436 encounters 436 endure 436 hare 436 Hindu 436 pleasantly 436 relocation 436 rotor 436 thankfully 436 workload 436 yen 436 apologies 435 cardboard 435 exported 435 forensic 435 fractions 435 grinning 435 horizons 435 moonlight 435 openness 435 Perth 435 separating 435 starvation 435 telescope 435 elevation 434 formulae 434 indispensable 434 lust 434 parachute 434 pillar 434 plug 434 snakes 434 storms 434 unlucky 434 abnormalities 433 chateau 433 clarification 433 frog 433 impersonal 433 leases 433 mustard 433 nitrate 433 powerless 433 revived 433 stroked 433 viability 433 bypass 432 chaotic 432 fiery 432 presided 432 repetitive 432 slogan 432 speciality 432 squash 432 submissions 432 terrifying 432 truths 432 upbringing 432 veil 432 angular 431 balances 431 boycott 431 closes 431 hangs 431 learns 431 methodological 431 pedestrian 431 replaces 431 rig 431 spells 431 advertised 430 beneficiaries 430 co-ordinator 430 devolution 430 grandchildren 430 greeting 430 immaculate 430 initiate 430 insult 430 rectal 430 sailor 430 sincere 430 subscribers 430 betrayal 429 dinosaurs 429 disliked 429 distressed 429 folds 429 formations 429 obscene 429 saves 429 shoppers 429 slips 429 vitality 429 consultations 428 crossroads 428 Cuban 428 decreased 428 disappearing 428 glider 428 greet 428 hormone 428 hurriedly 428 jets 428 oppressive 428 robot 428 shuttle 428 slab 428 spontaneously 428 vacancies 428 administer 427 annoyance 427 curvature 427 entrepreneurs 427 escaping 427 extravagant 427 frown 427 hesitate 427 inaccurate 427 mama 427 nests 427 quarterly 427 shaky 427 totalling 427 adventurous 426 Alps 426 bark 426 brushing 426 conclusive 426 contemplating 426 dialect 426 homage 426 labelling 426 lavender 426 lever 426 specifying 426 supremacy 426 beasts 425 compelling 425 filtration 425 fruitful 425 grievances 425 humanitarian 425 manifestations 425 praying 425 pulses 425 raped 425 sensational 425 shrewd 425 solemn 425 abstraction 424 brittle 424 climatic 424 enthusiastically 424 favourably 424 lavish 424 polymers 424 rental 424 willingly 424 woken 424 activating 423 brewers 423 dentist 423 foil 423 menus 423 monsters 423 PCs 423 rag 423 sturdy 423 surveyors 423 variant 423 flowed 422 glittering 422 hears 422 infancy 422 powerfully 422 query 422 recalling 422 secretariat 422 starving 422 unanimous 422 accusing 421 bloc 421 cheaply 421 expose 421 mattered 421 niece 421 truce 421 accorded 420 cane 420 convoy 420 generator 420 leant 420 manifestation 420 Regent 420 skilful 420 airborne 419 cites 419 ignores 419 naughty 419 paperwork 419 raining 419 semiconductor 419 shortfall 419 underwear 419 unpublished 419 attracts 418 avoids 418 baskets 418 battalion 418 boarding 418 cookery 418 discourses 418 fills 418 lifeboat 418 massage 418 nave 418 rift 418 telephones 418 unnecessarily 418 vase 418 alarmed 417 chickens 417 condemnation 417 disarmament 417 fights 417 Madeira 417 pursuant_to 417 ridden 417 tidal 417 unbelievable 417 vs. 417 wiping 417 world-wide 417 blunt 416 childish 416 clumsy 416 cone 416 guts 416 ingenious 416 initiation 416 jubilee 416 nineties 416 Olympics 416 tuition 416 U.S. 416 uncertainties 416 video-tape 416 youngster 416 baptism 415 coke 415 Iceland 415 impatience 415 militia 415 Montreal 415 nutritional 415 outraged 415 poisonous 415 stockings 415 usefully 415 watercolour 415 bream 414 calves 414 donkey 414 formulate 414 hostage 414 interventions 414 Namibia 414 nostrils 414 prophet 414 puppy 414 rib 414 shortcomings 414 smells 414 stiffly 414 buck 413 cigar 413 extinct 413 intuitive 413 presenter 413 pretended 413 snap 413 tentacle 413 cider 412 commanders 412 crap 412 floral 412 gorgeous 412 graceful 412 jewels 412 liquidation 412 locomotives 412 longed 412 penetrate 412 perimeter 412 pretence 412 resultant 412 wipe 412 adolescence 411 aided 411 cafes 411 cater 411 credible 411 cushions 411 dorsal 411 frogs 411 goodnight 411 imbalance 411 impending 411 Libyan 411 mundane 411 paradoxically 411 parasites 411 shuddered 411 traumatic 411 wry 411 accommodated 410 backdrop 410 blaze 410 byzantine 410 catches 410 generously 410 hearings 410 olds 410 pens 410 prejudices 410 quit 410 sponsor 410 triangular 410 zinc 410 accusation 409 disgrace 409 excesses 409 pagan 409 Siberia 409 subordinates 409 trailer 409 albums 408 bastards 408 brake 408 cot 408 enlightened 408 hens 408 plentiful 408 predicting 408 typewriter 408 widows 408 arable 407 bats 407 bland 407 concerto 407 cubic 407 foreseeable 407 fulfilling 407 interviewing 407 intrusion 407 invoice 407 manoeuvre 407 prayed 407 salesman 407 signatures 407 Antarctic 406 elastic 406 etcetera 406 froze 406 metallic 406 preface 406 probes 406 slaughter 406 Strasbourg 406 arousal 405 chestnut 405 enduring 405 filming 405 garrison 405 hindsight 405 litres 405 robe 405 sniffed 405 arthritis 404 austerity 404 backward 404 boxer 404 decidedly 404 enacted 404 greedy 404 nanny 404 plaque 404 richly 404 sands 404 sensibly 404 sperm 404 subsistence 404 windscreen 404 aisle 403 cereal 403 continuum 403 deregulation 403 ID 403 insertion 403 inset 403 narrower 403 quay 403 rainforest 403 satin 403 slippery 403 technicians 403 telly 403 blocking 402 ceremonies 402 clan 402 coherence 402 contextual 402 correlated 402 flicked 402 improves 402 installing 402 interiors 402 SQL 402 advocacy 401 exert 401 hooks 401 indignation 401 intuition 401 pigeons 401 sub-committee 401 co-ordinate 400 fixing 400 proletariat 400 restoring 400 softer 400 transient 400 turbulence 400 adversely 399 brushes 399 campaigners 399 diagonal 399 evangelical 399 mattress 399 novice 399 renew 399 resolving 399 spa 399 undergo 399 warranties 399 wept 399 bubble 398 capacities 398 cardiac 398 cue 398 decor 398 echoes 398 erotic 398 evacuation 398 excursions 398 faithfully 398 flocks 398 innate 398 meadow 398 paperback 398 perched 398 performs 398 predominant 398 prosecutor 398 recommending 398 residue 398 safeguards 398 segregation 398 teaches 398 tee 398 unease 398 built-in 397 cavity 397 formality 397 lays 397 marginally 397 postwar 397 promenade 397 protesting 397 queried 397 tournaments 397 traded 397 transplant 397 acutely 396 appropriation 396 batsman 396 bidder 396 enhancement 396 horrors 396 lyrics 396 membranes 396 parliaments 396 patio 396 preventive 396 responds 396 retrospect 396 scanning 396 temperate 396 unequal 396 autobiography 395 bye 395 cuisine 395 humorous 395 imperialism 395 kits 395 landmark 395 occupying 395 quarrel 395 shabby 395 slowing 395 suppressed 395 unnatural 395 whereabouts 395 wrists 395 barrage 394 comforting 394 compositions 394 contributors 394 exploiting 394 fonts 394 frowning 394 helplessly 394 hooked 394 lingering 394 ostensibly 394 pneumonia 394 priory 394 replay 394 thinly 394 treats 394 veto 394 workhouse 394 biochemical 393 dignified 393 ensemble 393 fixtures 393 furnishings 393 hardest 393 HQ 393 icon 393 radiator 393 spreads 393 threads 393 troublesome 393 weakly 393 exposing 392 generals 392 inherently 392 masks 392 ramp 392 refreshing 392 textbook 392 tigers 392 tighter 392 afforded 391 break-up 391 characteristically 391 meagre 391 niche 391 portions 391 unmistakable 391 wan 391 carriages 390 clocks 390 cock 390 homeland 390 mythology 390 necks 390 provider 390 requesting 390 safeguard 390 spinal 390 spur 390 storing 390 supervise 390 tapping 390 unitary 390 vertically 390 axes 389 bean 389 bungalow 389 communicating 389 crashing 389 flu 389 forgiveness 389 imposes 389 intently 389 kisses 389 mastery 389 maximize 389 Nazis 389 sausage 389 tactic 389 toilets 389 uncomfortably 389 vines 389 witty 389 akin 388 biographical 388 dole 388 heavyweight 388 interpreter 388 loyalist 388 moderately 388 overriding 388 paste 388 perverse 388 redistribution 388 saga 388 swallow 388 tug 388 aquatic 387 compulsion 387 deficiencies 387 feeble 387 hectic 387 Herr 387 highways 387 hopelessly 387 impulses 387 intellect 387 noses 387 patrons 387 richness 387 stature 387 unwise 387 variability 387 violations 387 alignment 386 barren 386 coefficient 386 countess 386 devastated 386 horrific 386 keyword 386 legends 386 mesh 386 prostitution 386 repayments 386 roller 386 slabs 386 accompaniment 385 airports 385 bounced 385 communique 385 eyebrow 385 faculties 385 lastly 385 loops 385 nobles 385 rainfall 385 salts 385 semi-finals 385 shipped 385 ton 385 tunes 385 unionism 385 chaplain 384 chuckled 384 curb 384 disciples 384 eternity 384 immature 384 lecturers 384 migrants 384 mph 384 outputs 384 persecution 384 semantics 384 sited 384 ad_hoc 383 breaches 383 farther 383 firemen 383 frantically 383 gambling 383 hallway 383 honoured 383 lest 383 lush 383 mentions 383 nun 383 oxide 383 periodically 383 prelude 383 seconded 383 streak 383 valves 383 acknowledging 382 boasts 382 brows 382 comrades 382 coolly 382 decorations 382 jelly 382 pamphlet 382 pints 382 spark 382 straps 382 tonic 382 circulating 381 confess 381 devoid 381 dictatorship 381 drastically 381 drawing-room 381 drily 381 endeavour 381 eroded 381 footpath 381 fracture 381 networking 381 wallpaper 381 catastrophe 380 cereals 380 explosives 380 fragmented 380 guarded 380 hideous 380 intimately 380 ludicrous 380 occupies 380 quiz 380 reasonableness 380 receptionist 380 swam 380 thrill 380 unimportant 380 banana 379 confronting 379 copying 379 discourage 379 dismal 379 excursion 379 inflicted 379 influx 379 moods 379 objectivity 379 photographed 379 supervisory 379 begged 378 brink 378 compliment 378 departures 378 disappears 378 distinguishes 378 diverted 378 exceedingly 378 ex_parte 378 haste 378 hysterical 378 micro 378 petals 378 preparatory 378 starter 378 terminated 378 trailed 378 withstand 378 ant 377 aura 377 claws 377 commando 377 cues 377 elves 377 flared 377 fright 377 groom 377 indices 377 investigator 377 lass 377 lowering 377 mischief 377 potency 377 preaching 377 regulating 377 relics 377 routinely 377 seeming 377 vouchers 377 bake 376 buds 376 cooker 376 fluids 376 folks 376 gigantic 376 integrating 376 levied 376 patted 376 plastics 376 prolific 376 punish 376 stubborn 376 tending 376 bureaux 375 by-election 375 congestion 375 depending 375 erratic 375 graphs 375 imagining 375 refinement 375 screened 375 strata 375 timely 375 unnoticed 375 waterproof 375 beginners 374 burdens 374 cheeses 374 cuckoo 374 festive 374 irritating 374 screws 374 sterile 374 succeeds 374 tolerated 374 tram 374 transnational 374 traps 374 baseball 373 confuse 373 contraception 373 conversational 373 discusses 373 dunes 373 engaging 373 hen 373 in. 373 infringement 373 manageable 373 metric 373 ratification 373 twisting 373 agreeable 372 bachelor 372 bubbles 372 cache 372 dictated 372 distributors 372 electors 372 expeditions 372 expulsion 372 fake 372 Jew 372 openings 372 protesters 372 restrain 372 textual 372 utmost 372 anthropological 371 brightness 371 burglary 371 celebrity 371 constables 371 deduction 371 distaste 371 endangered 371 gestured 371 impairment 371 industrialists 371 lender 371 meter 371 payroll 371 pertinent 371 poultry 371 shadowy 371 spoil 371 tolerant 371 upside_down 371 viral 371 visa 371 adherence 370 bulb 370 occupier 370 parity 370 password 370 pictured 370 primacy 370 probabilities 370 reformation 370 sleepy 370 southeast 370 visibly 370 barons 369 blond 369 centimetres 369 esteem 369 helicopters 369 irresponsible 369 papa 369 surveying 369 variously 369 yachts 369 claimants 368 crowned 368 feather 368 foxes 368 hostess 368 pluralism 368 radial 368 stationary 368 straining 368 substituted 368 unavoidable 368 waterfall 368 biting 367 defiance 367 displacement 367 geese 367 huts 367 intestine 367 invoked 367 ornamental 367 parsley 367 partition 367 reins 367 remotely 367 resisting 367 tier 367 alienation 366 amounting 366 bout 366 dictionaries 366 dolls 366 dripping 366 flickered 366 hurting 366 inadequacy 366 overheads 366 pads 366 prehistoric 366 shoots 366 thickly 366 attain 365 baked 365 bedding 365 CD-ROM 365 cleaners 365 compilation 365 cunning 365 dread 365 dump 365 govern 365 grips 365 guise 365 narrator 365 prohibited 365 shafts 365 verification 365 volcano 365 clutch 364 concede 364 continents 364 dye 364 entrepreneurial 364 hypertension 364 motoring 364 sermon 364 strikers 364 tides 364 turnout 364 unto 364 automation 363 clones 363 curse 363 debtors 363 diminish 363 discouraged 363 excessively 363 individualism 363 intervening 363 meadows 363 monies 363 pervasive 363 roadside 363 snacks 363 spared 363 styling 363 substitutes 363 vault 363 approximate 362 balancing 362 chairmanship 362 cholera 362 conceivable 362 excludes 362 friendships 362 genus 362 gypsy 362 hearth 362 individuality 362 marines 362 maze 362 non-existent 362 placebo 362 portfolios 362 sombre 362 steak 362 sustaining 362 tracing 362 assaults 361 ghastly 361 manifest 361 ordnance 361 psychiatrist 361 sucking 361 supervised 361 suspend 361 advantageous 360 assent 360 brother-in-law 360 correlations 360 cosmic 360 discrepancy 360 eliminating 360 endlessly 360 improbable 360 marketplace 360 patents 360 pioneers 360 rhetorical 360 sausages 360 scissors 360 setback 360 shivering 360 tenor 360 transforming 360 automated 359 begging 359 hormones 359 masterpiece 359 overweight 359 physicians 359 rites 359 schizophrenia 359 stale 359 swords 359 symbolism 359 veterans 359 adjustable 358 adolescent 358 affluent 358 basics 358 buckets 358 detecting 358 disposable 358 disruptive 358 fixture 358 galaxies 358 heirs 358 intravenous 358 lied 358 logs 358 modernism 358 prescriptions 358 prevail 358 ridges 358 snooker 358 suffrage 358 unfinished 358 vogue 358 depicting 357 feat 357 flanked 357 jade 357 marketed 357 rectory 357 sponge 357 suitability 357 wits 357 awesome 356 bonuses 356 contributory 356 differentiated 356 doom 356 experimentation 356 misuse 356 receivers 356 schoolchildren 356 selectors 356 simplified 356 synonymous 356 womb 356 anaemia 355 bitten 355 disagreements 355 exemplified 355 flank 355 flawed 355 home-made 355 informing 355 messiah 355 pastures 355 peacefully 355 portal 355 predicts 355 protects 355 protocols 355 rum 355 scouts 355 tenderness 355 backbone 354 bikes 354 booksellers 354 catastrophic 354 freedoms 354 fronts 354 ideologies 354 lunches 354 manipulated 354 misfortune 354 pious 354 resembled 354 scripture 354 sculptor 354 seizure 354 treacherous 354 affordable 353 awkwardly 353 brilliance 353 distraction 353 dived 353 diversification 353 enhancing 353 flatly 353 forcibly 353 formative 353 grill 353 indecent 353 overcoming 353 poisoning 353 precedence 353 promotions 353 shotgun 353 speculate 353 stormed 353 trams 353 unjust 353 weed 353 allocate 352 arse 352 bananas 352 bonnet 352 Col. 352 depletion 352 dubbed 352 fading 352 fearing 352 mumbled 352 plantations 352 preacher 352 strap 352 adamant 351 creamy 351 drains 351 embargo 351 envelopes 351 erupted 351 full-scale 351 instalments 351 natives 351 predicament 351 prostitutes 351 resembling 351 saline 351 sequential 351 stout 351 tan 351 undergrowth 351 uniformity 351 vaccine 351 warehouses 351 almighty 350 blackness 350 bracket 350 cop 350 deletion 350 excitation 350 glands 350 incompetent 350 indulge 350 jars 350 metaphysical 350 millionaire 350 mini 350 motionless 350 orthodoxy 350 patterned 350 quieter 350 randomly 350 remit 350 repairing 350 rubble 350 shaping 350 spotlight 350 stately 350 ubiquitous 350 uptake 350 wisely 350 withdrawing 350 antiquity 349 auspices 349 bibliography 349 entrusted 349 fauna 349 growled 349 gutter 349 healthier 349 illegitimate 349 improper 349 laughs 349 lesbians 349 lifelong 349 morbidity 349 pillows 349 pornography 349 presumed 349 subscriptions 349 vengeance 349 bearings 348 complication 348 distributing 348 exhaust 348 exhibits 348 forceful 348 gilt 348 greasy 348 man-made 348 pessimistic 348 redevelopment 348 relentless 348 scripts 348 tents 348 adjourned 347 biscuit 347 conservatory 347 cosmetic 347 endorse 347 exodus 347 fencing 347 flute 347 gratefully 347 grossly 347 heterosexual 347 killers 347 ledge 347 markings 347 metabolic 347 pizza 347 razor 347 soothing 347 subdued 347 taxable 347 thicker 347 vinegar 347 announcements 346 cushion 346 destinations 346 discriminate 346 dismissing 346 durable 346 fetal 346 identities 346 Mafia 346 monumental 346 outstretched 346 pigeon 346 repaired 346 sandstone 346 shutters 346 simplistic 346 spat 346 thematic 346 uplands 346 archaic 345 arrivals 345 beech 345 calibre 345 cannabis 345 caretaker 345 carp 345 cleavage 345 excavations 345 gorge 345 malignant 345 peg 345 per_se 345 rejects 345 untidy 345 upland 345 wreck 345 adaptations 344 bereavement 344 ceilings 344 chaps 344 childbirth 344 hurrying 344 incompetence 344 Insp 344 obscured 344 owning 344 pebbles 344 potassium 344 robots 344 speeding 344 stain 344 stamina 344 symptomatic 344 taut 344 thinner 344 uprising 344 brochures 343 butt 343 captivity 343 dizzy 343 founders 343 gym 343 harshly 343 heroine 343 incidental 343 invitations 343 modem 343 offending 343 one-off 343 padded 343 soared 343 terraced 343 twilight 343 uneasily 343 volatility 343 apartheid 342 auditing 342 banging 342 boldly 342 certification 342 concurrent 342 coordinates 342 herb 342 insane 342 motifs 342 mouthful 342 reactive 342 rebuild 342 steer 342 tuberculosis 342 tutorial 342 vine 342 wooded 342 wreckage 342 amazingly 341 animated 341 checklist 341 clad 341 footing 341 giggled 341 glove 341 herds 341 loyalties 341 racket 341 reinforcement 341 sanction 341 staggered 341 suspiciously 341 alternate 340 biotechnology 340 blaming 340 culturally 340 golfer 340 gulls 340 haze 340 insecurity 340 malt 340 mam 340 muted 340 notification 340 pluralist 340 ponies 340 porcelain 340 pursuits 340 showers 340 survivor 340 theorem 340 therein 340 weathering 340 bowlers 339 chlorine 339 colliery 339 communicated 339 flair 339 housewives 339 leaping 339 lipstick 339 spectra 339 tongues 339 wedge 339 allegation 338 athlete 338 bows 338 canoe 338 chunks 338 correspondingly 338 counsellors 338 credentials 338 determinants 338 floods 338 fuelled 338 gracious 338 hairdresser 338 muttering 338 percentages 338 recollection 338 scraps 338 seam 338 taps 338 tertiary 338 wiring 338 authenticity 337 cursor 337 dales 337 designation 337 doc 337 expiry 337 exploits 337 indictment 337 miner 337 negligent 337 plantation 337 pleading 337 provocative 337 spiders 337 sporadic 337 vineyards 337 conceive 336 consolidate 336 democracies 336 diplomat 336 directories 336 distressing 336 foreman 336 graveyard 336 hatch 336 indexing 336 isolate 336 merge 336 orchestral 336 prerogative 336 prosecuted 336 ranked 336 scalp 336 screw 336 stereotypes 336 stillness 336 stormy 336 unfit 336 vanity 336 advocating 335 agrarian 335 asserting 335 baking 335 commencement 335 dragons 335 fragmentation 335 halved 335 hooker 335 paving 335 permissible 335 restraints 335 securely 335 suffice 335 toddler 335 transformations 335 unavailable 335 unconsciously 335 adhesion 334 adverts 334 belongings 334 coil 334 dominates 334 fingertips 334 gloss 334 grandeur 334 leak 334 lettuce 334 observes 334 on-line 334 pies 334 postscript 334 rehearsals 334 reservoirs 334 rugged 334 splendour 334 transitions 334 windy 334 ancillary 333 barred 333 cabinets 333 commentator 333 crucially 333 eyed 333 gala 333 incomprehensible 333 inhibited 333 matron 333 pellets 333 premise 333 receptive 333 surprises 333 accelerate 332 accents 332 curly 332 duo 332 evolve 332 exacerbated 332 fashions 332 foyer 332 futile 332 hugely 332 locking 332 pollen 332 promotes 332 proxy 332 readership 332 refurbishment 332 strolled 332 superbly 332 vain 332 accessed 331 advertise 331 contours 331 cooling 331 defeats 331 dissemination 331 flap 331 inertia 331 inflationary 331 lattice 331 marching 331 plotting 331 pollutants 331 superiors 331 uniformed 331 anomalies 330 aroma 330 blockade 330 bunny 330 complexion 330 confines 330 cradle 330 differentiate 330 displaced 330 emigration 330 fleeting 330 fore 330 ingenuity 330 jumper 330 maple 330 mums 330 paces 330 passionately 330 remnants 330 stranded 330 tentatively 330 trays 330 tummy 330 appointing 329 carrots 329 condemn 329 detectors 329 extras 329 finale 329 flourished 329 grunted 329 humane 329 interrogation 329 mole 329 perceptual 329 scanner 329 softened 329 tracts 329 vegetarian 329 buoyant 328 capitalists 328 claimant 328 courageous 328 fisherman 328 fools 328 hairy 328 imaging 328 inaugural 328 inconvenience 328 losers 328 pinch 328 queues 328 sockets 328 subtly 328 symmetric 328 wryly 328 afield 327 coordinator 327 cube 327 culminating 327 detrimental 327 dive 327 estimation 327 footballer 327 impoverished 327 masonry 327 operative 327 ordinarily 327 pa 327 pores 327 rowing 327 scrambled 327 thriving 327 alkaline 326 ancestor 326 bruises 326 commence 326 complacency 326 cured 326 dishonest 326 goldfish 326 heady 326 hovering 326 inscription 326 jewel 326 loaf 326 lumps 326 morals 326 pests 326 reacting 326 scorer 326 splash 326 tugged 326 unthinkable 326 anticipating 325 arid 325 astronomy 325 benevolent 325 ceramics 325 compensated 325 detriment 325 deviance 325 enthusiast 325 exemptions 325 eyelids 325 golfers 325 headaches 325 hounds 325 intermittent 325 ominous 325 overlapping 325 peach 325 pleas 325 populated 325 singular 325 unsafe 325 worthless 325 catalyst 324 catholicism 324 dinghy 324 fluent 324 foe 324 hypocrisy 324 imperfect 324 inaccessible 324 oceanic 324 outlining 324 parrot 324 pickup 324 remission 324 robbed 324 salient 324 sewing 324 sparse 324 thankful 324 thriller 324 bust 323 camel 323 coercion 323 dearly 323 easing 323 farmland 323 genetically 323 hymns 323 prop 323 sheds 323 spaced 323 staggering 323 stressful 323 achieves 322 amend 322 banquet 322 convertible 322 firearms 322 impossibility 322 modernity 322 pistols 322 protracted 322 regiments 322 resonance 322 steeply 322 take-off 322 towels 322 warrants 322 wiser 322 associative 321 ceases 321 decreases 321 delicately 321 delivers 321 divert 321 doubly 321 draught 321 elect 321 flee 321 hostilities 321 inexpensive 321 inns 321 luncheon 321 mortal 321 naming 321 powered 321 prepares 321 rags 321 sacks 321 sensual 321 slapped 321 strikingly 321 tile 321 unbearable 321 unresolved 321 wavelength 321 whaling 321 bud 320 feeds 320 halves 320 heal 320 involuntary 320 numbered 320 outburst 320 precarious 320 realistically 320 repaid 320 supernatural 320 symmetrical 320 tanker 320 unattractive 320 unilateral 320 yearly 320 ammonia 319 balloons 319 citing 319 closeness 319 cohort 319 desks 319 exhaustive 319 injections 319 mockery 319 newest 319 postage 319 programmer 319 ranking 319 royalties 319 scars 319 slogans 319 swans 319 vacancy 319 advert 318 cops 318 corpses 318 deleted 318 disused 318 harness 318 merged 318 pearls 318 prompt 318 teens 318 tempo 318 trunks 318 ascribed 317 bliss 317 carbohydrate 317 dinners 317 hates 317 insistent 317 insulting 317 knowledgeable 317 mocking 317 physiology 317 soluble 317 treason 317 unfavourable 317 unite 317 unsuccessfully 317 vibrant 317 wasps 317 amenable 316 apprentices 316 articulation 316 battling 316 cutter 316 distracted 316 electromagnetic 316 hailed 316 illusions 316 inhibit 316 lodgings 316 obsolete 316 parallels 316 pathways 316 pictorial 316 placements 316 pouch 316 protector 316 provocation 316 reconsider 316 regretted 316 subjectivity 316 yeast 316 animation 315 approximation 315 beware 315 bursts 315 conveyancing 315 delights 315 dispersal 315 hugged 315 humiliating 315 hurts 315 implicated 315 in_situ 315 jeopardy 315 opting 315 pros 315 standardized 315 totality 315 willow 315 zeal 315 alarms 314 aliens 314 alleviate 314 awfully 314 candy 314 ceremonial 314 clinically 314 conglomerate 314 faeces 314 grabbing 314 inspections 314 kicks 314 mentality 314 oblivious 314 overtime 314 pausing 314 pitches 314 predictably 314 repatriation 314 ruefully 314 scan 314 sexist 314 tavern 314 technician 314 unconditional 314 vulgar 314 arcade 313 awoke 313 banning 313 bearded 313 broadcasters 313 bulls 313 charters 313 combustion 313 deducted 313 deferred 313 erection 313 expanse 313 fragrance 313 havoc 313 hefty 313 lashes 313 manoeuvres 313 noticeably 313 posing 313 regularity 313 audible 312 bulky 312 coated 312 contemplation 312 covert 312 crypt 312 declares 312 defiant 312 denounced 312 geographically 312 glazed 312 leisurely 312 massively 312 obligatory 312 observable 312 phones 312 psychiatrists 312 retrieve 312 slots 312 trenches 312 unauthorized 312 vibrations 312 abuses 311 cages 311 chronological 311 creeping 311 den 311 diffusion 311 enamel 311 essentials 311 evacuated 311 exposition 311 hanged 311 offended 311 pamphlets 311 pointer 311 retailing 311 roundabout 311 tribune 311 updating 311 walnut 311 activist 310 beginner 310 climbs 310 coupling 310 downfall 310 heavenly 310 helpers 310 inspire 310 literate 310 masculinity 310 metaphors 310 minded 310 overtaken 310 pyjamas 310 rusty 310 supervisors 310 tablet 310 targeting 310 thrilling 310 tuna 310 tying 310 underside 310 underwater 310 weavers 310 wizard 310 bothering 309 condemning 309 devising 309 disintegration 309 eligibility 309 exporters 309 haul 309 herring 309 illumination 309 invites 309 irritable 309 lading 309 liar 309 lineage 309 linguists 309 motto 309 overdue 309 precedents 309 prerequisite 309 shouts 309 solids 309 terminate 309 vowed 309 x-rays 309 adapting 308 constructions 308 exaggeration 308 facets 308 fade 308 fuhrer 308 horribly 308 insecure 308 lottery 308 mastered 308 Mister 308 prominently 308 raiders 308 referees 308 reflective 308 riches 308 Saturdays 308 sniffing 308 solitude 308 stair 308 unhappiness 308 valuations 308 briefcase 307 crouched 307 envisage 307 glances 307 haemorrhage 307 hostels 307 hymn 307 inactive 307 initials 307 Kb 307 longitudinal 307 ornate 307 pianist 307 punters 307 replica 307 retreated 307 spies 307 affectionate 306 artery 306 breathtaking 306 computational 306 crammed 306 deriving 306 dice 306 downstream 306 duplication 306 ecumenical 306 empress 306 grease 306 henceforth 306 loser 306 normality 306 obituary 306 overdraft 306 pedestrians 306 pedigree 306 renewable 306 roubles 306 sown 306 sued 306 tasty 306 articulated 305 bathrooms 305 caller 305 comprehend 305 dip 305 execute 305 explores 305 fraught 305 frighten 305 hop 305 lain 305 landowner 305 matrimonial 305 memo 305 monstrous 305 objectively 305 parting 305 sacrifices 305 soda 305 stationery 305 swallowing 305 brutality 304 coasts 304 coefficients 304 conscientious 304 elasticity 304 enforcing 304 fidelity 304 gigs 304 glazing 304 grassland 304 malice 304 nickname 304 parasite 304 reinforcing 304 ribbons 304 seismic 304 specializing 304 stroking 304 tsp 304 unambiguous 304 uplift 304 watercolours 304 whispering 304 apologize 303 blooms 303 chronology 303 deficits 303 diligence 303 fours 303 housekeeping 303 inadvertently 303 infamous 303 listings 303 malicious 303 ottoman 303 predatory 303 removes 303 respite 303 striving 303 sweetly 303 takeovers 303 villas 303 voucher 303 advertisers 302 artificially 302 assertive 302 boulders 302 grassy 302 hasty 302 interfering 302 mainframes 302 maize 302 persists 302 plumage 302 radios 302 reds 302 respectability 302 starring 302 adolescents 301 bog 301 cassettes 301 full-back 301 illustrating 301 misconduct 301 ounce 301 plumbing 301 re-election 301 reversing 301 rung 301 so-called 301 stacked 301 terrestrial 301 weaken 301 woodlands 301 accessibility 300 blatant 300 bravely 300 cervical 300 chicks 300 clown 300 condensation 300 conveyance 300 deity 300 delegate 300 dissolve 300 interrupt 300 lighthouse 300 Monsieur 300 reptiles 300 sleek 300 sloping 300 straits 300 upheaval 300 amateurs 299 disrupt 299 divides 299 fertilizer 299 gallon 299 half-past 299 hierarchies 299 incubation 299 inversion 299 monasteries 299 nil 299 pirates 299 resented 299 seams 299 t-shirts 299 tramp 299 trembled 299 aligned 298 anorexia 298 anyhow 298 carving 298 constipation 298 crab 298 diocesan 298 establishes 298 flicker 298 inter_alia 298 modernist 298 molar 298 multilateral 298 opaque 298 remedial 298 screams 298 sparks 298 superficially 298 tranquillity 298 twigs 298 usable 298 widest 298 wrath 298 artwork 297 believer 297 berries 297 botanical 297 chased 297 chilling 297 classed 297 digits 297 embarking 297 embracing 297 entail 297 experimenting 297 femininity 297 groin 297 ice-cream 297 impartial 297 justifiable 297 liquids 297 messy 297 miserably 297 oranges 297 suggestive 297 vans 297 widen 297 winters 297 anaesthetic 296 borrower 296 contend 296 cylinders 296 icons 296 manuals 296 nurseries 296 pathology 296 pounding 296 progressing 296 relativity 296 shipments 296 shrug 296 subversive 296 sweetheart 296 thrilled 296 tonne 296 unspoken 296 ya 296 billions 295 challenger 295 cod 295 commonest 295 complimentary 295 deference 295 directorate 295 emotive 295 ferocious 295 grounded 295 homelessness 295 informants 295 innumerable 295 keenly 295 magnet 295 neurons 295 overcrowded 295 palette 295 pilgrims 295 propped 295 squads 295 squared 295 discreetly 294 dismissive 294 emptiness 294 extradition 294 foreground 294 founding 294 kingdoms 294 lyrical 294 oaks 294 PO 294 preferential 294 reiterated 294 shipment 294 welcomes 294 culmination 293 dough 293 eats 293 embark 293 grasses 293 hardness 293 hiring 293 intellectually 293 midwife 293 premiere 293 proprietors 293 proviso 293 reared 293 rioting 293 stony 293 tangled 293 Auntie 292 click 292 coating 292 crawling 292 derivatives 292 devious 292 externally 292 gum 292 interchange 292 intermediary 292 lawns 292 lowland 292 Prof 292 prostitute 292 putt 292 remanded 292 scar 292 seating 292 stray 292 strenuous 292 subs 292 tranquil 292 vowel 292 wagons 292 aback 291 administering 291 assemble 291 badger 291 bonding 291 emulate 291 ex- 291 fins 291 mapped 291 nearing 291 normative 291 onslaught 291 participated 291 reinforces 291 researching 291 sharper 291 stainless 291 trough 291 apex 290 ceramic 290 confinement 290 discharges 290 endemic 290 fireworks 290 gale 290 inferences 290 murmur 290 nuclei 290 peculiarly 290 pesticide 290 platinum 290 recurring 290 reformed 290 surpluses 290 adulthood 289 asserts 289 chilly 289 clear-cut 289 concerted 289 controllers 289 exasperation 289 exploratory 289 freehold 289 freelance 289 gravely 289 hospice 289 injected 289 mosque 289 motherhood 289 nervousness 289 nought 289 overflow 289 policyholder 289 pumping 289 SAE 289 sly 289 unwittingly 289 witches 289 announces 288 aromatic 288 barbecue 288 bilingual 288 bony 288 breeders 288 cruising 288 defiantly 288 downhill 288 drills 288 fieldwork 288 flanks 288 flush 288 freshwater 288 ills 288 instructive 288 mammalian 288 popped 288 postpone 288 refreshment 288 repercussions 288 sectarian 288 smelled 288 systemic 288 uniformly 288 victorious 288 activator 287 adaptive 287 anthem 287 archdeacon 287 battlefield 287 bloom 287 calorie 287 carrot 287 cutlery 287 decency 287 disparate 287 estimating 287 fairs 287 folder 287 gospels 287 hind 287 incest 287 indefinite 287 intensified 287 mediation 287 misguided 287 obsessive 287 palaces 287 quarries 287 raft 287 rectangle 287 rigidly 287 shorthand 287 shutting 287 sting 287 tailored 287 trait 287 uncompromising 287 vectors 287 withheld 287 bogus 286 campaigner 286 charismatic 286 chassis 286 contractions 286 dangling 286 doctrines 286 elaboration 286 eloquent 286 enlargement 286 geographic 286 gleam 286 heaved 286 indistinguishable 286 menacing 286 momentary 286 morphological 286 myriad 286 nan 286 nightmares 286 originality 286 originating 286 postcards 286 presume 286 resumption 286 rifles 286 shark 286 sincerity 286 timbers 286 bless 285 blueprint 285 broom 285 contests 285 conveying 285 dilemmas 285 discovers 285 draped 285 enclose 285 fried 285 gamble 285 inert 285 inferred 285 marches 285 nationalities 285 notebooks 285 pathological 285 periphery 285 saucer 285 standpoint 285 superseded 285 swell 285 tumbled 285 undermining 285 yarns 285 acquainted 284 aspirin 284 ballroom 284 banners 284 believers 284 blurred 284 cartridge 284 dearest 284 decisively 284 despatched 284 earrings 284 emergencies 284 examiner 284 forged 284 groundwater 284 inclusive 284 insensitive 284 interpersonal 284 labourer 284 liner 284 marrow 284 misunderstood 284 ratified 284 robes 284 saucepan 284 scorn 284 subsidence 284 sweetness 284 tighten 284 aspiration 283 barristers 283 buy-out 283 clone 283 coconut 283 convincingly 283 drinkers 283 endeavours 283 endurance 283 envoy 283 filmed 283 generality 283 hi 283 immoral 283 mileage 283 rap 283 recorders 283 resin 283 retina 283 spice 283 stricken 283 unison 283 up_front 283 villain 283 waits 283 abdomen 282 assassin 282 bathing 282 biologists 282 blushed 282 bookshops 282 configurations 282 crook 282 deviations 282 digest 282 disrupted 282 divers 282 drawbacks 282 enquire 282 equivalents 282 font 282 fungus 282 harmonic 282 idealism 282 incarnation 282 infinity 282 landlady 282 microprocessor 282 ornaments 282 run-up 282 sabbath 282 sage 282 substituting 282 wig 282 ass 281 bra 281 causation 281 choral 281 coding 281 conventionally 281 deprive 281 dessert 281 drawback 281 fluorescent 281 gazette 281 gem 281 inconvenient 281 inherit 281 murdering 281 precaution 281 rarity 281 refrigerator 281 retribution 281 tortured 281 undergraduates 281 vandalism 281 vanguard 281 amplification 280 blindly 280 cabaret 280 densities 280 divergence 280 farce 280 luminous 280 manure 280 marquis 280 multiply 280 ombudsman 280 overthrow 280 realist 280 rollers 280 spate 280 squire 280 tailor 280 viewpoints 280 voter 280 assign 279 austere 279 avenues 279 beetles 279 boosted 279 borrowings 279 clutched 279 co-op 279 CPU 279 discernible 279 empowered 279 genetics 279 horticultural 279 loo 279 miraculous 279 modestly 279 modifying 279 outpatient 279 outspoken 279 principals 279 roe 279 tiller 279 transcript 279 volcanoes 279 weeping 279 accelerator 278 acquaintances 278 annoying 278 cabbage 278 camping 278 cobalt 278 colder 278 crooked 278 eerie 278 exchanging 278 favouring 278 harmonious 278 heterogeneous 278 inwards 278 lends 278 nouns 278 paralysed 278 plough 278 servicemen 278 singularity 278 snack 278 stroll 278 teased 278 unfairly 278 weighs 278 alloy 277 alphabet 277 bamboo 277 barman 277 beak 277 blindness 277 creed 277 culminated 277 curry 277 delicacy 277 equivalence 277 humility 277 invent 277 jumble 277 licked 277 logging 277 misgivings 277 patchy 277 plead 277 prophecy 277 refreshments 277 registering 277 rumoured 277 shortest 277 slippers 277 tokens 277 adjudication 276 basins 276 cathedrals 276 childcare 276 conducive 276 coughing 276 darkened 276 disciplined 276 excretion 276 ferries 276 fringes 276 fro 276 informally 276 locating 276 lurking 276 mortgagee 276 nude 276 programmed 276 rot 276 rump 276 secretarial 276 sipping 276 template 276 waterways 276 arbitrator 275 chewing 275 climber 275 cross-section 275 echoing 275 educate 275 embroidery 275 folklore 275 glowed 275 indexes 275 missionaries 275 patrols 275 pitched 275 positioning 275 q.v. 275 sauna 275 siblings 275 staple 275 strictures 275 submitting 275 summon 275 tights 275 township 275 turbo 275 unbroken 275 Viscount 275 co-ordinating 274 drawled 274 importing 274 islanders 274 jammed 274 ledger 274 loomed 274 mod 274 mushroom 274 occurrences 274 patriarchal 274 puritan 274 reactionary 274 reconnaissance 274 sped 274 spilling 274 stupidity 274 telegram 274 tendering 274 thinkers 274 transmitter 274 unspecified 274 weddings 274 woodwork 274 yo 274 allocating 273 bluntly 273 brotherhood 273 burglar 273 concise 273 disqualified 273 enrolment 273 fin 273 happiest 273 inception 273 misrepresentation 273 multiplied 273 pitfalls 273 pumped 273 replacements 273 sexism 273 sings 273 soften 273 umpire 273 uncontrolled 273 vacation 273 contenders 272 cumbersome 272 demons 272 entrances 272 entrepreneur 272 garages 272 goldsmith 272 hampered 272 kneeling 272 knuckles 272 majestic 272 meticulous 272 mused 272 papacy 272 skilfully 272 specializes 272 sympathetically 272 tack 272 trouser 272 voiced 272 acidity 271 chapels 271 cleanliness 271 co-operatives 271 coinage 271 crunch 271 cyclic 271 decimal 271 dentists 271 digestive 271 dissimilar 271 ferret 271 helper 271 humidity 271 impractical 271 intruder 271 mammal 271 Mondays 271 notify 271 pans 271 procurement 271 reconciled 271 retaliation 271 sensing 271 spices 271 stab 271 tow 271 trickle 271 unqualified 271 ancestral 270 bays 270 boon 270 caption 270 contacting 270 corollary 270 detectable 270 dissidents 270 dominating 270 frenzy 270 gasping 270 inseparable 270 intimidation 270 irrigation 270 levelled 270 lovingly 270 manipulating 270 mantelpiece 270 overcoat 270 ploy 270 revise 270 strife 270 tabloid 270 terminus 270 tuned 270 undoubted 270 VGA 270 watery 270 widowed 270 acceptability 269 affiliations 269 aggressively 269 betting 269 binds 269 complacent 269 contributor 269 declines 269 disagreed 269 distortions 269 DJ 269 draining 269 enactment 269 experimentally 269 fervour 269 gunmen 269 investigative 269 mediated 269 modesty 269 mourning 269 partisan 269 pedal 269 physicists 269 reliably 269 rocking 269 skyline 269 specifies 269 streaming 269 transfusion 269 averages 268 bemused 268 bruised 268 budgeting 268 conservationists 268 friar 268 greetings 268 growers 268 headlights 268 hype 268 in_vivo 268 knowingly 268 monoxide 268 payers 268 planner 268 plunge 268 replication 268 tiled 268 trumpet 268 typed 268 unreal 268 vascular 268 vent 268 wasteful 268 adopts 267 affidavit 267 dept. 267 deviant 267 dictate 267 drown 267 drummer 267 exporter 267 hovered 267 insignia 267 interdisciplinary 267 irregularities 267 juniors 267 linkage 267 livery 267 malaria 267 misses 267 phenomenal 267 saviour 267 soaking 267 surname 267 swaying 267 thirst 267 trophies 267 unwillingness 267 wills 267 alerted 266 boasted 266 cartel 266 channelled 266 chimneys 266 classify 266 corals 266 ducked 266 goldsmiths 266 infarction 266 jagged 266 nausea 266 peptides 266 peril 266 PhD 266 prowess 266 psychoanalytic 266 punctuation 266 skeletal 266 slum 266 smelt 266 tech 266 tiredness 266 vagina 266 vinyl 266 windsurfing 266 witchcraft 266 adultery 265 alkali 265 alleging 265 apprehensive 265 assertions 265 attaching 265 bicycles 265 blinds 265 bug 265 comb 265 commencing 265 confer 265 deserts 265 dictator 265 drilled 265 foreseen 265 gladly 265 hose 265 livelihood 265 mechanic 265 mysteriously 265 operas 265 pore 265 prospectus 265 railings 265 sane 265 scandals 265 shocks 265 solemnly 265 squeezing 265 throats 265 translations 265 upstream 265 advises 264 assessors 264 banged 264 brickwork 264 catchment 264 cramped 264 demon 264 disproportionate 264 distributions 264 earns 264 earthly 264 flavours 264 funerals 264 fuse 264 granules 264 habitual 264 idiosyncratic 264 infer 264 inscribed 264 inventor 264 moth 264 neutrons 264 nightclub 264 orbits 264 planetary 264 polythene 264 PS. 264 rapport 264 relegated 264 rudder 264 sip 264 sobbing 264 tiring 264 trimmed 264 tumbling 264 unmarked 264 abnormality 263 ambivalent 263 badgers 263 calculator 263 cones 263 contender 263 curricular 263 detailing 263 deteriorating 263 dimly 263 dormant 263 effluent 263 emulation 263 fetched 263 frying 263 gasp 263 generalization 263 launches 263 migrant 263 pals 263 pickups 263 rave 263 repressive 263 shopkeepers 263 solvents 263 statesman 263 thrush 263 uphold 263 vases 263 amiable 262 anomalous 262 celebrates 262 chant 262 courtship 262 denominations 262 disposing 262 dissertation 262 evolving 262 fancied 262 generators 262 kidneys 262 noteworthy 262 passports 262 petitions 262 propagation 262 prosecuting 262 relay 262 reunification 262 rightful 262 schoolgirl 262 scot 262 suede 262 surround 262 tacit 262 tasted 262 tyranny 262 analogue 261 Arabic 261 attentions 261 captive 261 cheating 261 declarations 261 embankment 261 endowed 261 enforceable 261 excitedly 261 greatness 261 gully 261 hub 261 knickers 261 nostalgic 261 outfits 261 patriotism 261 repository 261 rite 261 scanned 261 scenic 261 snorted 261 spade 261 syndicate 261 walled 261 adequacy 260 apathy 260 attractiveness 260 barbed 260 bunker 260 cistern 260 desirability 260 determinant 260 disguised 260 doubling 260 drab 260 emphatically 260 incontinence 260 intolerance 260 oats 260 professors 260 rudimentary 260 sarcasm 260 smartly 260 smelling 260 snail 260 spanning 260 storey 260 stripping 260 sweating 260 warily 260 a.d. 259 acquitted 259 birthplace 259 debating 259 dependants 259 elongated 259 emphatic 259 flurry 259 freezer 259 glacial 259 grated 259 intermediaries 259 liturgy 259 multiplicity 259 plotted 259 poignant 259 sandals 259 stools 259 televised 259 unhealthy 259 barge 258 bounded 258 cad 258 catalytic 258 cohesive 258 compiler 258 contravention 258 darted 258 explode 258 fats 258 functionality 258 fungi 258 guarding 258 harp 258 hysteria 258 ill-health 258 instalment 258 instituted 258 legislators 258 lofty 258 piping 258 plank 258 premiership 258 puppet 258 regulators 258 rotary 258 shareholding 258 slam 258 staffed 258 vaginal 258 varnish 258 adrenalin 257 barking 257 chunk 257 clergyman 257 contiguous 257 corporal 257 corrosion 257 duct 257 earmarked 257 famed 257 familial 257 fragrant 257 hem 257 idiom 257 instruct 257 irreversible 257 muster 257 pegs 257 portrayal 257 prematurely 257 prescribing 257 primal 257 punitive 257 ransom 257 retrieved 257 runner-up 257 safest 257 sanitary 257 shady 257 smoothing 257 smug 257 sprung 257 sub 257 vodka 257 batting 256 bouncing 256 correspondents 256 cursed 256 enigmatic 256 flaws 256 floorboards 256 gleamed 256 grape 256 hobbies 256 instructors 256 momentous 256 murderers 256 nationalisation 256 nominations 256 oversee 256 propensity 256 props 256 psychologically 256 pulpit 256 purposeful 256 regal 256 revert 256 scant 256 scriptures 256 sequel 256 simplify 256 son-in-law 256 tangle 256 tunic 256 unreasonably 256 watchful 256 whereupon 256 asbestos 255 attackers 255 blackmail 255 cents 255 CFCs 255 contested 255 devastation 255 flask 255 haunted 255 insure 255 irritably 255 joys 255 juices 255 mall 255 martyr 255 mixtures 255 penguin 255 resolutely 255 sermons 255 shire 255 stigma 255 totalled 255 untrue 255 abound 254 accreditation 254 adhered 254 amenity 254 antagonism 254 anymore 254 bottoms 254 collects 254 composure 254 cowboy 254 cricketer 254 dustbin 254 exhibiting 254 gland 254 hath 254 insiders 254 intonation 254 laps 254 perennial 254 preoccupations 254 privatized 254 rash 254 rhyme 254 sacrificed 254 salads 254 spikes 254 syphilis 254 tombs 254 tub 254 underestimated 254 watchdog 254 anonymity 253 baptist 253 chores 253 conveys 253 crumbling 253 discursive 253 distrust 253 ditches 253 encompass 253 guilds 253 heaps 253 highness 253 hooded 253 Judaism 253 nomadic 253 null 253 reprocessing 253 revolutions 253 spokesmen 253 sprinkle 253 sprint 253 surrounds 253 tremendously 253 uncertainly 253 yelling 253 affiliation 252 ark 252 bombardment 252 brutally 252 capturing 252 carts 252 commuters 252 compartments 252 conceivably 252 crackdown 252 discrepancies 252 enhances 252 enshrined 252 fleeing 252 illicit 252 introductions 252 karate 252 leaked 252 omissions 252 progresses 252 rallies 252 relentlessly 252 repressed 252 reputable 252 scratching 252 timid 252 toughest 252 accumulate 251 assortment 251 cinemas 251 commandos 251 dues 251 egalitarian 251 equalizer 251 flotation 251 melodic 251 moderation 251 monitors 251 oily 251 ordination 251 paradoxical 251 pruning 251 resentful 251 rogue 251 skeletons 251 spike 251 spurious 251 storeys 251 titled 251 anthropologist 250 breached 250 broaden 250 bunk 250 caravans 250 carpenter 250 crater 250 depart 250 detainees 250 dinosaur 250 directs 250 flowering 250 fooled 250 forbidding 250 formulating 250 frustrations 250 garbage 250 gearbox 250 haphazard 250 hesitant 250 inefficiency 250 intelligentsia 250 jumps 250 laity 250 legality 250 legitimately 250 measurable 250 misty 250 northwards 250 opener 250 outcry 250 perceptive 250 prognosis 250 punched 250 sensibility 250 sportsmen 250 stud 250 thrive 250 trifle 250 upsurge 250 utilized 250 apes 249 assaulted 249 assemblages 249 bites 249 brute 249 clearest 249 conserve 249 cultured 249 dagger 249 diluted 249 eradication 249 fascists 249 foodstuffs 249 hereby 249 impacts 249 inhabited 249 lingered 249 medicinal 249 recoverable 249 tramway 249 undisturbed 249 unidentified 249 amplifier 248 breweries 248 brooding 248 captains 248 cove 248 crag 248 darkly 248 delegations 248 discriminatory 248 elapsed 248 enterprising 248 falcon 248 ginger 248 grubby 248 horrendous 248 independents 248 leaking 248 midway 248 passions 248 regulars 248 requisite 248 resurgence 248 stereotype 248 subset 248 syllable 248 ventured 248 beetle 247 bundles 247 clumps 247 craftsman 247 cricketers 247 dilution 247 doubles 247 fondant 247 heron 247 idly 247 immortal 247 intrigued 247 mugs 247 nasal 247 paramilitary 247 parochial 247 parody 247 periodicals 247 prosecute 247 seasoning 247 signify 247 swings 247 thence 247 trim 247 arterial 246 barns 246 connotations 246 crawled 246 crystalline 246 decrees 246 desolate 246 dreary 246 dwarfs 246 empathy 246 footpaths 246 gaily 246 gaping 246 infrequent 246 initiating 246 knitters 246 littered 246 negotiators 246 obtains 246 postponement 246 pronouns 246 roast 246 scout 246 shepherds 246 sized 246 subordination 246 timed 246 turbine 246 anti-semitism 245 ballets 245 CDs 245 countrymen 245 cynicism 245 deficient 245 descend 245 dresser 245 dwell 245 evasion 245 expands 245 fraudulent 245 lids 245 lifeless 245 lunar 245 molten 245 novelists 245 overtly 245 physiotherapist 245 planks 245 secs 245 skinny 245 stinging 245 stocked 245 striding 245 thumbs 245 topical 245 transporting 245 underwriting 245 aggrieved 244 atlas 244 bewildering 244 bum 244 cleansing 244 decentralization 244 enclosing 244 holistic 244 hydraulic 244 injecting 244 intrinsically 244 millennium 244 overcame 244 physicist 244 radicalism 244 rosy 244 savagely 244 shuffled 244 silhouette 244 sparked 244 surfaced 244 textures 244 trails 244 unexplained 244 urinary 244 utilitarian 244 venom 244 abusive 243 arched 243 arouse 243 burrow 243 coincides 243 companionship 243 complied 243 condoms 243 countered 243 cursing 243 densely 243 discern 243 ethic 243 evils 243 exerted 243 exhilarating 243 explorer 243 fiduciary 243 gaol 243 headland 243 hypnosis 243 lame 243 mechanically 243 motorcycle 243 open-ended 243 paranoid 243 putative 243 reefs 243 scratched 243 separates 243 strategically 243 strawberry 243 strewn 243 strides 243 subtlety 243 tame 243 ticking 243 torrent 243 um 243 waitress 243 barked 242 blasted 242 cheering 242 chic 242 childbearing 242 compromises 242 congenital 242 convened 242 cooler 242 crossly 242 descendant 242 de_facto 242 earnestly 242 elective 242 golfing 242 helmets 242 horizontally 242 macho 242 mischievous 242 motorist 242 pleasurable 242 posh 242 radioactivity 242 towering 242 winced 242 abide 241 ached 241 aching 241 booze 241 counteract 241 diminishing 241 drowning 241 elemental 241 immigrant 241 impeccable 241 incorrectly 241 intentional 241 manifested 241 netting 241 ornament 241 populist 241 regained 241 saturation 241 vocation 241 zip 241 ache 240 airy 240 averaging 240 backside 240 bargains 240 bravery 240 charms 240 dissident 240 fairer 240 guessing 240 headway 240 highlighting 240 incremental 240 indignant 240 inwardly 240 irritated 240 makeshift 240 milky 240 mother-in-law 240 occupancy 240 oppressed 240 plunging 240 saturated 240 screwed 240 shrill 240 squarely 240 stemmed 240 sympathies 240 acclaim 239 adept 239 antibiotic 239 foreigner 239 labours 239 manually 239 margarine 239 mink 239 obtainable 239 persistently 239 popularly 239 readable 239 renders 239 roaring 239 scare 239 scrub 239 snarled 239 tab 239 unequivocal 239 vitally 239 vomiting 239 winked 239 abortive 238 arson 238 clicked 238 commissioning 238 dent 238 disregard 238 embryonic 238 equals 238 evokes 238 gilded 238 grasping 238 incur 238 invoices 238 lantern 238 lobbying 238 mailing 238 panting 238 parasitic 238 pulp 238 reputed 238 selects 238 soaring 238 apologized 237 assorted 237 bonanza 237 bugs 237 choking 237 collusion 237 confine 237 constituting 237 excavated 237 exiles 237 ghostly 237 inconceivable 237 orientated 237 overlook 237 peptic 237 plum 237 reconstruct 237 satisfies 237 shrub 237 slit 237 tenuous 237 triumphantly 237 branching 236 buttocks 236 courteous 236 culinary 236 delaying 236 filth 236 grandad 236 grandiose 236 inflict 236 inhibitory 236 innocently 236 kilometre 236 muck 236 overdose 236 penetrating 236 pompous 236 rendering 236 reverence 236 volunteered 236 ailing 235 betray 235 congratulate 235 coughed 235 flaw 235 forcefully 235 fullest 235 inspecting 235 moaned 235 neurotic 235 non-verbal 235 pirate 235 postman 235 silvery 235 softness 235 subscribe 235 timeless 235 wholemeal 235 admissible 234 catered 234 cleverly 234 clip 234 elegantly 234 emanating 234 idyllic 234 macroeconomic 234 melted 234 microscopic 234 tubular 234 underestimate 234 unkind 234 admirably 233 all-time 233 astronomical 233 busily 233 departing 233 flicking 233 forthwith 233 glitter 233 miraculously 233 preclude 233 rampant 233 reappeared 233 sentencing 233 shrink 233 silky 233 sublime 233 thirsty 233 visionary 233 ardent 232 attentive 232 bins 232 chatter 232 connects 232 creep 232 deceived 232 disproportionately 232 extracting 232 eyeing 232 pastel 232 presses 232 queer 232 realizes 232 reformist 232 scrapped 232 separatist 232 shampoo 232 tilted 232 untreated 232 UV 232 absorbing 231 acquires 231 afloat 231 amber 231 attends 231 beleaguered 231 dismantled 231 distract 231 distraught 231 diving 231 fearsome 231 fer 231 gallant 231 inserting 231 intrusive 231 misled 231 nicer 231 presupposes 231 prompting 231 researched 231 secluded 231 spear 231 sunrise 231 tempt 231 unhelpful 231 vantage 231 arduous 230 astute 230 clarified 230 defeating 230 ecstatic 230 episcopal 230 exporting 230 facsimile 230 filtered 230 hound 230 intelligible 230 masked 230 plagued 230 predictive 230 recycled 230 selectively 230 sewn 230 stacks 230 translating 230 angling 229 auxiliary 229 awaited 229 blitz 229 boast 229 curling 229 eastwards 229 fostered 229 freeing 229 hardened 229 homely 229 hotly 229 inexplicable 229 irons 229 leaks 229 scrolled 229 sluggish 229 supervising 229 throttle 229 addicted 228 chop 228 clasped 228 cobbled 228 compiling 228 cruelly 228 exemplary 228 hugging 228 inter- 228 moulded 228 negatively 228 noisily 228 pencils 228 poked 228 sequencing 228 subsided 228 ventricular 228 adhere 227 badges 227 brightest 227 chased 227 deserving 227 dispense 227 eclipse 227 fastened 227 firmer 227 informs 227 'n' 227 outlay 227 preview 227 publishes 227 radiant 227 rigorously 227 sardonic 227 slums 227 stricter 227 strung 227 surged 227 swelling 227 teasing 227 transmit 227 weakening 227 workable 227 banished 226 circling 226 cloudy 226 completes 226 dawned 226 disdain 226 disgraceful 226 effortlessly 226 grievous 226 grown-up 226 moaning 226 numb 226 offend 226 pushes 226 seductive 226 souvenir 226 surf 226 weep 226 worldly 226 accompanies 225 allotted 225 analytic 225 augmented 225 clothed 225 commemorate 225 deduced 225 edit 225 flimsy 225 funded 225 land 225 mythical 225 onerous 225 quaint 225 reassured 225 splashing 225 tally 225 toured 225 warmed 225 avail 224 awaits 224 beamed 224 blankly 224 bona_fide 224 bordering 224 compulsive 224 enrolled 224 fundamentalist 224 graphically 224 justifying 224 oriented 224 override 224 overshadowed 224 pioneered 224 pulmonary 224 rationally 224 scented 224 smear 224 steaming 224 tags 224 all-round 223 alphabetical 223 bereaved 223 brew 223 chatted 223 comprised 223 decks 223 destroys 223 diffuse 223 dodgy 223 faltered 223 figured 223 foregoing 223 hating 223 indebted 223 indie 223 infrequently 223 instantaneous 223 Maj.-Gen. 223 ordained 223 pacing 223 raffle 223 refund 223 stew 223 superfluous 223 wrestling 223 compassionate 222 entailed 222 faintest 222 fortified 222 gripping 222 groan 222 hurled 222 indulging 222 inflexible 222 penetrated 222 punctuated 222 rationing 222 risking 222 singled 222 slap 222 sullen 222 unanswered 222 urges 222 worsening 222 aloof 221 blossom 221 bumper 221 cascade 221 condom 221 cooperate 221 despatch 221 electronically 221 feeder 221 liturgical 221 murdered 221 oblige 221 rainy 221 scathing 221 secretive 221 tiresome 221 woolly 221 adaptable 220 alight 220 amen 220 concealing 220 cooks 220 cute 220 dart 220 deteriorated 220 extant 220 leverage 220 nominally 220 notional 220 plural 220 ration 220 rustic 220 tempered 220 appreciable 219 assays 219 balancing 219 bets 219 cast 219 circled 219 deceptive 219 decreasing 219 dispatch 219 divergent 219 escorted 219 evoke 219 gears 219 guaranteeing 219 joked 219 kidnapped 219 needy 219 piercing 219 spotting 219 suicidal 219 underlines 219 unlocked 219 upgraded 219 vile 219 accomplish 218 alternately 218 a_priori 218 conspicuously 218 drafts 218 escalating 218 estranged 218 fanciful 218 flare 218 fluttered 218 hammering 218 hoarse 218 inescapable 218 intimidating 218 kidnapping 218 lapse 218 lazily 218 leasing 218 meteorological 218 mom 218 murky 218 one-to-one 218 overthrow 218 phased 218 rattle 218 replying 218 rotating 218 ruthlessly 218 undisclosed 218 undone 218 arbitrarily 217 assembling 217 attaches 217 beckoned 217 disconcerting 217 facilitating 217 flamboyant 217 fostering 217 grit 217 inconclusive 217 mountaineering 217 obliged 217 prescribe 217 quantify 217 rattled 217 shameful 217 sumptuous 217 sway 217 undercover 217 uppermost 217 abrasive 216 averaged 216 behaves 216 chargeable 216 colossal 216 convex 216 curl 216 dispatched 216 flashes 216 flourishing 216 fluffy 216 grotesque 216 hazy 216 inventive 216 nocturnal 216 popping 216 preach 216 probing 216 provoking 216 puff 216 relapse 216 renamed 216 shines 216 anatomical 215 aptly 215 bridle 215 Buddhist 215 collapsing 215 cosmopolitan 215 crudely 215 discounted 215 distinguishable 215 erroneous 215 freer 215 hauling 215 heaviest 215 illuminated 215 investigates 215 mountainous 215 numeric 215 phonetic 215 phoning 215 reeling 215 rocked 215 salute 215 slashed 215 stains 215 swamped 215 wrecked 215 activate 214 briefed 214 contemptuous 214 ebb 214 eradicate 214 hourly 214 immersed 214 kinetic 214 laden 214 lurched 214 mindless 214 old_fashioned 214 parole 214 rebellious 214 snapping 214 squirrel 214 stagnant 214 staunch 214 undertakes 214 apologetic 213 compromised 213 conquer 213 correcting 213 dial 213 drizzle 213 evade 213 heightened 213 huskily 213 insolvent 213 nominate 213 shh 213 shoved 213 sparkle 213 spoiled 213 sunken 213 unhappily 213 unleaded 213 unquestionably 213 vis-a-vis 213 whence 213 yawned 213 birch 212 blames 212 chemically 212 chunky 212 compliments 212 cons 212 disordered 212 flickering 212 habitually 212 hops 212 intractable 212 lowly 212 prudential 212 rife 212 shakes 212 spears 212 spit 212 unproductive 212 verify 212 widening 212 accuse 211 auditory 211 childless 211 commonsense 211 con 211 crate 211 distasteful 211 flapping 211 genital 211 invoke 211 materially 211 posting 211 strapped 211 unorthodox 211 unscrupulous 211 vehemently 211 blazed 210 crimson 210 disgusted 210 dispensed 210 exiled 210 heightened 210 hum 210 inexorably 210 inextricably 210 intergovernmental 210 mistakenly 210 moored 210 recess 210 remand 210 reproducing 210 resides 210 severed 210 skip 210 venture 210 brace 209 budding 209 bustling 209 contemplative 209 contradict 209 curtailed 209 dismayed 209 emptying 209 equated 209 evoked 209 facet 209 fashioned 209 lodging 209 peters 209 reforming 209 respectful 209 sanctioned 209 seizing 209 spelt 209 strident 209 underline 209 ascending 208 audio-visual 208 coils 208 cultivate 208 custodial 208 denotes 208 encompasses 208 falsely 208 finalized 208 flattened 208 illogical 208 imitate 208 insults 208 interspersed 208 monotonous 208 murderous 208 poking 208 polished 208 portray 208 regrettable 208 scientifically 208 slates 208 totals 208 unconnected 208 angered 207 bump 207 decaying 207 eminently 207 foresee 207 glittered 207 graphite 207 impotent 207 joyful 207 lag 207 lance 207 outdoors 207 pointedly 207 reversible 207 rust 207 shimmering 207 tanned 207 tragically 207 translucent 207 uncanny 207 agitated 206 barefoot 206 bleach 206 bluff 206 bugger 206 digested 206 grading 206 illustrious 206 infrared 206 manic 206 northwest 206 on-going 206 shrank 206 steered 206 trek 206 trendy 206 tugging 206 adored 205 aerobic 205 alarmingly 205 arguable 205 cellars 205 cheered 205 cubes 205 fruitless 205 levers 205 lousy 205 peel 205 rectify 205 shaded 205 shear 205 sleeps 205 smelly 205 smuggling 205 speedily 205 springing 205 swamp 205 ultraviolet 205 unprepared 205 verified 205 yielding 205 aboriginal 204 burying 204 clapped 204 crippling 204 etched 204 hilarious 204 humid 204 jobless 204 muffled 204 outdated 204 proclaiming 204 refrain 204 regrettably 204 relish 204 serene 204 stiffened 204 structurally 204 swap 204 swearing 204 unchallenged 204 unforeseen 204 vaults 204 wayward 204 whistled 204 capped 203 carving 203 clenched 203 cling 203 criticizing 203 despairing 203 hunted 203 newborn 203 orbital 203 piling 203 raged 203 slamming 203 torches 203 ultra 203 unequivocally 203 whistling 203 autocratic 202 burgeoning 202 crush 202 delete 202 depriving 202 devout 202 distort 202 glued 202 healed 202 involuntarily 202 patronising 202 runaway 202 serviced 202 solidly 202 souvenirs 202 spitting 202 stubbornly 202 tawny 202 tonal 202 tripartite 202 uncontrollable 202 whipped 202 bandage 201 benefiting 201 chanting 201 circulate 201 comprehensible 201 confess 201 curving 201 decorate 201 disgruntled 201 equip 201 gingerly 201 heaving 201 illuminated 201 inspiring 201 polluted 201 rains 201 rearing 201 resilient 201 spartan 201 thanking 201 upturn 201 warp 201 weakest 201 wheeled 201 withhold 201 wrongs 201 alienated 200 amorphous 200 bibliographic 200 blur 200 branded 200 bumped 200 clenched 200 clips 200 elicit 200 facilitated 200 frivolous 200 glimpses 200 grieving 200 haunt 200 illiterate 200 inorganic 200 intentionally 200 lessen 200 listens 200 renting 200 settles 200 tossing 200 unwell 200 cellwriter-1.3.6/share/icons/000077500000000000000000000000001311072664300161155ustar00rootroot00000000000000cellwriter-1.3.6/share/icons/hicolor/000077500000000000000000000000001311072664300175545ustar00rootroot00000000000000cellwriter-1.3.6/share/icons/hicolor/scalable/000077500000000000000000000000001311072664300213225ustar00rootroot00000000000000cellwriter-1.3.6/share/icons/hicolor/scalable/apps/000077500000000000000000000000001311072664300222655ustar00rootroot00000000000000cellwriter-1.3.6/share/icons/hicolor/scalable/apps/cellwriter.svg000066400000000000000000000130661311072664300251700ustar00rootroot00000000000000 image/svg+xml cellwriter-1.3.6/share/pixmaps/000077500000000000000000000000001311072664300164635ustar00rootroot00000000000000cellwriter-1.3.6/share/pixmaps/cellwriter.xpm000066400000000000000000000111521311072664300213650ustar00rootroot00000000000000/* XPM */ static char * cellwriter_xpm[] = { "32 32 155 2", " c None", ". c #8A9BAA", "+ c #A9B4C1", "@ c #AAB5C1", "# c #ABB6C2", "$ c #909EAE", "% c #9DA9B7", "& c #FFFFFF", "* c #FCFCFC", "= c #FBFBFB", "- c #F9FAFA", "; c #F8F9F9", "> c #F5F6F6", ", c #F5F5F5", "' c #EAEAEA", ") c #F6F7F7", "! c #F3F4F5", "~ c #C7C7C7", "{ c #EBEBEB", "] c #F1F3F3", "^ c #A1A1A1", "/ c #FDFDFD", "( c #ADADAD", "_ c #373737", ": c #5A5A5A", "< c #F2F3F3", "[ c #EEEFEF", "} c #BABABA", "| c #BDBDBD", "1 c #EEEEEE", "2 c #565656", "3 c #000000", "4 c #070707", "5 c #656565", "6 c #F1F2F2", "7 c #ECEDED", "8 c #F1F1F1", "9 c #606060", "0 c #222222", "a c #B4B4B4", "b c #FAFAFA", "c c #E9EAEB", "d c #B6B6B6", "e c #D1D1D1", "f c #393939", "g c #FEFEFE", "h c #555555", "i c #131313", "j c #E1E1E1", "k c #E5E7E7", "l c #3C3C3C", "m c #727272", "n c #4F4F4F", "o c #D4D4D4", "p c #BBBBBB", "q c #A6A6A6", "r c #E9EAEA", "s c #E2E4E4", "t c #3B3B3B", "u c #C8C8C8", "v c #6C6C6C", "w c #949494", "x c #3D3D3D", "y c #282828", "z c #E6E8E8", "A c #DEE0E1", "B c #2D2D2D", "C c #F2F2F2", "D c #787878", "E c #8C8C8C", "F c #7C7C7C", "G c #141414", "H c #595959", "I c #E3E5E5", "J c #D9DCDC", "K c #010101", "L c #090909", "M c #ECECEC", "N c #6D6D6D", "O c #333333", "P c #191919", "Q c #2C2C2C", "R c #DDDFDF", "S c #2F2F2F", "T c #7F7F7F", "U c #AEAEAE", "V c #4D4D4D", "W c #1F1F1F", "X c #5B5B5B", "Y c #A5A5A5", "Z c #DFE1E1", "` c #E0E2E2", " . c #111111", ".. c #292929", "+. c #0A0A0A", "@. c #676767", "#. c #121212", "$. c #2B2B2B", "%. c #DEDEDE", "&. c #020202", "*. c #737373", "=. c #EDEDED", "-. c #D8D8D8", ";. c #E2E2E2", ">. c #EAECEC", ",. c #E4E6E6", "'. c #030303", "). c #D9D9D9", "!. c #A2A2A2", "~. c #9A9A9A", "{. c #585858", "]. c #303030", "^. c #0B0B0B", "/. c #808080", "(. c #7E7E7E", "_. c #A3A3A3", ":. c #EFEFEF", "<. c #EDEFEF", "[. c #E7E9E9", "}. c #181818", "|. c #B8B8B8", "1. c #4A4A4A", "2. c #989898", "3. c #EFF0F0", "4. c #E9EBEB", "5. c #464646", "6. c #A9A9A9", "7. c #F7F7F7", "8. c #7A7A7A", "9. c #242424", "0. c #6F6F6F", "a. c #E7E7E7", "b. c #9D9D9D", "c. c #F3F4F4", "d. c #EFF1F1", "e. c #B1BDC8", "f. c #EFF4F5", "g. c #E7ECED", "h. c #E4E9EA", "i. c #C0C9D1", "j. c #C1CAD4", "k. c #E1EAED", "l. c #DBE4E7", "m. c #DAE2E5", "n. c #CED8DE", "o. c #DCE6E8", "p. c #DDE6E9", "q. c #DCE5E8", "r. c #DFE7EA", "s. c #DDE7E9", "t. c #A5B4C0", "u. c #C6D0D8", "v. c #C6D0D7", "w. c #C5CFD7", "x. c #AEBBC7", " ", " ", " ", ". + + + + + + + + + + + + + + @ # + + + + + + + + + + + + + + $ ", "% & & & & & & & & & & & & & & * = & & & & & & & & & & & & & & @ ", "% & & & & & & & & & & & & & & = - & & & & & & & & & & & & & & @ ", "% & & & & & & & & & & & & & & - ; & & & & & & & & = & & & & & @ ", "% & & & & & & & & & & & & & & ; > & & & & & & & & , ' & & & & @ ", "% & & & & & & & & & & & & & & ) ! & & & & & & & & & ~ & & & & @ ", "% & & & & & & & & { & & & & & > ] & & & & & & & & & ^ / & & & @ ", "% & & & & & & ( _ : & & & & & < [ & & & & & & & & & } | & & & @ ", "% & & & & 1 2 3 4 5 & & & & & 6 7 & & & & & & & & & 8 9 & & & @ ", "% & & & , _ 0 a b & & & & & & [ c & & d e & & & & & & f g & & @ ", "% & & & h i j & & & & & & & & 7 k & & l m & & & & & & n o & & @ ", "% & & p 3 q & & & & & & & & & r s & & t u & & & & & & v w & & @ ", "% & & x y / & & & & & & & & & z A & & B C & & D E & & F h & & @ ", "% & & G H & & & & & & & & & & I J & & t & & o K L M & N O & & @ ", "% & & P Q & & & & & & & & & & k R & & S & & T 3 3 U & V W & & @ ", "% & & X 3 Y & & & & & & & & C Z ` & & .b g ..+.3 @.= #.$.& & @ ", "% & & %. .&.*.=.& & & & & -.;.>.,.& & '.).!.3 ~.4 '.h 3 {.& & @ ", "% & & & o ].3 ^.X /.w (._.:.& <.[.& & }.$.+.../ @.3 3 3 |.& & @ ", "% & & & & / a 9 1.9 2.=.& & & 3.4.& & 5.3 K 6.& 7.8.9.0.& & & @ ", "% & & & & & & & & & & & & & & ] <.& & a.b.j & & & & & & & & & @ ", "% & & & & & & & & & & & & & & c.d.& & & & & & & & & & & & & & @ ", "e.f.f.f.f.f.f.f.f.f.f.f.f.f.f.g.h.f.f.f.f.f.f.f.f.f.f.f.f.f.f.i.", "j.k.k.k.k.k.k.k.k.k.k.k.k.k.k.l.m.k.k.k.k.k.k.k.k.k.k.k.k.k.k.n.", "j.k.k.k.k.k.k.k.k.k.k.k.k.k.k.o.l.k.k.k.k.k.k.k.k.k.k.k.k.k.k.n.", "j.k.k.k.k.k.k.k.k.k.k.k.k.k.k.p.q.k.k.k.k.k.k.k.k.k.k.k.k.k.k.n.", "j.k.k.k.k.k.k.k.k.k.k.k.k.k.k.r.s.k.k.k.k.k.k.k.k.k.k.k.k.k.k.n.", "t.u.u.u.u.u.u.u.u.u.u.u.u.u.u.v.w.u.u.u.u.u.u.u.u.u.u.u.u.u.u.x.", " ", " "}; cellwriter-1.3.6/src/000077500000000000000000000000001311072664300144675ustar00rootroot00000000000000cellwriter-1.3.6/src/averages.c000066400000000000000000000222111311072664300164260ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "recognize.h" #include #include /* Average distance engine */ /* Maximum measures */ #define MEASURE_DIST (MAX_DIST) #define MEASURE_ANGLE (ANGLE_PI / 4) int num_disqualified; float measure_distance(const Stroke *a, int i, const Stroke *b, int j, const Vec2 *offset) /* Measure the offset Euclidean distance between two points */ { Vec2 v; vec2_set(&v, a->points[i].x + offset->x - b->points[j].x, a->points[i].y + offset->y - b->points[j].y); return vec2_square(&v); } static float measure_angle(const Stroke *a, int i, const Stroke *b, int j) /* Measure the lesser angular difference between two segments */ { float diff; diff = (ANGLE)(a->points[i].angle - b->points[j].angle); return diff >= 0 ? diff : -diff; } float measure_strokes(Stroke *a, Stroke *b, MeasureFunc func, void *extra, int points, int elasticity) /* Find optimal match between A points and B points for lowest distance via dynamic programming */ { int i, j, j_to; float table[(points + 1) * (points + 1) + 1]; /* Coordinates are counted from 1 because of buffer areas */ points++; /* Fill out the buffer row */ j_to = elasticity + 2; if (points < j_to) j_to = points; for (j = 1; j < j_to; j++) table[j] = G_MAXFLOAT; /* The first table entry is given */ table[points + 1] = 2 * func(a, 0, b, 0, extra); for (i = 1; i < points; i++) { float value; /* Starting position */ j = i - elasticity; if (j < 1) j = 1; /* Buffer column entry */ table[i * points + j - 1] = G_MAXFLOAT; /* Start from the 2nd cell on the first row */ j += i == 1; /* End limit */ j_to = i + elasticity + 1; if (j_to > points) j_to = points; /* Start with up-left */ value = table[(i - 1) * points + j - 1]; /* Dynamically program the row segment */ for (; j < j_to; j++) { float low_value, measure; measure = func(a, i - 1, b, j - 1, extra); low_value = value + measure * 2; /* Check if left is lower */ value = table[i * points + j - 1] + measure; if (value <= low_value) low_value = value; /* Check if up is lower */ value = table[(i - 1) * points + j]; if (value + measure <= low_value) low_value = value + measure; table[i * points + j] = low_value; } /* End of the row buffer */ table[i * points + j_to] = G_MAXFLOAT; } /* Return final lowest progression */ return table[points * points - 1] / ((points - 1) * 2); } static void stroke_average(Stroke *a, Stroke *b, float *pdist, float *pangle, Vec2 *ac_to_bc) /* Compute the average measures for A vs B */ { Stroke *a_sampled, *b_sampled; /* Sample strokes to equal lengths */ if (a->len < 1 || b->len < 1) { g_warning("Attempted to measure zero-length stroke"); return; } sample_strokes(a, b, &a_sampled, &b_sampled); /* Average the distance between the corresponding points */ *pdist = 0.f; if (engines[ENGINE_AVGDIST].range) *pdist = measure_strokes(a_sampled, b_sampled, (MeasureFunc)measure_distance, ac_to_bc, a_sampled->len, FINE_ELASTICITY); /* We cannot run angle averages if one of the two strokes has no segments */ *pangle = 0.f; if (a->spread < DOT_SPREAD) goto cleanup; else if (b->spread < DOT_SPREAD) { *pangle = ANGLE_PI; goto cleanup; } /* Average the angle differences between the points */ if (engines[ENGINE_AVGANGLE].range) *pangle = measure_strokes(a_sampled, b_sampled, (MeasureFunc)measure_angle, NULL, a_sampled->len - 1, FINE_ELASTICITY); cleanup: /* Free stroke data */ stroke_free(a_sampled); stroke_free(b_sampled); } static void sample_average(Sample *sample) /* Take the distance between the input and the sample, enumerating the best match assignment between input and sample strokes TODO scale the measures by stroke distance */ { Vec2 ic_to_sc; Sample *smaller; float distance, m_dist, m_angle; int i; /* Ignore disqualified samples */ if ((i = sample_disqualified(sample))) { if (i == 2) num_disqualified++; return; } /* Adjust for the difference between sample centers */ center_samples(&ic_to_sc, input, sample); /* Run the averages */ smaller = input->len < sample->len ? input : sample; for (i = 0, distance = 0.f, m_dist = 0.f, m_angle = 0.f; i < smaller->len; i++) { Stroke *input_stroke, *sample_stroke; float weight, s_dist = MAX_DIST, s_angle = ANGLE_PI; /* Transform strokes, mapping the larger sample onto the smaller one */ if (input->len >= sample->len) { input_stroke = transform_stroke(input, &sample->transform, i); sample_stroke = sample->strokes[i]; } else { input_stroke = input->strokes[i]; sample_stroke = transform_stroke(sample, &sample->transform, i); } weight = smaller->strokes[i]->spread < DOT_SPREAD ? DOT_SPREAD : smaller->strokes[i]->distance; stroke_average(input_stroke, sample_stroke, &s_dist, &s_angle, &ic_to_sc); m_dist += s_dist * weight; m_angle += s_angle * weight; distance += weight; /* Clear the created stroke */ stroke_free(input->len >= sample->len ? input_stroke : sample_stroke); } /* Undo square distortion and account for multiple strokes */ m_dist = sqrtf(m_dist) / distance; m_angle /= distance; /* Check limits */ if (m_dist > MAX_DIST) m_dist = MAX_DIST; if (m_angle > ANGLE_PI) m_angle = ANGLE_PI; /* Assign the ratings */ sample->ratings[ENGINE_AVGDIST] = RATING_MAX - RATING_MAX * m_dist / MEASURE_DIST; sample->ratings[ENGINE_AVGANGLE] = RATING_MAX - RATING_MAX * m_angle / MEASURE_ANGLE; } void engine_average(void) /* Computes average distance and angle differences */ { Sample *sample; int i; num_disqualified = 0; if (!engines[ENGINE_AVGDIST].range && !engines[ENGINE_AVGANGLE].range) return; /* Average angle engine needs to be discounted when the input contains segments too short to produce meaningful angles */ engines[ENGINE_AVGANGLE].scale = 0; for (i = 0; i < input->len; i++) if (input->strokes[i]->spread >= DOT_SPREAD) engines[ENGINE_AVGANGLE].scale++; engines[ENGINE_AVGANGLE].scale = engines[ENGINE_AVGANGLE].scale * ENGINE_SCALE / input->len; /* Run the averaging engine on every sample */ sampleiter_reset(); while ((sample = sampleiter_next())) if (sample->ch) sample_average(sample); } cellwriter-1.3.6/src/cellwidget.c000066400000000000000000002163231311072664300167650ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "recognize.h" #include "keys.h" #include /* stroke.c */ void smooth_stroke(Stroke *s); void simplify_stroke(Stroke *s); /* cellwidget.c */ int cell_widget_scrollbar_width(void); static void start_timeout(void); static void show_context_menu(int button, int time); static void stop_drawing(void); /* Cells */ #define ALTERNATES 5 #define CELL_BASELINE (cell_height / 3) #define CELL_BORDER (cell_height / 12) #define KEY_WIDGET_COLS 4 #define KEY_WIDGET_BORDER 6 /* Msec of no mouse motion before a cell is finished */ #define MOTION_TIMEOUT 500 /* Cell flags */ #define CELL_SHOW_INK 0x01 #define CELL_DIRTY 0x02 #define CELL_VERIFIED 0x04 #define CELL_SHIFTED 0x08 struct Cell { Sample sample, *alts[ALTERNATES]; gunichar ch; int alt_used[ALTERNATES]; char flags, alt_ratings[ALTERNATES]; }; /* Cell preferences */ int cell_width = 40, cell_height = 70, cell_cols_pref = 12, cell_rows_pref = 4, enable_cairo = TRUE, training = FALSE, train_on_input = TRUE, right_to_left = FALSE, keyboard_enabled = TRUE, xinput_enabled = FALSE; /* Statistics */ int corrections = 0, rewrites = 0, characters = 0, inputs = 0; /* Colors */ GdkColor custom_active_color = RGB_TO_GDKCOLOR(255, 255, 255), custom_inactive_color = RGB_TO_GDKCOLOR(212, 222, 226), custom_ink_color = RGB_TO_GDKCOLOR(0, 0, 0), custom_select_color = RGB_TO_GDKCOLOR(204, 0, 0); static GdkColor color_active, color_inactive, color_ink, color_select; static Cell *cells = NULL, *cells_saved = NULL; static GtkWidget *drawing_area = NULL, *training_menu, *scrollbar; static GdkPixmap *pixmap = NULL; static GdkGC *pixmap_gc = NULL; static GdkColor color_bg, color_bg_dark; static cairo_t *cairo = NULL; static PangoContext *pango = NULL; static PangoFontDescription *pango_font_desc = NULL; static KeyWidget *key_widget; static gunichar *history[HISTORY_MAX]; static int cell_cols, cell_rows, cell_row_view = 0, current_cell = -1, old_cc, cell_cols_saved, cell_rows_saved, cell_row_view_saved, timeout_source, drawing = FALSE, inserting = FALSE, eraser = FALSE, invalid = FALSE, potential_insert = FALSE, potential_hold = FALSE, cross_out = FALSE, show_keys = TRUE, is_clear = TRUE, keys_dirty = FALSE; static double cursor_x, cursor_y; static void cell_coords(int cell, int *px, int *py) /* Get the int position of a cell from its index */ { int cell_y, cell_x; cell -= cell_row_view * cell_cols; cell_y = cell / cell_cols; cell_x = cell - cell_y * cell_cols; *px = (!right_to_left ? cell_x * cell_width : (cell_cols - cell_x - 1) * cell_width) + 1; *py = cell_y * cell_height + 1; } static void set_pen_color(Sample *sample, int cell) /* Selects the pen color depending on if the sample being drawn is the input or the template sample */ { if (sample == input || sample == &cells[cell].sample) cairo_set_source_gdk_color(cairo, &color_ink, 1.); else cairo_set_source_gdk_color(cairo, &color_select, 1.); } static void render_point(Sample *sample, int cell, int stroke, Vec2 *offset) /* Draw a single point stroke */ { double x, y, radius; int cx, cy; if (!pixmap || stroke < 0 || !sample || stroke >= sample->len || sample->strokes[stroke]->len < 1) return; /* Apply offset */ x = sample->strokes[stroke]->points[0].x; y = sample->strokes[stroke]->points[0].y; if (offset) { x += offset->x; y += offset->y; } /* Unscale coordinates */ cell_coords(cell, &cx, &cy); x = cx + cell_width / 2 + x * cell_height / SCALE; y = cy + cell_height / 2 + y * cell_height / SCALE; /* Draw a dot with cairo */ cairo_new_path(cairo); radius = cell_height / 33.; cairo_arc(cairo, x, y, radius > 1. ? radius : 1., 0., 2 * M_PI); set_pen_color(sample, cell); cairo_fill(cairo); gtk_widget_queue_draw_area(drawing_area, x - radius - 0.5, y - radius - 0.5, radius * 2 + 0.5, radius * 2 + 0.5); } static void render_segment(Sample *sample, int cell, int stroke, int seg, Vec2 *offset) /* Draw a segment of the stroke FIXME since the segments are not properly connected according to Cairo, there is a bit of missing value at the segment connection points */ { double pen_width, x1, x2, y1, y2; int xmin, xmax, ymin, ymax, cx, cy, pen_range; if (!cairo || stroke < 0 || !sample || stroke >= sample->len || seg < 0 || seg >= sample->strokes[stroke]->len - 1) return; x1 = sample->strokes[stroke]->points[seg].x; x2 = sample->strokes[stroke]->points[seg + 1].x; y1 = sample->strokes[stroke]->points[seg].y; y2 = sample->strokes[stroke]->points[seg + 1].y; /* Apply offset */ if (offset) { x1 += offset->x; y1 += offset->y; x2 += offset->x; y2 += offset->y; } /* Unscale coordinates */ cell_coords(cell, &cx, &cy); x1 = cx + cell_width / 2 + x1 * cell_height / SCALE; x2 = cx + cell_width / 2 + x2 * cell_height / SCALE; y1 = cy + cell_height / 2 + y1 * cell_height / SCALE; y2 = cy + cell_height / 2 + y2 * cell_height / SCALE; /* Find minimum and maximum x and y */ if (x1 > x2) { xmax = x1 + 0.9999; xmin = x2; } else { xmin = x1; xmax = x2 + 0.9999; } if (y1 > y2) { ymax = y1 + 0.9999; ymin = y2; } else { ymin = y1; ymax = y2 + 0.9999; } /* Draw the new segment using Cairo */ cairo_new_path(cairo); cairo_move_to(cairo, x1, y1); cairo_line_to(cairo, x2, y2); set_pen_color(sample, cell); pen_width = cell_height / 33.; if (pen_width < 1.) pen_width = 1.; cairo_set_line_width(cairo, pen_width); cairo_stroke(cairo); /* Dirty only the new segment */ pen_range = 2 * pen_width + 0.9999; gtk_widget_queue_draw_area(drawing_area, xmin - pen_range, ymin - pen_range, xmax - xmin + pen_range + 1, ymax - ymin + pen_range + 1); } static void render_sample(Sample *sample, int cell) /* Render the ink from a sample in a cell */ { Vec2 sc_to_ic; int i, j; if (!sample) return; /* Center stored samples on input */ if (sample != &cells[cell].sample) center_samples(&sc_to_ic, sample, &cells[cell].sample); else vec2_set(&sc_to_ic, 0., 0.); for (i = 0; i < sample->len; i++) if (sample->strokes[i]->len <= 1 || sample->strokes[i]->spread < DOT_SPREAD) render_point(sample, cell, i, &sc_to_ic); else for (j = 0; j < sample->strokes[i]->len - 1; j++) render_segment(sample, cell, i, j, &sc_to_ic); } static int cell_offscreen(int cell) { int rows, cols; cols = cell_cols; if (show_keys) cols -= KEY_WIDGET_COLS; rows = cell_rows < cell_rows_pref ? cell_rows : cell_rows_pref; return cell < cell_row_view * cols || cell >= (cell_row_view + rows) * cols; } static void dirty_cell(int cell) { if (!cell_offscreen(cell)) cells[cell].flags |= CELL_DIRTY; } static void dirty_all(void) { int i, rows; rows = cell_row_view + cell_rows_pref > cell_rows ? cell_rows : cell_row_view + cell_rows_pref; for (i = cell_cols * cell_row_view; i < rows * cell_cols; i++) cells[i].flags |= CELL_DIRTY; } static void render_cell(int i) { cairo_pattern_t *pattern; GdkColor color, *base_color; Cell *pc; int x, y, active, cols, samples = 0; if (!cairo || !pixmap || !pixmap_gc || cell_offscreen(i)) return; pc = cells + i; cell_coords(i, &x, &y); if (training) { samples = char_trained(pc->ch); active = pc->ch && (samples > 0 || (current_cell == i && input && !invalid && input->len)); } else active = pc->ch || (current_cell == i && !inserting && !invalid && input && input->len); base_color = active ? &color_active : &color_inactive; /* Fill above baseline */ gdk_gc_set_rgb_fg_color(pixmap_gc, base_color); gdk_draw_rectangle(pixmap, pixmap_gc, TRUE, x, y, cell_width, cell_height - CELL_BASELINE); /* Fill baseline */ highlight_gdk_color(base_color, &color, 0.1); gdk_gc_set_rgb_fg_color(pixmap_gc, &color); gdk_draw_rectangle(pixmap, pixmap_gc, TRUE, x, y + cell_height - CELL_BASELINE, cell_width, CELL_BASELINE); /* Cairo clip region */ cairo_reset_clip(cairo); cairo_rectangle(cairo, x, y, cell_width, cell_height); cairo_clip(cairo); /* Separator line */ cols = cell_cols; if (show_keys) cols -= KEY_WIDGET_COLS; if ((!right_to_left && i % cell_cols) || (right_to_left && i % cell_cols != cols - 1)) { highlight_gdk_color(base_color, &color, 0.5); pattern = cairo_pattern_create_linear(x, y, x, y + cell_height); cairo_pattern_add_gdk_color_stop(pattern, 0.0, &color, 0.); cairo_pattern_add_gdk_color_stop(pattern, 0.5, &color, 1.); cairo_pattern_add_gdk_color_stop(pattern, 1.0, &color, 0.); cairo_set_source(cairo, pattern); cairo_set_line_width(cairo, 0.5); cairo_move_to(cairo, x + 0.5, y); cairo_line_to(cairo, x + 0.5, y + cell_height - 1); cairo_stroke(cairo); cairo_pattern_destroy(pattern); } /* Draw ink if shown */ if ((cells[i].ch && cells[i].flags & CELL_SHOW_INK) || (current_cell == i && input && input->len)) { int j; render_sample(&cells[i].sample, i); if (cells[i].ch) for (j = 0; j < ALTERNATES && cells[i].alts[j]; j++) if (sample_valid(cells[i].alts[j], cells[i].alt_used[j]) && cells[i].alts[j]->ch == cells[i].ch) { render_sample(cells[i].alts[j], i); break; } } /* Draw letter if recognized or training */ else if (pc->ch && (current_cell != i || !input || !input->len)) { PangoLayout *layout; PangoRectangle ink_ext, log_ext; char string[6] = { 0, 0, 0, 0, 0, 0 }; /* Training color is determined by how well a character is trained */ if (training) { if (samples) highlight_gdk_color(&color_ink, &color, 0.5 - ((double)samples) / samples_max / 2.); else highlight_gdk_color(&color_inactive, &color, 0.2); } /* Use ink color unless this is a questionable match */ else { color = color_ink; if (!(pc->flags & CELL_VERIFIED) && pc->alts[0] && pc->alts[1] && pc->ch == pc->alts[0]->ch && pc->alt_ratings[0] - pc->alt_ratings[1] <= 10) color = color_select; } cairo_set_source_gdk_color(cairo, &color, 1.); layout = pango_layout_new(pango); cairo_move_to(cairo, x, y); g_unichar_to_utf8(pc->ch, string); pango_layout_set_text(layout, string, 6); pango_layout_set_font_description(layout, pango_font_desc); pango_layout_get_pixel_extents(layout, &ink_ext, &log_ext); cairo_rel_move_to(cairo, cell_width / 2 - log_ext.width / 2, 2); pango_cairo_show_layout(cairo, layout); g_object_unref(layout); } /* Insertion arrows */ if (!invalid && inserting && (current_cell == i || current_cell == i + 1)) { double width, stem, height; cairo_set_source_gdk_color(cairo, &color_select, 1.); width = CELL_BORDER; stem = CELL_BORDER / 2; height = CELL_BORDER; if ((!right_to_left && current_cell == i) || (right_to_left && current_cell == i + 1)) { /* Top right arrow */ cairo_move_to(cairo, x, y + 1); cairo_line_to(cairo, x + stem, y + 1); cairo_line_to(cairo, x + stem, y + height); cairo_line_to(cairo, x + width, y + height); cairo_line_to(cairo, x, y + height * 2); cairo_close_path(cairo); cairo_fill(cairo); /* Bottom right arrow */ cairo_move_to(cairo, x, y + cell_height - 1); cairo_line_to(cairo, x + stem, y + cell_height - 1); cairo_line_to(cairo, x + stem, y + cell_height - height); cairo_line_to(cairo, x + width, y + cell_height - height); cairo_line_to(cairo, x, y + cell_height - height * 2); cairo_close_path(cairo); cairo_fill(cairo); } else if ((!right_to_left && current_cell == i + 1) || (right_to_left && current_cell == i)) { double ox; ox = i % cell_cols == cell_cols - 1 ? 0. : 1.; /* Top left arrow */ cairo_move_to(cairo, x + cell_width + ox, y + 1); cairo_line_to(cairo, x + cell_width - stem + ox, y + 1); cairo_line_to(cairo, x + cell_width - stem + ox, y + height); cairo_line_to(cairo, x + cell_width - width + ox, y + height); cairo_line_to(cairo, x + cell_width + ox, y + height * 2); cairo_close_path(cairo); cairo_fill(cairo); /* Bottom left arrow */ cairo_move_to(cairo, x + cell_width + ox, y + cell_height - 1); cairo_line_to(cairo, x + cell_width - stem + ox, y + cell_height - 1); cairo_line_to(cairo, x + cell_width - stem + ox, y + cell_height - height); cairo_line_to(cairo, x + cell_width - width + ox, y + cell_height - height); cairo_line_to(cairo, x + cell_width + ox, y + cell_height - height * 2); cairo_close_path(cairo); cairo_fill(cairo); } } gtk_widget_queue_draw_area(drawing_area, x, y, cell_width, cell_height); pc->flags &= ~CELL_DIRTY; /* This cell may have dirtied the on-screen keyboard */ if (show_keys && x < key_widget->x + key_widget->width && y < key_widget->y + key_widget->height && x + cell_width > key_widget->x && y + cell_height > key_widget->y) keys_dirty = TRUE; } static void render_dirty(void) /* Render cells marked dirty */ { int i; for (i = cell_row_view * cell_cols; i < cell_rows * cell_cols; i++) if (cells[i].flags & CELL_DIRTY) render_cell(i); if (show_keys && keys_dirty) { key_widget_render(key_widget); keys_dirty = FALSE; } } void cell_widget_render(void) /* Render the cells */ { int i, cols, rows, width, height; if (!cairo || !pixmap || !pixmap_gc) return; /* On-screen keyboard eats up some cells on the end */ cols = cell_cols; if (show_keys) cols -= KEY_WIDGET_COLS; /* Render cells */ for (i = cell_row_view * cols; i < cell_rows * cols; i++) render_cell(i); /* Draw border */ rows = cell_rows < cell_rows_pref ? cell_rows : cell_rows_pref; width = cell_width * cols + 1; height = cell_height * rows + 1; gdk_gc_set_rgb_fg_color(pixmap_gc, &color_bg_dark); if (!right_to_left) gdk_draw_rectangle(pixmap, pixmap_gc, FALSE, 0, 0, width, height); else gdk_draw_rectangle(pixmap, pixmap_gc, FALSE, drawing_area->allocation.width - width - 1, 0, width, height); /* Fill extra space to the right */ gdk_gc_set_rgb_fg_color(pixmap_gc, &color_bg); if (!right_to_left) gdk_draw_rectangle(pixmap, pixmap_gc, TRUE, width + 1, 0, drawing_area->allocation.width - width, height + 1); else gdk_draw_rectangle(pixmap, pixmap_gc, TRUE, 0, 0, drawing_area->allocation.width - width - 1, height + 1); /* Fill extra space below */ gdk_draw_rectangle(pixmap, pixmap_gc, TRUE, 0, height + 1, drawing_area->allocation.width, drawing_area->allocation.height - height + 1); /* Render the on-screen keyboard */ if (show_keys) { key_widget_render(key_widget); keys_dirty = FALSE; } /* Dirty the entire drawing area */ gtk_widget_queue_draw(drawing_area); } static void clear_cell(int i) { Cell *cell; cell = cells + i; cell->flags = 0; if (cell->ch || i == current_cell) { if (i == current_cell) input = NULL; cell->flags |= CELL_DIRTY; } clear_sample(&cell->sample); cell->ch = 0; cell->alts[0] = NULL; } static void pad_cell(int cell) { int i; /* Turn any blank cells behind the cell into spaces */ for (i = cell - 1; i >= 0 && !cells[i].ch; i--) { cells[i].ch = ' '; cells[i].flags |= CELL_DIRTY; } } static void free_cells(void) /* Free sample data */ { int i; if (!cells) return; for (i = 0; i < cell_rows * cell_cols; i++) clear_cell(i); g_free(cells); cells = NULL; input = NULL; } static void wrap_cells(int new_rows, int new_cols) /* Word wrap cells */ { Cell *new_cells; int i, j, size, row, col, break_i = -1, break_j = -1; /* Allocate and clear the new grid */ if (new_rows < 1) new_rows = 1; size = new_rows * new_cols * sizeof (Cell); new_cells = g_malloc0(size); for (i = 0, j = 0, row = 0, col = 0; i < cell_rows * cell_cols; i++) { if (!cells[i].ch) continue; /* Break at non-alphanumeric characters */ if (!g_unichar_isalnum(cells[i].ch)) { break_i = i; break_j = j; } if (col >= new_cols) { /* If we need to, allocate room for the new row */ if (++row >= new_rows) { size = ++new_rows * new_cols * sizeof (Cell); new_cells = g_realloc(new_cells, size); memset(new_cells + (new_rows - 1) * new_cols, 0, new_cols * sizeof (Cell)); } /* Move any hanging words down to the next row */ size = i - break_i - 1; if (size >= 0 && size < i - 1) { memset(new_cells + break_j + 1, 0, sizeof (Cell) * size); i = break_i + 1; break_i = -1; } col = 0; if (!cells[i].ch) continue; } new_cells[j++] = cells[i]; col++; } /* If we have filled the last row, we need to add a new row */ if (col >= new_cols && row >= new_rows - 1) { size = ++new_rows * new_cols * sizeof (Cell); new_cells = g_realloc(new_cells, size); memset(new_cells + (new_rows - 1) * new_cols, 0, new_cols * sizeof (Cell)); } /* Only free the cell array, NOT the samples as we have copied the Sample data over to the new cell array */ g_free(cells); cells = new_cells; /* Scroll the grid */ if (new_rows > cell_rows && new_rows > cell_rows_pref) cell_row_view += new_rows - cell_rows; /* Do not let the row view look too far down */ if (cell_row_view + cell_rows_pref > new_rows) { cell_row_view = new_rows - cell_rows_pref; if (cell_row_view < 0) cell_row_view = 0; } cell_rows = new_rows; cell_cols = new_cols; } static int set_size_request(int force) /* Resize the drawing area if necessary */ { int new_w, new_h, rows, resized; new_w = cell_cols * cell_width + 2; rows = cell_rows; if (rows > cell_rows_pref) rows = cell_rows_pref; new_h = rows * cell_height + 2; resized = new_w != drawing_area->allocation.width || new_h != drawing_area->allocation.height || force; if (!resized) return FALSE; gtk_widget_set_size_request(drawing_area, new_w, new_h); return TRUE; } static int pack_cells(int new_rows, int new_cols) /* Pack and position cells, resize widget and window when necessary. Returns TRUE if the widget was resized in the process and can expect a configure event in the near future. */ { int i, rows, range, new_range; /* Must have at least one row */ if (new_rows < 1) new_rows = 1; /* Word wrapping will perform its own memory allocation */ if (!training && cells) wrap_cells(new_rows, new_cols); else if (!cells || new_rows != cell_rows || new_cols != cell_cols) { /* Find minimum number of rows necessary */ if (cells) { for (i = cell_rows * cell_cols - 1; i > 0; i--) if (cells[i].ch) break; rows = i / new_cols + 1; if (new_rows < rows) new_rows = rows; new_range = new_rows * new_cols; /* If we have shrunk the grid, clear cells outside */ range = cell_rows * cell_cols; for (i = new_range; i < range; i++) clear_cell(i); } else { range = 0; new_range = new_rows * new_cols; } /* Allocate enough room, clear any new cells */ cells = g_realloc(cells, new_rows * new_cols * sizeof (Cell)); if (new_range > range) memset(cells + range, 0, (new_range - range) * sizeof (Cell)); cell_rows = new_rows; cell_cols = new_cols; } dirty_all(); /* Update the scrollbar */ if (cell_rows <= cell_rows_pref) { cell_row_view = 0; gtk_widget_hide(scrollbar); } else { GtkObject *adjustment; if (cell_row_view > cell_rows - cell_rows_pref) cell_row_view = cell_rows - cell_rows_pref; if (cell_row_view < 0) cell_row_view = 0; adjustment = gtk_adjustment_new(cell_row_view, 0, cell_rows, 1, cell_rows_pref, cell_rows_pref); gtk_range_set_adjustment(GTK_RANGE(scrollbar), GTK_ADJUSTMENT(adjustment)); gtk_widget_show(scrollbar); } return set_size_request(FALSE); } static void stop_timeout(void) { if (!timeout_source) return; g_source_remove(timeout_source); timeout_source = 0; } static void finish_cell(int cell) { stop_timeout(); if (cell < 0 || cell >= cell_rows * cell_cols || !input || input->len < 1) return; cells[cell].flags |= CELL_DIRTY; /* Train on the input */ if (training) train_sample(&cells[cell].sample, TRUE); /* Recognize input */ else if (input && input->strokes[0] && input->strokes[0]->len) { Cell *pc = cells + cell; int i; /* Track stats */ if (pc->ch && pc->ch != ' ') rewrites++; inputs++; old_cc = cell; recognize_sample(input, pc->alts, ALTERNATES); pc->ch = input->ch; pc->flags &= ~CELL_VERIFIED; if (pc->ch) pad_cell(cell); /* Copy the alternate ratings and usage stamps before they're overwritten by another call to recognize_sample() */ for (i = 0; i < ALTERNATES && pc->alts[i]; i++) { pc->alt_ratings[i] = pc->alts[i]->rating; pc->alt_used[i] = pc->alts[i]->used; } /* Add a row if this is the last cell */ if (cell == cell_rows * cell_cols - 1) pack_cells(0, cell_cols); } input = NULL; drawing = FALSE; } static gboolean finish_timeout(void) /* Motion timeout for finishing drawing a cell */ { finish_cell(current_cell); render_dirty(); timeout_source = 0; start_timeout(); return FALSE; } static gboolean row_timeout(void) /* Motion timeout for adding a row */ { pack_cells(cell_rows + 1, cell_cols); cell_widget_render(); timeout_source = 0; return FALSE; } static int check_clear(void) { int i; if (is_clear) return TRUE; if (training || (input && input->len)) return FALSE; for (i = 0; i < cell_cols * cell_rows; i++) if (cells[i].ch) return FALSE; return TRUE; } static gboolean is_clear_timeout(void) /* Motion timeout for checking clear state */ { timeout_source = 0; if (is_clear || !check_clear()) return FALSE; /* Show the on-screen keyboard */ show_keys = keyboard_enabled; is_clear = TRUE; pack_cells(1, cell_cols); cell_widget_render(); return FALSE; } static gboolean hold_timeout(void) /* Motion timeout for popping up a hold-click context menu */ { if (potential_hold) { potential_hold = FALSE; stop_drawing(); show_context_menu(1, gtk_get_current_event_time()); } timeout_source = 0; return FALSE; } static void start_timeout(void) /* If a timeout action is approriate for the current situation, start a timeout */ { GSourceFunc func = NULL; if (potential_hold) return; stop_timeout(); if (cross_out) return; /* Events below are not triggered while drawing */ if (!drawing) { if (input) func = (GSourceFunc)finish_timeout; else if (!cells[cell_rows * cell_cols - 1].ch && cells[cell_rows * cell_cols - 2].ch && !training) func = (GSourceFunc)row_timeout; else if (!is_clear && check_clear()) func = (GSourceFunc)is_clear_timeout; } if (func) timeout_source = g_timeout_add(MOTION_TIMEOUT, func, NULL); } static void start_hold(void) { potential_hold = TRUE; if (timeout_source) g_source_remove(timeout_source); timeout_source = g_timeout_add(MOTION_TIMEOUT, (GSourceFunc)hold_timeout, NULL); } void cell_widget_set_cursor(int recreate) /* Set the drawing area cursor to a black box pen cursor or to a blank cursor depending on which is appropriate */ { static char bits[] = { 0xff, 0xff, 0xff }; /* Square cursor */ /*{ 0x02, 0xff, 0x02 };*/ /* Cross cursor */ static GdkCursor *square; GdkPixmap *pixmap; GdkCursor *cursor; /* Ink color changed, recreate cursor */ if (recreate) { if (square) gdk_cursor_unref(square); pixmap = gdk_bitmap_create_from_data(NULL, bits, 3, 3); square = gdk_cursor_new_from_pixmap(pixmap, pixmap, &color_ink, &color_ink, 1, 1); g_object_unref(pixmap); } cursor = square; /* Eraser cursor */ if (eraser || cross_out) { GdkDisplay *display; display = gtk_widget_get_display(drawing_area); cursor = gdk_cursor_new_for_display(display, GDK_CIRCLE); } gdk_window_set_cursor(drawing_area->window, invalid || inserting ? NULL : cursor); } static void stop_drawing(void) /* Ends the current stroke and applies various processing functions */ { Stroke *stroke; if (!drawing) { if (cross_out) { cross_out = FALSE; cell_widget_set_cursor(FALSE); } return; } drawing = FALSE; if (!input || input->len >= STROKES_MAX) return; stroke = input->strokes[input->len - 1]; smooth_stroke(stroke); simplify_stroke(stroke); process_stroke(stroke); render_cell(current_cell); render_sample(input, current_cell); start_timeout(); } static void erase_cell(int cell) { if (!training) { clear_cell(cell); render_dirty(); } else { untrain_char(cells[cell].ch); render_cell(cell); } } static void check_cell(double x, double y, GdkDevice *device) /* Check if we have changed to a different cell */ { int cell_x, cell_y, cell, rem_x, rem_y, old_inserting, old_invalid, old_eraser, old_cross_out; /* Stop drawing first */ old_cross_out = cross_out; if (drawing && !cross_out) { int dx, dy; /* Check if we have started the cross-out gesture */ cell_coords(current_cell, &cell_x, &cell_y); cell_x += cell_width / 2; cell_y += cell_height / 2; dx = cell_x - x; dy = cell_y - y; if (dx < 0) dx = -dx; if (dy < 0) dy = -dy; if (dx < cell_width && dy < cell_height) return; cross_out = TRUE; drawing = FALSE; clear_sample(input); input = NULL; erase_cell(current_cell); } /* Is this the eraser tip? */ old_eraser = eraser; eraser = device && device->source == GDK_SOURCE_ERASER; /* Adjust for border */ x--; y--; /* Right-to-left mode inverts the x-axis */ if (right_to_left) x = cell_cols * cell_width - x - 1; /* What cell are we hovering over? */ cell_y = y / cell_height + cell_row_view; cell_x = x / cell_width; cell = cell_cols * cell_y + cell_x; /* Out of bounds or invalid cell */ old_invalid = invalid; invalid = cell_x < 0 || cell_y < 0 || cell_x >= cell_cols || cell_y >= cell_rows || cell_offscreen(cell) || (training && !cells[cell].ch); /* Are we in the insertion hotspot? */ rem_x = x - cell_x * cell_width; rem_y = y - (cell_y - cell_row_view) * cell_height; old_inserting = inserting; inserting = FALSE; if (!cross_out && !eraser && !invalid && !training && !input && (rem_y <= CELL_BORDER * 2 || rem_y > cell_height - CELL_BORDER * 2)) { if (rem_x <= CELL_BORDER + 1) inserting = TRUE; else if (cell < cell_rows * cell_cols - 1 && rem_x > cell_width - CELL_BORDER) { inserting = TRUE; cell++; } } /* Current cell has changed */ old_cc = current_cell; if (current_cell != cell) { current_cell = cell; if (!cross_out) finish_cell(old_cc); } /* We have moved into or out of the insertion hotspot */ if (old_inserting != inserting || old_cc != cell) { if (old_inserting) { dirty_cell(old_cc); dirty_cell(old_cc - 1); } if (inserting) { dirty_cell(current_cell); dirty_cell(current_cell - 1); } } /* Update cursor if necessary */ if (old_invalid != invalid || old_inserting != inserting || old_eraser != eraser || old_cross_out != cross_out) cell_widget_set_cursor(FALSE); render_dirty(); } static void unclear(int render) /* Hides the on-screen keyboard and re-renders the cells. FIXME we only need to render dirty cells */ { is_clear = FALSE; if (!show_keys) return; show_keys = FALSE; if (render) cell_widget_render(); } static void draw(double x, double y) { int cx, cy; if (current_cell < 0) return; /* Hide the on-screen keyboard */ unclear(TRUE); /* New character */ if (!input || !input->len) { clear_sample(&cells[current_cell].sample); cells[current_cell].alts[0] = NULL; input = &cells[current_cell].sample; cells[current_cell].sample.ch = cells[current_cell].ch; } /* Allocate a new stroke if we aren't already drawing */ if (!drawing) { if (input->len >= STROKES_MAX) return; input->strokes[input->len++]= stroke_new(0); drawing = TRUE; if (input->len == 1) render_cell(current_cell); } /* Check bounds */ cell_coords(current_cell, &cx, &cy); /* Normalize the input */ x = (x - cx - cell_width / 2) * SCALE / cell_height; y = (y - cy - cell_height / 2) * SCALE / cell_height; draw_stroke(&input->strokes[input->len - 1], x, y); } static void insert_cell(int cell) { int i; /* Find a blank to consume */ for (i = cell; i < cell_rows * cell_cols; i++) if (!cells[i].ch) break; /* Insert a row if necessary */ if (i >= cell_rows * cell_cols - 1) { cells = g_realloc(cells, ++cell_rows * cell_cols * sizeof (Cell)); memset(cells + (cell_rows - 1) * cell_cols, 0, cell_cols * sizeof (Cell)); if (cell_rows > cell_rows_pref) cell_row_view++; } if (i > cell) memmove(cells + cell + 1, cells + cell, (i - cell) * sizeof (Cell)); cells[cell].ch = ' '; cells[cell].alts[0] = NULL; cells[cell].sample.len = 0; cells[cell].sample.ch = 0; pad_cell(cell); pack_cells(0, cell_cols); unclear(FALSE); cell_widget_render(); } static void delete_cell(int cell) { int i, rows; clear_cell(cell); memmove(cells + cell, cells + cell + 1, (cell_rows * cell_cols - cell - 1) * sizeof (Cell)); /* Delete a row if necessary */ for (i = 0; i < cell_cols && !cells[(cell_rows - 1) * cell_cols + i].ch; i++); rows = cell_rows; if (i == cell_cols && cell_rows > 1 && !cells[(cell_rows - 1) * cell_cols - 1].ch) rows--; cells[cell_rows * cell_cols - 1].ch = 0; cells[cell_rows * cell_cols - 1].alts[0] = NULL; pack_cells(0, cell_cols); cell_widget_render(); } static void send_cell_key(int cell) /* Send the key event for the cell */ { int i; if (!cells[cell].ch) return; /* Collect stats and train on corrections */ if (cells[cell].ch != ' ') { if (cells[cell].ch != cells[cell].sample.ch) corrections++; if (train_on_input && !(cells[cell].flags & CELL_SHIFTED) && cells[cell].sample.len) { cells[cell].sample.ch = cells[cell].ch; train_sample(&cells[cell].sample, FALSE); } characters++; } /* Update the usage time for the sample that matched this character */ for (i = 0; i < ALTERNATES && cells[cell].alts[i]; i++) { if (!sample_valid(cells[cell].alts[i], cells[cell].alt_used[i])) break; if (cells[cell].alts[i]->ch == cells[cell].ch) { promote_sample(cells[cell].alts[i]); break; } demote_sample(cells[cell].alts[i]); } key_event_send_char(cells[cell].ch); } /* Events */ /* Hold click area radius */ #define HOLD_CLICK_WIDTH 3. /* Mask for possible buttons used by the eraser */ #define ERASER_BUTTON_MASK (GDK_MOD5_MASK | GDK_BUTTON1_MASK | \ GDK_BUTTON2_MASK | GDK_BUTTON3_MASK | \ GDK_BUTTON4_MASK | GDK_BUTTON5_MASK) static int menu_cell, alt_menu_alts[ALTERNATES]; static void training_menu_reset(void) { untrain_char(cells[menu_cell].ch); render_cell(menu_cell); } static void alt_menu_selection_done(GtkWidget *widget) { gtk_widget_destroy(widget); } static void alt_menu_activate(GtkWidget *widget, int *alt) { cells[menu_cell].ch = *alt; cells[menu_cell].flags |= CELL_VERIFIED; cells[menu_cell].flags &= ~CELL_SHIFTED; render_cell(menu_cell); } static void alt_menu_delete(void) { delete_cell(menu_cell); } static void alt_menu_show_ink(void) { cells[menu_cell].flags ^= CELL_SHOW_INK; render_cell(menu_cell); } static void alt_menu_change_case(void) { if (g_unichar_isupper(cells[menu_cell].ch)) { cells[menu_cell].ch = g_unichar_tolower(cells[menu_cell].ch); cells[menu_cell].flags |= CELL_SHIFTED; render_cell(menu_cell); } else if (g_unichar_islower(cells[menu_cell].ch)) { cells[menu_cell].ch = g_unichar_toupper(cells[menu_cell].ch); cells[menu_cell].flags |= CELL_SHIFTED; render_cell(menu_cell); } else g_debug("Cannot change case, not an alphabetic character"); } static gboolean scrollbar_scroll_event(GtkWidget *widget, GdkEventScroll *event) { check_cell(event->x, event->y, event->device); return FALSE; } static gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event) { if (scrollbar && GTK_WIDGET_VISIBLE(scrollbar)) gtk_widget_event(scrollbar, (GdkEvent*)event); return FALSE; } static void context_menu_position(GtkMenu *menu, gint *x, gint *y, gboolean *push_in) /* Positions the two-column context menu so that the column divide is at the cursor rather than the upper left hand point */ { if (cells[menu_cell].alts[0]) *x -= GTK_WIDGET(menu)->requisition.width / 2; *push_in = TRUE; } static void show_context_menu(int button, int time) /* Popup the cell context menu for the current cell */ { GtkWidget *menu, *widget; int i, pos; /* Training menu is the same for all cells */ if (training) { if (!char_trained(cells[current_cell].ch)) return; menu_cell = current_cell; gtk_menu_popup(GTK_MENU(training_menu), 0, 0, 0, 0, button, time); return; } /* Can't delete blanks */ if (!cells[current_cell].ch) return; /* Construct an alternates menu for the current button */ menu = gtk_menu_new(); menu_cell = current_cell; /* Menu -> Delete */ widget = gtk_menu_item_new_with_label("Delete"); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(alt_menu_delete), NULL); gtk_menu_attach(GTK_MENU(menu), widget, 0, 1, 0, 1); /* Menu -> Show Ink */ if (cells[menu_cell].sample.ch) { const char *label; label = cells[menu_cell].flags & CELL_SHOW_INK ? "Hide ink" : "Show ink"; widget = gtk_menu_item_new_with_label(label); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(alt_menu_show_ink), NULL); gtk_menu_attach(GTK_MENU(menu), widget, 0, 1, 1, 2); } /* Menu -> Change case */ if (g_unichar_isupper(cells[menu_cell].ch) || g_unichar_islower(cells[menu_cell].ch)) { const char *string = "To upper"; if (g_unichar_isupper(cells[menu_cell].ch)) string = "To lower"; widget = gtk_menu_item_new_with_label(string); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(alt_menu_change_case), NULL); gtk_menu_attach(GTK_MENU(menu), widget, 0, 1, 2, 3); } /* Menu -> Alternates */ for (i = 0, pos = 0; i < ALTERNATES && cells[current_cell].alts[i]; i++) { char *str; if (!sample_valid(cells[current_cell].alts[i], cells[current_cell].alt_used[i])) continue; str = va("%C\t%d%%", cells[current_cell].alts[i]->ch, cells[current_cell].alt_ratings[i]); alt_menu_alts[i] = cells[current_cell].alts[i]->ch; widget = gtk_check_menu_item_new_with_label(str); if (cells[current_cell].ch == cells[current_cell].alts[i]->ch) gtk_check_menu_item_set_active( GTK_CHECK_MENU_ITEM(widget), TRUE); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(alt_menu_activate), alt_menu_alts + i); gtk_menu_attach(GTK_MENU(menu), widget, 1, 2, pos, pos + 1); pos++; } g_signal_connect(G_OBJECT(menu), "selection-done", G_CALLBACK(alt_menu_selection_done), NULL); gtk_widget_show_all(menu); gtk_menu_popup(GTK_MENU(menu), 0, 0, (GtkMenuPositionFunc)context_menu_position, 0, button, time); } static gboolean button_press_event(GtkWidget *widget, GdkEventButton *event) /* Mouse button is pressed over drawing area */ { /* Pass on event to the on-screen keyboard */ if (show_keys && key_widget_button_press(widget, event, key_widget)) return TRUE; /* Don't process double clicks */ if (event->type != GDK_BUTTON_PRESS) return TRUE; /* Check validity every time */ check_cell(event->x, event->y, event->device); if (invalid) return TRUE; /* If we are drawing and we get a button press event it is possible that we never received a button release event for some reason. This is a fix for Zaurus drawing connected lines. */ if (drawing) stop_drawing(); /* If we have pressed with the eraser, erase the cell */ if (eraser || event->button == 2) { erase_cell(current_cell); return TRUE; } /* Draw/activate insert with left click */ if (event->button == 1) { if (inserting) potential_insert = TRUE; else if (cells[current_cell].ch) { start_hold(); } else draw(event->x, event->y); /* We are now counting on getting valid coordinates here so save in case we are doing a potential insert/hold and we don't get a motion event in between */ cursor_x = event->x; cursor_y = event->y; return TRUE; } /* Right-click opens context menu */ else if (event->button == 3 && current_cell >= 0 && !inserting && (!input || !input->len)) { show_context_menu(event->button, event->time); return TRUE; } return FALSE; } static gboolean button_release_event(GtkWidget *widget, GdkEventButton *event) /* Mouse button is released over drawing area */ { /* Pass on event to the on-screen keyboard */ if (show_keys && key_widget_button_release(widget, event, key_widget)) return TRUE; /* Only handle left-clicks */ if (event->button != 1) return TRUE; /* Complete an insertion */ if (potential_insert && inserting) { insert_cell(current_cell); potential_insert = FALSE; return TRUE; } /* Cancel a hold-click */ if (potential_hold) { potential_hold = FALSE; draw(cursor_x, cursor_y); } stop_drawing(); return TRUE; } static gboolean motion_notify_event(GtkWidget *widget, GdkEventMotion *event) /* Mouse is moved over drawing area */ { GdkModifierType state; double x, y; /* Fetch event coordinates */ x = event->x; y = event->y; if (xinput_enabled) { gdk_device_get_state(event->device, event->window, NULL, &state); gdk_event_get_coords((GdkEvent*)event, &x, &y); } #if GTK_CHECK_VERSION(2, 12, 0) /* Process a hint event (GTK >= 2.12) */ gdk_event_request_motions(event); #else /* Process a hint event (GTK <= 2.10) */ else if (event->is_hint) { int nx, ny; gdk_window_get_pointer(event->window, &nx, &ny, &state); x = nx; y = ny; } #endif /* If we are getting invalid output from this device with XInput enabled, ignore it */ if (x < 0 || x > drawing_area->allocation.width || y < 0 || y > drawing_area->allocation.width) { return TRUE; } /* Check where the pointer is */ check_cell(x, y, event->device); /* Cancel a potential insert */ if (potential_insert) { if (!inserting) { potential_insert = FALSE; draw(cursor_x, cursor_y); } else return TRUE; } /* Cancel a potential hold-click */ if (potential_hold) { double dx, dy; dx = x - cursor_x; dy = y - cursor_y; if (dx < -HOLD_CLICK_WIDTH || dx > HOLD_CLICK_WIDTH || dy < -HOLD_CLICK_WIDTH || dy > HOLD_CLICK_WIDTH) { potential_hold = FALSE; draw(cursor_x, cursor_y); } else return TRUE; } cursor_x = x; cursor_y = y; /* Record and draw new segment */ if (drawing) { draw(cursor_x, cursor_y); render_segment(input, current_cell, input->len - 1, input->strokes[input->len - 1]->len - 2, NULL); } /* Erasing with the eraser. We get MOD5 rather than a button for the eraser being pressed on a Tablet PC. */ else if (!invalid && (cross_out || (eraser && (state & ERASER_BUTTON_MASK)))) erase_cell(current_cell); /* Plain motion restarts the finish countdown */ start_timeout(); return TRUE; } static void configure_keys(void) { int width; /* The key widget is slaved so we need to update all of the pointers to the objects derived from our drawing area */ key_widget->pixmap = pixmap; key_widget->cairo = cairo; key_widget->pixmap_gc = pixmap_gc; key_widget->pango = pango; /* Right-to-left mode affects keyboard placement */ width = cell_width * KEY_WIDGET_COLS - KEY_WIDGET_BORDER; if (!right_to_left) key_widget_configure(key_widget, cell_cols * cell_width - width, 1, width, cell_height); else key_widget_configure(key_widget, 0, 1, width, cell_height); } static gboolean configure_event(void) /* Create a new backing pixmap of the appropriate size */ { int new_cols; /* Do nothing if we are not visible */ if (!drawing_area || !drawing_area->window || !GTK_WIDGET_VISIBLE(drawing_area)) return TRUE; /* Backing pixmap */ if (pixmap) { int old_width, old_height; /* Do not update if the size has not changed */ gdk_drawable_get_size(key_widget->pixmap, &old_width, &old_height); if (old_width == drawing_area->allocation.width && old_height == drawing_area->allocation.height) return TRUE; g_object_unref(pixmap); } pixmap = gdk_pixmap_new(drawing_area->window, drawing_area->allocation.width, drawing_area->allocation.height, -1); trace("%dx%d", drawing_area->allocation.width, drawing_area->allocation.height); /* GDK graphics context */ if (pixmap_gc) g_object_unref(pixmap_gc); pixmap_gc = gdk_gc_new(GDK_DRAWABLE(pixmap)); /* Cairo context */ if (cairo) cairo_destroy(cairo); cairo = gdk_cairo_create(GDK_DRAWABLE(pixmap)); /* Set font size */ pango_font_description_set_absolute_size(pango_font_desc, PANGO_SCALE * (cell_height - CELL_BASELINE - 2)); /* Get the background color */ color_bg = window->style->bg[0]; color_bg_dark = window->style->bg[1]; /* Cursor */ cell_widget_set_cursor(TRUE); /* If the cell dimensions changed, repack */ if (window_embedded) { new_cols = (drawing_area->allocation.width - cell_widget_scrollbar_width() - 6) / cell_width; if (new_cols != cell_cols) pack_cells(1, new_cols); } /* If we are embedded we won't be able to resize the window so we can't honor the maximum rows preference */ if (window_embedded) cell_rows_pref = drawing_area->allocation.height / cell_height; /* Update the key widget with new values */ configure_keys(); /* Render the cells */ cell_widget_render(); return TRUE; } static gboolean expose_event(GtkWidget *widget, GdkEventExpose *event) /* Redraw the drawing area from the backing pixmap */ { if (!pixmap) return FALSE; gdk_draw_drawable(widget->window, widget->style->fg_gc[GTK_WIDGET_STATE(widget)], pixmap, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } static gboolean enter_notify_event(GtkWidget *widget, GdkEventCrossing *event) { check_cell(event->x, event->y, NULL); return FALSE; } static void scrollbar_value_changed(void) /* The cell widget has been scrolled */ { double value; value = gtk_range_get_value(GTK_RANGE(scrollbar)); if ((int)value == cell_row_view) return; cell_row_view = value; cell_widget_render(); } /* Widget */ void cell_widget_enable_xinput(int on) /* Enable Xinput devices. We set everything to screen mode despite the fact that we actually want window coordinates. Window mode just seems to break everything and we get window coords with screen mode anyway! */ { GList *list; GdkDevice *device; int i, mode; gtk_widget_set_extension_events(drawing_area, on ? GDK_EXTENSION_EVENTS_ALL : GDK_EXTENSION_EVENTS_NONE); mode = on ? GDK_MODE_SCREEN : GDK_MODE_DISABLED; list = gdk_devices_list(); for (i = 0; (device = (GdkDevice*)g_list_nth_data(list, i)); i++) gdk_device_set_mode(device, mode); xinput_enabled = on; g_debug(on ? "Xinput events enabled" : "Xinput events disabled"); } int cell_widget_update_colors(void) { GdkColor old_active, old_inactive, old_ink, old_select; old_active = color_active; old_inactive = color_inactive; old_ink = color_ink; old_select = color_select; color_active = custom_active_color; color_inactive = custom_inactive_color; color_ink = custom_ink_color; color_select = custom_select_color; if (style_colors) { color_active = window->style->base[0]; color_ink = window->style->text[0]; color_inactive = window->style->bg[1]; } return !gdk_colors_equal(&old_active, &color_active) || !gdk_colors_equal(&old_inactive, &color_inactive) || !gdk_colors_equal(&old_ink, &color_ink) || !gdk_colors_equal(&old_select, &color_select); } const char *cell_widget_word(void) /* Return the current word and the current cell's position in that word FIXME this function ignores wide chars */ { static char buf[64]; int i, min, max; memset(buf, 0, sizeof (buf)); if (cell_offscreen(old_cc)) return buf; /* Find the start of the word */ for (min = old_cc - 1; min >= 0 && cells[min].ch && g_ascii_isalnum(cells[min].ch) && cells[min].ch < 0x7f; min--); /* Find the end of the word */ for (max = old_cc + 1; max < cell_rows * cell_cols && cells[max].ch && g_ascii_isalnum(cells[max].ch) && cells[max].ch < 0x7f; max++); /* Copy the word to a buffer */ for (++min, i = 0; i < max - min && i < (int)sizeof (buf) - 1; i++) buf[i] = cells[min + i].ch; buf[old_cc - min] = 0; buf[i] = 0; return buf; } void cell_widget_clear(void) { stop_timeout(); free_cells(); /* Restore cells if we just finished training */ if (training) { cells = cells_saved; cell_rows = cell_rows_saved; cell_cols = cell_cols_saved; cell_row_view = cell_row_view_saved; training = FALSE; pack_cells(cell_rows, cell_cols); /* Show the on-screen keyboard */ if (check_clear()) { show_keys = keyboard_enabled; is_clear = TRUE; } } /* Clear cells otherwise */ else { pack_cells(1, cell_cols); /* Show the on-screen keyboard */ show_keys = keyboard_enabled; is_clear = TRUE; } cell_widget_render(); } void cell_widget_train(void) { UnicodeBlock *block; int i, pos, range; stop_timeout(); /* Save cells */ if (!training) { cells_saved = cells; cell_rows_saved = cell_rows; cell_cols_saved = cell_cols; cell_row_view_saved = cell_row_view; cells = NULL; cell_row_view = 0; } /* Clear if not training any block */ if (training_block < 0) { free_cells(); pack_cells(1, cell_cols); cell_widget_render(); return; } /* Pack the Unicode block's characters into the cell grid */ block = unicode_blocks + training_block; range = block->end - block->start + 1; training = TRUE; pack_cells((range + cell_cols - 1) / cell_cols, cell_cols); /* Preset all of the characters for training */ for (i = 0, pos = 0; i < range; i++) { gunichar ch; ch = block->start + i; if (char_disabled(ch)) continue; cells[pos].ch = ch; cells[pos].alts[0] = NULL; cells[pos++].flags = 0; } range = pos; for (; pos < cell_rows * cell_cols; pos++) clear_cell(pos); pack_cells(1, cell_cols); unclear(FALSE); cell_widget_render(); } void cell_widget_pack(void) { int cols; if (training) { cell_widget_train(); return; } cols = cell_cols_pref; if (window_docked) { GdkScreen *screen; screen = gtk_window_get_screen(GTK_WINDOW(window)); cols = (gdk_screen_get_width(screen) - cell_widget_scrollbar_width() - 6) / cell_width; } if (!pack_cells(0, cols)) set_size_request(TRUE); if (is_clear) show_keys = keyboard_enabled; /* Right-to-left mode may have changed so we need to reconfigure the on-screen keyboard */ configure_keys(); cell_widget_render(); trace("%dx%d, scrollbar %d", cell_cols, cell_rows, cell_widget_scrollbar_width()); } int cell_widget_insert(void) { gunichar *utf16; int i, j, slot, chars; if (training) return FALSE; chars = 0; /* Prepare for sending key events */ key_event_update_mappings(); /* Need to send the keys out in reverse order for right_to_left mode because the cells are displayed with columns reversed */ if (right_to_left) for (i = cell_cols - 1; i < cell_rows * cell_cols; i--) { if (cells[i].ch) { chars++; send_cell_key(i); } if (i % cell_cols == 0) i += cell_cols * 2; } else for (i = 0; i < cell_rows * cell_cols; i++) { if (!cells[i].ch) continue; chars++; send_cell_key(i); } /* If nothing was entered, send Enter key event */ if (!chars) { key_event_send_enter(); return FALSE; } /* Create a UTF-16 string representation */ utf16 = g_malloc(sizeof (**history) * (chars + 1)); for (i = 0, j = 0; i < cell_rows * cell_cols; i++) if (cells[i].ch) utf16[j++] = cells[i].ch; utf16[j] = 0; /* If this text has been entered before, consume that history slot */ slot = HISTORY_MAX - 1; for (i = 0; i < slot && history[i]; i++) for (j = 0; history[i][j] == utf16[j]; j++) if (!utf16[j]) { slot = i; break; } /* Save entered text to history */ g_free(history[slot]); memmove(history + 1, history, sizeof (*history) * slot); history[0] = utf16; cell_widget_clear(); return TRUE; } static void buffer_menu_deactivate(GtkMenuShell *shell, GtkWidget *button) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), FALSE); } static void buffer_menu_item_activate(GtkWidget *widget, gunichar *history) { int i; stop_timeout(); free_cells(); for (i = 0; history[i]; i++); cell_rows = i / cell_cols + 1; cell_cols = cell_cols; cells = g_malloc0(sizeof (*cells) * cell_cols * cell_rows); for (i = 0; history[i]; i++) cells[i].ch = history[i]; pack_cells(cell_rows, cell_cols); unclear(TRUE); } static void buffer_menu_item_destroy(GtkWidget *widget, gchar *string) { g_free(string); } static void buffer_menu_position_func(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, GtkWidget *button) { gdk_window_get_origin(button->window, x, y); *x += button->allocation.x + button->allocation.width - GTK_WIDGET(menu)->requisition.width; *y += button->allocation.y + button->allocation.height; *push_in = TRUE; } void cell_widget_show_buffer(GtkWidget *button) /* Show input back buffer menu */ { static GtkWidget *menu; int i; if (menu) gtk_widget_destroy(GTK_WIDGET(menu)); menu = gtk_menu_new(); g_signal_connect(G_OBJECT(menu), "deactivate", G_CALLBACK(buffer_menu_deactivate), button); for (i = 0; history[i] && i < HISTORY_MAX; i++) { GtkWidget *item; GError *error = NULL; gchar *string; /* Convert string from a UTF-16 array to displayable UTF-8 */ string = g_ucs4_to_utf8(history[i], -1, NULL, NULL, &error); if (error) { g_warning("g_ucs4_to_utf8(): %s", error->message); continue; } /* Reverse the displayed string for right-to-left mode */ if (right_to_left) { gchar *reversed; reversed = g_utf8_strreverse(string, -1); g_free(string); string = reversed; } /* Create menu item */ item = gtk_menu_item_new_with_label(string); g_signal_connect(G_OBJECT(item), "destroy", G_CALLBACK(buffer_menu_item_destroy), string); g_signal_connect(G_OBJECT(item), "activate", G_CALLBACK(buffer_menu_item_activate), history[i]); gtk_menu_attach(GTK_MENU(menu), item, 0, 1, i, i + 1); } /* Show back buffer menu */ gtk_widget_show_all(menu); gtk_menu_popup(GTK_MENU(menu), NULL, NULL, (GtkMenuPositionFunc)buffer_menu_position_func, button, 0, gtk_get_current_event_time()); } int cell_widget_scrollbar_width(void) /* Gets the width of the scrollbar even if it is hidden */ { GtkRequisition requisition; if (scrollbar->requisition.width <= 1) { gtk_widget_size_request(scrollbar, &requisition); return requisition.width; } return scrollbar->requisition.width + 4; } int cell_widget_get_height(void) { int rows; rows = cell_rows > cell_rows_pref ? cell_rows_pref : cell_rows; return rows * cell_height + 2; } GtkWidget *cell_widget_new(void) /* Creates the Cell widget. Should only be called once per program run! */ { PangoFontMap *font_map; GtkWidget *widget, *hbox; /* Initial settings */ cell_cols = cell_cols_pref; /* Create drawing area */ drawing_area = gtk_drawing_area_new(); g_signal_connect(G_OBJECT(drawing_area), "expose_event", G_CALLBACK(expose_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "configure_event", G_CALLBACK(configure_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "show", G_CALLBACK(configure_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "button_press_event", G_CALLBACK(button_press_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "button_release_event", G_CALLBACK(button_release_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "motion_notify_event", G_CALLBACK(motion_notify_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "enter_notify_event", G_CALLBACK(enter_notify_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "scroll_event", G_CALLBACK(scroll_event), NULL); g_signal_connect(G_OBJECT(drawing_area), "style-set", G_CALLBACK(cell_widget_update_colors), NULL); // Do not listen to leave_notify_event, after a certain GTK version // it fires for just about anything you do on the screen. gtk_widget_set_events(drawing_area, GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_ENTER_NOTIFY_MASK | GDK_SCROLL_MASK); /* Update colors */ cell_widget_update_colors(); /* Create small on-screen keyboard */ key_widget = key_widget_new_small(drawing_area); /* Create training menu */ training_menu = gtk_menu_new(); widget = gtk_menu_item_new_with_label("Reset"); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(training_menu_reset), NULL); gtk_menu_attach(GTK_MENU(training_menu), widget, 0, 1, 0, 1); gtk_widget_show_all(training_menu); /* Create scroll bar */ scrollbar = gtk_vscrollbar_new(NULL); gtk_widget_set_no_show_all(scrollbar, TRUE); g_signal_connect(G_OBJECT(scrollbar), "value-changed", G_CALLBACK(scrollbar_value_changed), NULL); g_signal_connect(G_OBJECT(scrollbar), "scroll_event", G_CALLBACK(scrollbar_scroll_event), NULL); gtk_widget_add_events(drawing_area, GDK_SCROLL_MASK); /* Box container */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), drawing_area, TRUE, TRUE, 2); gtk_box_pack_start(GTK_BOX(hbox), scrollbar, FALSE, FALSE, 2); /* Create Pango font description FIXME font characteristics, not family */ pango_font_desc = pango_font_description_new(); pango_font_description_set_family(pango_font_desc, "Monospace"); /* Pango context */ font_map = pango_cairo_font_map_new(); pango = pango_font_map_create_context(font_map); g_object_unref(font_map); /* Clear cells */ cell_widget_clear(); /* Set Xinput state */ cell_widget_enable_xinput(xinput_enabled); /* Clear history */ memset(history, 0, sizeof (history)); return hbox; } void cell_widget_cleanup(void) { key_widget_cleanup(key_widget); /* Freeing memory when closing is important when trying to sort legitimate memory leaks from left-over memory */ if (pixmap) g_object_unref(pixmap); if (pixmap_gc) g_object_unref(pixmap_gc); if (cairo) cairo_destroy(cairo); if (pango) g_object_unref(pango); } cellwriter-1.3.6/src/common.h000066400000000000000000000157561311072664300161460ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include /* Limits */ #define HISTORY_MAX 8 #define KEYBOARD_SIZE_MIN 480 /* Single instance protection */ typedef void (*SingleInstanceFunc)(const char *msg); int single_instance_init(SingleInstanceFunc callback, const char *str); void single_instance_cleanup(void); /* Unicode blocks */ typedef struct { short enabled; const int start, end; const char *name; } UnicodeBlock; extern UnicodeBlock unicode_blocks[]; /* Profile */ extern int profile_line, profile_read_only; const char *profile_read(void); int profile_write(const char *str); int profile_sync_int(int *var); int profile_sync_short(short *var); /* Window */ enum { WINDOW_UNDOCKED = 0, WINDOW_DOCKED_TOP, WINDOW_DOCKED_BOTTOM, }; extern GtkWidget *window; extern GtkTooltips *tooltips; extern int window_force_show, window_force_hide, window_force_x, window_force_y, window_force_docked, window_struts, window_embedded, window_button_labels, window_show_info, window_docked, style_colors; void window_create(void); void window_sync(void); void window_cleanup(void); void window_show(void); void window_hide(void); void window_toggle(void); void window_pack(void); void window_update_colors(void); void window_set_docked(int mode); void unicode_block_toggle(int block, int on); void blocks_sync(void); void startup_splash_show(void); /* GTK/GDK/Glib specific */ /* Multiply to convert RGB to GDK color */ #define COLOR_SCALE 256 /* Constants may not have been defined if GLib is not included */ #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #ifndef NULL #define NULL ((void*)0) #endif /* A macro used to initialize GdkColor with RGB values */ #define RGB_TO_GDKCOLOR(r, g, b) {0, (r) * 256, (g) * 256, (b) * 256 } static inline void cairo_set_source_gdk_color(cairo_t *cairo, const GdkColor *color, double alpha) /* Set the cairo source color from a GdkColor */ { cairo_set_source_rgba(cairo, color->red / 65535., color->green / 65535., color->blue / 65535., alpha); } static inline void cairo_pattern_add_gdk_color_stop(cairo_pattern_t *pattern, double offset, GdkColor *color, double alpha) /* Add a GdkColor color stop to a cairo pattern */ { cairo_pattern_add_color_stop_rgba(pattern, offset, color->red / 65535., color->green / 65535., color->blue / 65535., alpha); } static inline int gdk_colors_equal(GdkColor *a, GdkColor *b) /* Check if two GdkColor structures are equal */ { return a->red == b->red && a->green == b->green && a->blue == b->blue; } void highlight_gdk_color(const GdkColor *base, GdkColor *out, double value); void scale_gdk_color(const GdkColor *base, GdkColor *out, double value); void shade_gdk_color(const GdkColor *base, GdkColor *out, double value); void gdk_color_to_hsl(const GdkColor *src, double *hue, double *sat, double *lit); void hsl_to_gdk_color(GdkColor *src, double hue, double sat, double lit); /* Error logging and variable argument parsing */ /* Function traces */ #define LOG_LEVEL_TRACE (G_LOG_LEVEL_DEBUG << 1) #define trace(...) trace_full(__FILE__, __FUNCTION__, __VA_ARGS__) /* Log detail level */ extern int log_level; #ifdef _EFISTDARG_H_ char *nvav(int *plen, const char *format, va_list va); #endif char *nva(int *length, const char *format, ...); char *va(const char *format, ...); void log_errno(const char *message); void log_print(const char *format, ...); void trace_full(const char *file, const char *func, const char *fmt, ...); /* Angles */ /* Size of the ANGLE data type in bytes */ #define ANGLE_SIZE 2 #if (ANGLE_SIZE == 4) /* High-precision angle type */ typedef int ANGLE; #define ANGLE_PI 2147483648 #elif (ANGLE_SIZE == 2) /* Medium-precision angle type */ typedef short ANGLE; #define ANGLE_PI 32768 #else /* Low-precision angle type */ typedef signed char ANGLE; #define ANGLE_PI 128 #endif /* 2D Vector */ typedef struct Vec2 { float x, y; } Vec2; static inline void vec2_set(Vec2 *dest, float x, float y) { dest->x = x; dest->y = y; } #define vec2_from_coords vec2_set static inline void vec2_copy(Vec2 *dest, const Vec2 *src) { dest->x = src->x; dest->y = src->y; } static inline void vec2_sub(Vec2 *dest, const Vec2 *a, const Vec2 *b) { dest->x = a->x - b->x; dest->y = a->y - b->y; } static inline void vec2_sum(Vec2 *dest, const Vec2 *a, const Vec2 *b) { dest->x = a->x + b->x; dest->y = a->y + b->y; } static inline float vec2_dot(const Vec2 *a, const Vec2 *b) { return a->x * b->x + a->y * b->y; } static inline float vec2_cross(const Vec2 *a, const Vec2 *b) { return a->y * b->x - b->y * a->x; } static inline void vec2_scale(Vec2 *dest, const Vec2 *src, float scale) { dest->x = src->x * scale; dest->y = src->y * scale; } static inline void vec2_avg(Vec2 *dest, const Vec2 *a, const Vec2 *b, float scale) { dest->x = a->x + (b->x - a->x) * scale; dest->y = a->y + (b->y - a->y) * scale; } static inline float vec2_square(const Vec2 *src) { return src->x * src->x + src->y * src->y; } static inline float vec2_mag(const Vec2 *src) { return sqrt(src->x * src->x + src->y * src->y); } static inline ANGLE vec2_angle(const Vec2 *src) { return (ANGLE)(atan2f(src->y, src->x) * ANGLE_PI / M_PI + 0.5f); } static inline float vec2_norm(Vec2 *dest, const Vec2 *a) { float mag = vec2_mag(a); dest->x = a->x / mag; dest->y = a->y / mag; return mag; } static inline void vec2_proj(Vec2 *dest, const Vec2 *a, const Vec2 *b) { float dist = vec2_dot(a, b), mag = vec2_mag(b), mag2 = mag * mag; dest->x = dist * b->x / mag2; dest->y = dist * b->y / mag2; } static inline void vec2_from_angle(Vec2 *dest, ANGLE angle, float mag) { dest->y = sinf(angle * M_PI / ANGLE_PI) * mag; dest->x = cosf(angle * M_PI / ANGLE_PI) * mag; } cellwriter-1.3.6/src/keyevent.c000066400000000000000000000415661311072664300165010ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "common.h" #include "keys.h" #include #include #include #include #include #include #include /* Define this to always overwrite an unused KeyCode to send any KeySym */ /* #define ALWAYS_OVERWRITE */ /* Define this to print key events without actually generating them */ /* #define DEBUG_KEY_EVENTS */ /* Note about libfakekey: this library does very much the same thing as this code and is now packaged in Ubuntu. However, it is hardcoded to "recycle" only 10 keycodes rather than cycling through all unused keys as this code does. This is sufficient only for periodic single key-presses. If a user handwrites a long paragraph of Unicode characters, we want to be able to accomodate as many as we can. */ /* X11 KeyCodes */ enum { KEY_TAKEN = 0, /* Has KeySyms, cannot be overwritten */ KEY_BAD, /* Manually marked as unusable */ KEY_USABLE, /* Has no KeySyms, can be overwritten */ KEY_ALLOCATED, /* Normally usable, but currently allocated */ /* Values greater than this represent multiple allocations */ }; static char usable[256], pressed[256]; static int key_min, key_max, key_offset, key_codes; static KeySym *keysyms = NULL; static XModifierKeymap *modmap = NULL; /* Bad keycodes: Despite having no KeySym entries, certain KeyCodes will generate special KeySyms even if their KeySym entries have been overwritten. For instance, KeyCode 204 attempts to eject the CD-ROM even if there is no CD-ROM device present! KeyCode 229 will launch GNOME file search even if there is no search button on the physical keyboard. There is no programatic way around this but to keep a list of commonly used "bad" KeyCodes. */ void bad_keycodes_read(void) { int keycode; while (!profile_sync_int(&keycode)) { if (keycode < key_min || keycode > key_max) { g_warning("Cannot block bad keycode %d, out of range", keycode); continue; } usable[keycode] = KEY_BAD; } } void bad_keycodes_write(void) { int i; profile_write("bad_keycodes"); for (i = key_min; i < key_max; i++) if (usable[i] == KEY_BAD) profile_write(va(" %d", i)); profile_write("\n"); } #ifdef DEBUG_KEY_EVENTS static void press_keycode(KeyCode k) /* Just logs the key-down event */ { g_debug("KeyCode %d down", k); } static void release_keycode(KeyCode k) /* Just logs the key-up event */ { g_debug("KeyCode %d up", k); } #else static void press_keycode(KeyCode k) /* Called from various places to generate a key-down event */ { if (k >= key_min && k <= key_max) { XTestFakeKeyEvent(GDK_DISPLAY(), k, True, 1); XSync(GDK_DISPLAY(), False); } } static void release_keycode(KeyCode k) /* Called from various places to generate a key-up event */ { if (k >= key_min && k <= key_max) { XTestFakeKeyEvent(GDK_DISPLAY(), k, False, 1); XSync(GDK_DISPLAY(), False); } } #endif static void type_keycode(KeyCode k) /* Key-down + key-up */ { press_keycode(k); release_keycode(k); } static void setup_usable(void) /* Find unused slots in the key mapping */ { int i, found; /* Find all free keys */ memset(usable, 0, sizeof (usable)); for (i = key_min, found = 0; i <= key_max; i++) { int j; for (j = 0; j < key_codes && keysyms[(i - key_min) * key_codes + j] == NoSymbol; j++); if (j < key_codes) { usable[i] = KEY_TAKEN; continue; } usable[i] = KEY_USABLE; found++; } key_offset = 0; /* If we haven't found a usable key, it's probably because we have already ran once and used them all up without setting them back */ if (!found) { usable[key_max - key_min - 1] = KEY_USABLE; g_warning("Found no usable KeyCodes, restart the X server!"); } else g_debug("Found %d usable KeyCodes", found); } static void cleanup_usable(void) /* Clear all the usable KeyCodes or we won't have any when we run again! */ { int i, bad, unused = 0, freed; for (i = 0, freed = 0, bad = 0; i <= key_max; i++) if (usable[i] >= KEY_USABLE) { int j, kc_used = FALSE; for (j = 0; j < key_codes; j++) { int index = (i - key_min) * key_codes + j; if (keysyms[index] != NoSymbol) kc_used = TRUE; keysyms[index] = NoSymbol; } if (kc_used) freed++; else unused++; } else if (usable[i] == KEY_BAD) bad++; if (freed) { XChangeKeyboardMapping(GDK_DISPLAY(), key_min, key_codes, keysyms, key_max - key_min + 1); XFlush(GDK_DISPLAY()); } g_debug("Free'd %d KeyCode(s), %d unused, %d marked bad", freed, unused, bad); } static void release_held_keys(void) /* Release all held keys that were not pressed by us */ { int i; char keys[32]; XQueryKeymap(GDK_DISPLAY(), keys); for (i = 0; i < 32; i++) { int j; for (j = 0; j < 8; j++) { KeyCode keycode; keycode = i * 8 + j; if (keys[i] & (1 << j) && !pressed[keycode]) { g_debug("Released held KeyCode %d", keycode); release_keycode(keycode); } } } } /* Key Events */ int key_overwrites = 0, key_recycles = 0, key_shifted = 0, key_num_locked = FALSE, key_caps_locked = FALSE, key_disable_overwrite = FALSE; static int alt_mask, num_lock_mask, meta_mask; static KeyEvent ke_shift, ke_enter, ke_num_lock, ke_caps_lock; static void reset_keyboard(void) /* In order to reliably predict key event behavior we need to be able to reset the keyboard modifier and pressed state */ { Window root, child; int root_x, root_y, win_x, win_y; unsigned int mask; release_held_keys(); XQueryPointer(GDK_DISPLAY(), GDK_WINDOW_XWINDOW(GDK_ROOT_PARENT()), &root, &child, &root_x, &root_y, &win_x, &win_y, &mask); if (mask & LockMask) type_keycode(ke_caps_lock.keycode); if (mask & num_lock_mask) type_keycode(ke_num_lock.keycode); } static void key_event_allocate(KeyEvent *key_event, unsigned int keysym) /* Either finds the KeyCode associated with the given keysym or overwrites a usable one to generate it */ { int i, start; /* Invalid KeySym */ if (!keysym) { key_event->keycode = -1; key_event->keysym = 0; return; } /* First see if our KeySym is already in the mapping */ key_event->shift = FALSE; #ifndef ALWAYS_OVERWRITE for (i = 0; i <= key_max - key_min; i++) { if (keysyms[i * key_codes + 1] == keysym) key_event->shift = TRUE; if (keysyms[i * key_codes] == keysym || key_event->shift) { key_event->keycode = key_min + i; key_recycles++; /* Bump the allocation count if this is an allocateable KeyCode */ if (usable[key_event->keycode] >= KEY_USABLE) usable[key_event->keycode]++; return; } } #endif /* Key overwrites may be disabled, in which case we're out of luck */ if (key_disable_overwrite) { key_event->keycode = -1; key_event->keysym = 0; g_warning("Not allowed to overwrite KeyCode for %s", XKeysymToString(keysym)); return; } /* If not, find a usable KeyCode in the mapping */ for (start = key_offset++; ; key_offset++) { if (key_offset > key_max - key_min) key_offset = 0; if (usable[key_min + key_offset] == KEY_USABLE && !pressed[key_min + key_offset]) break; /* If we can't find one, invalidate the event */ if (key_offset == start) { key_event->keycode = -1; key_event->keysym = 0; g_warning("Failed to allocate KeyCode for %s", XKeysymToString(keysym)); return; } } key_overwrites++; key_event->keycode = key_min + key_offset; usable[key_event->keycode] = KEY_ALLOCATED; /* Modify the slot to hold our character */ keysyms[key_offset * key_codes] = keysym; keysyms[key_offset * key_codes + 1] = keysym; XChangeKeyboardMapping(GDK_DISPLAY(), key_event->keycode, key_codes, keysyms + key_offset * key_codes, 1); XSync(GDK_DISPLAY(), False); g_debug("Overwrote KeyCode %d for %s", key_event->keycode, XKeysymToString(keysym)); } void key_event_new(KeyEvent *key_event, unsigned int keysym) /* Allocates key event */ { key_event->keysym = keysym; key_event_allocate(key_event, keysym); } void key_event_free(KeyEvent *key_event) /* Release resources associated with and invalidate a key event */ { if (key_event->keycode >= key_min && key_event->keycode <= key_max && usable[key_event->keycode] == KEY_ALLOCATED) usable[key_event->keycode] = KEY_USABLE; key_event->keycode = -1; key_event->keysym = 0; } void key_event_press_force(KeyEvent *key_event) /* Press the KeyCode specified in the event without sticky key tracking */ { /* Invalid event */ if (key_event->keycode < key_min || key_event->keycode > key_max) return; /* If this KeyCode is already pressed, something is wrong */ if (pressed[key_event->keycode]) { g_debug("KeyCode %d is already pressed", key_event->keycode); return; } /* Keep track of what KeyCodes we pressed down */ pressed[key_event->keycode] = TRUE; /* Press our keycode */ if (key_event->shift) press_keycode(ke_shift.keycode); press_keycode(key_event->keycode); XSync(GDK_DISPLAY(), False); } void key_event_press(KeyEvent *key_event) /* Press the KeyCode specified in the event */ { /* Track modifiers without actually using them */ if (key_event->keysym == XK_Shift_L || key_event->keysym == XK_Shift_R) { key_shifted++; return; } else if (key_event->keysym == XK_Caps_Lock) { key_caps_locked = !key_caps_locked; return; } else if (key_event->keysym == XK_Num_Lock) { key_num_locked = !key_num_locked; return; } key_event_press_force(key_event); } void key_event_release_force(KeyEvent *key_event) /* Press the KeyCode specified in the event without sticky key tracking */ { /* Invalid key event */ if (key_event->keycode < key_min || key_event->keycode > key_max) return; /* Keep track of what KeyCodes are pressed because of us */ pressed[key_event->keycode] = FALSE; /* Release our keycode */ release_keycode(key_event->keycode); if (key_event->shift) release_keycode(ke_shift.keycode); XSync(GDK_DISPLAY(), False); } void key_event_release(KeyEvent *key_event) /* Release the KeyCode specified in the event */ { /* Track modifiers without actually using them */ if (key_event->keysym == XK_Shift_L || key_event->keysym == XK_Shift_R) { key_shifted--; return; } key_event_release_force(key_event); } #ifdef X_HAVE_UTF8_STRING void key_event_send_char(int unichar) { KeyEvent key_event; KeySym keysym; /* Get the keysym for the unichar (may be unsupported) */ keysym = XStringToKeysym(va("U%04X", unichar)); if (!keysym) { g_warning("XStringToKeysym failed to get Keysym for '%C'", unichar); return; } key_event_new(&key_event, keysym); key_event_press(&key_event); key_event_release(&key_event); key_event_free(&key_event); } #else #warning X_HAVE_UTF8_STRING is undefined, Unicode support is disabled! void key_event_send_char(int unichar) { KeyCode keycode; /* Get the keycode for an existing key */ keycode = XKeysymToKeycode(GDK_DISPLAY(), keysym); if (!keycode) { g_warning("XKeysymToKeycode failed to find KeyCode for '%C'", unichar); return; } type_keycode(keycode); } #endif void key_event_send_enter() { type_keycode(ke_enter.keycode); } void key_event_update_mappings(void) { int i, j; /* Get the keyboard mapping */ XDisplayKeycodes(GDK_DISPLAY(), &key_min, &key_max); if (keysyms) XFree(keysyms); keysyms = XGetKeyboardMapping(GDK_DISPLAY(), key_min, key_max - key_min + 1, &key_codes); /* Get the modifier mapping and variable masks */ if (modmap) XFreeModifiermap(modmap); modmap = XGetModifierMapping(GDK_DISPLAY()); for (i = 0; i < 8; i++) for (j = 0; j < modmap->max_keypermod; j++) { KeyCode keycode; KeySym keysym; keycode = modmap->modifiermap [i * modmap->max_keypermod + j]; if (keycode < key_min || keycode > key_max) continue; keysym = keysyms[(keycode - key_min) * key_codes]; if (keysym == XK_Alt_L || keysym == XK_Alt_R) { alt_mask = 1 << i; break; } else if (keysym == XK_Meta_L || keysym == XK_Meta_R) { meta_mask = 1 << i; break; } else if (keysym == XK_Num_Lock) { num_lock_mask = 1 << i; break; } } /* Release any keys pressed by the user */ reset_keyboard(); } int key_event_init(void) { int a, b, c, d; #ifndef X_HAVE_UTF8_STRING g_warning("Compiled without Unicode support!"); #endif /* Make sure Xtest is supported */ if(!XTestQueryExtension(GDK_DISPLAY(), &a, &b, &c, &d)) g_critical("Xtest not supported!"); else g_debug("Xtest version %d.%d.%d.%d", a, b, c, d); /* Clear the array that keeps track of our pressed keys */ memset(pressed, 0, sizeof (pressed)); /* Update keycode and modifiers mappings */ key_event_update_mappings(); /* Scan for available KeyCodes */ setup_usable(); /* Get some common key events */ key_event_allocate(&ke_shift, XK_Shift_L); key_event_allocate(&ke_caps_lock, XK_Caps_Lock); key_event_allocate(&ke_num_lock, XK_Num_Lock); key_event_allocate(&ke_enter, XK_Return); return 0; } void key_event_cleanup(void) { cleanup_usable(); } cellwriter-1.3.6/src/keys.h000066400000000000000000000061471311072664300156230ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Key events */ typedef struct { unsigned char keycode, shift; unsigned int keysym; } KeyEvent; extern int key_shifted, key_num_locked, key_caps_locked; void key_event_new(KeyEvent *key_event, unsigned int keysym); void key_event_free(KeyEvent *key_event); void key_event_press(KeyEvent *key_event); void key_event_press_force(KeyEvent *key_event); void key_event_release(KeyEvent *key_event); void key_event_release_force(KeyEvent *key_event); void key_event_send_char(int unichar); void key_event_send_enter(void); void key_event_update_mappings(void); /* Key widget */ /* Key flags */ #define KEY_ARROW 0x0001 #define KEY_TOGGLE_ON 0x0002 #define KEY_TOGGLE_OFF 0x0003 #define KEY_ICON_MASK 0x000f #define KEY_STICKY 0x0010 #define KEY_SHIFT 0x0020 #define KEY_SHIFTABLE 0x0040 #define KEY_CAPS_LOCK 0x0080 #define KEY_ICON_SHIFT 0x0100 #define KEY_NUM_LOCK 0x0200 #define KEY_NUM_LOCKABLE 0x0400 typedef struct { char active; short flags; const char *string, *string_shift; unsigned int keysym, keysym_shift; int x, y, width, height, rotate; KeyEvent key_event; } Key; typedef struct { GtkWidget *drawing_area; GdkPixmap *pixmap; GdkGC *pixmap_gc; cairo_t *cairo; PangoContext *pango; PangoFontDescription *pango_font_desc; int slaved, len, max_len, x, y, width, height, active, x_range, y_range, min_height; Key keys[]; } KeyWidget; extern int keyboard_size; /* Create slaved or non-slaved keyboard */ KeyWidget *key_widget_new_small(GtkWidget *drawing_area); KeyWidget *key_widget_new_full(void); /* Functions for slaved keyboards only */ gboolean key_widget_button_press(GtkWidget *widget, GdkEventButton *event, KeyWidget *key_widget); gboolean key_widget_button_release(GtkWidget *widget, GdkEventButton *event, KeyWidget *key_widget); void key_widget_render(KeyWidget *key_widget); void key_widget_configure(KeyWidget *key_widget, int x, int y, int width, int height); /* Functions to update keyboards */ int key_widget_update_colors(void); void key_widget_cleanup(KeyWidget *key_widget); cellwriter-1.3.6/src/keywidget.c000066400000000000000000001136411311072664300166350ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "recognize.h" #include "keys.h" #include #include #include #include #include #include /* Keys */ GdkColor custom_key_color = RGB_TO_GDKCOLOR(103, 107, 120); static GdkColor color_text, color_bg, color_keys_dark, color_keys, color_keys_on; static void key_coord(KeyWidget *key_widget, int x, int y, int *x_out, int *y_out) { *x_out = (x * key_widget->width + key_widget->x_range / 2) / key_widget->x_range + key_widget->x; *y_out = (y * key_widget->height + key_widget->y_range / 2) / key_widget->y_range + key_widget->y; } static void key_coords(KeyWidget *key_widget, Key *key, int *x, int *y, int *width, int *height) { int x2, y2; key_coord(key_widget, key->x, key->y, x, y); key_coord(key_widget, key->x + key->width, key->y + key->height, &x2, &y2); *width = x2 - *x; *height = y2 - *y; } static void render_icon(cairo_t *cairo, double x, double y, double size, int icon, int rotate, GdkColor *color) { cairo_save(cairo); cairo_new_path(cairo); cairo_translate(cairo, x + size / 2., y + size / 2.); cairo_scale(cairo, size, size); cairo_rotate(cairo, rotate * M_PI / -180); cairo_set_source_gdk_color(cairo, color, 1.); cairo_set_line_width(cairo, 1 / size); switch (icon) { default: cairo_identity_matrix(cairo); return; case KEY_ARROW: cairo_move_to(cairo, 0.50, 0.00); cairo_line_to(cairo, 0.00, -0.50); cairo_line_to(cairo, 0.00, -0.15); cairo_line_to(cairo, -0.50, -0.15); cairo_line_to(cairo, -0.50, 0.15); cairo_line_to(cairo, 0.00, 0.15); cairo_line_to(cairo, 0.00, 0.50); cairo_line_to(cairo, 0.50, 0.00); cairo_fill(cairo); break; case KEY_TOGGLE_ON: cairo_rectangle(cairo, -0.25, -0.15, 0.5, 0.5); cairo_fill(cairo); break; case KEY_TOGGLE_OFF: cairo_rectangle(cairo, -0.25, -0.15, 0.5, 0.5); cairo_stroke(cairo); break; } cairo_restore(cairo); } static int is_shifted(const Key *key) /* Determine if the key is in a shifted state */ { int shifted = key_shifted; if (!(key->flags & KEY_SHIFTABLE)) return FALSE; if (g_ascii_isalpha(key->string[0]) && key_caps_locked) shifted = !shifted; if (key->flags & KEY_NUM_LOCKABLE && !key_num_locked) shifted = !shifted; return shifted; } static void render_key(KeyWidget *key_widget, int n, int dirty) { Key *key; PangoLayout *layout; PangoRectangle ink_ext, log_ext; cairo_pattern_t *pattern; double icon_size; int x, y, w, h; key = key_widget->keys + n; if (key->width < 1 || key->height < 1) return; key_coords(key_widget, key, &x, &y, &w, &h); /* Cairo clip region */ cairo_reset_clip(key_widget->cairo); cairo_rectangle(key_widget->cairo, x, y, w, h); cairo_clip(key_widget->cairo); /* Render background */ if (!key->active && (((key->flags & KEY_CAPS_LOCK) && key_caps_locked) || ((key->flags & KEY_NUM_LOCK) && key_num_locked))) { GdkColor new_bg; new_bg.red = (color_keys_on.red + color_keys.red) / 2; new_bg.green = (color_keys_on.green + color_keys.green) / 2; new_bg.blue = (color_keys_on.blue + color_keys.blue) / 2; gdk_gc_set_rgb_fg_color(key_widget->pixmap_gc, &new_bg); } else gdk_gc_set_rgb_fg_color(key_widget->pixmap_gc, key->active ? &color_keys_on : &color_keys); gdk_draw_rectangle(key_widget->pixmap, key_widget->pixmap_gc, TRUE, x, y, w, h); /* Draw text */ log_ext.width = 0; icon_size = 0; if ((key->flags & KEY_ICON_MASK) && (!(key->flags & KEY_ICON_SHIFT) || is_shifted(key))) icon_size = h * 3 / 7; if (key->string[0]) { const char *string = key->string; if (is_shifted(key)) string = key->string_shift; layout = pango_layout_new(key_widget->pango); cairo_move_to(key_widget->cairo, x, y + h / 2); pango_layout_set_text(layout, string, -1); pango_layout_set_font_description(layout, key_widget->pango_font_desc); pango_layout_get_pixel_extents(layout, &ink_ext, &log_ext); cairo_rel_move_to(key_widget->cairo, w / 2 - log_ext.width / 2 + icon_size / 2 + 1, log_ext.height / -2 + (key->active ? 2 : 1)); /* Draw text shadow */ cairo_set_source_gdk_color(key_widget->cairo, &color_keys_dark, 1.); pango_cairo_show_layout(key_widget->cairo, layout); /* Draw the normal text */ cairo_rel_move_to(key_widget->cairo, -1, -1); cairo_set_source_gdk_color(key_widget->cairo, &color_text, 1.); pango_cairo_show_layout(key_widget->cairo, layout); g_object_unref(layout); } /* Render icon */ if (icon_size) { int icon_x, icon_y; icon_x = x + w / 2. - log_ext.width / 2. - icon_size / 2.; icon_y = y + h / 2. - icon_size / 2. + (key->active ? 1 : 0); render_icon(key_widget->cairo, icon_x + 1, icon_y + 1, icon_size, key->flags & KEY_ICON_MASK, key->rotate, &color_keys_dark); render_icon(key_widget->cairo, icon_x, icon_y, icon_size, key->flags & KEY_ICON_MASK, key->rotate, &color_text); } /* Render border */ if (!key->active) { cairo_new_path(key_widget->cairo); cairo_set_line_width(key_widget->cairo, 1.); /* Top border */ cairo_set_source_rgba(key_widget->cairo, 1., 1., 1., 0.5); cairo_move_to(key_widget->cairo, x + 0.5, y + 0.5); cairo_line_to(key_widget->cairo, x + w - 0.5, y + 0.5); cairo_stroke(key_widget->cairo); /* Left border */ pattern = cairo_pattern_create_linear(x, y, x, y + h); cairo_pattern_add_color_stop_rgba(pattern, 0., 1., 1., 1., 0.5); cairo_pattern_add_color_stop_rgba(pattern, 1., 1., 1., 1., 0.); cairo_set_source(key_widget->cairo, pattern); cairo_move_to(key_widget->cairo, x + 0.5, y + 0.5); cairo_line_to(key_widget->cairo, x + 0.5, y + h - 0.5); cairo_stroke(key_widget->cairo); cairo_pattern_destroy(pattern); /* Right border */ pattern = cairo_pattern_create_linear(x, y, x, y + h); cairo_pattern_add_color_stop_rgba(pattern, 0., 0., 0., 0., 0.); cairo_pattern_add_color_stop_rgba(pattern, 1., 0., 0., 0., 0.5); cairo_set_source(key_widget->cairo, pattern); cairo_move_to(key_widget->cairo, x + w - 0.5, y + 0.5); cairo_line_to(key_widget->cairo, x + w - 0.5, y + h - 0.5); cairo_stroke(key_widget->cairo); cairo_pattern_destroy(pattern); /* Bottom border */ cairo_set_source_rgba(key_widget->cairo, 0., 0., 0., 0.5); cairo_move_to(key_widget->cairo, x + 0.5, y + h - 0.5); cairo_line_to(key_widget->cairo, x + w - 0.5, y + h - 0.5); cairo_stroke(key_widget->cairo); } /* Mark key area as dirty */ if (dirty) gtk_widget_queue_draw_area(key_widget->drawing_area, x, y, w, h); } void key_widget_render(KeyWidget *key_widget) { int i; if (!key_widget->pixmap_gc || !key_widget->pixmap) return; /* Render background */ if (!key_widget->slaved) { gdk_gc_set_rgb_fg_color(key_widget->pixmap_gc, &color_bg); gdk_draw_rectangle(key_widget->pixmap, key_widget->pixmap_gc, TRUE, 0, 0, key_widget->drawing_area->allocation.width, key_widget->drawing_area->allocation.height); } /* Render keys */ for (i = 0; i < key_widget->len; i++) render_key(key_widget, i, FALSE); /* Dirty the drawing area if we aren't slaved */ if (!key_widget->slaved) gtk_widget_queue_draw(key_widget->drawing_area); } static Key *add_key(KeyWidget *key_widget, int keysym, const char *string, int x, int y, int width, int height) /* Adds a key to a key widget and resizes it if necessary */ { Key *key; if (key_widget->len >= key_widget->max_len) { g_warning("Not enough room on keyboard for key '%s'", string); return NULL; } key = key_widget->keys + key_widget->len++; key->keysym = keysym; key->string = !string ? XKeysymToString(keysym) : string; key->x = x; key->y = y; key->width = width; key->height = height; if (key->x + key->width > key_widget->x_range) key_widget->x_range = key->x + key->width; if (key->y + key->height > key_widget->y_range) key_widget->y_range = key->y + key->height; if (key->height < key_widget->min_height || !key_widget->min_height) key_widget->min_height = key->height; return key; } static void set_flags(Key *key, int flags, int rotate) { if (!key) return; key->flags = flags; key->rotate = rotate; } static void set_shifted(Key *key, unsigned int keysym, const char *string) { if (!key) return; key->keysym_shift = keysym; key->string_shift = !string ? XKeysymToString(keysym) : string; key->flags |= KEY_SHIFTABLE; } int key_widget_update_colors(void) { GdkColor old_keys, old_text; old_keys = color_keys; old_text = color_text; color_keys = custom_key_color; color_text.red = 255 * COLOR_SCALE; color_text.green = 255 * COLOR_SCALE; color_text.blue = 255 * COLOR_SCALE; color_bg = window->style->bg[0]; if (style_colors) { color_keys = window->style->dark[3]; //color_text = window->style->fg[3]; } shade_gdk_color(&color_keys, &color_keys_dark, 0.67); shade_gdk_color(&color_keys, &color_keys_on, 0.75); return !gdk_colors_equal(&old_keys, &color_keys) || !gdk_colors_equal(&old_text, &color_text); } void key_widget_configure(KeyWidget *key_widget, int x, int y, int width, int height) { key_widget->x = x; key_widget->y = y; key_widget->width = width; key_widget->height = height; key_widget_update_colors(); pango_font_description_set_absolute_size(key_widget->pango_font_desc, PANGO_SCALE * key_widget->height * key_widget->min_height / key_widget->y_range / 2); } /* Widget */ int keyboard_size = 640; static void style_set(GtkWidget *w, GtkStyle *previous_style, KeyWidget *key_widget) { if (key_widget_update_colors() && key_widget) key_widget_render(key_widget); } void key_widget_resize(KeyWidget *key_widget) { int width, height; if (keyboard_size < KEYBOARD_SIZE_MIN) keyboard_size = KEYBOARD_SIZE_MIN; if (window_embedded) { width = key_widget->drawing_area->allocation.width; height = key_widget->drawing_area->allocation.height; } else if (window_docked) { GdkScreen *screen; screen = gdk_screen_get_default(); width = gdk_screen_get_width(screen); height = width / 4; } else { width = keyboard_size; height = keyboard_size / 4; } if (key_widget->width == width && key_widget->height == height) return; key_widget->width = width; key_widget->height = height; gtk_widget_set_size_request(key_widget->drawing_area, width, height); } static gboolean configure_event(GtkWidget *widget, GdkEventConfigure *event, KeyWidget *key_widget) /* Create a new backing pixmap of the appropriate size */ { PangoFontMap *font_map; /* Backing pixmap */ if (key_widget->pixmap) { int old_width, old_height; /* Do not update if the size has not changed */ gdk_drawable_get_size(key_widget->pixmap, &old_width, &old_height); if (old_width == widget->allocation.width && old_height == widget->allocation.height) return TRUE; g_object_unref(key_widget->pixmap); } if (widget->allocation.width <= 1) return TRUE; trace("%dx%d", widget->allocation.width, widget->allocation.height); key_widget->pixmap = gdk_pixmap_new(widget->window, widget->allocation.width, widget->allocation.height, -1); /* GDK graphics context */ if (key_widget->pixmap_gc) g_object_unref(key_widget->pixmap_gc); key_widget->pixmap_gc = gdk_gc_new(GDK_DRAWABLE(key_widget->pixmap)); /* Cairo context */ if (key_widget->cairo) cairo_destroy(key_widget->cairo); key_widget->cairo = gdk_cairo_create(GDK_DRAWABLE(key_widget->pixmap)); /* Pango context */ if (key_widget->pango) g_object_unref(key_widget->pango); font_map = pango_cairo_font_map_new(); key_widget->pango = pango_font_map_create_context(font_map); g_object_unref(font_map); /* Resize the widget */ if (window_docked || window_embedded) key_widget_resize(key_widget); /* Font size is determined by smallest key */ pango_font_description_set_absolute_size(key_widget->pango_font_desc, PANGO_SCALE * key_widget->height * key_widget->min_height / key_widget->y_range / 2); /* Enable leave/notify signals */ if (key_widget->drawing_area->window) { GdkEventMask mask; mask = gdk_window_get_events(key_widget->drawing_area->window); gdk_window_set_events(key_widget->drawing_area->window, mask | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK); } else g_warning("Failed to get GdkWindow for KeyWidget"); key_widget_update_colors(); key_widget_render(key_widget); return TRUE; } static gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, KeyWidget *key_widget) /* Redraw the drawing area from the backing pixmap */ { if (!key_widget->pixmap) return FALSE; gdk_draw_drawable(widget->window, widget->style->fg_gc[GTK_WIDGET_STATE(widget)], key_widget->pixmap, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } static int which_key(KeyWidget *key_widget, int ex, int ey) { int i; for (i = 0; i < key_widget->len; i++) { Key *key = key_widget->keys + i; int x, y, w, h; key_coords(key_widget, key, &x, &y, &w, &h); if (ex >= x && ey >= y && ex < x + w && ey < y + h) return i; } return -1; } static void update_shifted(KeyWidget *key_widget) { int i; for (i = 0; i < key_widget->len; i++) if (key_widget->keys[i].flags & KEY_SHIFTABLE) render_key(key_widget, i, TRUE); } static void press_sticky_keys(KeyWidget *key_widget, int on) /* Find all active sticky keys and press or release their KeySyms */ { int i, old_shifted; old_shifted = key_shifted; for (i = 0; i < key_widget->len; i++) { Key *sticky_key = key_widget->keys + i; int keysym; if (!(sticky_key->flags & KEY_STICKY) || !sticky_key->active || ((sticky_key->flags & KEY_SHIFT) && on)) continue; keysym = sticky_key->keysym; if (is_shifted(sticky_key)) keysym = sticky_key->keysym_shift; if (!keysym) continue; if (on) { key_event_new(&sticky_key->key_event, keysym); key_event_press(&sticky_key->key_event); } else { key_event_new(&sticky_key->key_event, keysym); key_event_release(&sticky_key->key_event); key_event_free(&sticky_key->key_event); sticky_key->active = FALSE; render_key(key_widget, i, TRUE); } } if (old_shifted != key_shifted) update_shifted(key_widget); } static gboolean notify_event(GtkWidget *widget, GdkEventCrossing *event, KeyWidget *key_widget) /* Press or release modifier keys depending on pointer location */ { int i; for (i = 0; i < key_widget->len; i++) { Key *sticky_key = key_widget->keys + i; int keysym; if (!(sticky_key->flags & KEY_STICKY) || !sticky_key->active) continue; keysym = sticky_key->keysym; if (is_shifted(sticky_key)) keysym = sticky_key->keysym_shift; if (!keysym) continue; if (event->type == GDK_LEAVE_NOTIFY) { key_event_new(&sticky_key->key_event, keysym); key_event_press_force(&sticky_key->key_event); } else { key_event_new(&sticky_key->key_event, keysym); key_event_release_force(&sticky_key->key_event); key_event_free(&sticky_key->key_event); } } return FALSE; } gboolean key_widget_button_press(GtkWidget *widget, GdkEventButton *event, KeyWidget *key_widget) /* Mouse button is pressed over drawing area */ { Key *key; int index, keysym, old_shifted; /* Don't process double clicks */ if (event->type != GDK_BUTTON_PRESS) return FALSE; /* Find the key */ index = which_key(key_widget, event->x, event->y); if (index < 0) return FALSE; key = key_widget->keys + index; /* Toggle activated state */ key->active = !key->active; if (key->active) key_widget->active = index; old_shifted = key_shifted; if (!(key->flags & KEY_STICKY) || (key->flags & KEY_SHIFT)) { /* Pressing a non-sticky key causes all sticky keys except shifts to send their keysyms */ if (!(key->flags & KEY_SHIFT)) press_sticky_keys(key_widget, TRUE); /* Prepare for sending key events */ key_event_update_mappings(); /* Press down the active key's keysym */ keysym = key->keysym; if (is_shifted(key)) keysym = key->keysym_shift; if (key->active) { key_event_new(&key->key_event, keysym); key_event_press(&key->key_event); } else { key_event_new(&key->key_event, keysym); key_event_release(&key->key_event); key_event_free(&key->key_event); } } /* Keep track of shifted state */ if (old_shifted != key_shifted || (key->flags & KEY_CAPS_LOCK) || (key->flags & KEY_NUM_LOCK)) update_shifted(key_widget); render_key(key_widget, index, TRUE); return TRUE; } gboolean key_widget_button_release(GtkWidget *widget, GdkEventButton *event, KeyWidget *key_widget) /* Mouse button is released over drawing area */ { Key *key; int old_shifted; /* Did we miss a keypress due to a server grab? */ if (key_widget->active < 0) { event->type = GDK_BUTTON_PRESS; key_widget_button_press(widget, event, key_widget); } /* The last pressed key is the one we are releasing now */ if (key_widget->active < 0 || key_widget->active > key_widget->len) return FALSE; key = key_widget->keys + key_widget->active; if (key->flags & KEY_STICKY || !key->active) return TRUE; key->active = FALSE; /* Send the keysym released event */ old_shifted = key_shifted; key_event_release(&key->key_event); key_event_free(&key->key_event); /* Releasing a non-sticky key causes all sticky keys to be released */ press_sticky_keys(key_widget, FALSE); /* Keep track of shifted state */ if (old_shifted != key_shifted) update_shifted(key_widget); render_key(key_widget, key_widget->active, TRUE); key_widget->active = -1; return TRUE; } void key_widget_cleanup(KeyWidget *key_widget) /* Turn off any active keys */ { int i, old_shifted; if (!key_widget) return; old_shifted = key_shifted; for (i = 0; i < key_widget->len; i++) { Key *key; key = key_widget->keys + i; if (!key->active) continue; key->active = FALSE; key_event_release(&key->key_event); key_event_free(&key->key_event); render_key(key_widget, i, TRUE); g_debug("Released held key '%s'", key->string); } if (key_shifted != old_shifted) update_shifted(key_widget); } /* Widget */ static KeyWidget *key_widget_new(GtkWidget *drawing_area, int keys) /* Unlike CellWidget, KeyWidget can be instantiated more than once */ { KeyWidget *key_widget; key_widget = g_malloc0(sizeof (*key_widget) + sizeof (Key) * keys); key_widget->active = -1; key_widget->drawing_area = drawing_area; key_widget->max_len = keys; /* Get background color */ style_set(drawing_area, NULL, NULL); /* Create Pango font description FIXME font characteristics, not family */ key_widget->pango_font_desc = pango_font_description_new(); pango_font_description_set_family(key_widget->pango_font_desc, "Sans"); pango_font_description_set_weight(key_widget->pango_font_desc, PANGO_WEIGHT_BOLD); return key_widget; } KeyWidget *key_widget_new_small(GtkWidget *drawing_area) /* Creates a small on-screen keyboard slaved to another drawing area */ { KeyWidget *key_widget; Key *key; key_widget = key_widget_new(drawing_area, 16); key_widget->slaved = TRUE; /* 1st row */ key = add_key(key_widget, XK_BackSpace, "BkSp", 1, 0, 2, 1); set_flags(key, KEY_ARROW, 180); add_key(key_widget, XK_Tab, "Tab", 0, 0, 1, 1); add_key(key_widget, XK_Delete, "Del", 3, 0, 1, 1); /* 2nd row */ add_key(key_widget, XK_Home, "Hme", 0, 1, 1, 1); key = add_key(key_widget, XK_Up, "", 1, 1, 1, 1); set_flags(key, KEY_ARROW, 90); add_key(key_widget, XK_End, "End", 2, 1, 1, 1); add_key(key_widget, XK_Page_Up, "PUp", 3, 1, 1, 1); /* 3rd row */ key = add_key(key_widget, XK_Left, "", 0, 2, 1, 1); set_flags(key, KEY_ARROW, 180); key = add_key(key_widget, XK_Down, "", 1, 2, 1, 1); set_flags(key, KEY_ARROW, 270); key = add_key(key_widget, XK_Right, "", 2, 2, 1, 1); set_flags(key, KEY_ARROW, 0); add_key(key_widget, XK_Page_Down, "PDn", 3, 2, 1, 1); /* Add some event hooks */ g_signal_connect(G_OBJECT(drawing_area), "style-set", G_CALLBACK(style_set), key_widget); return key_widget; } KeyWidget *key_widget_new_full(void) /* Creates the QWERTY on-screen keyboard FIXME The Num Pad shifts are backwards, a shifted num lockable will be used when Num Lock is OFF. */ { GtkWidget *drawing_area; KeyWidget *key_widget; Key *key; /* Create drawing area */ drawing_area = gtk_drawing_area_new(); /* Create key widget */ key_widget = key_widget_new(drawing_area, 104); key_widget_resize(key_widget); /* 1st row */ add_key(key_widget, XK_Escape, "Esc", 0, 0, 3, 2); add_key(key_widget, XK_F1, "F1", 4, 0, 2, 2); add_key(key_widget, XK_F2, "F2", 6, 0, 2, 2); add_key(key_widget, XK_F3, "F3", 8, 0, 2, 2); add_key(key_widget, XK_F4, "F4", 10, 0, 2, 2); add_key(key_widget, XK_F5, "F5", 13, 0, 2, 2); add_key(key_widget, XK_F6, "F6", 15, 0, 2, 2); add_key(key_widget, XK_F7, "F7", 17, 0, 2, 2); add_key(key_widget, XK_F8, "F8", 19, 0, 2, 2); add_key(key_widget, XK_F9, "F9", 22, 0, 2, 2); add_key(key_widget, XK_F10, "F10", 24, 0, 2, 2); add_key(key_widget, XK_F11, "F11", 26, 0, 2, 2); add_key(key_widget, XK_F12, "F12", 28, 0, 2, 2); add_key(key_widget, XK_Print, "PSc", 31, 0, 2, 2); add_key(key_widget, XK_Scroll_Lock, "SLk", 33, 0, 2, 2); add_key(key_widget, XK_Pause, "Brk", 35, 0, 2, 2); /* 2nd row */ key = add_key(key_widget, XK_grave, "`", 0, 3, 2, 2); set_shifted(key, XK_asciitilde, "~"); key = add_key(key_widget, XK_1, "1", 2, 3, 2, 2); set_shifted(key, XK_exclam, "!"); key = add_key(key_widget, XK_2, "2", 4, 3, 2, 2); set_shifted(key, XK_at, "@"); key = add_key(key_widget, XK_3, "3", 6, 3, 2, 2); set_shifted(key, XK_numbersign, "#"); key = add_key(key_widget, XK_4, "4", 8, 3, 2, 2); set_shifted(key, XK_dollar, "$"); key = add_key(key_widget, XK_5, "5", 10, 3, 2, 2); set_shifted(key, XK_percent, "%"); key = add_key(key_widget, XK_6, "6", 12, 3, 2, 2); set_shifted(key, XK_asciicircum, "^"); key = add_key(key_widget, XK_7, "7", 14, 3, 2, 2); set_shifted(key, XK_ampersand, "&"); key = add_key(key_widget, XK_8, "8", 16, 3, 2, 2); set_shifted(key, XK_asterisk, "*"); key = add_key(key_widget, XK_9, "9", 18, 3, 2, 2); set_shifted(key, XK_parenleft, "("); key = add_key(key_widget, XK_0, "0", 20, 3, 2, 2); set_shifted(key, XK_parenright, ")"); key = add_key(key_widget, XK_minus, "-", 22, 3, 2, 2); set_shifted(key, XK_underscore, "_"); key = add_key(key_widget, XK_equal, "=", 24, 3, 2, 2); set_shifted(key, XK_plus, "+"); key = add_key(key_widget, XK_BackSpace, "BkSp", 26, 3, 4, 2); set_flags(key, KEY_ARROW, 180); add_key(key_widget, XK_Insert, "Ins", 31, 3, 2, 2); add_key(key_widget, XK_Home, "Hm", 33, 3, 2, 2); add_key(key_widget, XK_Page_Up, "PU", 35, 3, 2, 2); key = add_key(key_widget, XK_Num_Lock, "NL", 38, 3, 2, 2); set_flags(key, KEY_NUM_LOCK, 0); add_key(key_widget, XK_KP_Divide, "/", 40, 3, 2, 2); add_key(key_widget, XK_KP_Multiply, "*", 42, 3, 2, 2); add_key(key_widget, XK_KP_Subtract, "-", 44, 3, 2, 2); /* 3rd row */ add_key(key_widget, XK_Tab, "Tab", 0, 5, 3, 2); key = add_key(key_widget, XK_q, "q", 3, 5, 2, 2); set_shifted(key, XK_Q, "Q"); key = add_key(key_widget, XK_w, "w", 5, 5, 2, 2); set_shifted(key, XK_W, "W"); key = add_key(key_widget, XK_e, "e", 7, 5, 2, 2); set_shifted(key, XK_E, "E"); key = add_key(key_widget, XK_r, "r", 9, 5, 2, 2); set_shifted(key, XK_R, "R"); key = add_key(key_widget, XK_t, "t", 11, 5, 2, 2); set_shifted(key, XK_T, "T"); key = add_key(key_widget, XK_y, "y", 13, 5, 2, 2); set_shifted(key, XK_Y, "Y"); key = add_key(key_widget, XK_u, "u", 15, 5, 2, 2); set_shifted(key, XK_U, "U"); key = add_key(key_widget, XK_i, "i", 17, 5, 2, 2); set_shifted(key, XK_I, "I"); key = add_key(key_widget, XK_o, "o", 19, 5, 2, 2); set_shifted(key, XK_O, "O"); key = add_key(key_widget, XK_p, "p", 21, 5, 2, 2); set_shifted(key, XK_P, "P"); key = add_key(key_widget, XK_bracketleft, "[", 23, 5, 2, 2); set_shifted(key, XK_braceleft, "{"); key = add_key(key_widget, XK_bracketright, "]", 25, 5, 2, 2); set_shifted(key, XK_braceright, "}"); key = add_key(key_widget, XK_backslash, "\\", 27, 5, 3, 2); set_shifted(key, XK_bar, "|"); add_key(key_widget, XK_Delete, "Del", 31, 5, 2, 2); add_key(key_widget, XK_End, "End", 33, 5, 2, 2); add_key(key_widget, XK_Page_Down, "PD", 35, 5, 2, 2); key = add_key(key_widget, XK_KP_7, "7", 38, 5, 2, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, XK_KP_Home, "Hm"); key = add_key(key_widget, XK_KP_8, "8", 40, 5, 2, 2); set_flags(key, KEY_NUM_LOCKABLE | KEY_ICON_SHIFT | KEY_ARROW, 90); set_shifted(key, XK_KP_Up, ""); key = add_key(key_widget, XK_KP_9, "9", 42, 5, 2, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, XK_KP_Page_Up, "PU"); add_key(key_widget, XK_KP_Add, "+", 44, 5, 2, 4); /* 4th row */ key = add_key(key_widget, XK_Caps_Lock, "CpLk", 0, 7, 4, 2); set_flags(key, KEY_CAPS_LOCK, 0); key = add_key(key_widget, XK_a, "a", 4, 7, 2, 2); set_shifted(key, XK_A, "A"); key = add_key(key_widget, XK_s, "s", 6, 7, 2, 2); set_shifted(key, XK_S, "S"); key = add_key(key_widget, XK_d, "d", 8, 7, 2, 2); set_shifted(key, XK_D, "D"); key = add_key(key_widget, XK_f, "f", 10, 7, 2, 2); set_shifted(key, XK_F, "F"); key = add_key(key_widget, XK_g, "g", 12, 7, 2, 2); set_shifted(key, XK_G, "G"); key = add_key(key_widget, XK_h, "h", 14, 7, 2, 2); set_shifted(key, XK_H, "H"); key = add_key(key_widget, XK_j, "j", 16, 7, 2, 2); set_shifted(key, XK_J, "J"); key = add_key(key_widget, XK_k, "k", 18, 7, 2, 2); set_shifted(key, XK_K, "K"); key = add_key(key_widget, XK_l, "l", 20, 7, 2, 2); set_shifted(key, XK_L, "L"); key = add_key(key_widget, XK_semicolon, ";", 22, 7, 2, 2); set_shifted(key, XK_colon, ":"); key = add_key(key_widget, XK_apostrophe, "'", 24, 7, 2, 2); set_shifted(key, XK_quotedbl, "\""); add_key(key_widget, XK_Return, "Enter", 26, 7, 4, 2); key = add_key(key_widget, XK_KP_4, "4", 38, 7, 2, 2); set_flags(key, KEY_NUM_LOCKABLE | KEY_ICON_SHIFT | KEY_ARROW, 180); set_shifted(key, XK_KP_Left, ""); key = add_key(key_widget, XK_KP_5, "5", 40, 7, 2, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, 0, ""); key = add_key(key_widget, XK_KP_6, "6", 42, 7, 2, 2); set_flags(key, KEY_NUM_LOCKABLE | KEY_ICON_SHIFT | KEY_ARROW, 0); set_shifted(key, XK_KP_Right, ""); /* 5th row */ key = add_key(key_widget, XK_Shift_L, "Shift", 0, 9, 5, 2); set_flags(key, KEY_STICKY|KEY_SHIFT, 0); key = add_key(key_widget, XK_z, "z", 5, 9, 2, 2); set_shifted(key, XK_Z, "Z"); key = add_key(key_widget, XK_x, "x", 7, 9, 2, 2); set_shifted(key, XK_X, "X"); key = add_key(key_widget, XK_c, "c", 9, 9, 2, 2); set_shifted(key, XK_C, "C"); key = add_key(key_widget, XK_v, "v", 11, 9, 2, 2); set_shifted(key, XK_V, "V"); key = add_key(key_widget, XK_b, "b", 13, 9, 2, 2); set_shifted(key, XK_B, "B"); key = add_key(key_widget, XK_n, "n", 15, 9, 2, 2); set_shifted(key, XK_N, "N"); key = add_key(key_widget, XK_m, "m", 17, 9, 2, 2); set_shifted(key, XK_M, "M"); key = add_key(key_widget, XK_comma, ",", 19, 9, 2, 2); set_shifted(key, XK_less, "<"); key = add_key(key_widget, XK_period, ".", 21, 9, 2, 2); set_shifted(key, XK_greater, ">"); key = add_key(key_widget, XK_slash, "/", 23, 9, 2, 2); set_shifted(key, XK_question, "?"); key = add_key(key_widget, XK_Shift_R, "Shift", 25, 9, 5, 2); set_flags(key, KEY_STICKY|KEY_SHIFT, 0); key = add_key(key_widget, XK_Up, "", 33, 9, 2, 2); set_flags(key, KEY_ARROW, 90); key = add_key(key_widget, XK_KP_1, "1", 38, 9, 2, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, XK_KP_End, "End"); key = add_key(key_widget, XK_KP_2, "2", 40, 9, 2, 2); set_flags(key, KEY_NUM_LOCKABLE | KEY_ICON_SHIFT | KEY_ARROW, 270); set_shifted(key, XK_KP_Down, ""); key = add_key(key_widget, XK_KP_3, "3", 42, 9, 2, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, XK_KP_Page_Down, "PD"); add_key(key_widget, XK_KP_Enter, "Ent", 44, 9, 2, 4); /* 6th row */ key = add_key(key_widget, XK_Control_L, "Ctrl", 0, 11, 4, 2); set_flags(key, KEY_STICKY, 0); key = add_key(key_widget, XK_Super_L, "Su", 4, 11, 2, 2); set_flags(key, KEY_STICKY, 0); key = add_key(key_widget, XK_Alt_L, "Alt", 6, 11, 2, 2); set_flags(key, KEY_STICKY, 0); add_key(key_widget, XK_space, "", 8, 11, 14, 2); key = add_key(key_widget, XK_Alt_R, "Alt", 22, 11, 2, 2); set_flags(key, KEY_STICKY, 0); add_key(key_widget, XK_Menu, "Mn", 24, 11, 2, 2); key = add_key(key_widget, XK_Control_R, "Ctrl", 26, 11, 4, 2); set_flags(key, KEY_STICKY, 0); key = add_key(key_widget, XK_Left, "", 31, 11, 2, 2); set_flags(key, KEY_ARROW, 180); key = add_key(key_widget, XK_Down, "", 33, 11, 2, 2); set_flags(key, KEY_ARROW, 270); key = add_key(key_widget, XK_Right, "", 35, 11, 2, 2); set_flags(key, KEY_ARROW, 0); key = add_key(key_widget, XK_KP_0, "0", 38, 11, 4, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, XK_KP_Insert, "Ins"); key = add_key(key_widget, XK_KP_Decimal, ".", 42, 11, 2, 2); set_flags(key, KEY_NUM_LOCKABLE, 0); set_shifted(key, XK_KP_Delete, "Del"); /* Setup drawing area events */ g_signal_connect(G_OBJECT(drawing_area), "expose_event", G_CALLBACK(expose_event), key_widget); g_signal_connect(G_OBJECT(drawing_area), "configure_event", G_CALLBACK(configure_event), key_widget); g_signal_connect(G_OBJECT(drawing_area), "button_press_event", G_CALLBACK(key_widget_button_press), key_widget); g_signal_connect(G_OBJECT(drawing_area), "button_release_event", G_CALLBACK(key_widget_button_release), key_widget); g_signal_connect(G_OBJECT(drawing_area), "style_set", G_CALLBACK(style_set), key_widget); g_signal_connect(G_OBJECT(drawing_area), "enter_notify_event", G_CALLBACK(notify_event), key_widget); g_signal_connect(G_OBJECT(drawing_area), "leave_notify_event", G_CALLBACK(notify_event), key_widget); gtk_widget_set_events(drawing_area, GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK); return key_widget; } cellwriter-1.3.6/src/libegg/000077500000000000000000000000001311072664300157205ustar00rootroot00000000000000cellwriter-1.3.6/src/libegg/eggtrayicon.c000066400000000000000000000355301311072664300204050ustar00rootroot00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* eggtrayicon.c * Copyright (C) 2002 Anders Carlsson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include #include "eggtrayicon.h" #include #include #define _(x) x #define N_(x) x #define SYSTEM_TRAY_REQUEST_DOCK 0 #define SYSTEM_TRAY_BEGIN_MESSAGE 1 #define SYSTEM_TRAY_CANCEL_MESSAGE 2 #define SYSTEM_TRAY_ORIENTATION_HORZ 0 #define SYSTEM_TRAY_ORIENTATION_VERT 1 enum { PROP_0, PROP_ORIENTATION }; static GtkPlugClass *parent_class = NULL; static void egg_tray_icon_init (EggTrayIcon *icon); static void egg_tray_icon_class_init (EggTrayIconClass *klass); static void egg_tray_icon_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void egg_tray_icon_realize (GtkWidget *widget); static void egg_tray_icon_unrealize (GtkWidget *widget); static void egg_tray_icon_add (GtkContainer *container, GtkWidget *widget); static void egg_tray_icon_update_manager_window (EggTrayIcon *icon, gboolean dock_if_realized); static void egg_tray_icon_manager_window_destroyed (EggTrayIcon *icon); GType egg_tray_icon_get_type (void) { static GType our_type = 0; if (our_type == 0) { our_type = g_type_from_name("EggTrayIcon"); if (our_type == 0) { static const GTypeInfo our_info = { sizeof (EggTrayIconClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) egg_tray_icon_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (EggTrayIcon), 0, /* n_preallocs */ (GInstanceInitFunc) egg_tray_icon_init, NULL /* value_table */ }; our_type = g_type_register_static (GTK_TYPE_PLUG, "EggTrayIcon", &our_info, 0); } else if (parent_class == NULL) { /* we're reheating the old class from a previous instance - engage ugly hack =( */ egg_tray_icon_class_init((EggTrayIconClass *)g_type_class_peek(our_type)); } } return our_type; } static void egg_tray_icon_init (EggTrayIcon *icon) { icon->stamp = 1; icon->orientation = GTK_ORIENTATION_HORIZONTAL; gtk_widget_add_events (GTK_WIDGET (icon), GDK_PROPERTY_CHANGE_MASK); } static void egg_tray_icon_class_init (EggTrayIconClass *klass) { GObjectClass *gobject_class = (GObjectClass *)klass; GtkWidgetClass *widget_class = (GtkWidgetClass *)klass; GtkContainerClass *container_class = (GtkContainerClass *)klass; parent_class = g_type_class_peek_parent (klass); gobject_class->get_property = egg_tray_icon_get_property; widget_class->realize = egg_tray_icon_realize; widget_class->unrealize = egg_tray_icon_unrealize; container_class->add = egg_tray_icon_add; g_object_class_install_property (gobject_class, PROP_ORIENTATION, g_param_spec_enum ("orientation", _("Orientation"), _("The orientation of the tray."), GTK_TYPE_ORIENTATION, GTK_ORIENTATION_HORIZONTAL, G_PARAM_READABLE)); } static void egg_tray_icon_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { EggTrayIcon *icon = EGG_TRAY_ICON (object); switch (prop_id) { case PROP_ORIENTATION: g_value_set_enum (value, icon->orientation); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } static Display * egg_tray_icon_get_x_display(EggTrayIcon *icon) { Display *xdisplay = NULL; #if GTK_CHECK_VERSION(2,1,0) { GdkDisplay *display = gtk_widget_get_display (GTK_WIDGET (icon)); if (!GDK_IS_DISPLAY (display)) display = gdk_display_get_default (); xdisplay = GDK_DISPLAY_XDISPLAY (display); } #else xdisplay = gdk_display; #endif return xdisplay; } static void egg_tray_icon_get_orientation_property (EggTrayIcon *icon) { Display *xdisplay; Atom type; int format; union { gulong *prop; guchar *prop_ch; } prop = { NULL }; gulong nitems; gulong bytes_after; int error, result; g_return_if_fail(icon->manager_window != None); xdisplay = egg_tray_icon_get_x_display(icon); if (xdisplay == NULL) return; gdk_error_trap_push (); type = None; result = XGetWindowProperty (xdisplay, icon->manager_window, icon->orientation_atom, 0, G_MAXLONG, FALSE, XA_CARDINAL, &type, &format, &nitems, &bytes_after, &(prop.prop_ch)); error = gdk_error_trap_pop (); if (error || result != Success) return; if (type == XA_CARDINAL) { GtkOrientation orientation; orientation = (prop.prop [0] == SYSTEM_TRAY_ORIENTATION_HORZ) ? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL; if (icon->orientation != orientation) { icon->orientation = orientation; g_object_notify (G_OBJECT (icon), "orientation"); } } if (prop.prop) XFree (prop.prop); } static GdkFilterReturn egg_tray_icon_manager_filter (GdkXEvent *xevent, GdkEvent *event, gpointer user_data) { EggTrayIcon *icon = user_data; XEvent *xev = (XEvent *)xevent; if (xev->xany.type == ClientMessage && xev->xclient.message_type == icon->manager_atom && xev->xclient.data.l[1] == (int)icon->selection_atom) { egg_tray_icon_update_manager_window (icon, TRUE); } else if (xev->xany.window == icon->manager_window) { if (xev->xany.type == PropertyNotify && xev->xproperty.atom == icon->orientation_atom) { egg_tray_icon_get_orientation_property (icon); } if (xev->xany.type == DestroyNotify) { egg_tray_icon_manager_window_destroyed (icon); } } return GDK_FILTER_CONTINUE; } static void egg_tray_icon_unrealize (GtkWidget *widget) { EggTrayIcon *icon = EGG_TRAY_ICON (widget); GdkWindow *root_window; if (icon->manager_window != None) { GdkWindow *gdkwin; #if GTK_CHECK_VERSION(2,1,0) gdkwin = gdk_window_lookup_for_display (gtk_widget_get_display (widget), icon->manager_window); #else gdkwin = gdk_window_lookup (icon->manager_window); #endif gdk_window_remove_filter (gdkwin, egg_tray_icon_manager_filter, icon); } #if GTK_CHECK_VERSION(2,1,0) root_window = gdk_screen_get_root_window (gtk_widget_get_screen (widget)); #else root_window = gdk_window_lookup (gdk_x11_get_default_root_xwindow ()); #endif gdk_window_remove_filter (root_window, egg_tray_icon_manager_filter, icon); if (GTK_WIDGET_CLASS (parent_class)->unrealize) (* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget); } static void egg_tray_icon_send_manager_message (EggTrayIcon *icon, long message, Window window, long data1, long data2, long data3) { XClientMessageEvent ev; Display *display; ev.type = ClientMessage; ev.window = window; ev.message_type = icon->system_tray_opcode_atom; ev.format = 32; ev.data.l[0] = gdk_x11_get_server_time (GTK_WIDGET (icon)->window); ev.data.l[1] = message; ev.data.l[2] = data1; ev.data.l[3] = data2; ev.data.l[4] = data3; #if GTK_CHECK_VERSION(2,1,0) display = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon))); #else display = gdk_display; #endif gdk_error_trap_push (); XSendEvent (display, icon->manager_window, False, NoEventMask, (XEvent *)&ev); XSync (display, False); gdk_error_trap_pop (); } static void egg_tray_icon_send_dock_request (EggTrayIcon *icon) { egg_tray_icon_send_manager_message (icon, SYSTEM_TRAY_REQUEST_DOCK, icon->manager_window, gtk_plug_get_id (GTK_PLUG (icon)), 0, 0); } static void egg_tray_icon_update_manager_window (EggTrayIcon *icon, gboolean dock_if_realized) { Display *xdisplay; if (icon->manager_window != None) return; xdisplay = egg_tray_icon_get_x_display(icon); if (xdisplay == NULL) return; XGrabServer (xdisplay); icon->manager_window = XGetSelectionOwner (xdisplay, icon->selection_atom); if (icon->manager_window != None) XSelectInput (xdisplay, icon->manager_window, StructureNotifyMask|PropertyChangeMask); XUngrabServer (xdisplay); XFlush (xdisplay); if (icon->manager_window != None) { GdkWindow *gdkwin; #if GTK_CHECK_VERSION(2,1,0) gdkwin = gdk_window_lookup_for_display (gtk_widget_get_display (GTK_WIDGET (icon)), icon->manager_window); #else gdkwin = gdk_window_lookup (icon->manager_window); #endif gdk_window_add_filter (gdkwin, egg_tray_icon_manager_filter, icon); if (dock_if_realized && GTK_WIDGET_REALIZED (icon)) egg_tray_icon_send_dock_request (icon); egg_tray_icon_get_orientation_property (icon); } } static void egg_tray_icon_manager_window_destroyed (EggTrayIcon *icon) { GdkWindow *gdkwin; g_return_if_fail (icon->manager_window != None); #if GTK_CHECK_VERSION(2,1,0) gdkwin = gdk_window_lookup_for_display (gtk_widget_get_display (GTK_WIDGET (icon)), icon->manager_window); #else gdkwin = gdk_window_lookup (icon->manager_window); #endif gdk_window_remove_filter (gdkwin, egg_tray_icon_manager_filter, icon); icon->manager_window = None; egg_tray_icon_update_manager_window (icon, TRUE); } static gboolean transparent_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data) { gdk_window_clear_area (widget->window, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } static void make_transparent_again (GtkWidget *widget, GtkStyle *previous_style, gpointer user_data) { gdk_window_set_back_pixmap(widget->window, NULL, TRUE); } static void make_transparent (GtkWidget *widget, gpointer user_data) { if (GTK_WIDGET_NO_WINDOW (widget) || GTK_WIDGET_APP_PAINTABLE (widget)) return; gtk_widget_set_app_paintable (widget, TRUE); gtk_widget_set_double_buffered (widget, FALSE); gdk_window_set_back_pixmap (widget->window, NULL, TRUE); g_signal_connect (widget, "expose_event", G_CALLBACK (transparent_expose_event), NULL); g_signal_connect_after (widget, "style_set", G_CALLBACK (make_transparent_again), NULL); } static void egg_tray_icon_realize (GtkWidget *widget) { EggTrayIcon *icon = EGG_TRAY_ICON (widget); gint screen; Display *xdisplay; char buffer[256]; GdkWindow *root_window; if (GTK_WIDGET_CLASS (parent_class)->realize) GTK_WIDGET_CLASS (parent_class)->realize (widget); make_transparent (widget, NULL); xdisplay = egg_tray_icon_get_x_display(icon); if (xdisplay == NULL) return; #if GTK_CHECK_VERSION(2,1,0) screen = gdk_screen_get_number (gtk_widget_get_screen (widget)); #else screen = XScreenNumberOfScreen (DefaultScreenOfDisplay (gdk_display)); #endif /* Now see if there's a manager window around */ g_snprintf (buffer, sizeof (buffer), "_NET_SYSTEM_TRAY_S%d", screen); icon->selection_atom = XInternAtom (xdisplay, buffer, False); icon->manager_atom = XInternAtom (xdisplay, "MANAGER", False); icon->system_tray_opcode_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_OPCODE", False); icon->orientation_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_ORIENTATION", False); egg_tray_icon_update_manager_window (icon, FALSE); egg_tray_icon_send_dock_request (icon); #if GTK_CHECK_VERSION(2,1,0) root_window = gdk_screen_get_root_window (gtk_widget_get_screen (widget)); #else root_window = gdk_window_lookup (gdk_x11_get_default_root_xwindow ()); #endif /* Add a root window filter so that we get changes on MANAGER */ gdk_window_add_filter (root_window, egg_tray_icon_manager_filter, icon); } static void egg_tray_icon_add (GtkContainer *container, GtkWidget *widget) { g_signal_connect (widget, "realize", G_CALLBACK (make_transparent), NULL); GTK_CONTAINER_CLASS (parent_class)->add (container, widget); } #if GTK_CHECK_VERSION(2,1,0) EggTrayIcon * egg_tray_icon_new_for_screen (GdkScreen *screen, const char *name) { g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL); return g_object_new (EGG_TYPE_TRAY_ICON, "screen", screen, "title", name, NULL); } #endif EggTrayIcon* egg_tray_icon_new (const gchar *name) { return g_object_new (EGG_TYPE_TRAY_ICON, "title", name, NULL); } guint egg_tray_icon_send_message (EggTrayIcon *icon, gint timeout, const gchar *message, gint len) { guint stamp; g_return_val_if_fail (EGG_IS_TRAY_ICON (icon), 0); g_return_val_if_fail (timeout >= 0, 0); g_return_val_if_fail (message != NULL, 0); if (icon->manager_window == None) return 0; if (len < 0) len = strlen (message); stamp = icon->stamp++; /* Get ready to send the message */ egg_tray_icon_send_manager_message (icon, SYSTEM_TRAY_BEGIN_MESSAGE, (Window)gtk_plug_get_id (GTK_PLUG (icon)), timeout, len, stamp); /* Now to send the actual message */ gdk_error_trap_push (); while (len > 0) { XClientMessageEvent ev; Display *xdisplay; xdisplay = egg_tray_icon_get_x_display(icon); if (xdisplay == NULL) return 0; ev.type = ClientMessage; ev.window = (Window)gtk_plug_get_id (GTK_PLUG (icon)); ev.format = 8; ev.message_type = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_MESSAGE_DATA", False); if (len > 20) { memcpy (&ev.data, message, 20); len -= 20; message += 20; } else { memcpy (&ev.data, message, len); len = 0; } XSendEvent (xdisplay, icon->manager_window, False, StructureNotifyMask, (XEvent *)&ev); XSync (xdisplay, False); } gdk_error_trap_pop (); return stamp; } void egg_tray_icon_cancel_message (EggTrayIcon *icon, guint id) { g_return_if_fail (EGG_IS_TRAY_ICON (icon)); g_return_if_fail (id > 0); egg_tray_icon_send_manager_message (icon, SYSTEM_TRAY_CANCEL_MESSAGE, (Window)gtk_plug_get_id (GTK_PLUG (icon)), id, 0, 0); } GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon) { g_return_val_if_fail (EGG_IS_TRAY_ICON (icon), GTK_ORIENTATION_HORIZONTAL); return icon->orientation; } cellwriter-1.3.6/src/libegg/eggtrayicon.h000066400000000000000000000050371311072664300204110ustar00rootroot00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* eggtrayicon.h * Copyright (C) 2002 Anders Carlsson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef __EGG_TRAY_ICON_H__ #define __EGG_TRAY_ICON_H__ #include #include #include G_BEGIN_DECLS #define EGG_TYPE_TRAY_ICON (egg_tray_icon_get_type ()) #define EGG_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TRAY_ICON, EggTrayIcon)) #define EGG_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TRAY_ICON, EggTrayIconClass)) #define EGG_IS_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TRAY_ICON)) #define EGG_IS_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_ICON)) #define EGG_TRAY_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_ICON, EggTrayIconClass)) typedef struct _EggTrayIcon EggTrayIcon; typedef struct _EggTrayIconClass EggTrayIconClass; struct _EggTrayIcon { GtkPlug parent_instance; guint stamp; Atom selection_atom; Atom manager_atom; Atom system_tray_opcode_atom; Atom orientation_atom; Window manager_window; GtkOrientation orientation; }; struct _EggTrayIconClass { GtkPlugClass parent_class; }; GType egg_tray_icon_get_type (void); #if GTK_CHECK_VERSION(2,1,0) EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen *screen, const gchar *name); #endif EggTrayIcon *egg_tray_icon_new (const gchar *name); guint egg_tray_icon_send_message (EggTrayIcon *icon, gint timeout, const char *message, gint len); void egg_tray_icon_cancel_message (EggTrayIcon *icon, guint id); GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon); G_END_DECLS #endif /* __EGG_TRAY_ICON_H__ */ cellwriter-1.3.6/src/main.c000066400000000000000000000745541311072664300155760ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include #include #include #include #include /* recognize.c */ extern int strength_sum; void recognize_init(void); void recognize_sync(void); void samples_write(void); void sample_read(void); void update_enabled_samples(void); int samples_loaded(void); /* cellwidget.c */ extern int training, corrections, rewrites, characters, inputs; void cell_widget_cleanup(void); /* options.c */ void options_sync(void); /* keyevent.c */ extern int key_recycles, key_overwrites, key_disable_overwrite; int key_event_init(void); void key_event_cleanup(void); void bad_keycodes_write(void); void bad_keycodes_read(void); /* Variable argument parsing */ char *nvav(int *plen, const char *fmt, va_list va) { static char buffer[2][16000]; static int which; int len; which = !which; len = g_vsnprintf(buffer[which], sizeof(buffer[which]), fmt, va); if (plen) *plen = len; return buffer[which]; } char *nva(int *plen, const char *fmt, ...) { va_list va; char *string; va_start(va, fmt); string = nvav(plen, fmt, va); va_end(va); return string; } char *va(const char *fmt, ...) { va_list va; char *string; va_start(va, fmt); string = nvav(NULL, fmt, va); va_end(va); return string; } /* GDK colors */ static int check_color_range(int value) { if (value < 0) value = 0; if (value > 65535) value = 65535; return value; } void scale_gdk_color(const GdkColor *base, GdkColor *out, double value) { out->red = check_color_range(base->red * value); out->green = check_color_range(base->green * value); out->blue = check_color_range(base->blue * value); } void gdk_color_to_hsl(const GdkColor *src, double *hue, double *sat, double *lit) /* Source: http://en.wikipedia.org/wiki/HSV_color_space #Conversion_from_RGB_to_HSL_or_HSV */ { double max = src->red, min = src->red; /* Find largest and smallest channel */ if (src->green > max) max = src->green; if (src->green < min) min = src->green; if (src->blue > max) max = src->blue; if (src->blue < min) min = src->blue; /* Hue depends on max/min */ if (max == min) *hue = 0; else if (max == src->red) { *hue = (src->green - src->blue) / (max - min) / 6.; if (*hue < 0.) *hue += 1.; } else if (max == src->green) *hue = ((src->blue - src->red) / (max - min) + 2.) / 6.; else if (max == src->blue) *hue = ((src->red - src->green) / (max - min) + 4.) / 6.; /* Lightness */ *lit = (max + min) / 2 / 65535; /* Saturation depends on lightness */ if (max == min) *sat = 0.; else if (*lit <= 0.5) *sat = (max - min) / (max + min); else *sat = (max - min) / (65535 * 2 - (max + min)); } void hsl_to_gdk_color(GdkColor *src, double hue, double sat, double lit) /* Source: http://en.wikipedia.org/wiki/HSV_color_space #Conversion_from_RGB_to_HSL_or_HSV */ { double q, p, t[3]; int i; /* Clamp ranges */ if (hue < 0) hue -= (int)hue - 1.; if (hue > 1) hue -= (int)hue; if (sat < 0) sat = 0; if (sat > 1) sat = 1; if (lit < 0) lit = 0; if (lit > 1) lit = 1; /* Special case for gray */ if (sat == 0.) { src->red = lit * 65535; src->green = lit * 65535; src->blue = lit * 65535; return; } q = (lit < 0.5) ? lit * (1 + sat) : lit + sat - (lit * sat); p = 2 * lit - q; t[0] = hue + 1 / 3.; t[1] = hue; t[2] = hue - 1 / 3.; for (i = 0; i < 3; i++) { if (t[i] < 0.) t[i] += 1.; if (t[i] > 1.) t[i] -= 1.; if (t[i] >= 2 / 3.) t[i] = p; else if (t[i] >= 0.5) t[i] = p + ((q - p) * 6 * (2 / 3. - t[i])); else if (t[i] >= 1 / 6.) t[i] = q; else t[i] = p + ((q - p) * 6 * t[i]); } src->red = t[0] * 65535; src->green = t[1] * 65535; src->blue = t[2] * 65535; } void shade_gdk_color(const GdkColor *base, GdkColor *out, double value) { double hue, sat, lit; gdk_color_to_hsl(base, &hue, &sat, &lit); sat *= value; lit += value - 1.; hsl_to_gdk_color(out, hue, sat, lit); } void highlight_gdk_color(const GdkColor *base, GdkColor *out, double value) /* Shades brighter or darker depending on the luminance of the base color */ { double lum = (0.3 * base->red + 0.59 * base->green + 0.11 * base->blue) / 65535; value = lum < 0.5 ? 1. + value : 1. - value; shade_gdk_color(base, out, value); } /* Profile */ /* Profile format version */ #define PROFILE_VERSION 0 /* The profile filename not including the path or postfix */ #define PROFILE_FILENAME "profile" /* Added to the end of the profile backup filename */ #define BACKUP_POSTFIX ".backup" int profile_read_only, keyboard_only = FALSE; static GIOChannel *channel; static char profile_buf[4096], *profile_end = NULL, profile_swap, *force_profile = NULL; static int force_read_only; static int is_space(int ch) { return ch == ' ' || ch == '\t' || ch == '\r'; } static int profile_open_channel(const char *type, const char *path) /* Tries to open a profile channel, returns TRUE if it succeeds */ { GError *error = NULL; if (!g_file_test(path, G_FILE_TEST_IS_REGULAR) && g_file_test(path, G_FILE_TEST_EXISTS)) { g_warning("Failed to open %s profile '%s': Not a regular file", type, path); return FALSE; } channel = g_io_channel_new_file(path, profile_read_only ? "r" : "w", &error); if (!error) { g_debug("Opened %s profile '%s' for %s", type, path, profile_read_only ? "reading" : "writing"); return TRUE; } g_warning("Failed to open %s profile '%s' for %s: %s", type, path, profile_read_only ? "reading" : "writing", error->message); g_error_free(error); return FALSE; } static void create_user_dir(void) /* Make sure the user directory exists */ { char *path; path = g_build_filename(g_get_home_dir(), "." PACKAGE, NULL); if (g_mkdir_with_parents(path, 0755)) g_warning("Failed to create user directory '%s'", path); g_free(path); } static int profile_open_read(void) /* Open the profile file for reading. Returns TRUE if the profile was opened successfully. */ { char *path; profile_read_only = TRUE; /* Try opening a command-line specified profile first */ if (force_profile) { if (profile_open_channel("command-line specified", force_profile)) return TRUE; /* Try opening a backup of the command-line specified profile */ path = g_build_filename(force_profile, BACKUP_POSTFIX, NULL); if (profile_open_channel("backup of command-line specified", path)) { g_free(path); return TRUE; } } /* Open user's profile */ path = g_build_filename(g_get_home_dir(), "." PACKAGE, PROFILE_FILENAME, NULL); if (profile_open_channel("user's", path)) { g_free(path); return TRUE; } g_free(path); /* Open user's backup profile */ path = g_build_filename(g_get_home_dir(), "." PACKAGE, PROFILE_FILENAME BACKUP_POSTFIX, NULL); if (profile_open_channel("user's backup", path)) { g_free(path); return TRUE; } g_free(path); /* Open system profile */ path = g_build_filename(PKGDATADIR, PROFILE_FILENAME, NULL); if (profile_open_channel("system", path)) { g_free(path); return TRUE; } g_free(path); return FALSE; } static int move_file(char *from, char *to) /* First tries to rename the file to the new location. The standard library rename() cannot move across filesystems so we need a backup that can do that. This function will copy a file, byte-by-byte if necessary. */ { GError *error = NULL; GIOChannel *src_channel, *dest_channel; gchar buffer[4096]; int errno; /* First try to rename the file to the destination */ errno = rename(from, to); if (!errno) return TRUE; log_errno("rename() failed to move the file"); /* Open source file for reading */ src_channel = g_io_channel_new_file(from, "r", &error); if (error) { g_warning("move_file() failed to open src '%s': %s", from, error->message); return FALSE; } /* Open destination file for writing */ dest_channel = g_io_channel_new_file(to, "w", &error); if (error) { g_warning("move_file() failed to open dest '%s': %s", to, error->message); g_io_channel_unref(src_channel); return FALSE; } /* Copy data in blocks */ for (;;) { gsize bytes_read, bytes_written; /* Read a block in */ if (g_io_channel_read_chars(src_channel, buffer, sizeof (buffer), &bytes_read, &error) != G_IO_STATUS_NORMAL) break; /* Write the block out */ g_io_channel_write_chars(dest_channel, buffer, bytes_read, &bytes_written, &error); if (bytes_written < bytes_read || error) { g_warning("move_file() error writing to '%s': %s", to, error->message); g_io_channel_unref(src_channel); g_io_channel_unref(dest_channel); return FALSE; } } /* Close channels */ g_io_channel_unref(src_channel); g_io_channel_unref(dest_channel); g_debug("move_file() copied '%s' to '%s'", from, to); /* Should be safe to delete the old file now */ if (remove(from)) log_errno("move_file() failed to delete src"); return TRUE; } static int profile_open_write(void) /* Open a temporary profile file for writing. Returns TRUE if the profile was opened successfully. */ { GError *error; char *path; char *backup_path; if (force_read_only) { g_debug("Not saving profile, opened in read-only mode"); return FALSE; } profile_read_only = FALSE; /* Use command-line specified profile path first then the user's home directory profile */ path = force_profile; if (!path) path = g_build_filename(g_get_home_dir(), "." PACKAGE, PROFILE_FILENAME, NULL); /* Backup the current profile, if it exists */ if (g_file_test(path, G_FILE_TEST_IS_REGULAR) && g_file_test(path, G_FILE_TEST_EXISTS)) { backup_path = g_strconcat(path, BACKUP_POSTFIX, NULL); if (!move_file(path, backup_path)) g_warning("Failed to backup the profile"); else g_debug("Backed up profile '%s' to '%s'", path, backup_path); g_free(backup_path); } else { g_debug("No profile found, not backing up"); } /* Open user's profile */ if (profile_open_channel("user's", path)) { g_free(path); return TRUE; } g_free(path); g_warning("Failed to open profile for writing: %s", error->message); return FALSE; } static int profile_close(void) /* Close the currently open profile */ { if (!channel) return FALSE; g_io_channel_unref(channel); return TRUE; } const char *profile_read(void) /* Read a token from the open profile */ { GError *error = NULL; char *token; if (!channel) return ""; if (!profile_end) profile_end = profile_buf; *profile_end = profile_swap; seek_profile_end: /* Get the next token from the buffer */ for (; is_space(*profile_end); profile_end++); token = profile_end; for (; *profile_end && !is_space(*profile_end) && *profile_end != '\n'; profile_end++); /* If we run out of buffer space, read a new chunk */ if (!*profile_end) { unsigned int token_size; gsize bytes_read; /* If we are out of space and we are not on the first or the last byte, then we have run out of things to read */ if (profile_end > profile_buf && profile_end < profile_buf + sizeof (profile_buf) - 1) { profile_swap = 0; return ""; } /* Move what we have of the token to the start of the buffer, fill the rest of the buffer with new data and start reading from the beginning */ token_size = profile_end - token; if (token_size >= sizeof (profile_buf) - 1) { g_warning("Oversize token in profile"); return ""; } memmove(profile_buf, token, token_size); g_io_channel_read_chars(channel, profile_buf + token_size, sizeof (profile_buf) - token_size - 1, &bytes_read, &error); if (error) { g_warning("Read error: %s", error->message); return ""; } if (bytes_read < 1) { profile_swap = 0; return ""; } profile_end = profile_buf; profile_buf[token_size + bytes_read] = 0; goto seek_profile_end; } profile_swap = *profile_end; *profile_end = 0; return token; } int profile_read_next(void) /* Skip to the next line FIXME should skip multiple blank lines */ { const char *s; do { s = profile_read(); } while (s[0]); if (profile_swap == '\n') { profile_swap = ' '; return TRUE; } return FALSE; } int profile_write(const char *str) /* Write a string to the open profile */ { GError *error = NULL; gsize bytes_written; if (profile_read_only || !str) return 0; if (!channel) return 1; g_io_channel_write_chars(channel, str, strlen(str), &bytes_written, &error); if (error) { g_warning("Write error: %s", error->message); return 1; } return 0; } int profile_sync_int(int *var) /* Read or write an integer variable depending on the profile mode */ { if (profile_read_only) { const char *s; int n; s = profile_read(); if (s[0]) { n = atoi(s); if (n || (s[0] == '0' && !s[1])) { *var = n; return 0; } } } else return profile_write(va(" %d", *var)); return 1; } int profile_sync_short(short *var) /* Read or write a short integer variable depending on the profile mode */ { int value = *var; if (profile_sync_int(&value)) return 1; if (!profile_read_only) return 0; *var = (short)value; return 0; } void version_read(void) { int version; version = atoi(profile_read()); if (version != 0) g_warning("Loading a profile with incompatible version %d " "(expected %d)", version, PROFILE_VERSION); } /* Main and signal handling */ #define NUM_PROFILE_CMDS (sizeof (profile_cmds) / sizeof (*profile_cmds)) int profile_line, log_level = 4; static char *log_filename = NULL; static FILE *log_file = NULL; static int ignore_fifo; /* Profile commands table */ static struct { const char *name; void (*read_func)(void); void (*write_func)(void); } profile_cmds[] = { { "version", version_read, NULL }, { "window", window_sync, window_sync }, { "options", options_sync, options_sync }, { "recognize", recognize_sync, recognize_sync }, { "blocks", blocks_sync, blocks_sync }, { "bad_keycodes", bad_keycodes_read, bad_keycodes_write }, { "sample", sample_read, samples_write }, }; /* Command line arguments */ static GOptionEntry command_line_opts[] = { { "log-level", 0, 0, G_OPTION_ARG_INT, &log_level, "Log threshold (0=silent, 7=debug)", "4" }, { "log-file", 0, 0, G_OPTION_ARG_STRING, &log_filename, "Log file to use instead of stdout", PACKAGE ".log" }, { "xid", 0, 0, G_OPTION_ARG_NONE, &window_embedded, "Embed the main window (XEMBED)", NULL }, { "show-window", 0, 0, G_OPTION_ARG_NONE, &window_force_show, "Show the main window", NULL }, { "hide-window", 0, 0, G_OPTION_ARG_NONE, &window_force_hide, "Don't show the main window", NULL }, { "window-x", 0, 0, G_OPTION_ARG_INT, &window_force_x, "Horizontal window position", "512" }, { "window-y", 0, 0, G_OPTION_ARG_INT, &window_force_y, "Vertical window position", "768" }, { "dock-window", 0, 0, G_OPTION_ARG_INT, &window_force_docked, "Docking (0=off, 1=top, 2=bottom)", "0" }, { "window-struts", 0, 0, G_OPTION_ARG_NONE, &window_struts, "Reserve space when docking, see manpage", NULL }, { "keyboard-only", 0, 0, G_OPTION_ARG_NONE, &keyboard_only, "Show on-screen keyboard only", NULL }, { "profile", 0, 0, G_OPTION_ARG_STRING, &force_profile, "Full path to profile file to load", "profile" }, { "read-only", 0, 0, G_OPTION_ARG_NONE, &force_read_only, "Do not save changes to the profile", NULL }, { "disable-overwrite", 0, 0, G_OPTION_ARG_NONE, &key_disable_overwrite, "Do not modify the keymap", NULL }, { "ignore-fifo", 0, 0, G_OPTION_ARG_NONE, &ignore_fifo, "Allow starting a second instance", NULL }, /* Sentinel */ { NULL, 0, 0, 0, NULL, NULL, NULL } }; /* If any of these things happen, try to save and exit cleanly -- gdb is not affected by any of these signals being caught */ static int catch_signals[] = { SIGSEGV, SIGHUP, SIGINT, SIGTERM, SIGQUIT, SIGALRM, -1 }; /* Save the profile */ void save_profile(void) { if (!window_embedded && profile_open_write()) { unsigned int i; profile_write(va("version %d\n", PROFILE_VERSION)); for (i = 0; i < NUM_PROFILE_CMDS; i++) if (profile_cmds[i].write_func) profile_cmds[i].write_func(); if (profile_close()) g_debug("Profile saved"); } } void cleanup(void) { static int finished; /* Run once */ if (finished) { g_debug("Cleanup already called"); return; } finished = TRUE; g_message("Cleaning up"); /* Explicit cleanup */ cell_widget_cleanup(); window_cleanup(); key_event_cleanup(); if (!window_embedded) single_instance_cleanup(); save_profile(); /* Close log file */ if (log_file) fclose(log_file); } static void catch_sigterm(int sig) /* Terminated by shutdown */ { g_warning("Caught signal %d, cleaning up", sig); cleanup(); exit(1); } static void hook_signals(void) /* Setup signal catchers */ { sigset_t sigset; int *ps; sigemptyset(&sigset); ps = catch_signals; while (*ps != -1) { signal(*ps, catch_sigterm); sigaddset(&sigset, *(ps++)); } if (sigprocmask(SIG_UNBLOCK, &sigset, NULL) == -1) log_errno("Failed to set signal blocking mask"); } void log_print(const char *format, ...) /* Print to the log file or stderr */ { FILE *file; va_list va; file = log_file; if (!file) { if (window_embedded) return; file = stderr; } va_start(va, format); vfprintf(file, format, va); va_end(va); } void log_func(const gchar *domain, GLogLevelFlags level, const gchar *message) { const char *prefix = "", *postfix = "\n", *pmsg; if (level > log_level) goto skip_print; /* Do not print empty messages */ for (pmsg = message; *pmsg <= ' '; pmsg++) if (!*pmsg) goto skip_print; /* Format the message */ switch (level & G_LOG_LEVEL_MASK) { case G_LOG_LEVEL_DEBUG: prefix = "| "; break; case G_LOG_LEVEL_INFO: case G_LOG_LEVEL_MESSAGE: if (log_level > G_LOG_LEVEL_INFO) { prefix = "\n"; postfix = ":\n"; } break; case G_LOG_LEVEL_WARNING: if (log_level > G_LOG_LEVEL_INFO) prefix = "* "; else if (log_level > G_LOG_LEVEL_WARNING) prefix = "WARNING: "; else prefix = PACKAGE ": "; break; case G_LOG_LEVEL_CRITICAL: case G_LOG_LEVEL_ERROR: if (log_level > G_LOG_LEVEL_INFO) prefix = "* ERROR! "; else if (log_level > G_LOG_LEVEL_WARNING) prefix = "ERROR: "; else prefix = PACKAGE ": ERROR! "; break; default: break; } if (domain) log_print("%s[%s] %s%s", prefix, domain, message, postfix); else log_print("%s%s%s", prefix, message, postfix); skip_print: if (level & G_LOG_FLAG_FATAL || level & G_LOG_LEVEL_ERROR) abort(); } void trace_full(const char *file, const char *func, const char *format, ...) { char buf[256]; va_list va; if (LOG_LEVEL_TRACE > log_level) return; va_start(va, format); vsnprintf(buf, sizeof(buf), format, va); va_end(va); log_print(": %s:%s() %s\n", file, func, buf); } void log_errno(const char *string) { log_func(NULL, G_LOG_LEVEL_WARNING, va("%s: %s", string, strerror(errno))); } static void second_instance(char *str) { g_debug("Received '%s' from fifo", str); if (str[0] == '0' || str[0] == 'H' || str[0] == 'h') window_hide(); else if (str[0] == '1' || str[0] == 'S' || str[0] == 's') window_show(); else if (str[0] == '2' || str[0] == 'T' || str[0] == 't') window_toggle(); } int main(int argc, char *argv[]) { GError *error; const char *token; /* Initialize GTK+ */ error = NULL; if (!gtk_init_with_args(&argc, &argv, "- Grid-entry handwriting input panel " "(version " PACKAGE_VERSION ")", command_line_opts, NULL, &error)) return 0; /* Setup log handler */ log_level = 1 << log_level; g_log_set_handler(NULL, -1, (GLogFunc)log_func, NULL); /* Try to open the log-file */ if (log_filename) { log_file = fopen(log_filename, "w"); if (!log_file) g_warning("Failed to open log-file '%s'", log_filename); } /* See if the program is already running */ g_message("Starting " PACKAGE_STRING); create_user_dir(); if (!window_embedded && !ignore_fifo) { const char *msg; msg = "2"; if (window_force_show) msg = "1"; else if (window_force_hide) msg = "0"; if (single_instance_init((SingleInstanceFunc)second_instance, msg)) { gdk_notify_startup_complete(); g_message(PACKAGE_NAME " already running, quitting"); return 0; } } /* Component initilization */ if (key_event_init()) { GtkWidget *dialog; dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "Xtest extension not " "supported"); gtk_window_set_title(GTK_WINDOW(dialog), "Initilization Error"); gtk_message_dialog_format_secondary_text( GTK_MESSAGE_DIALOG(dialog), "Your Xserver does not support the Xtest extension. " PACKAGE_NAME " cannot generate keystrokes without it."); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } recognize_init(); /* Read profile */ if (profile_open_read()) { profile_line = 1; g_message("Parsing profile"); do { unsigned int i; token = profile_read(); if (!token[0]) { if (profile_read_next()) continue; break; } for (i = 0; i < NUM_PROFILE_CMDS; i++) if (!g_ascii_strcasecmp(profile_cmds[i].name, token)) { if (profile_cmds[i].read_func) profile_cmds[i].read_func(); break; } if (i == NUM_PROFILE_CMDS) g_warning("Unrecognized profile command '%s'", token); profile_line++; } while (profile_read_next()); profile_close(); g_debug("Parsed %d commands", profile_line - 1); } /* After loading samples and block enabled/disabled information, update the samples */ update_enabled_samples(); /* Ensure that if there is a crash, data is saved properly */ hook_signals(); atexit(cleanup); /* Initialize the interface */ g_message("Running interface"); window_create(); /* Startup notification is sent when the first window shows but in if the window was closed during last start, it won't show at all so we need to do this manually */ gdk_notify_startup_complete(); /* Run the interface */ if (!samples_loaded() && !keyboard_only) startup_splash_show(); gtk_main(); cleanup(); /* Session statistics */ if (characters && inputs && log_level >= G_LOG_LEVEL_DEBUG) { g_message("Session statistics --"); g_debug("Average strength: %d%%", strength_sum / inputs); g_debug("Rewrites: %d out of %d inputs (%d%%)", rewrites, inputs, rewrites * 100 / inputs); g_debug("Corrections: %d out of %d characters (%d%%)", corrections, characters, corrections * 100 / characters); g_debug("KeyCodes overwrites: %d out of %d uses (%d%%)", key_overwrites, key_overwrites + key_recycles, key_recycles + key_overwrites ? key_overwrites * 100 / (key_recycles + key_overwrites) : 0); } return 0; } cellwriter-1.3.6/src/options.c000066400000000000000000000677301311072664300163430ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "recognize.h" #include #include /* preprocess.c */ int ignore_stroke_dir, ignore_stroke_num; /* cellwidget.c */ extern int cell_width, cell_height, cell_cols_pref, cell_rows_pref, train_on_input, right_to_left, keyboard_enabled, xinput_enabled; extern GdkColor custom_active_color, custom_inactive_color, custom_ink_color, custom_select_color; void cell_widget_render(void); void cell_widget_set_cursor(int recreate); void cell_widget_enable_xinput(int on); /* keywidget.c */ extern GdkColor custom_key_color; extern int keyboard_size; void key_widget_update_colors(void); /* statusicon.c */ extern int status_menu_left_click; /* Profile options */ static void color_sync(GdkColor *color) { profile_sync_short((short*)&color->red); profile_sync_short((short*)&color->green); profile_sync_short((short*)&color->blue); } void options_sync(void) /* Read or write options. Order here is important for compatibility. */ { profile_write("options"); profile_sync_int(&cell_width); profile_sync_int(&cell_height); profile_sync_int(&cell_cols_pref); profile_sync_int(&cell_rows_pref); color_sync(&custom_active_color); color_sync(&custom_inactive_color); color_sync(&custom_select_color); color_sync(&custom_ink_color); profile_sync_int(&train_on_input); profile_sync_int(&ignore_stroke_dir); profile_sync_int(&ignore_stroke_num); profile_sync_int(&wordfreq_enable); profile_sync_int(&right_to_left); color_sync(&custom_key_color); profile_sync_int(&keyboard_enabled); profile_sync_int(&xinput_enabled); profile_sync_int(&style_colors); profile_sync_int(&status_menu_left_click); profile_write("\n"); } /* Unicode blocks list */ static void unicode_block_toggled(GtkCellRendererToggle *renderer, gchar *path, GtkListStore *blocks_store) { GtkTreePath *tree_path; GtkTreeIter iter; GValue value; gboolean enabled; int index; /* Get the block this checkbox references */ tree_path = gtk_tree_path_new_from_string(path); gtk_tree_model_get_iter(GTK_TREE_MODEL(blocks_store), &iter, tree_path); index = gtk_tree_path_get_indices(tree_path)[0]; gtk_tree_path_free(tree_path); /* Toggle its value */ memset(&value, 0, sizeof (value)); gtk_tree_model_get_value(GTK_TREE_MODEL(blocks_store), &iter, 0, &value); enabled = !g_value_get_boolean(&value); gtk_list_store_set(blocks_store, &iter, 0, enabled, -1); unicode_block_toggle(index, enabled); } static GtkWidget *create_blocks_list(void) { GtkWidget *view, *scrolled; GtkTreeIter iter; GtkTreeViewColumn *column; GtkListStore *blocks_store; GtkCellRenderer *renderer; UnicodeBlock *block; /* Tree view */ blocks_store = gtk_list_store_new(2, G_TYPE_BOOLEAN, G_TYPE_STRING); view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(blocks_store)); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(view), FALSE); gtk_tooltips_set_tip(tooltips, view, "Controls which blocks are enabled for " "recognition and appear in the training mode " "combo box.", NULL); /* Column */ column = gtk_tree_view_column_new(); gtk_tree_view_insert_column(GTK_TREE_VIEW(view), column, 0); renderer = gtk_cell_renderer_toggle_new(); g_signal_connect(G_OBJECT(renderer), "toggled", G_CALLBACK(unicode_block_toggled), blocks_store); gtk_tree_view_column_pack_start(column, renderer, FALSE); gtk_tree_view_column_add_attribute(column, renderer, "active", 0); renderer = gtk_cell_renderer_text_new(); gtk_tree_view_column_pack_start(column, renderer, TRUE); gtk_tree_view_column_add_attribute(column, renderer, "text", 1); /* Fill blocks list */ block = unicode_blocks; while (block->name) { gtk_list_store_append(blocks_store, &iter); gtk_list_store_set(blocks_store, &iter, 0, block->enabled, 1, block->name, -1); block++; } /* Scrolled window */ scrolled = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolled), GTK_SHADOW_ETCHED_IN); gtk_container_add(GTK_CONTAINER(scrolled), view); return scrolled; } /* Options dialog */ #define CELL_WIDTH_MIN 24 #define CELL_HEIGHT_MIN 48 #define CELL_HEIGHT_MAX 96 static GtkWidget *options_dialog = NULL, *cell_width_spin, *cell_height_spin, *color_table; static void close_dialog(void) { gtk_widget_hide(options_dialog); } static void color_set(GtkColorButton *button, GdkColor *color) { gtk_color_button_get_color(button, color); window_update_colors(); } static void ink_color_set(void) { cell_widget_set_cursor(TRUE); } static void xinput_enabled_toggled(void) { cell_widget_enable_xinput(xinput_enabled); } static void spin_value_changed_int(GtkSpinButton *button, int *value) { *value = (int)gtk_spin_button_get_value(button); } static void spin_value_changed_int_repack(GtkSpinButton *button, int *value) { spin_value_changed_int(button, value); window_pack(); } static void check_button_toggled(GtkToggleButton *button, int *value) { *value = gtk_toggle_button_get_active(button); } static void check_button_toggled_repack(GtkToggleButton *button, int *value) { check_button_toggled(button, value); window_pack(); } static GtkWidget *label_new_markup(const char *s) { GtkWidget *w; w = gtk_label_new(NULL); gtk_label_set_markup(GTK_LABEL(w), s); gtk_misc_set_alignment(GTK_MISC(w), 0, 0.5); return w; } static GtkWidget *spacer_new(int width, int height) { GtkWidget *w; w = gtk_hbox_new(FALSE, 0); gtk_widget_set_size_request(w, width, height); return w; } static GtkWidget *spin_button_new_int(int min, int max, int *variable, int repack) { GtkWidget *w; w = gtk_spin_button_new_with_range(min, max, 1.); gtk_spin_button_set_value(GTK_SPIN_BUTTON(w), *variable); g_signal_connect(G_OBJECT(w), "value-changed", repack ? G_CALLBACK(spin_value_changed_int_repack) : G_CALLBACK(spin_value_changed_int), variable); return w; } static GtkWidget *check_button_new(const char *label, int *variable, int repack) { GtkWidget *w; w = gtk_check_button_new_with_label(label); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w), *variable); g_signal_connect(G_OBJECT(w), "toggled", repack ? G_CALLBACK(check_button_toggled_repack) : G_CALLBACK(check_button_toggled), variable); return w; } static void cell_height_value_changed(void) { gtk_spin_button_set_range(GTK_SPIN_BUTTON(cell_width_spin), CELL_WIDTH_MIN, cell_height); } static void cell_width_value_changed(void) { int min; min = CELL_HEIGHT_MIN > cell_width ? CELL_HEIGHT_MIN : cell_width; gtk_spin_button_set_range(GTK_SPIN_BUTTON(cell_height_spin), min, CELL_HEIGHT_MAX); } static void style_colors_changed(void) { #if GTK_CHECK_VERSION(2, 10, 0) gtk_widget_set_sensitive(color_table, !style_colors); window_update_colors(); #endif } #if GTK_CHECK_VERSION(2, 14, 0) static void help_clicked(void) { GError *error = NULL; gtk_show_uri(gdk_screen_get_default(), CELLWRITER_URL, GDK_CURRENT_TIME, &error); if (error) g_warning("Failed to launch help: %s", error->message); } #endif static GtkWidget *create_color_table(void) { GtkWidget *table; int i, entries; struct { const char *string; GdkColor *color; int reset_cursor; } colors[] = { { "Custom colors:", NULL, FALSE }, { "Used cell:", &custom_active_color, FALSE }, { "Blank cell:", &custom_inactive_color, FALSE }, { "Highlight:", &custom_select_color, FALSE }, { "Text and ink:", &custom_ink_color, TRUE }, { "Key face:", &custom_key_color, FALSE }, }; entries = (int)(sizeof (colors) / sizeof (*colors)); table = gtk_table_new(entries, 2, TRUE); for (i = 0; i < entries; i++) { GtkWidget *w, *hbox; /* Headers */ if (!colors[i].color) w = label_new_markup(colors[i].string); /* Color label */ else { hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = label_new_markup(colors[i].string); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); gtk_misc_set_alignment(GTK_MISC(w), 0, 0.5); w = hbox; } gtk_table_attach(GTK_TABLE(table), w, 0, 1, i, i + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0); if (!colors[i].color) continue; /* Attach color selection button */ w = gtk_color_button_new_with_color(colors[i].color); g_signal_connect(G_OBJECT(w), "color-set", G_CALLBACK(color_set), colors[i].color); gtk_table_attach(GTK_TABLE(table), w, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0); /* Some colors reset the cursor */ if (colors[i].reset_cursor) g_signal_connect(G_OBJECT(w), "color-set", G_CALLBACK(ink_color_set), NULL); } return table; } static void window_docking_changed(GtkComboBox *combo) { int mode; mode = gtk_combo_box_get_active(combo); window_set_docked(mode); } static void create_dialog(void) { GtkWidget *vbox, *hbox, *vbox2, *notebook, *w; if (options_dialog) return; vbox = gtk_vbox_new(FALSE, 0); /* Buttons box */ hbox = gtk_hbutton_box_new(); gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, TRUE, 0); gtk_button_box_set_layout(GTK_BUTTON_BOX(hbox), GTK_BUTTONBOX_END); #if GTK_CHECK_VERSION(2, 14, 0) /* Help button */ gtk_button_box_set_layout(GTK_BUTTON_BOX(hbox), GTK_BUTTONBOX_EDGE); w = gtk_button_new_from_stock(GTK_STOCK_HELP); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(w), "clicked", G_CALLBACK(help_clicked), NULL); gtk_tooltips_set_tip(tooltips, w, "Launch program website", NULL); #endif /* Close button */ w = gtk_button_new_with_label("Close"); gtk_button_set_image(GTK_BUTTON(w), gtk_image_new_from_stock(GTK_STOCK_CLOSE, GTK_ICON_SIZE_BUTTON)); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(w), "clicked", G_CALLBACK(close_dialog), NULL); gtk_box_pack_end(GTK_BOX(vbox), spacer_new(-1, 8), FALSE, TRUE, 0); /* Create notebook */ notebook = gtk_notebook_new(); gtk_box_pack_start(GTK_BOX(vbox), notebook, TRUE, TRUE, 0); /* View page */ vbox2 = gtk_vbox_new(FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(vbox2), 8); w = gtk_label_new("Interface"); gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox2, w); /* View -> Dimensions */ w = label_new_markup("Dimensions"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* View -> Dimensions -> Cell size */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = label_new_markup("Cells: "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); cell_width_spin = spin_button_new_int(CELL_WIDTH_MIN, cell_height, &cell_width, TRUE); g_signal_connect(G_OBJECT(cell_width_spin), "value-changed", G_CALLBACK(cell_width_value_changed), NULL); gtk_box_pack_start(GTK_BOX(hbox), cell_width_spin, FALSE, FALSE, 0); w = label_new_markup(" by "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); cell_height_spin = spin_button_new_int(cell_width, CELL_HEIGHT_MAX, &cell_height, TRUE); cell_width_value_changed(); g_signal_connect(G_OBJECT(cell_height_spin), "value-changed", G_CALLBACK(cell_height_value_changed), NULL); gtk_box_pack_start(GTK_BOX(hbox), cell_height_spin, FALSE, FALSE, 0); w = label_new_markup(" pixels"); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* View -> Dimensions -> Grid */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = label_new_markup("Grid: "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = spin_button_new_int(6, 48, &cell_cols_pref, TRUE); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = label_new_markup(" by "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = spin_button_new_int(1, 8, &cell_rows_pref, TRUE); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = label_new_markup(" cells"); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* View -> Dimensions -> Keyboard size */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = label_new_markup("Keyboard: "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = spin_button_new_int(KEYBOARD_SIZE_MIN, 1400, &keyboard_size, TRUE); gtk_spin_button_set_increments(GTK_SPIN_BUTTON(w), 16, 4); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = label_new_markup(" pixels wide"); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* View -> Window */ gtk_box_pack_start(GTK_BOX(vbox2), spacer_new(-1, 8), FALSE, FALSE, 0); w = label_new_markup("Window"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* View -> Window -> Button labels */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Show button labels", &window_button_labels, TRUE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* View -> Window -> On-screen keyboard */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Show on-screen keyboard", &keyboard_enabled, TRUE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* View -> Window -> Enable */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Enable extended input events", &xinput_enabled, FALSE); g_signal_connect(G_OBJECT(w), "toggled", G_CALLBACK(xinput_enabled_toggled), NULL); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "If you cannot write in the cells or the ink " "does not appear where it should, you can try " "disabling extended input events. Note that this " "will disable the pen eraser.", NULL); /* View -> Window -> Docking */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = label_new_markup("Window docking: "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = gtk_combo_box_new_text(); gtk_combo_box_append_text(GTK_COMBO_BOX(w), "Disabled"); gtk_combo_box_append_text(GTK_COMBO_BOX(w), "Top"); gtk_combo_box_append_text(GTK_COMBO_BOX(w), "Bottom"); gtk_combo_box_set_active(GTK_COMBO_BOX(w), window_docked); g_signal_connect(G_OBJECT(w), "changed", G_CALLBACK(window_docking_changed), NULL); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* View -> Status icon */ gtk_box_pack_start(GTK_BOX(vbox2), spacer_new(-1, 8), FALSE, FALSE, 0); w = label_new_markup("Status icon"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* View -> Status icon -> Enable */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Open menu on left click", &status_menu_left_click, FALSE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* Colors page */ vbox2 = gtk_vbox_new(FALSE, 0); w = gtk_label_new("Colors"); gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox2, w); gtk_container_set_border_width(GTK_CONTAINER(vbox2), 8); /* Colors -> Use style */ w = check_button_new("Use default theme colors", &style_colors, FALSE); g_signal_connect(G_OBJECT(w), "toggled", G_CALLBACK(style_colors_changed), NULL); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* Colors -> Custom colors */ gtk_box_pack_start(GTK_BOX(vbox2), spacer_new(-1, 8), FALSE, FALSE, 0); color_table = create_color_table(); gtk_box_pack_start(GTK_BOX(vbox2), color_table, FALSE, FALSE, 0); style_colors_changed(); /* Unicode page */ vbox2 = gtk_vbox_new(FALSE, 0); w = gtk_label_new("Languages"); gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox2, w); gtk_container_set_border_width(GTK_CONTAINER(vbox2), 8); /* Unicode -> Displayed blocks */ w = label_new_markup("Enabled Unicode blocks"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(-1, 4), FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); /* Unicode -> Blocks list */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = create_blocks_list(); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, TRUE, TRUE, 0); /* Recognition -> Duplicate glyphs */ gtk_box_pack_start(GTK_BOX(vbox2), spacer_new(-1, 8), FALSE, FALSE, 0); w = label_new_markup("Language options"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* Unicode -> Disable Latin letters */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Disable Basic Latin letters", &no_latin_alpha, TRUE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "If you have trained both the Basic Latin block " "and a block with characters similar to Latin " "letters (for instance, Cyrillic) you can disable " "the Basic Latin letters in order to use only " "numbers and symbols from Basic Latin.", NULL); /* Unicode -> Right-to-left */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Enable right-to-left mode", &right_to_left, TRUE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, PACKAGE_NAME " will expect you to write from " "the rightmost cell to the left and will pad " "cells and create new lines accordingly.", NULL); /* Recognition page */ vbox2 = gtk_vbox_new(FALSE, 0); gtk_container_set_border_width(GTK_CONTAINER(vbox2), 8); w = gtk_label_new("Recognition"); gtk_notebook_append_page(GTK_NOTEBOOK(notebook), vbox2, w); /* Recognition -> Samples */ w = label_new_markup("Training samples"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* Recognition -> Samples -> Train on input */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Train on input when entering", &train_on_input, FALSE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "When enabled, input characters will be used as " "training samples when 'Enter' is pressed. This " "is a good way to quickly build up many samples, " "but can generate poor samples if your writing " "gets sloppy.", NULL); /* Recognition -> Samples -> Maximum */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = label_new_markup("Samples per character: "); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); w = spin_button_new_int(2, SAMPLES_MAX, &samples_max, FALSE); gtk_box_pack_start(GTK_BOX(hbox), w, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "The maximum number of training samples kept per " "character. Lower this value if recognition is " "too slow or the program uses too much memory.", NULL); /* Recognition -> Word context */ gtk_box_pack_start(GTK_BOX(vbox2), spacer_new(-1, 8), FALSE, FALSE, 0); w = label_new_markup("Word context"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* Recognition -> Word context -> English */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Enable English word context", &wordfreq_enable, FALSE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "Use a dictionary of the most frequent English " "words to assist recognition. Also aids in " "consistent recognition of numbers and " "capitalization.", NULL); /* Recognition -> Preprocessor */ gtk_box_pack_start(GTK_BOX(vbox2), spacer_new(-1, 8), FALSE, FALSE, 0); w = label_new_markup("Preprocessor"); gtk_box_pack_start(GTK_BOX(vbox2), w, FALSE, FALSE, 0); /* Recognition -> Preprocessor -> Ignore stroke direction */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Ignore stroke direction", &ignore_stroke_dir, FALSE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "Match input strokes with training sample strokes " "that were drawn in the opposite direction. " "Disabling this can boost recognition speed.", NULL); /* Recognition -> Preprocessor -> Ignore stroke number */ hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(hbox), spacer_new(16, -1), FALSE, FALSE, 0); w = check_button_new("Match differing stroke numbers", &ignore_stroke_num, FALSE); gtk_box_pack_start(GTK_BOX(hbox), w, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(vbox2), hbox, FALSE, FALSE, 0); gtk_tooltips_set_tip(tooltips, w, "Match inputs to training samples that do not " "have the same number of strokes. Disabling this " "can boost recognition speed.", NULL); /* Create dialog window */ options_dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); g_signal_connect(G_OBJECT(options_dialog), "delete_event", G_CALLBACK(gtk_widget_hide_on_delete), NULL); gtk_window_set_destroy_with_parent(GTK_WINDOW(options_dialog), TRUE); gtk_window_set_resizable(GTK_WINDOW(options_dialog), TRUE); gtk_window_set_title(GTK_WINDOW(options_dialog), "CellWriter Setup"); gtk_container_set_border_width(GTK_CONTAINER(options_dialog), 8); gtk_container_add(GTK_CONTAINER(options_dialog), vbox); if (!window_embedded) gtk_window_set_transient_for(GTK_WINDOW(options_dialog), GTK_WINDOW(window)); } void options_dialog_open(void) { create_dialog(); gtk_widget_show_all(options_dialog); } cellwriter-1.3.6/src/preprocess.c000066400000000000000000000265231311072664300170300ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "recognize.h" #include /* Preprocessing engine */ /* Maximum and variable versions of the number of samples to prepare for thorough examination */ #define PREP_MAX (SAMPLES_MAX * 4) #define PREP_SAMPLES (samples_max * 4) /* Greedy mapping */ #define VALUE_MAX 2048.f #define VALUE_MIN 1024.f /* Penalties (proportion of final score deducted) */ #define VERTICAL_PENALTY 16.00f #define GLUABLE_PENALTY 0.08f #define GLUE_PENALTY 0.02f int ignore_stroke_dir = TRUE, ignore_stroke_num = TRUE, prep_examined; static float measure_partial(Stroke *as, Stroke *b, Vec2 *offset, float scale_b) { Stroke *bs; float value; int b_len, min_len; b_len = b->distance * scale_b / ROUGH_RESOLUTION + 0.5; if (b_len < 4) b_len = 4; min_len = as->len >= b_len ? b_len : as->len; bs = sample_stroke(NULL, b, b_len, min_len); value = measure_strokes(as, bs, (MeasureFunc)measure_distance, offset, min_len, ROUGH_ELASTICITY); stroke_free(bs); return value; } static float greedy_map(Sample *larger, Sample *smaller, Transform *ptfm, Vec2 *offset) { Transform tfm; int i, unmapped_len; float total; unmapped_len = larger->len; /* Prepare transform structure */ memset(&tfm, 0, sizeof (tfm)); *ptfm = tfm; tfm.valid = TRUE; for (i = 0, total = 0.f; i < smaller->len; i++) { float best, best_reach = G_MAXFLOAT, best_value = G_MAXFLOAT, value, penalty = G_MAXFLOAT, seg_dist = 0.f; int j, last_j = 0, best_j = 0, glue = 0; glue_more: for (j = 0, best = G_MAXFLOAT; j < larger->len; j++) { Stroke *stroke; float reach, scale; unsigned char gluable; if (tfm.order[j]) continue; tfm.reverse[j] = FALSE; /* Do not glue on oversize segments */ if (seg_dist + larger->strokes[j]->distance / 2 > smaller->strokes[i]->distance && (larger->strokes[j]->spread > DOT_SPREAD || smaller->strokes[i]->spread > DOT_SPREAD)) continue; tfm.order[j] = i + 1; tfm.glue[j] = glue; measure: reach = 0.f; gluable = 0; if (glue) { Vec2 v; Point *p1, *p2; unsigned char gluable2; /* Can we glue these strokes together? */ if (!tfm.reverse[j]) { gluable = larger->strokes[j]-> gluable_start[last_j]; gluable2 = larger->strokes[last_j]-> gluable_end[j]; if (gluable2 < gluable) gluable = gluable2; if (gluable >= GLUABLE_MAX) { if (!ignore_stroke_dir) continue; tfm.reverse[j] = TRUE; } } if (tfm.reverse[j]) { gluable = larger->strokes[j]-> gluable_end[last_j]; gluable2 = larger->strokes[last_j]-> gluable_start[j]; if (gluable2 < gluable) gluable = gluable2; if (gluable >= GLUABLE_MAX) continue; } /* Get the inter-stroke (reach) distance */ p1 = larger->strokes[last_j]->points + (tfm.reverse[last_j] ? 0 : larger->strokes[last_j]->len - 1); p2 = larger->strokes[j]->points + (!tfm.reverse[j] ? 0 : larger->strokes[j]->len - 1); vec2_set(&v, p2->x - p1->x, p2->y - p1->y); reach = vec2_mag(&v); } /* Transform and measure the distance */ stroke = transform_stroke(larger, &tfm, i); scale = smaller->distance / (reach + ptfm->reach + larger->distance); value = measure_partial(smaller->roughs[i], stroke, offset, scale); stroke_free(stroke); /* Keep track of the best result */ if (value < best && value < VALUE_MAX) { best = value; best_j = j; best_reach = reach; *ptfm = tfm; /* Penalize glue and reach distance */ penalty = glue * GLUE_PENALTY + gluable * GLUABLE_PENALTY / GLUABLE_MAX; } /* Bail if we have a really good match */ if (value < VALUE_MIN) break; /* Glue on with reversed direction */ if (ignore_stroke_dir && !tfm.reverse[j] && larger->strokes[j]->spread > DOT_SPREAD) { tfm.reverse[j] = TRUE; goto measure; } tfm.reverse[j] = FALSE; tfm.order[j] = 0; } if (best < G_MAXFLOAT) { best_value = best; larger->penalty += penalty; smaller->penalty += penalty; seg_dist += best_reach + larger->strokes[best_j]->distance; ptfm->reach += best_reach; tfm = *ptfm; /* If we still have strokes and we didn't just add on a dot, try gluing them on */ unmapped_len--; if (unmapped_len >= smaller->len - i && larger->strokes[best_j]->spread > DOT_SPREAD) { last_j = best_j; glue++; goto glue_more; } } /* Didn't map a target stroke? */ else if (!glue) { ptfm->valid = FALSE; return G_MAXFLOAT; } total += best_value; } /* Didn't assign all of the strokes? */ if (unmapped_len) { ptfm->valid = FALSE; return G_MAXFLOAT; } return total / smaller->len; } static int prep_sample(Sample *sample) { Vec2 offset; float dist; /* Structural disqualification */ if (!sample->used || !sample->enabled || (!ignore_stroke_num && sample->len != input->len)) return FALSE; prep_examined++; sample->penalty = 0.f; /* Account for displacement */ center_samples(&offset, sample, input); /* Compare each input stroke to every stroke in the sample and generate the stroke order information which will be used by other engines */ if (input->len >= sample->len) dist = greedy_map(input, sample, &sample->transform, &offset); else { vec2_set(&offset, -offset.x, -offset.y); dist = greedy_map(sample, input, &sample->transform, &offset); } if (!sample->transform.valid) return FALSE; /* Undo square distortion */ dist = sqrtf(dist); if (dist > MAX_DIST) return FALSE; /* Penalize vertical displacement */ sample->penalty += VERTICAL_PENALTY * offset.y * offset.y / SCALE / SCALE; sample->ratings[ENGINE_PREP] = RATING_MAX - RATING_MAX * dist / MAX_DIST; return TRUE; } void engine_prep(void) { Sample *sample, *list[PREP_MAX]; int i; /* Rate every sample in every possible configuration */ list[0] = NULL; prep_examined = 0; sampleiter_reset(); while ((sample = sampleiter_next())) { sample->disqualified = TRUE; if (!sample->used || !sample->ch || !prep_sample(sample)) continue; /* Bubble-sort sample into the list */ for (i = 0; i < PREP_SAMPLES; i++) if (!list[i]) { list[i] = sample; if (i < PREP_MAX - 1) list[i + 1] = NULL; break; } else if (list[i]->ratings[ENGINE_PREP] < sample->ratings[ENGINE_PREP]) { memmove(list + i + 1, list + i, (PREP_MAX - i - 1) * sizeof (*list)); list[i] = sample; break; } } /* Qualify the best samples */ for (i = 0; i < PREP_SAMPLES && list[i]; i++) list[i]->disqualified = FALSE; } cellwriter-1.3.6/src/recognize.c000066400000000000000000000560761311072664300166360ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include #include #include #include #include "common.h" #include "recognize.h" /* preprocess.c */ int prep_examined; void engine_prep(void); /* Engines */ Engine engines[] = { /* Preprocessor engine must run first */ { "Key-point distance", engine_prep, MAX_RANGE, TRUE, -1, 0, 0 }, /* Averaging engines */ { "Average distance", engine_average, MAX_RANGE, TRUE, -1, 0, 0 }, { "Average angle", NULL, MAX_RANGE, TRUE, 0, 0, 0 }, #ifndef DISABLE_WORDFREQ /* Word frequency engine */ { "Word context", engine_wordfreq, MAX_RANGE / 3, FALSE, -1, 0, 0 }, #endif }; static int engine_rating(const Sample *sample, int j) /* Get the processed rating for engine j on a sample */ { int value; if (!engines[j].range || engines[j].max < 1) return 0; value = ((int)sample->ratings[j] - engines[j].average) * engines[j].range / engines[j].max; if (engines[j].scale >= 0) value = value * engines[j].scale / ENGINE_SCALE; return value; } /* Sample chain wrapper */ typedef struct SampleLink { Sample sample; struct SampleLink *prev, *next; } SampleLink; static SampleLink *samplelink_root = NULL, *samplelink_iter = NULL; static int current = 1; static Sample *sample_new(void) /* Allocate a link in the sample linked list */ { SampleLink *link; link = g_malloc0(sizeof (*link)); link->next = samplelink_root; if (samplelink_root) samplelink_root->prev = link; samplelink_root = link; return &link->sample; } void sampleiter_reset(void) /* Reset the sample linked list iterator */ { samplelink_iter = samplelink_root; } Sample *sampleiter_next(void) /* Get the next sample link from the sample linked list iterator */ { SampleLink *link; if (!samplelink_iter) return NULL; link = samplelink_iter; samplelink_iter = samplelink_iter->next; return &link->sample; } int samples_loaded(void) { return samplelink_root != NULL; } /* Samples */ int samples_max = 5, no_latin_alpha = FALSE; void clear_sample(Sample *sample) /* Free stroke data associated with a sample and reset its parameters */ { int i; for (i = 0; i < sample->len; i++) { stroke_free(sample->strokes[i]); stroke_free(sample->roughs[i]); } memset(sample, 0, sizeof (*sample)); } void copy_sample(Sample *dest, const Sample *src) /* Copy a sample, cloing its strokes, overwriting dest */ { int i; *dest = *src; for (i = 0; i < src->len; i++) { dest->strokes[i] = stroke_clone(src->strokes[i], FALSE); dest->roughs[i] = stroke_clone(src->roughs[i], FALSE); } } static void process_gluable(const Sample *sample, int stroke_num) /* Calculates the lowest distance between the start or end of one stroke and any other point on each other stroke in the sample */ { Point point; Stroke *s1; int i, start; /* Dots cannot be glued */ s1 = sample->strokes[stroke_num]; memset(s1->gluable_start, -1, sizeof (s1->gluable_start)); memset(s1->gluable_end, -1, sizeof (s1->gluable_end)); if (s1->spread < DOT_SPREAD) return; start = TRUE; scan: point = start ? s1->points[0] : s1->points[s1->len - 1]; for (i = 0; i < sample->len; i++) { Vec2 v; Stroke *s2; float dist, min = GLUE_DIST; int j; char gluable; s2 = sample->strokes[i]; if (i == stroke_num || s2->spread < DOT_SPREAD) continue; /* Check the distance to the first point */ vec2_set(&v, s2->points[0].x - point.x, s2->points[0].y - point.y); dist = vec2_mag(&v); if (dist < min) min = dist; /* Find the lowest distance from the glue point to any other point on the other stroke */ for (j = 0; j < s2->len - 1; j++) { Vec2 l, w; double dist, mag, dot; /* Vector l is a unit vector from point j to j + 1 */ vec2_set(&l, s2->points[j].x - s2->points[j + 1].x, s2->points[j].y - s2->points[j + 1].y); mag = vec2_norm(&l, &l); /* Vector w is a vector from point j to our point */ vec2_set(&w, s2->points[j].x - point.x, s2->points[j].y - point.y); /* For points that are not in between a segment, get the distance from the points themselves, otherwise get the distance from the segment line */ dot = vec2_dot(&l, &w); if (dot < 0. || dot > mag) { vec2_set(&v, s2->points[j + 1].x - point.x, s2->points[j + 1].y - point.y); dist = vec2_mag(&v); } else { dist = vec2_cross(&w, &l); if (dist < 0) dist = -dist; } if (dist < min) min = dist; } gluable = min * GLUABLE_MAX / GLUE_DIST; if (start) s1->gluable_start[i] = gluable; else s1->gluable_end[i] = gluable; } if (start) { start = FALSE; goto scan; } } void process_sample(Sample *sample) /* Generate cached properties of a sample */ { int i; float distance; if (sample->processed) return; sample->processed = TRUE; /* Make sure all strokes have been processed first */ for (i = 0; i < sample->len; i++) process_stroke(sample->strokes[i]); /* Compute properties for each stroke */ vec2_set(&sample->center, 0., 0.); for (i = 0, distance = 0.; i < sample->len; i++) { Vec2 v; Stroke *stroke; float weight; int points; stroke = sample->strokes[i]; /* Add the stroke center to the center vector, weighted by length */ vec2_copy(&v, &stroke->center); weight = stroke->spread < DOT_SPREAD ? DOT_SPREAD : stroke->distance; vec2_scale(&v, &v, weight); vec2_sum(&sample->center, &sample->center, &v); distance += weight; /* Get gluing distances */ process_gluable(sample, i); /* Create a rough-sampled version */ points = stroke->distance / ROUGH_RESOLUTION + 0.5; if (points < 4) points = 4; sample->roughs[i] = sample_stroke(NULL, stroke, points, points); } vec2_scale(&sample->center, &sample->center, 1.f / distance); sample->distance = distance; } void center_samples(Vec2 *ac_to_bc, Sample *a, Sample *b) /* Adjust for the difference between two sample centers */ { vec2_sub(ac_to_bc, &b->center, &a->center); } int char_disabled(gunichar ch) /* Returns TRUE if a character is not renderable or is explicity disabled by a setting (not counting disabled Unicode blocks) */ { return (no_latin_alpha && ch >= unicode_blocks[0].start && ch <= unicode_blocks[0].end && g_ascii_isalpha(ch)) || !g_unichar_isgraph(ch); } int sample_disqualified(const Sample *sample) /* Check disqualification conditions for a sample during recognition. The preprocessor engine must run before any calls to this or disqualification will not work. */ { if ((!ignore_stroke_num && sample->len != input->len) || !sample->enabled) return 1; if (sample->disqualified) return 2; if (char_disabled(sample->ch)) return 3; return 0; } int sample_valid(const Sample *sample, int used) /* Check if this sample has changed since it was last referenced */ { if (!sample || !used) return FALSE; return sample->used == used; } static void sample_rating(Sample *sample) /* Get the composite processed rating on a sample */ { int i, rating; if (!sample->ch || sample_disqualified(sample) || sample->penalty >= 1.f) { sample->rating = RATING_MIN; return; } for (i = 0, rating = 0; i < ENGINES; i++) rating += engine_rating(sample, i); rating *= 1.f - sample->penalty; if (rating > RATING_MAX) rating = RATING_MAX; if (rating < RATING_MIN) rating = RATING_MIN; sample->rating = rating; } void update_enabled_samples(void) /* Run through the samples list and enable samples in enabled blocks */ { Sample *sample; sampleiter_reset(); while ((sample = sampleiter_next())) { UnicodeBlock *block; sample->enabled = FALSE; if (!sample->ch) continue; block = unicode_blocks; while (block->name) { if (sample->ch >= block->start && sample->ch <= block->end) { sample->enabled = block->enabled; break; } block++; } } } void promote_sample(Sample *sample) /* Update usage counter for a sample */ { sample->used = current++; } void demote_sample(Sample *sample) /* Remove the sample from our set if we can */ { if (char_trained(sample->ch) > 1) clear_sample(sample); else sample->used = 1; } Stroke *transform_stroke(Sample *src, Transform *tfm, int i) /* Create a new stroke by applying the transformation to the source */ { Stroke *stroke; int k, j; stroke = stroke_new(0); for (k = 0, j = 0; k < STROKES_MAX && j < src->len; k++) for (j = 0; j < src->len; j++) if (tfm->order[j] - 1 == i && tfm->glue[j] == k) { glue_stroke(&stroke, src->strokes[j], tfm->reverse[j]); break; } process_stroke(stroke); return stroke; } /* Recognition and training */ Sample *input = NULL; int strength_sum = 0; static GTimer *timer; void recognize_init(void) { #ifndef DISABLE_WORDFREQ load_wordfreq(); #endif timer = g_timer_new(); } void recognize_sample(Sample *sample, Sample **alts, int num_alts) { gulong microsec; int i, range, strength, msec; g_timer_start(timer); input = sample; process_sample(input); /* Clear ratings */ sampleiter_reset(); while ((sample = sampleiter_next())) { memset(sample->ratings, 0, sizeof (sample->ratings)); sample->rating = 0; } /* Run engines */ for (i = 0, range = 0; i < ENGINES; i++) { int rated = 0; if (engines[i].func) engines[i].func(); /* Compute average and maximum value */ engines[i].max = 0; engines[i].average = 0; sampleiter_reset(); while ((sample = sampleiter_next())) { int value = 0; if (!sample->ch) continue; if (sample->ratings[i] > value) value = sample->ratings[i]; if (!value && engines[i].ignore_zeros) continue; if (value > engines[i].max) engines[i].max = value; engines[i].average += value; rated++; } if (!rated) continue; engines[i].average /= rated; if (engines[i].max > 0) range += engines[i].range; if (engines[i].max == engines[i].average) { engines[i].average = 0; continue; } engines[i].max -= engines[i].average; } if (!range) { g_timer_elapsed(timer, µsec); msec = microsec / 100; g_message("Recognized -- No ratings, %dms", msec); input->ch = 0; return; } /* Rank the top samples */ alts[0] = NULL; sampleiter_reset(); while ((sample = sampleiter_next())) { int j; sample_rating(sample); if (sample->rating < 1) continue; /* Bubble-sort the new rating in */ for (j = 0; j < num_alts; j++) if (!alts[j]) { if (j < num_alts - 1) alts[j + 1] = NULL; break; } else if (alts[j]->ch == sample->ch) { if (alts[j]->rating >= sample->rating) j = num_alts; break; } else if (alts[j]->rating < sample->rating) { int k; if (j == num_alts - 1) break; /* See if the character is in the list */ for (k = j + 1; k < num_alts - 1 && alts[k] && alts[k]->ch != sample->ch; k++); /* Do not swallow zeroes */ if (!alts[k] && k < num_alts - 1) alts[k + 1] = NULL; memmove(alts + j + 1, alts + j, sizeof (*alts) * (k - j)); break; } if (j >= num_alts) continue; alts[j] = sample; } /* Normalize the alternates' accuracies to 100 */ if (range) for (i = 0; i < num_alts && alts[i]; i++) alts[i]->rating = alts[i]->rating * 100 / range; /* Keep track of strength stat */ strength = 0; if (alts[0]) { strength = alts[1] ? alts[0]->rating - alts[1]->rating : 100; strength_sum += strength; } g_timer_elapsed(timer, µsec); msec = microsec / 100; g_message("Recognized -- %d/%d (%d%%) disqualified, " "%dms (%dms/symbol), %d%% strong", num_disqualified, prep_examined, num_disqualified * 100 / prep_examined, msec, prep_examined - num_disqualified ? msec / (prep_examined - num_disqualified) : -1, strength); /* Print out the top candidate scores in detail */ if (log_level >= G_LOG_LEVEL_DEBUG) for (i = 0; i < num_alts && alts[i]; i++) { int j, len; len = input->len >= alts[i]->len ? input->len : alts[i]->len; log_print("| '%C' (", alts[i]->ch); for (j = 0; j < ENGINES; j++) log_print("%4d [%5d]%s", engine_rating(alts[i], j), alts[i]->ratings[j], j < ENGINES - 1 ? "," : ""); log_print(") %3d%% [", alts[i]->rating); for (j = 0; j < len; j++) log_print("%d", alts[i]->transform.order[j] - 1); for (j = 0; j < len; j++) log_print("%c", alts[i]->transform.reverse[j] ? 'R' : '-'); for (j = 0; j < len; j++) log_print("%d", alts[i]->transform.glue[j]); log_print("]\n"); } /* Select the top result */ input->ch = alts[0] ? alts[0]->ch : 0; } static void insert_sample(const Sample *new_sample, int force_overwrite) /* Insert a sample into the sample chain, possibly overwriting an older sample */ { int last_used, count = 0; Sample *sample, *overwrite = NULL, *create = NULL; last_used = force_overwrite ? current + 1 : new_sample->used; sampleiter_reset(); while ((sample = sampleiter_next())) { if (!sample->used) { create = sample; continue; } if (sample->ch != new_sample->ch) continue; if (sample->used < last_used) { overwrite = sample; last_used = sample->used; } count++; } if (overwrite && count >= samples_max) { sample = overwrite; clear_sample(sample); } else if (create) sample = create; else sample = sample_new(); *sample = *new_sample; process_sample(sample); } void train_sample(const Sample *sample, int trusted) /* Overwrite a blank or least-recently-used slot in the samples set */ { Sample new_sample; /* Do not allow zero-length samples */ if (sample->len < 1) { g_warning("Attempted to train zero length sample for '%C'", sample->ch); return; } copy_sample(&new_sample, sample); new_sample.used = trusted ? current++ : 1; new_sample.enabled = TRUE; insert_sample(&new_sample, TRUE); } int char_trained(gunichar ch) /* Count the number of samples for this character */ { Sample *sample; int count = 0; sampleiter_reset(); while ((sample = sampleiter_next())) { if (sample->ch != ch) continue; count++; } return count; } void untrain_char(gunichar ch) /* Delete all samples for a character */ { Sample *sample; sampleiter_reset(); while ((sample = sampleiter_next())) if (sample->ch == ch) clear_sample(sample); } /* Profile */ void recognize_sync(void) /* Sync params with the profile */ { int i; profile_write("recognize"); profile_sync_int(¤t); profile_sync_int(&samples_max); if (samples_max < 1) samples_max = 1; profile_sync_int(&no_latin_alpha); for (i = 0; i < ENGINES; i++) profile_sync_int(&engines[i].range); profile_write("\n"); } void sample_read(void) /* Read a sample from the profile */ { Sample sample; Stroke *stroke; memset(&sample, 0, sizeof (sample)); sample.ch = atoi(profile_read()); if (!sample.ch) { g_warning("Sample on line %d has NULL symbol", profile_line); return; } sample.used = atoi(profile_read()); stroke = sample.strokes[0]; for (;;) { const char *str; int x, y; str = profile_read(); if (!str[0]) { if (!sample.strokes[0]) { g_warning("Sample on line %d ('%C') with no " "point data", profile_line, sample.ch); break; } insert_sample(&sample, FALSE); break; } if (str[0] == ';') { stroke = sample.strokes[sample.len]; continue; } if (sample.len >= STROKES_MAX) { g_warning("Sample on line %d ('%C') is oversize", profile_line, sample.ch); clear_sample(&sample); break; } if (!stroke) { stroke = stroke_new(0); sample.strokes[sample.len++] = stroke; } if (stroke->len >= POINTS_MAX) { g_warning("Symbol '%C' stroke %d is oversize", sample.ch, sample.len); clear_sample(&sample); break; } x = atoi(str); y = atoi(profile_read()); draw_stroke(&stroke, x, y); } } static void sample_write(Sample *sample) /* Write a sample link to the profile */ { int k, l; profile_write(va("sample %5d %5d", sample->ch, sample->used)); for (k = 0; k < sample->len; k++) { for (l = 0; l < sample->strokes[k]->len; l++) profile_write(va(" %4d %4d", sample->strokes[k]->points[l].x, sample->strokes[k]->points[l].y)); profile_write(" ;"); } profile_write("\n"); } void samples_write(void) /* Write all of the samples to the profile */ { Sample *sample; sampleiter_reset(); while ((sample = sampleiter_next())) if (sample->ch && sample->used) sample_write(sample); } cellwriter-1.3.6/src/recognize.h000066400000000000000000000120331311072664300166240ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Stroke data */ /* Maximum number of points a stroke can have */ #define POINTS_MAX 256 /* Scale of the point coordinates */ #define SCALE 256 #define MAX_DIST 362 /* sqrt(2) * SCALE */ /* Maximum number of strokes a sample can have */ #define STROKES_MAX 32 /* Largest value the gluable matrix entries can take */ #define GLUABLE_MAX 255 typedef struct { signed char x, y; ANGLE angle; } Point; typedef struct { Vec2 center; float distance; int len, size, spread; unsigned char processed, gluable_start[STROKES_MAX], gluable_end[STROKES_MAX]; signed char min_x, max_x, min_y, max_y; Point points[]; } Stroke; /* Stroke allocation */ Stroke *stroke_new(int size); Stroke *stroke_clone(const Stroke *src, int reverse); void stroke_free(Stroke *stroke); void clear_stroke(Stroke *stroke); /* Stroke manipulation */ void process_stroke(Stroke *stroke); void draw_stroke(Stroke **stroke, int x, int y); void smooth_stroke(Stroke *s); void simplify_stroke(Stroke *s); Stroke *sample_stroke(Stroke *out, Stroke *in, int points, int size); void sample_strokes(Stroke *a, Stroke *b, Stroke **as, Stroke **bs); void glue_stroke(Stroke **a, const Stroke *b, int reverse); void dump_stroke(Stroke *stroke); /* Recognition engines */ /* This will prevent the word frequency table from loading */ /* #define DISABLE_WORDFREQ */ /* Largest allowed engine weight */ #define MAX_RANGE 100 /* Range of the scale value for engines */ #define ENGINE_SCALE STROKES_MAX /* Minimum stroke spread distance for angle measurements */ #define DOT_SPREAD (SCALE / 10) /* Maximum distance between glue points */ #define GLUE_DIST (SCALE / 6) enum { ENGINE_PREP, ENGINE_AVGDIST, ENGINE_AVGANGLE, #ifndef DISABLE_WORDFREQ ENGINE_WORDFREQ, #endif ENGINES }; typedef struct { const char *name; void (*func)(void); int range, ignore_zeros, scale, average, max; } Engine; typedef struct Cell Cell; /* Generalized measure function */ typedef float (*MeasureFunc)(Stroke *a, int i, Stroke *b, int j, void *extra); extern int ignore_stroke_order, ignore_stroke_dir, ignore_stroke_num, elasticity, no_latin_alpha, wordfreq_enable; extern Engine engines[ENGINES]; void engine_average(void); void engine_wordfreq(void); void load_wordfreq(void); float measure_distance(const Stroke *a, int i, const Stroke *b, int j, const Vec2 *offset); float measure_strokes(Stroke *a, Stroke *b, MeasureFunc func, void *extra, int points, int elasticity); /* Samples and characters */ /* Highest range a rating can have */ #define RATING_MAX 32767 #define RATING_MIN -32767 /* Maximum number of samples we can have per character */ #define SAMPLES_MAX 16 /* Fine sampling parameters */ #define FINE_RESOLUTION 8.f #define FINE_ELASTICITY 2 /* Rough sampling parameters */ #define ROUGH_RESOLUTION 24.f #define ROUGH_ELASTICITY 0 typedef struct { unsigned char valid, order[STROKES_MAX], reverse[STROKES_MAX], glue[STROKES_MAX]; float reach; } Transform; typedef struct { int used; gunichar ch; unsigned short len; short rating, ratings[ENGINES]; unsigned char enabled, disqualified, processed; Transform transform; Vec2 center; float distance, penalty; Stroke *strokes[STROKES_MAX], *roughs[STROKES_MAX]; } Sample; extern Sample *input; extern int num_disqualified, training_block, samples_max; /* Sample list iteration */ void sampleiter_reset(void); Sample *sampleiter_next(void); /* Properties */ void process_sample(Sample *sample); void center_samples(Vec2 *ac_to_bc, Sample *a, Sample *b); int sample_disqualified(const Sample *sample); int sample_valid(const Sample *sample, int used); int char_trained(gunichar ch); int char_disabled(gunichar ch); /* Processing */ void clear_sample(Sample *sample); void recognize_sample(Sample *cell, Sample **alts, int num_alts); void train_sample(const Sample *cell, int trusted); void untrain_char(gunichar ch); void update_enabled_samples(void); void promote_sample(Sample *sample); void demote_sample(Sample *sample); Stroke *transform_stroke(Sample *src, Transform *tfm, int i); cellwriter-1.3.6/src/singleinstance.c000066400000000000000000000066141311072664300176500ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include #include #include /* Single-instance checks */ static GIOChannel *io_channel; static SingleInstanceFunc on_dupe; static char *path; void single_instance_cleanup(void) { if (io_channel) { g_io_channel_unref(io_channel); io_channel = NULL; } if (path && unlink(path) == -1) log_errno("Failed to unlink program FIFO"); } static gboolean on_fifo_input(GIOChannel *src, GIOCondition cond, gpointer data) { GError *error; ssize_t len; gsize bytes_read; char buf[2]; if (!io_channel || !on_dupe) return FALSE; error = NULL; len = g_io_channel_read_chars(io_channel, buf, 1, &bytes_read, &error); /* Error reading for some reason */ if (error) { single_instance_cleanup(); return FALSE; } /* Handle the one-byte message */ buf[1] = 0; if (len > 0) on_dupe(buf); return TRUE; } int single_instance_init(SingleInstanceFunc func, const char *str) { int fifo; on_dupe = func; path = g_build_filename(g_get_home_dir(), "." PACKAGE, "fifo", NULL); /* If we can open the program FIFO in write-only mode then we must have a reader process already running. We send it a one-byte message and quit. */ if ((fifo = open(path, O_WRONLY | O_NONBLOCK)) > 0) { size_t written = write(fifo, str, 1); if (!written) { g_debug("Failed to write to program FIFO\n"); } close(fifo); return TRUE; } /* The FIFO can be left over from a previous instance if the program crashes or is killed */ if (g_file_test(path, G_FILE_TEST_EXISTS)) { g_debug("Program FIFO exists but is not opened on " "read-only side, deleting\n"); single_instance_cleanup(); } /* Otherwise, create a read-only FIFO */ if (mkfifo(path, S_IRUSR | S_IWUSR)) { log_errno("Failed to create program FIFO"); return FALSE; } if ((fifo = open(path, O_RDWR | O_NONBLOCK)) == -1) { log_errno("Failed to open FIFO for reading"); return FALSE; } /* Open and watch the fifo to become readable */ io_channel = g_io_channel_unix_new(fifo); g_io_add_watch(io_channel, G_IO_IN, on_fifo_input, NULL); return FALSE; } cellwriter-1.3.6/src/statusicon.c000066400000000000000000000174521311072664300170400ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #ifdef USING_LIBEGG #include "libegg/eggtrayicon.h" #endif /* options.c */ void options_dialog_open(void); /* window.c */ extern GtkWidget *window; void window_toggle(void); /* Status icon menu */ int status_menu_left_click = FALSE; static GtkWidget *status_menu, *status_menu_show = NULL; static GObject *status_icon = NULL; #ifdef USING_LIBEGG static void position_menu_libegg(GtkMenu *menu, int *x, int *y, gboolean *push_in, gpointer user_data) /* Positions the menu relative to the libegg tray icon */ { GdkScreen *screen; GtkWidget *tray_icon = GTK_WIDGET(status_icon); GtkRequisition req; gint menu_xpos, menu_ypos; gtk_widget_size_request(GTK_WIDGET(menu), &req); gdk_window_get_origin(tray_icon->window, &menu_xpos, &menu_ypos); menu_xpos += tray_icon->allocation.x; menu_ypos += tray_icon->allocation.y; screen = gtk_widget_get_screen(tray_icon); if (menu_ypos > gdk_screen_get_height(screen) / 2) menu_ypos -= req.height; else menu_ypos += tray_icon->allocation.height; *x = menu_xpos; *y = menu_ypos; *push_in = TRUE; } #define POSITION_MENU_FUNC position_menu_libegg #else #define POSITION_MENU_FUNC gtk_status_icon_position_menu #endif static void status_menu_popup(GObject *status, guint button, guint activate_time) { GtkWidget *widget, *image; if (status_menu) gtk_widget_destroy(status_menu); status_menu = gtk_menu_new(); /* Menu -> Show/Hide */ if (GTK_WIDGET_VISIBLE(window)) status_menu_show = gtk_menu_item_new_with_label("Hide"); else status_menu_show = gtk_menu_item_new_with_label("Show"); g_signal_connect(G_OBJECT(status_menu_show), "activate", G_CALLBACK(window_toggle), NULL); gtk_menu_attach(GTK_MENU(status_menu), status_menu_show, 0, 1, 0, 1); /* Menu -> Setup */ widget = gtk_image_menu_item_new_with_label("Setup"); image = gtk_image_new(); gtk_image_set_from_stock(GTK_IMAGE(image), GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_MENU); gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(widget), image); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(options_dialog_open), 0); gtk_menu_attach(GTK_MENU(status_menu), widget, 0, 1, 1, 2); /* Menu -> Separator */ widget = gtk_separator_menu_item_new(); gtk_menu_attach(GTK_MENU(status_menu), widget, 0, 1, 2, 3); /* Menu -> Close */ widget = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); g_signal_connect(G_OBJECT(widget), "activate", G_CALLBACK(gtk_main_quit), NULL); gtk_menu_attach(GTK_MENU(status_menu), widget, 0, 1, 3, 4); /* Popup the menu */ gtk_widget_show_all(status_menu); gtk_menu_popup(GTK_MENU(status_menu), NULL, NULL, POSITION_MENU_FUNC, status_icon, button, activate_time); } #ifdef USING_LIBEGG /* Status icon with LibEgg */ /* This section is based largely on gtkdocklet-x11.c from the Pidgin project. Use of libegg is deprecated from GTK 2.10 onwards so the libegg tray icon will only be compiled for GTK 2.8 and earlier. */ static GtkWidget *status_image; static gboolean button_press_event(GtkWidget *widget, GdkEventButton *event) { /* Don't process double clicks */ if (event->type != GDK_BUTTON_PRESS) return TRUE; /* Toggle window with left click */ if (event->button == 1) { if (status_menu_left_click) status_menu_popup(status_icon, event->button, event->time); else window_toggle(); } /* Show popup menu with right click */ else if (event->button == 3) status_menu_popup(status_icon, event->button, event->time); return TRUE; } static void status_icon_size_allocate(GtkWidget *widget, GtkAllocation *alloc) /* Sets the status icon image size to match the tray icon allocation size */ { gtk_image_set_pixel_size(GTK_IMAGE(status_image), alloc->height); } void status_icon_create(void) /* Create the system tray icon and associated menu */ { GtkWidget *box; char *icon_path; /* Use the libegg tray icon to create a status icon in the tray */ status_icon = G_OBJECT(egg_tray_icon_new(PACKAGE_NAME)); box = gtk_event_box_new(); /* Create the system tray icon */ icon_path = g_build_filename(DATADIR, ICON_PATH PACKAGE ".svg", NULL); status_image = gtk_image_new_from_icon_name(PACKAGE, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_container_add(GTK_CONTAINER(box), status_image); gtk_container_add(GTK_CONTAINER(status_icon), box); gtk_widget_show_all(GTK_WIDGET(status_icon)); g_signal_connect(G_OBJECT(box), "button-press-event", G_CALLBACK(button_press_event), NULL); g_signal_connect(G_OBJECT(status_icon), "size-allocate", G_CALLBACK(status_icon_size_allocate), NULL); } int status_icon_embedded(void) { /* FIXME Doesn't actually test if the icon is embedded because this function is called before the icon has had a chance to embed! */ return status_icon != NULL; } #else /* USING_LIBEGG */ /* Status icon with GtkStatusIcon */ static void status_icon_activate(void) { if (status_menu_left_click) status_menu_popup(status_icon, 1, gtk_get_current_event_time()); else window_toggle(); } void status_icon_create(void) /* Create the system tray icon and associated menu */ { char *icon_path; GError *error = NULL; GdkPixbuf *pixbuf; /* Create the system tray icon */ icon_path = g_build_filename(DATADIR, ICON_PATH PACKAGE ".svg", NULL); if (!(pixbuf = gdk_pixbuf_new_from_file(icon_path, &error))) { status_icon = NULL; g_warning("Failed to load status icon '%s': %s", icon_path, error->message); return; } status_icon = G_OBJECT(gtk_status_icon_new_from_pixbuf(pixbuf)); g_object_unref(pixbuf); g_signal_connect(status_icon, "activate", G_CALLBACK(status_icon_activate), NULL); g_signal_connect(status_icon, "popup-menu", G_CALLBACK(status_menu_popup), NULL); gtk_status_icon_set_visible(GTK_STATUS_ICON(status_icon), TRUE); } int status_icon_embedded(void) { return status_icon != NULL && gtk_status_icon_is_embedded(GTK_STATUS_ICON(status_icon)); } #endif /* !USING_LIBEGG */ cellwriter-1.3.6/src/stroke.c000066400000000000000000000343741311072664300161550ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include #include #include #include "common.h" #include "recognize.h" /* Stroke functions */ /* Distance from the line formed by the two neighbors of a point, which, if not exceeded, will cause the point to be culled during simplification */ #define SIMPLIFY_THRESHOLD 0.5 /* Granularity of stroke point array in points */ #define POINTS_GRAN 64 /* Size of a stroke structure */ #define STROKE_SIZE(size) (sizeof (Stroke) + (size) * sizeof (Point)) void process_stroke(Stroke *stroke) /* Generate cached parameters of a stroke */ { int i; float distance; if (stroke->processed) return; stroke->processed = TRUE; /* Dot strokes */ if (stroke->len == 1) { vec2_set(&stroke->center, stroke->points[0].x, stroke->points[0].y); stroke->spread = 0.f; return; } stroke->min_x = stroke->max_x = stroke->points[0].x; stroke->min_y = stroke->max_y = stroke->points[0].y; for (i = 0, distance = 0.; i < stroke->len - 1; i++) { Vec2 v; float weight; /* Angle */ vec2_set(&v, stroke->points[i + 1].x - stroke->points[i].x, stroke->points[i + 1].y - stroke->points[i].y); stroke->points[i].angle = vec2_angle(&v); /* Point contribution to spread */ if (stroke->points[i + 1].x < stroke->min_x) stroke->min_x = stroke->points[i + 1].x; if (stroke->points[i + 1].y < stroke->min_y) stroke->min_y = stroke->points[i + 1].y; if (stroke->points[i + 1].x > stroke->max_x) stroke->max_x = stroke->points[i + 1].x; if (stroke->points[i + 1].y > stroke->max_y) stroke->max_y = stroke->points[i + 1].y; /* Segment contribution to center */ vec2_set(&v, stroke->points[i + 1].x - stroke->points[i].x, stroke->points[i + 1].y - stroke->points[i].y); distance += weight = vec2_mag(&v); vec2_set(&v, stroke->points[i + 1].x + stroke->points[i].x, stroke->points[i + 1].y + stroke->points[i].y); vec2_scale(&v, &v, weight / 2.); vec2_sum(&stroke->center, &stroke->center, &v); } vec2_scale(&stroke->center, &stroke->center, 1. / distance); stroke->points[i].angle = stroke->points[i - 1].angle; stroke->distance = distance; /* Stroke spread */ stroke->spread = stroke->max_x - stroke->min_x; if (stroke->max_y - stroke->min_y > stroke->spread) stroke->spread = stroke->max_y - stroke->min_y; } void clear_stroke(Stroke *stroke) /* Clear cached parameters */ { int size; size = stroke->size; memset(stroke, 0, sizeof (*stroke)); stroke->size = size; } Stroke *stroke_new(int size) /* Allocate memory for a new stroke */ { Stroke *stroke; if (size < POINTS_GRAN) size = POINTS_GRAN; stroke = g_malloc(STROKE_SIZE(size)); stroke->size = size; clear_stroke(stroke); return stroke; } static void reverse_copy_points(Point *dest, const Point *src, int len) { int i; for (i = 0; i < len; i++) { ANGLE angle = 0; if (i < len - 1) angle = src[len - i - 2].angle + ANGLE_PI; dest[i] = src[len - i - 1]; dest[i].angle = angle; } } Stroke *stroke_clone(const Stroke *src, int reverse) { Stroke *stroke; if (!src) return NULL; stroke = stroke_new(src->size); if (!reverse) memcpy(stroke, src, STROKE_SIZE(src->size)); else { memcpy(stroke, src, sizeof (Stroke)); reverse_copy_points(stroke->points, src->points, src->len); } return stroke; } void stroke_free(Stroke *stroke) { g_free(stroke); } void glue_stroke(Stroke **pa, const Stroke *b, int reverse) /* Glue B onto the end of A preserving processed properties */ { Vec2 glue_seg, glue_center, b_center; Point start; Stroke *a; float glue_mag; a = *pa; /* If there is no stroke to glue to, just copy */ if (!a || a->len < 1) { if (a->len < 1) stroke_free(a); *pa = stroke_clone(b, reverse); return; } /* Allocate memory */ if (a->size < a->len + b->len) { a->size = a->len + b->len; a = g_realloc(a, STROKE_SIZE(a->size)); } /* Gluing two strokes creates a new segment between them */ start = reverse ? b->points[b->len - 1] : b->points[0]; vec2_set(&glue_seg, start.x - a->points[a->len - 1].x, start.y - a->points[a->len - 1].y); vec2_set(&glue_center, (start.x + a->points[a->len - 1].x) / 2, (start.y + a->points[a->len - 1].y) / 2); glue_mag = vec2_mag(&glue_seg); /* Compute new spread */ if (b->min_x < a->min_x) a->min_x = b->min_x; if (b->max_x > a->max_x) a->max_x = b->max_x; if (b->min_y < a->min_y) a->min_y = b->min_y; if (b->max_y > a->max_y) a->max_y = b->max_y; a->spread = a->max_x - a->min_x; if (a->max_y - a->min_y > a->spread) a->spread = a->max_y - a->min_y; /* Compute new center point */ vec2_scale(&a->center, &a->center, a->distance); vec2_scale(&b_center, &b->center, b->distance); vec2_scale(&glue_center, &glue_center, glue_mag); vec2_set(&a->center, a->center.x + b_center.x + glue_center.x, a->center.y + b_center.y + glue_center.y); vec2_scale(&a->center, &a->center, 1.f / (a->distance + b->distance + glue_mag)); /* Copy points */ if (!reverse || b->len < 2) memcpy(a->points + a->len, b->points, b->len * sizeof (Point)); else reverse_copy_points(a->points + a->len, b->points, b->len); a->points[a->len - 1].angle = vec2_angle(&glue_seg); a->distance += glue_mag + b->distance; a->len += b->len; *pa = a; } void draw_stroke(Stroke **ps, int x, int y) /* Add a point in scaled coordinates to a stroke */ { /* Create a new stroke if necessary */ if (!(*ps)) *ps = stroke_new(0); /* If we run out of room, resample the stroke to fit */ if ((*ps)->len >= POINTS_MAX) { Stroke *new_stroke; new_stroke = sample_stroke(NULL, *ps, POINTS_MAX - POINTS_GRAN, POINTS_MAX); stroke_free(*ps); *ps = new_stroke; } /* Range limits */ if (x <= -SCALE / 2) x = -SCALE / 2 + 1; if (x >= SCALE / 2) x = SCALE / 2 - 1; if (y <= -SCALE / 2) y = -SCALE / 2 + 1; if (y >= SCALE / 2) y = SCALE / 2 - 1; /* Do we need more memory? */ if ((*ps)->len >= (*ps)->size) { (*ps)->size += POINTS_GRAN; *ps = g_realloc(*ps, STROKE_SIZE((*ps)->size)); } (*ps)->points[(*ps)->len].x = x; (*ps)->points[(*ps)->len++].y = y; } void smooth_stroke(Stroke *s) /* Smooth stroke points by moving each point halfway toward the line between its two neighbors */ { int i, last_x, last_y; last_x = s->points[0].x; last_y = s->points[0].y; for (i = 1; i < s->len - 1; i++) { Vec2 a, b, c, m, ab, ac, am; if (last_x == s->points[i + 1].x && last_y == s->points[i + 1].y) { last_x = s->points[i].x; last_y = s->points[i].y; continue; } vec2_set(&a, last_x, last_y); vec2_set(&b, s->points[i].x, s->points[i].y); vec2_set(&c, s->points[i + 1].x, s->points[i + 1].y); vec2_sub(&ac, &c, &a); vec2_sub(&ab, &b, &a); vec2_proj(&am, &ab, &ac); vec2_sum(&m, &a, &am); vec2_avg(&b, &b, &m, 0.5); last_x = s->points[i].x; last_y = s->points[i].y; s->points[i].x = b.x + 0.5; s->points[i].y = b.y + 0.5; } } void simplify_stroke(Stroke *s) /* Remove excess points between neighbors */ { int i; for (i = 1; i < s->len - 1; i++) { Vec2 l, w; double dist, mag, dot; /* Vector l is a unit vector from point i - 1 to point i + 1 */ vec2_set(&l, s->points[i - 1].x - s->points[i + 1].x, s->points[i - 1].y - s->points[i + 1].y); mag = vec2_norm(&l, &l); /* Vector w is a vector from point i - 1 to point i */ vec2_set(&w, s->points[i - 1].x - s->points[i].x, s->points[i - 1].y - s->points[i].y); /* Do not touch mid points that are not in between their neighbors */ dot = vec2_dot(&l, &w); if (dot < 0. || dot > mag) continue; /* Remove any points that are less than some threshold away from their neighbor points */ dist = vec2_cross(&w, &l); if (dist < SIMPLIFY_THRESHOLD && dist > -SIMPLIFY_THRESHOLD) { memmove(s->points + i, s->points + i + 1, (--s->len - i) * sizeof (*s->points)); i--; } } } void dump_stroke(Stroke *stroke) { int i; /* Print stats */ g_message("Stroke data --"); g_debug("Distance: %g", stroke->distance); g_debug(" Center: (%g, %g)", stroke->center.x, stroke->center.y); g_debug(" Spread: %d", stroke->spread); g_message("%d points --", stroke->len); /* Print point data */ for (i = 0; i < stroke->len; i++) g_debug("%3d: (%4d,%4d)\n", i, stroke->points[i].x, stroke->points[i].y); } Stroke *sample_stroke(Stroke *out, Stroke *in, int points, int size) /* Recreate the stroke by sampling at regular distance intervals. Sampled strokes always have angle data. */ { Vec2 v; double dist_i, dist_j, dist_per; int i, j, len; if (!in || in->len < 1) { g_warning("Attempted to sample an invalid stroke"); return NULL; } /* Check ranges */ if (size >= POINTS_MAX) { g_warning("Stroke sized to maximum length possible"); size = POINTS_MAX; } if (points >= POINTS_MAX) { g_warning("Stroke sampled to maximum length possible"); points = POINTS_MAX; } if (size < 1) size = 1; if (points < 1) points = 1; /* Allocate memory and copy cached data */ if (!out) out = g_malloc(STROKE_SIZE(size)); out->size = size; len = out->size < points ? out->size - 1 : points - 1; out->len = len + 1; out->spread = in->spread; out->center = in->center; /* Special case for sampling a single point */ if (in->len <= 1 || points <= 1) { for (i = 0; i < len + 1; i++) out->points[i] = in->points[0]; out->distance = 0.; return out; } dist_per = in->distance / (points - 1); out->distance = in->distance; vec2_set(&v, in->points[1].x - in->points[0].x, in->points[1].y - in->points[0].y); dist_j = vec2_mag(&v); dist_i = dist_per; out->points[0] = in->points[0]; for (i = 1, j = 0; i < len; i++) { /* Advance our position */ while (dist_i >= dist_j) { if (j >= in->len - 2) goto finish; dist_i -= dist_j; j++; vec2_set(&v, in->points[j + 1].x - in->points[j].x, in->points[j + 1].y - in->points[j].y); dist_j = vec2_mag(&v); } /* Interpolate points */ out->points[i].x = in->points[j].x + (in->points[j + 1].x - in->points[j].x) * dist_i / dist_j; out->points[i].y = in->points[j].y + (in->points[j + 1].y - in->points[j].y) * dist_i / dist_j; out->points[i].angle = in->points[j].angle; dist_i += dist_per; } finish: for (; i < len + 1; i++) out->points[i] = in->points[j + 1]; return out; } void sample_strokes(Stroke *a, Stroke *b, Stroke **as, Stroke **bs) /* Sample multiple strokes to equal lengths */ { double dist; int points; /* Find the sample length */ dist = a->distance; if (b->distance > dist) dist = b->distance; points = 1 + dist / FINE_RESOLUTION; if (points > POINTS_MAX) points = POINTS_MAX; *as = sample_stroke(NULL, a, points, points); *bs = sample_stroke(NULL, b, points, points); } cellwriter-1.3.6/src/window.c000066400000000000000000001252241311072664300161500ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "keys.h" #include #include #include #include /* Enable this option if your window manager support window gravity. With this option, the CellWriter window will resize from the bottom using the window manager rather than manually. */ /* #define WINDOW_GRAVITY */ /* options.c */ void options_dialog_open(void); /* recognize.c */ void update_enabled_samples(void); /* cellwidget.c */ extern int training, cell_width, cell_height, cell_cols_pref; GtkWidget *cell_widget_new(void); void cell_widget_clear(void); void cell_widget_render(void); int cell_widget_insert(void); void cell_widget_train(void); void cell_widget_pack(void); int cell_widget_update_colors(void); void cell_widget_show_buffer(GtkWidget *button); int cell_widget_scrollbar_width(void); int cell_widget_get_height(void); /* statusicon.c */ int status_icon_create(void); int status_icon_embedded(void); /* main.c */ extern int keyboard_only; void save_profile(void); /* keywidget.c */ void key_widget_resize(KeyWidget *key_widget); /* Main window */ GtkWidget *window; GtkTooltips *tooltips; int window_force_x = -1, window_force_y = -1, training_block = 0, window_docked = WINDOW_UNDOCKED, window_force_docked = -1, window_button_labels = TRUE, window_force_show = FALSE, window_force_hide = FALSE, style_colors = TRUE, window_embedded = FALSE, window_struts = FALSE; /* Tab XPM image */ static char *tab_xpm[] = { "7 4 2 1", " c None", ". c #000000", ".......", " ..... ", " ... ", " . " }; static KeyWidget *key_widget; static GtkWidget *train_label_box, *train_label_frame, *train_label = NULL, *bottom_box, *blocks_combo, *cell_widget, *setup_button, *keys_button, *insert_button, *clear_button, *train_button, *buffer_button; static GdkRectangle window_frame = {-1, -1, 0, 0}, window_frame_saved; static int screen_width = -1, screen_height = -1, window_shown = TRUE, history_valid = FALSE, keys_on = FALSE; static void toggle_button_labels(int on) { static int labels_off; if (labels_off && on) { gtk_button_set_label(GTK_BUTTON(train_button), "Train"); gtk_button_set_label(GTK_BUTTON(setup_button), "Setup"); gtk_button_set_label(GTK_BUTTON(clear_button), "Clear"); gtk_button_set_label(GTK_BUTTON(insert_button), "Insert"); gtk_button_set_label(GTK_BUTTON(keys_button), "Keys"); } else if (!labels_off && !on) { gtk_button_set_label(GTK_BUTTON(train_button), ""); gtk_button_set_label(GTK_BUTTON(setup_button), ""); gtk_button_set_label(GTK_BUTTON(keys_button), ""); gtk_button_set_label(GTK_BUTTON(clear_button), ""); gtk_button_set_label(GTK_BUTTON(insert_button), ""); gtk_button_set_label(GTK_BUTTON(keys_button), ""); } labels_off = !on; } void window_pack(void) { cell_widget_pack(); toggle_button_labels(window_button_labels); if (training) gtk_widget_show(train_label_frame); key_widget_resize(key_widget); } void window_update_colors(void) { int keys_changed; keys_changed = key_widget_update_colors(); if (cell_widget_update_colors() || keys_changed) cell_widget_render(); if (keys_changed) key_widget_render(key_widget); } static void update_struts(void) /* Reserves screen space for the docked window. FIXME In Metacity it causes the window to be shoved outside of its own struts, which is especially devastating for top docking because this causes an infinite loop of events causing the struts to repeatedly scan down from the top of the screen. GOK and other applications somehow get around this but I can't figure out how. */ { static gulong struts[12]; guint32 new2 = 0, new3 = 0, new9 = 0, new11 = 0; GdkAtom atom_strut, atom_strut_partial, cardinal; if (!window || !window->window || !window_struts) return; if (window_docked == WINDOW_DOCKED_TOP) { new2 = window_frame.y + window_frame.height; new9 = window_frame.width; } else if (window_docked == WINDOW_DOCKED_BOTTOM) { new3 = window_frame.height; new11 = window_frame.width; } if (new2 == struts[2] && new3 == struts[3] && new9 == struts[9] && new11 == struts[11]) return; trace("top=%d (%d) bottom=%d (%d)", new2, new9, new3, new11); struts[2] = new2; struts[3] = new3; struts[9] = new9; struts[11] = new11; atom_strut = gdk_atom_intern("_NET_WM_STRUT", FALSE), atom_strut_partial = gdk_atom_intern("_NET_WM_STRUT_PARTIAL", FALSE); cardinal = gdk_atom_intern("CARDINAL", FALSE); gdk_property_change(GDK_WINDOW(window->window), atom_strut, cardinal, 32, GDK_PROP_MODE_REPLACE, (guchar*)&struts, 4); gdk_property_change(GDK_WINDOW(window->window), atom_strut_partial, cardinal, 32, GDK_PROP_MODE_REPLACE, (guchar*)&struts, 12); } static void set_geometry_hints(void) { GdkGeometry geometry; geometry.min_width = -1; geometry.min_height = -1; geometry.max_width = -1; geometry.max_height = -1; /* Use window geometry to force the window to be as large as the screen */ if (window_docked) geometry.max_width = geometry.min_width = screen_width; gtk_window_set_geometry_hints(GTK_WINDOW(window), window, &geometry, GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE); trace("%dx%d", geometry.min_width, geometry.min_height); #ifdef WINDOW_GRAVITY /* In some bright and sunny alternate universe when specifications are actually implemented as inteded, this function alone would cause the window frame to expand upwards without having to perform the ugly hack in window_configure(). */ geometry.win_gravity = GDK_GRAVITY_SOUTH_WEST; gtk_window_set_geometry_hints(GTK_WINDOW(window), window, &geometry, GDK_HINT_WIN_GRAVITY); #endif } static void docked_move_resize(void) { GdkScreen *screen; int y = 0; if (!window_docked) return; screen = gtk_window_get_screen(GTK_WINDOW(window)); if (window_docked == WINDOW_DOCKED_BOTTOM) y = gdk_screen_get_height(screen) - window_frame.height; set_geometry_hints(); gtk_window_move(GTK_WINDOW(window), 0, y); cell_widget_pack(); key_widget_resize(key_widget); trace("y=%d", y); if (window_struts) gdk_window_set_type_hint(GDK_WINDOW(window->window), GDK_WINDOW_TYPE_HINT_DOCK); } static gboolean window_configure(GtkWidget *widget, GdkEventConfigure *event) /* Intelligently grow the window up and/or left if we are in the bottom or right corners of the screen respectively */ { GdkRectangle new_frame = {0, 0, 0, 0}; GdkScreen *screen; int screen_w, screen_h, height_change, label_w; if (!window || !window->window) return FALSE; gtk_widget_get_display(window); /* Get screen and window information */ screen = gtk_window_get_screen(GTK_WINDOW(window)); screen_w = gdk_screen_get_width(screen); screen_h = gdk_screen_get_height(screen); gdk_window_get_frame_extents(window->window, &new_frame); /* We need to resize wrapped labels manually */ label_w = window->allocation.width - 16; if (train_label && train_label->requisition.width != label_w) gtk_widget_set_size_request(train_label, label_w, -1); /* Docked windows have special placing requirements */ height_change = new_frame.height - window_frame.height; if (window_docked) { window_frame = new_frame; if (screen_w != screen_width || screen_h != screen_height || (height_change && window_docked == WINDOW_DOCKED_BOTTOM)) { screen_width = screen_w; screen_height = screen_h; trace("move-sizing bottom-docked window"); docked_move_resize(); } update_struts(); return FALSE; } screen_width = screen_w; screen_height = screen_h; /* Do nothing on the first configure */ if (window_frame.height <= 1) { window_frame = new_frame; return FALSE; } #ifndef WINDOW_GRAVITY /* Keep the window aligned to the bottom border */ if (height_change && window_frame.y + window_frame.height / 2 > gdk_screen_get_height(screen) / 2) window_frame.y -= height_change; else height_change = 0; /* Do not allow the window to go off-screen */ if (window_frame.x + new_frame.width > screen_w) window_frame.x = screen_w - new_frame.width; if (window_frame.y + new_frame.height > screen_h) window_frame.y = screen_h - new_frame.height; if (window_frame.x < 0) window_frame.x = 0; if (window_frame.y < 0) window_frame.y = 0; /* Some window managers (Metacity) do not allow windows to resize larger than the screen and will move the window back within the screen bounds when this happens. We don't like this because it screws with our own correcting offset. Fortunately, both the move and the resize are bundled in one configure event so we can work around this by using our old x/y coordinates when the dimensions change. */ if (height_change && (new_frame.x != window_frame.x || new_frame.y != window_frame.y)) { gtk_window_move(GTK_WINDOW(window), window_frame.x, window_frame.y); window_frame.width = new_frame.width; window_frame.height = new_frame.height; trace("moving to (%d, %d)", window_frame.x, window_frame.y); } else window_frame = new_frame; #endif return FALSE; } void window_set_docked(int mode) { if (mode < WINDOW_UNDOCKED) mode = WINDOW_UNDOCKED; if (mode >= WINDOW_DOCKED_BOTTOM) mode = WINDOW_DOCKED_BOTTOM; if (mode && !window_docked) window_frame_saved = window_frame; window_docked = mode; gtk_window_set_decorated(GTK_WINDOW(window), !mode); set_geometry_hints(); cell_widget_pack(); key_widget_resize(key_widget); /* Set window docking hints. FIXME This allegedly solves docking problems with some window managers but only seems to cause more problems for Compiz and Metacity. */ /* gtk_widget_hide(window); if (mode == WINDOW_UNDOCKED) gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_NORMAL); else gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DOCK); gtk_widget_show(window); */ /* Restore the old window position */ if (!mode) { update_struts(); window_frame = window_frame_saved; gtk_window_move(GTK_WINDOW(window), window_frame.x, window_frame.y); trace("moving to (%d, %d)", window_frame.x, window_frame.y); } /* Move the window into docked position */ else docked_move_resize(); } void train_button_toggled(void) { if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(train_button))) { cell_widget_train(); gtk_widget_hide(clear_button); gtk_widget_hide(keys_button); gtk_widget_hide(insert_button); gtk_widget_hide(buffer_button); gtk_widget_show(blocks_combo); gtk_widget_show(train_label_frame); } else { cell_widget_clear(); gtk_widget_hide(blocks_combo); gtk_widget_hide(train_label_frame); gtk_widget_show(clear_button); gtk_widget_show(keys_button); gtk_widget_show(insert_button); gtk_widget_show(buffer_button); /* Take the opportunity to save training data. TODO: Only save if there is new training data. */ save_profile(); } } static void keys_button_toggled(void) { keys_on = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(keys_button)); /* Hide widgets first */ if (keys_on) { gtk_widget_hide(cell_widget); gtk_widget_set_sensitive(clear_button, FALSE); gtk_widget_set_sensitive(insert_button, FALSE); gtk_widget_set_sensitive(train_button, FALSE); gtk_widget_set_sensitive(buffer_button, FALSE); } else { gtk_widget_hide(key_widget->drawing_area); gtk_widget_set_sensitive(clear_button, TRUE); gtk_widget_set_sensitive(insert_button, TRUE); gtk_widget_set_sensitive(train_button, TRUE); if (history_valid) gtk_widget_set_sensitive(buffer_button, TRUE); } /* Resize the window */ docked_move_resize(); /* Show widgets */ if (keys_on) gtk_widget_show(key_widget->drawing_area); else gtk_widget_show(cell_widget); } static int block_combo_to_unicode(int block) /* Find the Combo Box index's unicode block */ { int i, pos; for (i = 0, pos = 0; unicode_blocks[i].name; i++) if (unicode_blocks[i].enabled && ++pos > block) break; return i; } static int block_unicode_to_combo(int block) /* Find the Unicode block's combo box position */ { int i, pos; for (i = 0, pos = 0; i < block && unicode_blocks[i].name; i++) if (unicode_blocks[i].enabled) pos++; return pos; } static void blocks_combo_changed(void) { int pos; pos = gtk_combo_box_get_active(GTK_COMBO_BOX(blocks_combo)); training_block = block_combo_to_unicode(pos); if (training) cell_widget_train(); } static GtkWidget *create_blocks_combo(void) { GtkWidget *event_box; UnicodeBlock *block; if (blocks_combo) gtk_widget_destroy(blocks_combo); blocks_combo = gtk_combo_box_new_text(); block = unicode_blocks; while (block->name) { if (block->enabled) gtk_combo_box_append_text(GTK_COMBO_BOX(blocks_combo), block->name); block++; } gtk_combo_box_set_active(GTK_COMBO_BOX(blocks_combo), block_unicode_to_combo(training_block)); gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(blocks_combo), FALSE); g_signal_connect(G_OBJECT(blocks_combo), "changed", G_CALLBACK(blocks_combo_changed), NULL); /* Wrap ComboBox in an EventBox for tooltips */ event_box = gtk_event_box_new(); gtk_tooltips_set_tip(tooltips, event_box, "Select Unicode block to train", NULL); gtk_container_add(GTK_CONTAINER(event_box), blocks_combo); return event_box; } void window_toggle(void) { if (GTK_WIDGET_VISIBLE(window)) { gtk_widget_hide(window); window_shown = FALSE; /* User may have rendered themselves unable to interact with the program widgets by pressing one of the modifier keys that, for instance, puts the WM in move-window mode, so if the window is closed we need to reset the held keys */ key_widget_cleanup(key_widget); } else { gtk_widget_show(window); window_shown = TRUE; } } void window_show(void) { if (!(GTK_WIDGET_VISIBLE(window))) window_toggle(); } void window_hide(void) { if (GTK_WIDGET_VISIBLE(window)) window_toggle(); } gboolean window_close(void) { if (status_icon_embedded()) { gtk_widget_hide(window); window_shown = FALSE; key_widget_cleanup(key_widget); return TRUE; } g_debug("Status icon failed to embed, quitting."); return FALSE; } static void window_style_set(GtkWidget *w) { GdkColor train_label_bg = RGB_TO_GDKCOLOR(255, 255, 200), train_label_fg = RGB_TO_GDKCOLOR(0, 0, 0); /* The training label color is taken from tooltips */ if (!train_label) return; #if GTK_CHECK_VERSION(2, 10, 0) gtk_style_lookup_color(w->style, "tooltip_bg_color", &train_label_bg); gtk_style_lookup_color(w->style, "tooltip_fg_color", &train_label_fg); #endif gtk_widget_modify_bg(train_label_frame, GTK_STATE_NORMAL, &train_label_bg); gtk_widget_modify_bg(train_label_box, GTK_STATE_NORMAL, &train_label_bg); gtk_widget_modify_fg(train_label, GTK_STATE_NORMAL, &train_label_fg); gtk_widget_modify_fg(blocks_combo, GTK_STATE_NORMAL, &train_label_fg); } static void button_set_image_xpm(GtkWidget *button, char **xpm) /* Creates a button with an XPM icon */ { GdkPixmap *pixmap; GdkBitmap *mask; GtkWidget *image; pixmap = gdk_pixmap_colormap_create_from_xpm_d (NULL, gdk_colormap_get_system(), &mask, NULL, xpm); image = gtk_image_new_from_pixmap(pixmap, mask); g_object_unref(pixmap); gtk_button_set_image(GTK_BUTTON(button), image); } static void insert_button_clicked(void) { if (cell_widget_insert()) { history_valid = TRUE; gtk_widget_set_sensitive(buffer_button, TRUE); } } static void buffer_button_pressed(void) { if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(buffer_button))) { cell_widget_show_buffer(buffer_button); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(buffer_button), TRUE); } } static void print_window_xid(GtkWidget *widget) { g_print("%d\n", (unsigned int)GDK_WINDOW_XID(widget->window)); } static gint status_icon_embedded_check() { if (!status_icon_embedded()) { g_debug("Status icon failed to embed, showing window."); window_shown = TRUE; gtk_widget_show(window); } return FALSE; } void window_create(void) /* Create the main window and child widgets */ { GtkWidget *widget, *window_vbox, *image; GdkScreen *screen; /* Create the window or plug */ window = !window_embedded ? gtk_window_new(GTK_WINDOW_TOPLEVEL) : gtk_plug_new(0); g_signal_connect(G_OBJECT(window), "delete-event", G_CALLBACK(window_close), NULL); g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL); g_signal_connect(G_OBJECT(window), "style-set", G_CALLBACK(window_style_set), NULL); g_signal_connect(G_OBJECT(window), "configure-event", G_CALLBACK(window_configure), NULL); gtk_window_set_accept_focus(GTK_WINDOW(window), FALSE); gtk_window_set_resizable(GTK_WINDOW(window), FALSE); /* Tooltips */ tooltips = gtk_tooltips_new(); gtk_tooltips_enable(tooltips); /* Root box */ window_vbox = gtk_vbox_new(FALSE, 0); gtk_widget_show(window_vbox); /* Training info label frame */ train_label_frame = gtk_frame_new(NULL); gtk_widget_set_no_show_all(train_label_frame, TRUE); gtk_frame_set_shadow_type(GTK_FRAME(train_label_frame), GTK_SHADOW_IN); gtk_container_set_border_width(GTK_CONTAINER(train_label_frame), 2); /* Training info label */ train_label = gtk_label_new(NULL); gtk_label_set_line_wrap(GTK_LABEL(train_label), TRUE); gtk_label_set_justify(GTK_LABEL(train_label), GTK_JUSTIFY_FILL); gtk_label_set_markup(GTK_LABEL(train_label), "Training Mode: Carefully draw each " "character in its cell. Multiple " "samples will be stored for each character. " "If you make a mistake, reset by " "pressing on the cell with the pen eraser."); gtk_widget_show(train_label); /* Training info label colored box */ train_label_box = gtk_event_box_new(); gtk_widget_show(train_label_box); gtk_container_add(GTK_CONTAINER(train_label_box), train_label); gtk_container_add(GTK_CONTAINER(train_label_frame), train_label_box); gtk_widget_show_all(train_label_frame); gtk_box_pack_start(GTK_BOX(window_vbox), train_label_frame, FALSE, FALSE, 0); /* Cell widget */ cell_widget = cell_widget_new(); gtk_box_pack_start(GTK_BOX(window_vbox), cell_widget, TRUE, TRUE, 2); if (!keyboard_only) gtk_widget_show_all(cell_widget); /* Key widget */ key_widget = key_widget_new_full(); gtk_box_pack_start(GTK_BOX(window_vbox), key_widget->drawing_area, TRUE, TRUE, 2); if (keyboard_only) { gtk_widget_show(key_widget->drawing_area); keys_on = TRUE; } /* Bottom box */ bottom_box = gtk_hbox_new(FALSE, 0); /* Train button */ train_button = gtk_toggle_button_new_with_label("Train"); gtk_button_set_focus_on_click(GTK_BUTTON(train_button), FALSE); gtk_button_set_image(GTK_BUTTON(train_button), gtk_image_new_from_stock(GTK_STOCK_MEDIA_RECORD, GTK_ICON_SIZE_BUTTON)); gtk_button_set_relief(GTK_BUTTON(train_button), GTK_RELIEF_NONE); gtk_box_pack_start(GTK_BOX(bottom_box), train_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(train_button), "toggled", G_CALLBACK(train_button_toggled), 0); gtk_tooltips_set_tip(tooltips, train_button, "Toggle training mode", NULL); /* Setup button */ setup_button = gtk_button_new_with_label("Setup"); gtk_button_set_focus_on_click(GTK_BUTTON(setup_button), FALSE); gtk_button_set_image(GTK_BUTTON(setup_button), gtk_image_new_from_stock(GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_BUTTON)); gtk_button_set_relief(GTK_BUTTON(setup_button), GTK_RELIEF_NONE); gtk_box_pack_start(GTK_BOX(bottom_box), setup_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(setup_button), "clicked", G_CALLBACK(options_dialog_open), 0); gtk_tooltips_set_tip(tooltips, setup_button, "Edit program options", NULL); /* Expanding box to keep things tidy */ widget = gtk_vbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(bottom_box), widget, TRUE, FALSE, 0); /* Training Unicode Block selector */ widget = create_blocks_combo(); gtk_box_pack_start(GTK_BOX(bottom_box), widget, FALSE, FALSE, 0); gtk_widget_set_no_show_all(blocks_combo, TRUE); /* Clear button */ clear_button = gtk_button_new_with_label("Clear"); gtk_button_set_focus_on_click(GTK_BUTTON(clear_button), FALSE); image = gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_BUTTON); gtk_button_set_image(GTK_BUTTON(clear_button), image); gtk_button_set_relief(GTK_BUTTON(clear_button), GTK_RELIEF_NONE); gtk_box_pack_start(GTK_BOX(bottom_box), clear_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(clear_button), "clicked", G_CALLBACK(cell_widget_clear), 0); gtk_tooltips_set_tip(tooltips, clear_button, "Clear current input", NULL); /* Keys button */ keys_button = gtk_toggle_button_new_with_label("Keys"); gtk_button_set_focus_on_click(GTK_BUTTON(keys_button), FALSE); image = gtk_image_new_from_icon_name("keyboard", GTK_ICON_SIZE_BUTTON); gtk_button_set_image(GTK_BUTTON(keys_button), image); gtk_button_set_relief(GTK_BUTTON(keys_button), GTK_RELIEF_NONE); gtk_box_pack_start(GTK_BOX(bottom_box), keys_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(keys_button), "toggled", G_CALLBACK(keys_button_toggled), 0); gtk_tooltips_set_tip(tooltips, keys_button, "Switch between on-screen keyboard and " "handwriting input", NULL); /* Insert button */ insert_button = gtk_button_new_with_label("Enter"); gtk_button_set_focus_on_click(GTK_BUTTON(insert_button), FALSE); gtk_button_set_image(GTK_BUTTON(insert_button), gtk_image_new_from_stock(GTK_STOCK_OK, GTK_ICON_SIZE_BUTTON)); gtk_button_set_relief(GTK_BUTTON(insert_button), GTK_RELIEF_NONE); gtk_box_pack_start(GTK_BOX(bottom_box), insert_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(insert_button), "clicked", G_CALLBACK(insert_button_clicked), 0); gtk_tooltips_set_tip(tooltips, insert_button, "Insert input or press Enter key", NULL); /* Back buffer button */ buffer_button = gtk_toggle_button_new(); gtk_button_set_focus_on_click(GTK_BUTTON(buffer_button), FALSE); button_set_image_xpm(buffer_button, tab_xpm); gtk_button_set_relief(GTK_BUTTON(buffer_button), GTK_RELIEF_NONE); gtk_box_pack_start(GTK_BOX(bottom_box), buffer_button, FALSE, FALSE, 0); g_signal_connect(G_OBJECT(buffer_button), "pressed", G_CALLBACK(buffer_button_pressed), NULL); gtk_tooltips_set_tip(tooltips, buffer_button, "Recall previously entered input", NULL); gtk_widget_set_sensitive(buffer_button, FALSE); /* Pack the regular bottom box */ gtk_box_pack_start(GTK_BOX(window_vbox), bottom_box, FALSE, FALSE, 0); if (!keyboard_only) gtk_widget_show_all(bottom_box); /* Update button labels */ toggle_button_labels(window_button_labels); /* Set window style */ window_style_set(window); if (window_embedded) { /* Embedding in a screensaver won't let us popup new windows */ gtk_widget_hide(buffer_button); gtk_widget_hide(train_button); gtk_widget_hide(setup_button); /* If we are embedded we need to print the plug's window XID */ g_signal_connect_after(G_OBJECT(window), "realize", G_CALLBACK(print_window_xid), NULL); gtk_container_add(GTK_CONTAINER(window), window_vbox); gtk_widget_show(window); return; } /* Non-embedded window configuration */ gtk_container_add(GTK_CONTAINER(window), window_vbox); gtk_window_set_keep_above(GTK_WINDOW(window), TRUE); gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_UTILITY); gtk_window_set_title(GTK_WINDOW(window), PACKAGE_NAME); gtk_window_set_skip_pager_hint(GTK_WINDOW(window), TRUE); gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), TRUE); gtk_window_set_decorated(GTK_WINDOW(window), TRUE); gtk_window_stick(GTK_WINDOW(window)); /* Coordinates passed on the command-line */ if (window_force_x >= 0) window_frame.x = window_force_x; if (window_force_y >= 0) window_frame.y = window_force_y; /* Center window on initial startup */ screen = gtk_window_get_screen(GTK_WINDOW(window)); if (window_frame.x < 0) window_frame.x = gdk_screen_get_width(screen) / 2; if (window_frame.y < 0) window_frame.y = gdk_screen_get_height(screen) * 3 / 4; gtk_window_move(GTK_WINDOW(window), window_frame.x, window_frame.y); /* Create status icon */ status_icon_create(); /* Set the window size */ if (window_force_docked >= WINDOW_UNDOCKED) window_docked = window_force_docked; if (window_docked) { int mode; mode = window_docked; window_docked = WINDOW_UNDOCKED; window_set_docked(mode); } /* Show window */ if (window_force_hide) window_shown = FALSE; else if (window_force_show) window_shown = TRUE; if (window_shown) { gtk_widget_show(window); } else { /* Check if the status icon is embedded after a timeout so that it has a chance to embed itself into the tray. */ gtk_timeout_add(10, status_icon_embedded_check, NULL); } } void window_sync(void) /* Sync data with profile, do not change item order! */ { profile_write("window"); /* Docking the window will mess up the desired natural frame */ if (!profile_read_only && window_docked) { profile_sync_int(&window_frame_saved.x); profile_sync_int(&window_frame_saved.y); } else { profile_sync_int(&window_frame.x); profile_sync_int(&window_frame.y); } profile_sync_int(&training_block); profile_sync_int(&window_shown); profile_sync_int(&window_button_labels); profile_sync_int(&keyboard_size); profile_sync_int(&window_docked); profile_write("\n"); } void window_cleanup(void) { key_widget_cleanup(key_widget); } /* Unicode blocks */ /* This table is based on unicode-blocks.h from the gucharmap project */ UnicodeBlock unicode_blocks[] = { { TRUE, 0x0000, 0x007F, "Basic Latin" }, { TRUE, 0x0080, 0x00FF, "Latin-1 Supplement" }, { FALSE, 0x0100, 0x017F, "Latin Extended-A" }, { FALSE, 0x0180, 0x024F, "Latin Extended-B" }, { FALSE, 0x0250, 0x02AF, "IPA Extensions" }, { FALSE, 0x02B0, 0x02FF, "Spacing Modifier Letters" }, { FALSE, 0x0300, 0x036F, "Combining Diacritical Marks" }, { FALSE, 0x0370, 0x03FF, "Greek and Coptic" }, { FALSE, 0x0400, 0x04FF, "Cyrillic" }, { FALSE, 0x0500, 0x052F, "Cyrillic Supplement" }, { FALSE, 0x0530, 0x058F, "Armenian" }, { FALSE, 0x0590, 0x05FF, "Hebrew" }, { FALSE, 0x0600, 0x06FF, "Arabic" }, { FALSE, 0x0700, 0x074F, "Syriac" }, { FALSE, 0x0750, 0x077F, "Arabic Supplement" }, { FALSE, 0x0780, 0x07BF, "Thaana" }, { FALSE, 0x07C0, 0x07FF, "N'Ko" }, { FALSE, 0x0900, 0x097F, "Devanagari" }, { FALSE, 0x0980, 0x09FF, "Bengali" }, { FALSE, 0x0A00, 0x0A7F, "Gurmukhi" }, { FALSE, 0x0A80, 0x0AFF, "Gujarati" }, { FALSE, 0x0B00, 0x0B7F, "Oriya" }, { FALSE, 0x0B80, 0x0BFF, "Tamil" }, { FALSE, 0x0C00, 0x0C7F, "Telugu" }, { FALSE, 0x0C80, 0x0CFF, "Kannada" }, { FALSE, 0x0D00, 0x0D7F, "Malayalam" }, { FALSE, 0x0D80, 0x0DFF, "Sinhala" }, { FALSE, 0x0E00, 0x0E7F, "Thai" }, { FALSE, 0x0E80, 0x0EFF, "Lao" }, { FALSE, 0x0F00, 0x0FFF, "Tibetan" }, { FALSE, 0x1000, 0x109F, "Myanmar" }, { FALSE, 0x10A0, 0x10FF, "Georgian" }, { FALSE, 0x1100, 0x11FF, "Hangul Jamo" }, { FALSE, 0x1200, 0x137F, "Ethiopic" }, { FALSE, 0x1380, 0x139F, "Ethiopic Supplement" }, { FALSE, 0x13A0, 0x13FF, "Cherokee" }, { FALSE, 0x1400, 0x167F, "Unified Canadian Aboriginal Syllabics" }, { FALSE, 0x1680, 0x169F, "Ogham" }, { FALSE, 0x16A0, 0x16FF, "Runic" }, { FALSE, 0x1700, 0x171F, "Tagalog" }, { FALSE, 0x1720, 0x173F, "Hanunoo" }, { FALSE, 0x1740, 0x175F, "Buhid" }, { FALSE, 0x1760, 0x177F, "Tagbanwa" }, { FALSE, 0x1780, 0x17FF, "Khmer" }, { FALSE, 0x1800, 0x18AF, "Mongolian" }, { FALSE, 0x1900, 0x194F, "Limbu" }, { FALSE, 0x1950, 0x197F, "Tai Le" }, { FALSE, 0x1980, 0x19DF, "New Tai Lue" }, { FALSE, 0x19E0, 0x19FF, "Khmer Symbols" }, { FALSE, 0x1A00, 0x1A1F, "Buginese" }, { FALSE, 0x1B00, 0x1B7F, "Balinese" }, { FALSE, 0x1D00, 0x1D7F, "Phonetic Extensions" }, { FALSE, 0x1D80, 0x1DBF, "Phonetic Extensions Supplement" }, { FALSE, 0x1DC0, 0x1DFF, "Combining Diacritical Marks Supplement" }, { FALSE, 0x1E00, 0x1EFF, "Latin Extended Additional" }, { FALSE, 0x1F00, 0x1FFF, "Greek Extended" }, { FALSE, 0x2000, 0x206F, "General Punctuation" }, { FALSE, 0x2070, 0x209F, "Superscripts and Subscripts" }, { FALSE, 0x20A0, 0x20CF, "Currency Symbols" }, { FALSE, 0x20D0, 0x20FF, "Combining Diacritical Marks for Symbols" }, { FALSE, 0x2100, 0x214F, "Letterlike Symbols" }, { FALSE, 0x2150, 0x218F, "Number Forms" }, { FALSE, 0x2190, 0x21FF, "Arrows" }, { FALSE, 0x2200, 0x22FF, "Mathematical Operators" }, { FALSE, 0x2300, 0x23FF, "Miscellaneous Technical" }, { FALSE, 0x2400, 0x243F, "Control Pictures" }, { FALSE, 0x2440, 0x245F, "Optical Character Recognition" }, { FALSE, 0x2460, 0x24FF, "Enclosed Alphanumerics" }, { FALSE, 0x2500, 0x257F, "Box Drawing" }, { FALSE, 0x2580, 0x259F, "Block Elements" }, { FALSE, 0x25A0, 0x25FF, "Geometric Shapes" }, { FALSE, 0x2600, 0x26FF, "Miscellaneous Symbols" }, { FALSE, 0x2700, 0x27BF, "Dingbats" }, { FALSE, 0x27C0, 0x27EF, "Miscellaneous Mathematical Symbols-A" }, { FALSE, 0x27F0, 0x27FF, "Supplemental Arrows-A" }, { FALSE, 0x2800, 0x28FF, "Braille Patterns" }, { FALSE, 0x2900, 0x297F, "Supplemental Arrows-B" }, { FALSE, 0x2980, 0x29FF, "Miscellaneous Mathematical Symbols-B" }, { FALSE, 0x2A00, 0x2AFF, "Supplemental Mathematical Operators" }, { FALSE, 0x2B00, 0x2BFF, "Miscellaneous Symbols and Arrows" }, { FALSE, 0x2C00, 0x2C5F, "Glagolitic" }, { FALSE, 0x2C60, 0x2C7F, "Latin Extended-C" }, { FALSE, 0x2C80, 0x2CFF, "Coptic" }, { FALSE, 0x2D00, 0x2D2F, "Georgian Supplement" }, { FALSE, 0x2D30, 0x2D7F, "Tifinagh" }, { FALSE, 0x2D80, 0x2DDF, "Ethiopic Extended" }, { FALSE, 0x2E00, 0x2E7F, "Supplemental Punctuation" }, { FALSE, 0x2E80, 0x2EFF, "CJK Radicals Supplement" }, { FALSE, 0x2F00, 0x2FDF, "Kangxi Radicals" }, { FALSE, 0x2FF0, 0x2FFF, "Ideographic Description Characters" }, { FALSE, 0x3000, 0x303F, "CJK Symbols and Punctuation" }, { FALSE, 0x3040, 0x309F, "Hiragana" }, { FALSE, 0x30A0, 0x30FF, "Katakana" }, { FALSE, 0x3100, 0x312F, "Bopomofo" }, { FALSE, 0x3130, 0x318F, "Hangul Compatibility Jamo" }, { FALSE, 0x3190, 0x319F, "Kanbun" }, { FALSE, 0x31A0, 0x31BF, "Bopomofo Extended" }, { FALSE, 0x31C0, 0x31EF, "CJK Strokes" }, { FALSE, 0x31F0, 0x31FF, "Katakana Phonetic Extensions" }, { FALSE, 0x3200, 0x32FF, "Enclosed CJK Letters and Months" }, { FALSE, 0x3300, 0x33FF, "CJK Compatibility" }, { FALSE, 0x3400, 0x4DBF, "CJK Unified Ideographs Extension A" }, { FALSE, 0x4DC0, 0x4DFF, "Yijing Hexagram Symbols" }, { FALSE, 0x4E00, 0x9FFF, "CJK Unified Ideographs" }, { FALSE, 0xA000, 0xA48F, "Yi Syllables" }, { FALSE, 0xA490, 0xA4CF, "Yi Radicals" }, { FALSE, 0xA700, 0xA71F, "Modifier Tone Letters" }, { FALSE, 0xA720, 0xA7FF, "Latin Extended-D" }, { FALSE, 0xA800, 0xA82F, "Syloti Nagri" }, { FALSE, 0xA840, 0xA87F, "Phags-pa" }, { FALSE, 0xAC00, 0xD7AF, "Hangul Syllables" }, { FALSE, 0xD800, 0xDB7F, "High Surrogates" }, { FALSE, 0xDB80, 0xDBFF, "High Private Use Surrogates" }, { FALSE, 0xDC00, 0xDFFF, "Low Surrogates" }, { FALSE, 0xE000, 0xF8FF, "Private Use Area" }, { FALSE, 0xF900, 0xFAFF, "CJK Compatibility Ideographs" }, { FALSE, 0xFB00, 0xFB4F, "Alphabetic Presentation Forms" }, { FALSE, 0xFB50, 0xFDFF, "Arabic Presentation Forms-A" }, { FALSE, 0xFE00, 0xFE0F, "Variation Selectors" }, { FALSE, 0xFE10, 0xFE1F, "Vertical Forms" }, { FALSE, 0xFE20, 0xFE2F, "Combining Half Marks" }, { FALSE, 0xFE30, 0xFE4F, "CJK Compatibility Forms" }, { FALSE, 0xFE50, 0xFE6F, "Small Form Variants" }, { FALSE, 0xFE70, 0xFEFF, "Arabic Presentation Forms-B" }, { FALSE, 0xFF00, 0xFFEF, "Halfwidth and Fullwidth Forms" }, { FALSE, 0xFFF0, 0xFFFF, "Specials" }, { FALSE, 0x10000, 0x1007F, "Linear B Syllabary" }, { FALSE, 0x10080, 0x100FF, "Linear B Ideograms" }, { FALSE, 0x10100, 0x1013F, "Aegean Numbers" }, { FALSE, 0x10140, 0x1018F, "Ancient Greek Numbers" }, { FALSE, 0x10300, 0x1032F, "Old Italic" }, { FALSE, 0x10330, 0x1034F, "Gothic" }, { FALSE, 0x10380, 0x1039F, "Ugaritic" }, { FALSE, 0x103A0, 0x103DF, "Old Persian" }, { FALSE, 0x10400, 0x1044F, "Deseret" }, { FALSE, 0x10450, 0x1047F, "Shavian" }, { FALSE, 0x10480, 0x104AF, "Osmanya" }, { FALSE, 0x10800, 0x1083F, "Cypriot Syllabary" }, { FALSE, 0x10900, 0x1091F, "Phoenician" }, { FALSE, 0x10A00, 0x10A5F, "Kharoshthi" }, { FALSE, 0x12000, 0x123FF, "Cuneiform" }, { FALSE, 0x12400, 0x1247F, "Cuneiform Numbers and Punctuation" }, { FALSE, 0x1D000, 0x1D0FF, "Byzantine Musical Symbols" }, { FALSE, 0x1D100, 0x1D1FF, "Musical Symbols" }, { FALSE, 0x1D200, 0x1D24F, "Ancient Greek Musical Notation" }, { FALSE, 0x1D300, 0x1D35F, "Tai Xuan Jing Symbols" }, { FALSE, 0x1D360, 0x1D37F, "Counting Rod Numerals" }, { FALSE, 0x1D400, 0x1D7FF, "Mathematical Alphanumeric Symbols" }, /* Cut the table here because the rest are non-printable characters */ { FALSE, 0, 0, NULL }, }; void blocks_sync(void) { UnicodeBlock *block; profile_write("blocks"); block = unicode_blocks; while (block->name) { profile_sync_short(&block->enabled); block++; } profile_write("\n"); } void unicode_block_toggle(int block, int on) { int pos, active, training_block_saved; if (block < 0 || unicode_blocks[block].enabled == on) return; unicode_blocks[block].enabled = on; active = gtk_combo_box_get_active(GTK_COMBO_BOX(blocks_combo)); pos = block_unicode_to_combo(block); training_block_saved = training_block; if (!on) gtk_combo_box_remove_text(GTK_COMBO_BOX(blocks_combo), pos); else gtk_combo_box_insert_text(GTK_COMBO_BOX(blocks_combo), pos, unicode_blocks[block].name); update_enabled_samples(); if ((!on && block <= training_block_saved) || active < 0) gtk_combo_box_set_active(GTK_COMBO_BOX(blocks_combo), active > 0 ? active - 1 : 0); /* Are we out of blocks? */ if (gtk_combo_box_get_active(GTK_COMBO_BOX(blocks_combo)) < 0) { training_block = -1; cell_widget_train(); } } /* Start-up message dialog */ #define WELCOME_MSG "You are either starting " PACKAGE_NAME " for the first " \ "time or have not yet created any training samples. " \ PACKAGE_NAME " requires accurate training samples of " \ "your characters before it can work. " \ "The program will now enter training mode. " \ "Carefully draw each character in its cell and then " \ "press the 'Train' button." void startup_splash_show(void) { GtkWidget *dialog; dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "Welcome to " PACKAGE_STRING "!"); gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), WELCOME_MSG); gtk_window_set_title(GTK_WINDOW(dialog), "Welcome to " PACKAGE_NAME "!"); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); /* Press in the training button for the user */ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(train_button), TRUE); } cellwriter-1.3.6/src/wordfreq.c000066400000000000000000000152051311072664300164670ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" #include "common.h" #include "recognize.h" #include #include /* cellwidget.c */ const char *cell_widget_word(void); /* Word frequency engine */ #ifndef DISABLE_WORDFREQ /* TODO needs to be internationalized (wide char) TODO user-made words list TODO choose a list via GUI FIXME the frequency list contains "n't" etc as separate endings, this needs to be taken into consideration */ /* The number of word frequency entries to load */ #define WORDFREQS 15000 typedef struct { char string[24]; int count; } WordFreq; int wordfreq_enable = TRUE; static WordFreq wordfreqs[WORDFREQS + 1]; static int wordfreqs_len, wordfreqs_count; void load_wordfreq(void) /* Read in the word frequency file. The file format is: word\tcount\n */ { GIOChannel *channel; GError *error = NULL; char buf[64], *path; gsize bytes_read = 1; int i; wordfreqs[0].string[0] = 0; /* Try to open the user's word frequency file */ path = g_build_filename(g_get_home_dir(), "." PACKAGE, "wordfreq", NULL); channel = g_io_channel_new_file(path, "r", &error); if (error) { g_debug("User does not have a word frequency file, " "loading system file"); channel = NULL; } error = NULL; g_free(path); /* Open the word frequency file */ if (!channel) { path = g_build_filename(PKGDATADIR, "wordfreq", NULL); channel = g_io_channel_new_file(path, "r", &error); if (error) { g_warning("Failed to open system word frequency file " "'%s' for reading: %s", path, error->message); g_free(path); return; } g_free(path); } /* Read in every entry */ g_debug("Parsing word frequency list"); wordfreqs_count = 0; for (i = 0; bytes_read > 0 && i < WORDFREQS; i++) { char *pbuf; int swap, len; /* Read a line */ pbuf = buf - 1; do { g_io_channel_read_chars(channel, ++pbuf, 1, &bytes_read, &error); } while (bytes_read > 0 && *pbuf != '\n' && pbuf < buf + sizeof (buf)); *pbuf = 0; /* Parse the word */ pbuf = buf; while (*pbuf && *pbuf != '\t' && *pbuf != ' ') pbuf++; if (buf == pbuf) { i--; continue; } swap = *pbuf; *pbuf = 0; len = pbuf - buf; if (len >= (int)sizeof (wordfreqs[i].string)) len = sizeof (wordfreqs[i].string) - 1; memcpy(wordfreqs[i].string, buf, len); wordfreqs[i].string[len] = 0; /* Parse the count */ *pbuf = swap; while (*pbuf == ' ' || *pbuf == '\t') pbuf++; wordfreqs_count += wordfreqs[i].count = log(atoi(pbuf)); } wordfreqs[i].string[0] = 0; wordfreqs_len = i; g_io_channel_unref(channel); g_debug("%d words parsed", i); return; } void engine_wordfreq(void) { Sample *sample; const char *pre, *post; int i, pre_len, post_len, chars[128]; if (!wordfreq_enable) return; pre = cell_widget_word(); pre_len = strlen(pre); post = pre + pre_len + 1; post_len = strlen(post); if (!pre_len && !post_len) return; memset(chars, 0, sizeof (chars)); /* Numbers follow numbers */ if (g_ascii_isdigit(pre[pre_len - 1])) { for (i = 0; i <= 9; i++) chars['0' + i] = 1; goto apply_table; } /* Search the databases for matches (FIXME sort/index) */ for (i = 0; i < wordfreqs_len; i++) if ((!pre_len || !g_ascii_strncasecmp(pre, wordfreqs[i].string, pre_len)) && (!post_len || !g_ascii_strncasecmp(post, wordfreqs[i].string + pre_len + 1, post_len))) { int ch = wordfreqs[i].string[pre_len], ch_lower = ch, ch_upper = 0; if (ch < 32 || ch >= 127) continue; /* Suggest proper case */ if (g_ascii_isalpha(ch)) { ch_lower = g_ascii_tolower(ch); ch_upper = g_ascii_toupper(ch); if (pre_len > 1) { if (g_ascii_islower(pre[pre_len - 1])) ch_upper = 0; else if (g_ascii_isupper(pre[pre_len - 1]) && g_ascii_isupper(pre[pre_len - 2])) ch_lower = 0; } } chars[ch_lower] += wordfreqs[i].count; chars[ch_upper] += wordfreqs[i].count; } apply_table: /* Apply characters table */ sampleiter_reset(); while ((sample = sampleiter_next())) if (sample->ch >= 32 && sample->ch < 127) sample->ratings[ENGINE_WORDFREQ] = chars[sample->ch]; } #endif /* DISABLE_WORDFREQ */ cellwriter-1.3.6/stamp-h1000066400000000000000000000000271311072664300152540ustar00rootroot00000000000000timestamp for config.h cellwriter-1.3.6/test/000077500000000000000000000000001311072664300146575ustar00rootroot00000000000000cellwriter-1.3.6/test/Makefile000066400000000000000000000002771311072664300163250ustar00rootroot00000000000000all: test.o gcc `pkg-config --libs glib-2.0 gtk+-2.0` -ggdb -lXtst test.o -o test clean: -rm test test.o test.o: test.c gcc `pkg-config --cflags glib-2.0 gtk+-2.0` -ggdb -Wall -c test.c cellwriter-1.3.6/test/test000077500000000000000000000432171311072664300155730ustar00rootroot00000000000000ELFЈ464 (&#444 @@((( Qtd/lib/ld-linux.so.2GNU   !@ |BEKVKqX`X&vu+' $ |3#bDV^@- 4T \libgtk-x11-2.0.so.0__gmon_start___Jv_RegisterClasseslibgdk-x11-2.0.so.0libatk-1.0.so.0_finilibgdk_pixbuf-2.0.so.0libm.so.6libpangocairo-1.0.so.0libpango-1.0.so.0libcairo.so.2libgobject-2.0.so.0libgmodule-2.0.so.0libdl.so.2libglib-2.0.so.0libXtst.so.6gdk_displayXGetModifierMappingg_printXDisplayKeycodesXGetKeyboardMappingXFreegdk_colormap_get_systemgtk_window_newgtk_widget_showgtk_widget_destroyg_get_home_dirg_get_tmp_dirg_get_current_dirgtk_initlibc.so.6_IO_stdin_usedsrandtimestrcasecmp__libc_start_mainlibX11.so.6_edata__bss_start_endGLIBC_2.0ii E   $ ( , 048<@DHUS[ÔtnX[5%%h%h%h% h%h %h(%h0%h8p% h@`%$hHP%(hP@%,hX0%0h` %4hh%8hp%<hx%@h%Dh%Hh1^PTRhhQVhU=t hҡhuÐUtt $ÐU$EEeED$$NE/EPEEED$$͐EE;E$ҐE}~US4ED$ED$$UE)ËEЋ ED$ \$T$ $dEE]EED$$ԐE&EEEED$$WEE9E|$Ґ?EEU);E}E$4[]UVS0EE}t E@u$E@ D$$EwEHU@؋EHU@EHU@\$t$ D$ED$$SEE@ ;Ez0[^]UVS@E&E3E@EMEZEUE@Љ)EE )ËUE@Љ)EE )ƋUE@Љ)EE )‹ED\$t$ T$D$$g-E}@[^]U$EE$xE@E$|E@ $$E@H$|$E@$]$E@$>$kE@$$LE@8$$-E@t$E$/UD$$D$$БD$$U8$$$|EE.7E/EUE)ЉE}y]EEE}'~E\$$BÍL$qUQ$MED$E$gU[D$$>EEŀD$$TEEv$ҐEEEeE‹MAEŀT$$u4EŀD$$XVEń$Ґ> EEv}u#E‹MAD$$nEU9EOEE$Y]aÐU]Ít&'UWVSO +)t$1ED$E D$E$9uރ [^_]Ë$ÐUSt1Ћu[]ÐUS[LLY[Modifier %d: %3d KeyCode %3d: %8xNULL colormap!%d colors in system map: %02d: (%2d, %2d, %2d) normal active prelight selected insensitive%s: (%3d, %3d, %3d) fg -- bg -- light -- dark -- mid -- text -- base -- Home: %s Tmp: %s Current: %s Random difference: %g modmapkeymapcolormapdirsstyle_colorsrand_diff%d available tests -- %sRunning test '%s' -- Test '%s' not found! @A8Lby! T HoD O oooTʇڇ *:JZjz T"Ǎ'4GCC: (GNU) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)GCC: (GNU) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)GCC: (GNU) 4.2.1 (Debian 4.2.1-5)GCC: (GNU) 4.2.1 (Debian 4.2.1-5)GCC: (GNU) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)GCC: (GNU) 4.2.1 (Debian 4.2.1-5)GCC: (GNU) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)$T"T$!u_IO_stdin_usedprint_modmapprint_keymapmprint_colormapprint_gdkcolor_5 print_style_colorsWprint_dirssrandom_differencemain|shift_keytestsv3idxFint_POK'/build/buildd/glibc-2.7/build-tree/i386-libc/csu/crti.S/build/buildd/glibc-2.7/build-tree/glibc-2.7/csuGNU AS 2.18]GNU C 4.2.1 (Debian 4.2.1-5)test.c/home/risujin/src/cellwriter/cellwriter-1.3.2/testTint}chardoubleunsigned charunsigned intlong unsigned intsigned charguint8!short intguint16#short unsigned intguint32(long long intlong long unsigned intgsize<long intgchar)}gint,pguint2floatgpointerHGArray"_GArray"data(#len)#l  }GData"  _GDataGSList"$_GSList"Sdata&#next'S#GType\PGTypeClassc~_GTypeClasscg_typer_#GTypeInstancee_GTypeInstanceeg_classw#l GObject:_GObject :Mg_type_instanceL#ref_countO#qdataPY#GInitiallyUnowned<PangoFontDescription  _PangoFontDescriptionfGdkRectangle A_GdkRectangle Ax y#y y#width y#height y# GdkColor \_GdkColor \dpixel ,#red -#green .#blue /#GdkColormap ]w_GdkColormap ]  C#size Fy# colors G#visual J#windowing_data L#GdkFont __GdkFont _8type 3#ascent 4y#descent 5y#GdkGC `E_GdkGC `  #clip_x_origin y# clip_y_origin y#ts_x_origin y#ts_y_origin y# »#GdkVisual c_GdkVisualD c K#typeM# depthNy#byte_orderO#colormap_sizePy#bits_per_rgbQy#red_maskS# red_shiftTy#$red_precUy#(green_maskW#,green_shiftXy#0green_precYy#4blue_mask[#8blue_shift\y#<blue_prec]y#@_GdkDrawable e> 2#GdkPixmap gGdkWindow h mGDK_LSB_FIRSTGDK_MSB_FIRSTGdkByteOrder p`O>d8 ,GDK_FONT_FONTGDK_FONT_FONTSETGdkFontType /4GDK_VISUAL_STATIC_GRAYGDK_VISUAL_GRAYSCALEGDK_VISUAL_STATIC_COLORGDK_VISUAL_PSEUDO_COLORGDK_VISUAL_TRUE_COLORGDK_VISUAL_DIRECT_COLORGdkVisualType;GTK_WINDOW_TOPLEVELGTK_WINDOW_POPUPGtkObjectu_GtkObjectu0 UM#flags\# GtkStyle2@ _GtkStyle2 G#fgK # bgL #HlightM #darkN #midO #textP #baseQ #text_aaR #blackT#whiteU# V# Xy# Yy#fg_gc[ #bg_gc\ #light_gc] #dark_gc^ #mid_gc_ #text_gc` #base_gca #text_aa_gcb #black_gcc#white_gcd#bg_pixmapf #attach_countjy#depthly# m#private_fontn#private_font_desco#rc_styler #stylestS#property_cacheu# vS#GtkRcStyle5 _GtkRcStyleD5 :#name># bg_pixmap_name?p# @#$color_flagsB#(fgC #<bgD #xtextE #baseF # Hy# Iy#rc_propertiesL#rc_style_listsOS# QS#engine_specifiedS#GtkWidgetA _GtkWidget<A object#private_flags#state#saved_state#name#style#requisitionӐ#allocation#$windowݩ#4parent#8 ] ] ] 0  1^GTK_RC_FGGTK_RC_BGGTK_RC_TEXTGTK_RC_BASEGtkRcFlags6!]^]GtkRequisition_GtkRequisitionwidthy#heighty#GtkAllocationXIDGKeySymoKeyCodeq _XDisplaycmax_keypermodp#modifiermapc#XModifierKeymap)Displaywprint_modmap/Txmk0li1ppj1ptiprint_keymap>,mkeysym?hi@plj@ppmin@pdmax@p`numcodes@p\print_colormapNXcmOhiPplprint_gdkcolor_5^array]i_pltype`Xw ]print_style_colorsoǍWwidgetppstyleqtprint_dirsǍrandom_differenceipdr1phr2plrdppdiffptname#func#mainp4gargcpudargvud#ipl.͏jppgdk_display' shift_key,] tests Z /build/buildd/glibc-2.7/build-tree/i386-libc/csu/crtn.S/build/buildd/glibc-2.7/build-tree/glibc-2.7/csuGNU AS 2.18% $ > $ > $ > 4: ; I?  &IU%% $ >  I : ; I$ >  : ;  : ; I8 ' &I < 5I : ; I8  : ; (  : ; : ;  : ; I 8 I!I/  : ; : ;I8 : ;I.? : ; ' @4: ; I : ; I .? : ; ' @ : ; .? : ; ' I@ 4: ; I? < 4: ; I?  U%# init.cN /build/buildd/glibc-2.7/build-tree/i386-libc/csucrti.ST!/!=Z!gg//(!/!=Z! /usr/lib/glib-2.0/include/usr/include/glib-2.0/glib/usr/include/glib-2.0/gobject/usr/include/pango-1.0/pango/usr/include/gtk-2.0/gdk/usr/include/gtk-2.0/gtk/usr/include/X11test.cglibconfig.hgtypes.hgarray.hgdataset.hgslist.hgtype.hgobject.hpango-font.hgdktypes.hgdkcolor.hgdkfont.hgdkgc.hgdkvisual.hgdkdrawable.hgtkenums.hgtktypeutils.hgtkobject.hgtkstyle.hgtkrc.hgtkwidget.hX.hXlib.hgdkx.hT.j/+ٵ1x0YiwZYs1w#wj孑/////1gNKK3i=󃃭g=zf#.?M=-z.gt#  xN /build/buildd/glibc-2.7/build-tree/i386-libc/csucrtn.S !!!!!!| TAB AB DAB E!AB E AB ǍGAB AB $^D  F AB AGNU C 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)short unsigned intshort int_IO_stdin_usedlong long unsigned intunsigned char/build/buildd/glibc-2.7/build-tree/glibc-2.7/csuinit.clong long inticon_factoriescolormapxthicknessythicknessfont_descparent_instancettuttcucdtdftfGuGHtHJtJhuhitiktksustttvtvutt@u@DtDJQJKtKMtMuTv.symtab.strtab.shstrtab.interp.note.ABI-tag.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.eh_frame.ctors.dtors.jcr.dynamic.got.got.plt.data.bss.comment.debug_aranges.debug_pubnames.debug_info.debug_abbrev.debug_line.debug_frame.debug_str.debug_loc.debug_ranges#(( 5HH1o@; DDCOKoTT8Xo g p  yTT0t@Ј@X``P  MppN\+- 1-283wC 5@`5Q<`%9 C(HDT  T  Ј ` !",:G ]lhs0 p  ` 0$2`C&I YuhЈ o'w  |#` T (d5>Z Nbdt  V! ǍG * 9Ej \ n^ sT yinit.cinitfini.ccrtstuff.c__CTOR_LIST____DTOR_LIST____JCR_LIST____do_global_dtors_auxcompleted.6030p.6028frame_dummy__CTOR_END____DTOR_END____FRAME_END____JCR_END____do_global_ctors_auxtest.c_GLOBAL_OFFSET_TABLE___init_array_end__init_array_start_DYNAMICdata_starttestsg_get_tmp_dirsrand@@GLIBC_2.0XFree__libc_csu_finigtk_window_new_startg_print__gmon_start___Jv_RegisterClasses_fp_hwshift_key_finigtk_widget_destroy__libc_start_main@@GLIBC_2.0_IO_stdin_usedXDisplayKeycodes__data_startprint_keymapprint_modmap__dso_handlegtk_init__libc_csu_initstrcasecmp@@GLIBC_2.0time@@GLIBC_2.0__bss_startgtk_widget_showXGetModifierMapping_endprint_style_colorsrand@@GLIBC_2.0g_get_home_dirXGetKeyboardMapping_edatagdk_colormap_get_systemprint_gdkcolor_5print_dirsprint_colormapgdk_display__i686.get_pc_thunk.bxrandom_differencemain_initg_get_current_dircellwriter-1.3.6/test/test.c000066400000000000000000000142321311072664300160040ustar00rootroot00000000000000 /* cellwriter -- a character recognition input method Copyright (C) 2007 Michael Levin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include #include #include #include #include #include #include /* This program is capable of running various tests useful for the development of CellWriter. It does NOT test whether CellWriter can or did install succesfully. */ /* Test functions */ KeyCode shift_key; void print_modmap(void) { XModifierKeymap *xmk; int i, j; xmk = XGetModifierMapping(GDK_DISPLAY()); for (i = 0; i < 8; i++) { g_print("Modifier %d:", i); for (j = 0; j < xmk->max_keypermod; j++) g_print(" %3d", xmk->modifiermap[i * xmk->max_keypermod + j]); g_print("\n"); } } void print_keymap(void) { KeySym *keysym; int i, j, min, max, numcodes; XDisplayKeycodes(GDK_DISPLAY(), &min, &max); keysym = XGetKeyboardMapping(GDK_DISPLAY(), min, max - min, &numcodes); for (i = 0; i <= max - min; i++) { g_print("KeyCode %3d:", min + i); for (j = 0; j < numcodes; j++) g_print(" %8x", (unsigned int)keysym[i * numcodes + j]); g_print("\n"); } XFree(keysym); } void print_colormap(void) { GdkColormap *cm = NULL; int i; cm = gdk_colormap_get_system(); if (!cm || !cm->colors) { g_print("NULL colormap!"); return; } g_print("%d colors in system map:\n", cm->size); for (i = 0; i < cm->size; i++) g_print("%02d: (%2d, %2d, %2d)\n", i, cm->colors[i].red, cm->colors[i].green, cm->colors[i].blue); } void print_gdkcolor_5(GdkColor array[5]) { int i; char *type[] = { " normal", " active", " prelight", " selected", " insensitive" }; for (i = 0; i < 5; i++) g_print("%s: (%3d, %3d, %3d)\n", type[i], array[i].red * 255 / 65535, array[i].green * 255 / 65535, array[i].blue * 255 / 65535); } void print_style_colors(void) { GtkWidget *widget; GtkStyle *style; widget = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_show(widget); style = widget->style; g_print("\nfg --\n"); print_gdkcolor_5(widget->style->fg); g_print("\nbg --\n"); print_gdkcolor_5(widget->style->bg); g_print("\nlight --\n"); print_gdkcolor_5(widget->style->light); g_print("\ndark --\n"); print_gdkcolor_5(widget->style->dark); g_print("\nmid --\n"); print_gdkcolor_5(widget->style->mid); g_print("\ntext --\n"); print_gdkcolor_5(widget->style->text); g_print("\nbase --\n"); print_gdkcolor_5(widget->style->base); gtk_widget_destroy(widget); } void print_dirs(void) { g_print(" Home: %s\n", g_get_home_dir()); /*g_print(" User data: %s\n", g_get_user_data_dir()); g_print(" User config: %s\n", g_get_user_config_dir()); g_print(" User cache: %s\n", g_get_user_cache_dir());*/ g_print(" Tmp: %s\n", g_get_tmp_dir()); g_print(" Current: %s\n", g_get_current_dir()); } #define RD_TRIALS 10000 void random_difference(void) { int i, r1, r2, rd, diff; srand(time(NULL)); for (i = 0, diff = 0; i < RD_TRIALS; i++) { r1 = rand(); r2 = rand(); rd = r1 - r2; if (rd < 0) rd = -rd; diff += rd; } g_print("Random difference: %g\n", ((double)diff) / RD_TRIALS / RAND_MAX); } /* Test mechanism */ #define TESTS (sizeof (tests) / sizeof (*tests)) struct { const char *name; void (*func)(void); } tests[] = { { "modmap", print_modmap }, { "keymap", print_keymap }, { "colormap", print_colormap }, { "dirs", print_dirs }, { "style_colors", print_style_colors }, { "rand_diff", random_difference }, }; int main(int argc, char *argv[]) { int i; gtk_init(&argc, &argv); /* Display test info */ if (argc < 2) { g_print("%d available tests --", TESTS); for (i = 0; i < TESTS; i++) g_print(" %s", tests[i].name); g_print("\n"); return 0; } /* Run tests */ for (i = 1; i < argc; i++) { int j; for (j = 0; j < TESTS; j++) if (!strcasecmp(tests[j].name, argv[i])) { g_print("Running test '%s' --\n", tests[j].name); tests[j].func(); g_print("\n"); break; } if (j == TESTS) g_print("Test '%s' not found!\n", argv[i]); } return 0; }